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

« back to all changes in this revision

Viewing changes to src/mame/video/stadhero.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:
72
72
 
73
73
                while (multi >= 0)
74
74
                {
75
 
                        drawgfx(bitmap,machine->gfx[2],
 
75
                        drawgfx_transpen(bitmap,cliprect,machine->gfx[2],
76
76
                                        sprite - multi * inc,
77
77
                                        colour,
78
78
                                        fx,fy,
79
 
                                        x,y + mult * multi,
80
 
                                        cliprect,TRANSPARENCY_PEN,0);
 
79
                                        x,y + mult * multi,0);
81
80
                        multi--;
82
81
                }
83
82
        }
88
87
VIDEO_UPDATE( stadhero )
89
88
{
90
89
        flipscreen=stadhero_pf2_control_0[0]&0x80;
91
 
        tilemap_set_flip(ALL_TILEMAPS,flipscreen ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
 
90
        tilemap_set_flip_all(screen->machine,flipscreen ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
92
91
        tilemap_set_scrollx( pf2_tilemap,0, stadhero_pf2_control_1[0] );
93
92
        tilemap_set_scrolly( pf2_tilemap,0, stadhero_pf2_control_1[1] );
94
93