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

« back to all changes in this revision

Viewing changes to src/mame/video/exerion.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:
394
394
                        else
395
395
                                code &= ~0x10, code2 |= 0x10;
396
396
 
397
 
                        drawgfx(bitmap, gfx, code2, color, xflip, yflip, x, y + gfx->height,
398
 
                                cliprect, TRANSPARENCY_PENS,
 
397
                        drawgfx_transmask(bitmap, cliprect, gfx, code2, color, xflip, yflip, x, y + gfx->height,
399
398
                                colortable_get_transpen_mask(screen->machine->colortable, gfx, color, 0x10));
400
399
                }
401
400
 
402
 
                drawgfx(bitmap, gfx, code, color, xflip, yflip, x, y,
403
 
                            cliprect, TRANSPARENCY_PENS,
 
401
                drawgfx_transmask(bitmap, cliprect, gfx, code, color, xflip, yflip, x, y,
404
402
                            colortable_get_transpen_mask(screen->machine->colortable, gfx, color, 0x10));
405
403
 
406
404
                if (doubled) i += 4;
414
412
                        int y = exerion_cocktail_flip ? (31*8 - 8*sy) : 8*sy;
415
413
 
416
414
                        offs = sx + sy * 64;
417
 
                        drawgfx(bitmap, screen->machine->gfx[0],
 
415
                        drawgfx_transpen(bitmap, cliprect, screen->machine->gfx[0],
418
416
                                videoram[offs] + 256 * char_bank,
419
417
                                ((videoram[offs] & 0xf0) >> 4) + char_palette * 16,
420
 
                                exerion_cocktail_flip, exerion_cocktail_flip, x, y,
421
 
                                cliprect, TRANSPARENCY_PEN, 0);
 
418
                                exerion_cocktail_flip, exerion_cocktail_flip, x, y, 0);
422
419
                }
423
420
 
424
421
        return 0;