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

« back to all changes in this revision

Viewing changes to src/mame/video/seicross.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:
100
100
        for (offs = spriteram_size - 4;offs >= 0;offs -= 4)
101
101
        {
102
102
                int x = spriteram[offs + 3];
103
 
                drawgfx(bitmap,machine->gfx[1],
 
103
                drawgfx_transpen(bitmap,cliprect,machine->gfx[1],
104
104
                                (spriteram[offs] & 0x3f) + ((spriteram[offs + 1] & 0x10) << 2) + 128,
105
105
                                spriteram[offs + 1] & 0x0f,
106
106
                                spriteram[offs] & 0x40,spriteram[offs] & 0x80,
107
 
                                x,240-spriteram[offs + 2],
108
 
                                cliprect,TRANSPARENCY_PEN,0);
 
107
                                x,240-spriteram[offs + 2],0);
109
108
                if(x>0xf0)
110
 
                        drawgfx(bitmap,machine->gfx[1],
 
109
                        drawgfx_transpen(bitmap,cliprect,machine->gfx[1],
111
110
                                        (spriteram[offs] & 0x3f) + ((spriteram[offs + 1] & 0x10) << 2) + 128,
112
111
                                        spriteram[offs + 1] & 0x0f,
113
112
                                        spriteram[offs] & 0x40,spriteram[offs] & 0x80,
114
 
                                        x-256,240-spriteram[offs + 2],
115
 
                                        cliprect,TRANSPARENCY_PEN,0);
 
113
                                        x-256,240-spriteram[offs + 2],0);
116
114
        }
117
115
 
118
116
        for (offs = spriteram_2_size - 4;offs >= 0;offs -= 4)
119
117
        {
120
118
                int x = spriteram_2[offs + 3];
121
 
                drawgfx(bitmap,machine->gfx[1],
 
119
                drawgfx_transpen(bitmap,cliprect,machine->gfx[1],
122
120
                                (spriteram_2[offs] & 0x3f) + ((spriteram_2[offs + 1] & 0x10) << 2),
123
121
                                spriteram_2[offs + 1] & 0x0f,
124
122
                                spriteram_2[offs] & 0x40,spriteram_2[offs] & 0x80,
125
 
                                x,240-spriteram_2[offs + 2],
126
 
                                cliprect,TRANSPARENCY_PEN,0);
 
123
                                x,240-spriteram_2[offs + 2],0);
127
124
                if(x>0xf0)
128
 
                        drawgfx(bitmap,machine->gfx[1],
 
125
                        drawgfx_transpen(bitmap,cliprect,machine->gfx[1],
129
126
                                        (spriteram_2[offs] & 0x3f) + ((spriteram_2[offs + 1] & 0x10) << 2),
130
127
                                        spriteram_2[offs + 1] & 0x0f,
131
128
                                        spriteram_2[offs] & 0x40,spriteram_2[offs] & 0x80,
132
 
                                        x-256,240-spriteram_2[offs + 2],
133
 
                                        cliprect,TRANSPARENCY_PEN,0);
 
129
                                        x-256,240-spriteram_2[offs + 2],0);
134
130
        }
135
131
}
136
132