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

« back to all changes in this revision

Viewing changes to src/mame/video/espial.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:
157
157
{
158
158
        flipscreen = data;
159
159
 
160
 
        tilemap_set_flip(0, flipscreen ? TILEMAP_FLIPX | TILEMAP_FLIPY : 0);
 
160
        tilemap_set_flip(bg_tilemap, flipscreen ? TILEMAP_FLIPX | TILEMAP_FLIPY : 0);
161
161
}
162
162
 
163
163
 
200
200
                {
201
201
                        if (flipscreen)
202
202
                        {
203
 
                                drawgfx(bitmap,machine->gfx[1],
 
203
                                drawgfx_transpen(bitmap,cliprect,machine->gfx[1],
204
204
                                                code,color,
205
205
                                                flipx,flipy,
206
 
                                                sx,sy + 16,
207
 
                                                cliprect,TRANSPARENCY_PEN,0);
208
 
                                drawgfx(bitmap,machine->gfx[1],
 
206
                                                sx,sy + 16,0);
 
207
                                drawgfx_transpen(bitmap,cliprect,machine->gfx[1],
209
208
                                                code + 1,
210
209
                                                color,
211
210
                                                flipx,flipy,
212
 
                                                sx,sy,
213
 
                                                cliprect,TRANSPARENCY_PEN,0);
 
211
                                                sx,sy,0);
214
212
                        }
215
213
                        else
216
214
                        {
217
 
                                drawgfx(bitmap,machine->gfx[1],
 
215
                                drawgfx_transpen(bitmap,cliprect,machine->gfx[1],
218
216
                                                code,color,
219
217
                                                flipx,flipy,
220
 
                                                sx,sy - 16,
221
 
                                                cliprect,TRANSPARENCY_PEN,0);
222
 
                                drawgfx(bitmap,machine->gfx[1],
 
218
                                                sx,sy - 16,0);
 
219
                                drawgfx_transpen(bitmap,cliprect,machine->gfx[1],
223
220
                                                code + 1,color,
224
221
                                                flipx,flipy,
225
 
                                                sx,sy,
226
 
                                                cliprect,TRANSPARENCY_PEN,0);
 
222
                                                sx,sy,0);
227
223
                        }
228
224
                }
229
225
                else
230
226
                {
231
 
                        drawgfx(bitmap,machine->gfx[1],
 
227
                        drawgfx_transpen(bitmap,cliprect,machine->gfx[1],
232
228
                                        code,color,
233
229
                                        flipx,flipy,
234
 
                                        sx,sy,
235
 
                                        cliprect,TRANSPARENCY_PEN,0);
 
230
                                        sx,sy,0);
236
231
                }
237
232
        }
238
233
}