~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/mame/video/mrflea.c

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
                int ypos = source[0]-16+3;
48
48
                int tile_number = source[2]+source[3]*0x100;
49
49
 
50
 
                drawgfx( bitmap, gfx,
51
 
                        tile_number,
52
 
                        0, /* color */
53
 
                        0,0, /* no flip */
54
 
                        xpos,ypos,
55
 
                        &clip,TRANSPARENCY_PEN,0 );
56
 
                drawgfx( bitmap, gfx,
57
 
                        tile_number,
58
 
                        0, /* color */
59
 
                        0,0, /* no flip */
60
 
                        xpos,256+ypos,
61
 
                        &clip,TRANSPARENCY_PEN,0 );
 
50
                drawgfx_transpen( bitmap, &clip,gfx,
 
51
                        tile_number,
 
52
                        0, /* color */
 
53
                        0,0, /* no flip */
 
54
                        xpos,ypos,0 );
 
55
                drawgfx_transpen( bitmap, &clip,gfx,
 
56
                        tile_number,
 
57
                        0, /* color */
 
58
                        0,0, /* no flip */
 
59
                        xpos,256+ypos,0 );
62
60
                source+=4;
63
61
        }
64
62
}
75
73
                for( sx=0; sx<256; sx+=8 ){
76
74
                        int tile_number = base+source[0]+source[0x400]*0x100;
77
75
                        source++;
78
 
                        drawgfx( bitmap, gfx,
 
76
                        drawgfx_opaque( bitmap, cliprect,
 
77
                                gfx,
79
78
                                tile_number,
80
79
                                0, /* color */
81
80
                                0,0, /* no flip */
82
 
                                sx,sy,
83
 
                                cliprect,
84
 
                                TRANSPARENCY_NONE,0 );
 
81
                                sx,sy );
85
82
                }
86
83
        }
87
84
}