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

« back to all changes in this revision

Viewing changes to src/mame/video/rollrace.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:
87
87
                        if(ra_flipy)
88
88
                                sy = 31-sy ;
89
89
 
90
 
                        drawgfx(bitmap,
91
 
                                screen->machine->gfx[RA_BGCHAR_BASE],
 
90
                        drawgfx_transpen(bitmap,
 
91
                                cliprect,screen->machine->gfx[RA_BGCHAR_BASE],
92
92
                                mem[offs + ( ra_bkgpage * 1024 )]
93
93
                                + ((( mem[offs + 0x4000 + ( ra_bkgpage * 1024 )] & 0xc0 ) >> 6 ) * 256 ) ,
94
94
                                ra_bkgcol,
95
95
                                ra_flipx,(ra_bkgflip^ra_flipy),
96
 
                                sx*8,sy*8,
97
 
                                cliprect,TRANSPARENCY_PEN,0);
 
96
                                sx*8,sy*8,0);
98
97
 
99
98
 
100
99
                }
127
126
                if(bank)
128
127
                        bank += ra_spritebank;
129
128
 
130
 
                drawgfx(bitmap, screen->machine->gfx[ RA_SP_BASE + bank ],
 
129
                drawgfx_transpen(bitmap, cliprect,screen->machine->gfx[ RA_SP_BASE + bank ],
131
130
                        spriteram[offs+1] & 0x3f ,
132
131
                        spriteram[offs+2] & 0x1f,
133
132
                        ra_flipx,!(s_flipy^ra_flipy),
134
 
                        sx,sy,
135
 
                        cliprect,TRANSPARENCY_PEN,0);
 
133
                        sx,sy,0);
136
134
                }
137
135
        }
138
136
 
156
154
 
157
155
                if (ra_flipx) sx = 31 - sx;
158
156
 
159
 
                drawgfx(bitmap,screen->machine->gfx[RA_FGCHAR_BASE + ra_chrbank]  ,
 
157
                drawgfx_transpen(bitmap,cliprect,screen->machine->gfx[RA_FGCHAR_BASE + ra_chrbank]  ,
160
158
                        videoram[ offs ]  ,
161
159
                        col,
162
160
                        ra_flipx,ra_flipy,
163
 
                        8*sx,scroll,
164
 
                        cliprect,TRANSPARENCY_PEN,0);
 
161
                        8*sx,scroll,0);
165
162
 
166
163
        }
167
164