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

« back to all changes in this revision

Viewing changes to src/mame/video/sf.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:
172
172
                                t = c2; c2 = c4; c4 = t;
173
173
                        }
174
174
 
175
 
                        drawgfx(bitmap,
176
 
                                        machine->gfx[2],
 
175
                        drawgfx_transpen(bitmap,
 
176
                                        cliprect, machine->gfx[2],
177
177
                                        sf_invert(c1),
178
178
                                        color,
179
179
                                        flipx,flipy,
180
 
                                        sx,sy,
181
 
                                        cliprect, TRANSPARENCY_PEN, 15);
182
 
                        drawgfx(bitmap,
183
 
                                        machine->gfx[2],
 
180
                                        sx,sy, 15);
 
181
                        drawgfx_transpen(bitmap,
 
182
                                        cliprect, machine->gfx[2],
184
183
                                        sf_invert(c2),
185
184
                                        color,
186
185
                                        flipx,flipy,
187
 
                                        sx+16,sy,
188
 
                                        cliprect, TRANSPARENCY_PEN, 15);
189
 
                        drawgfx(bitmap,
190
 
                                        machine->gfx[2],
 
186
                                        sx+16,sy, 15);
 
187
                        drawgfx_transpen(bitmap,
 
188
                                        cliprect, machine->gfx[2],
191
189
                                        sf_invert(c3),
192
190
                                        color,
193
191
                                        flipx,flipy,
194
 
                                        sx,sy+16,
195
 
                                        cliprect, TRANSPARENCY_PEN, 15);
196
 
                        drawgfx(bitmap,
197
 
                                        machine->gfx[2],
 
192
                                        sx,sy+16, 15);
 
193
                        drawgfx_transpen(bitmap,
 
194
                                        cliprect, machine->gfx[2],
198
195
                                        sf_invert(c4),
199
196
                                        color,
200
197
                                        flipx,flipy,
201
 
                                        sx+16,sy+16,
202
 
                                        cliprect, TRANSPARENCY_PEN, 15);
 
198
                                        sx+16,sy+16, 15);
203
199
                }
204
200
                else
205
201
                {
211
207
                                flipy = !flipy;
212
208
                        }
213
209
 
214
 
                        drawgfx(bitmap,
215
 
                                        machine->gfx[2],
 
210
                        drawgfx_transpen(bitmap,
 
211
                                        cliprect, machine->gfx[2],
216
212
                                        sf_invert(c),
217
213
                                        color,
218
214
                                        flipx,flipy,
219
 
                                        sx,sy,
220
 
                                        cliprect, TRANSPARENCY_PEN, 15);
 
215
                                        sx,sy, 15);
221
216
                }
222
217
        }
223
218
}