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

« back to all changes in this revision

Viewing changes to src/mame/video/zac2650.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:
65
65
 
66
66
        /* Draw first sprite */
67
67
 
68
 
            drawgfx(spritebitmap,machine->gfx[expand],
 
68
            drawgfx_opaque(spritebitmap,0, machine->gfx[expand],
69
69
                            first * 2,
70
70
                            0,
71
71
                            0,0,
72
 
                            fx,fy,
73
 
                            0, TRANSPARENCY_NONE, 0);
 
72
                            fx,fy);
74
73
 
75
74
        /* Get fingerprint */
76
75
 
92
91
 
93
92
        /* Blackout second sprite */
94
93
 
95
 
            drawgfx(spritebitmap,machine->gfx[1],
 
94
            drawgfx_transpen(spritebitmap,0, machine->gfx[1],
96
95
                            second * 2,
97
96
                            1,
98
97
                            0,0,
99
 
                            (zac2650_s2636_0_ram[second * 0x10 + 10] * 4)-22,(zac2650_s2636_0_ram[second * 0x10 + 12] * 3) + 3,
100
 
                            0, TRANSPARENCY_PEN, 0);
 
98
                            (zac2650_s2636_0_ram[second * 0x10 + 10] * 4)-22,(zac2650_s2636_0_ram[second * 0x10 + 12] * 3) + 3, 0);
101
99
 
102
100
        /* Remove fingerprint */
103
101
 
119
117
 
120
118
        /* Zero bitmap */
121
119
 
122
 
            drawgfx(spritebitmap,machine->gfx[expand],
 
120
            drawgfx_opaque(spritebitmap,0, machine->gfx[expand],
123
121
                            first * 2,
124
122
                            1,
125
123
                            0,0,
126
 
                            fx,fy,
127
 
                            0, TRANSPARENCY_NONE, 0);
 
124
                            fx,fy);
128
125
    }
129
126
 
130
127
        return Checksum;
181
178
            int x,y;
182
179
 
183
180
            /* Sprite->Background collision detection */
184
 
                        drawgfx(bitmap,machine->gfx[expand],
 
181
                        drawgfx_transpen(bitmap,0, machine->gfx[expand],
185
182
                                    spriteno,
186
183
                                        1,
187
184
                                    0,0,
188
 
                                    bx,by,
189
 
                                    0, TRANSPARENCY_PEN, 0);
 
185
                                    bx,by, 0);
190
186
 
191
187
                for (x = bx; x < bx + machine->gfx[expand]->width; x++)
192
188
                {
208
204
                }
209
205
                }
210
206
 
211
 
                        drawgfx(bitmap,machine->gfx[expand],
 
207
                        drawgfx_transpen(bitmap,0, machine->gfx[expand],
212
208
                                    spriteno,
213
209
                                        0,
214
210
                                    0,0,
215
 
                                    bx,by,
216
 
                                    0, TRANSPARENCY_PEN, 0);
 
211
                                    bx,by, 0);
217
212
        }
218
213
    }
219
214