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

« back to all changes in this revision

Viewing changes to src/mame/video/renegade.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:
104
104
                        if (attributes & 0x80) /* big sprite */
105
105
                        {
106
106
                                sprite_number &= ~1;
107
 
                                drawgfx(bitmap, machine->gfx[sprite_bank],
 
107
                                drawgfx_transpen(bitmap, cliprect, machine->gfx[sprite_bank],
108
108
                                        sprite_number + 1,
109
109
                                        color,
110
110
                                        xflip, flip_screen_get(machine),
111
 
                                        sx, sy + (flip_screen_get(machine) ? -16 : 16),
112
 
                                        cliprect, TRANSPARENCY_PEN, 0);
 
111
                                        sx, sy + (flip_screen_get(machine) ? -16 : 16), 0);
113
112
                        }
114
113
                        else
115
114
                        {
116
115
                                sy += (flip_screen_get(machine) ? -16 : 16);
117
116
                        }
118
 
                        drawgfx(bitmap, machine->gfx[sprite_bank],
 
117
                        drawgfx_transpen(bitmap, cliprect, machine->gfx[sprite_bank],
119
118
                                sprite_number,
120
119
                                color,
121
120
                                xflip, flip_screen_get(machine),
122
 
                                sx, sy,
123
 
                                cliprect, TRANSPARENCY_PEN, 0);
 
121
                                sx, sy, 0);
124
122
                }
125
123
                source += 4;
126
124
        }