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

« back to all changes in this revision

Viewing changes to src/mame/video/trackfld.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:
111
111
        if (flip_screen_get(space->machine) != data)
112
112
        {
113
113
                flip_screen_set(space->machine, data);
114
 
                tilemap_mark_all_tiles_dirty(ALL_TILEMAPS);
 
114
                tilemap_mark_all_tiles_dirty_all(space->machine);
115
115
        }
116
116
}
117
117
 
213
213
                /* proving that this is a hardware related "feature" */
214
214
                sy += 1;
215
215
 
216
 
                drawgfx(bitmap, machine->gfx[0],
 
216
                drawgfx_transmask(bitmap, cliprect,
 
217
                        machine->gfx[0],
217
218
                        code + sprite_bank1 + sprite_bank2, color,
218
219
                        flipx, flipy,
219
220
                        sx, sy,
220
 
                        cliprect,
221
 
                        TRANSPARENCY_PENS,
222
221
                        colortable_get_transpen_mask(machine->colortable, machine->gfx[0], color, 0));
223
222
 
224
223
                /* redraw with wraparound */
225
 
                drawgfx(bitmap,machine->gfx[0],
 
224
                drawgfx_transmask(bitmap,cliprect,
 
225
                        machine->gfx[0],
226
226
                        code + sprite_bank1 + sprite_bank2, color,
227
227
                        flipx, flipy,
228
228
                        sx - 256, sy,
229
 
                        cliprect,
230
 
                        TRANSPARENCY_PENS,
231
229
                        colortable_get_transpen_mask(machine->colortable, machine->gfx[0], color, 0));
232
230
        }
233
231
}