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

« back to all changes in this revision

Viewing changes to src/mame/video/centiped.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:
431
431
                int x = spriteram[offs + 0x20];
432
432
                int y = 240 - spriteram[offs + 0x10];
433
433
 
434
 
                drawgfx(bitmap, screen->machine->gfx[1], code, color, flipx, flipy, x, y,
435
 
                                &spriteclip, TRANSPARENCY_PENS, penmask[color & 0x3f]);
 
434
                drawgfx_transmask(bitmap, &spriteclip, screen->machine->gfx[1], code, color, flipx, flipy, x, y, penmask[color & 0x3f]);
436
435
        }
437
436
        return 0;
438
437
}
476
475
                        flipx = !flipx;
477
476
                }
478
477
 
479
 
                drawgfx(bitmap, screen->machine->gfx[1], code, color, flipx, flipy, x, y,
480
 
                                cliprect, TRANSPARENCY_PEN, 0);
 
478
                drawgfx_transpen(bitmap, cliprect, screen->machine->gfx[1], code, color, flipx, flipy, x, y, 0);
481
479
        }
482
480
        return 0;
483
481
}
507
505
                int x = spriteram[offs + 0x20];
508
506
                int y = 240 - spriteram[offs + 0x10];
509
507
 
510
 
                drawgfx(bitmap, screen->machine->gfx[1], code, color & 0x3f, 1, flipy, x, y,
511
 
                                &spriteclip, TRANSPARENCY_PEN, 0);
 
508
                drawgfx_transpen(bitmap, &spriteclip, screen->machine->gfx[1], code, color & 0x3f, 1, flipy, x, y, 0);
512
509
        }
513
510
        return 0;
514
511
}
544
541
                        flipy = !flipy;
545
542
                }
546
543
 
547
 
                drawgfx(bitmap, screen->machine->gfx[1], code, color, flipx, flipy, x, y,
548
 
                                &spriteclip, TRANSPARENCY_PENS, penmask[color & 0x3f]);
 
544
                drawgfx_transmask(bitmap, &spriteclip, screen->machine->gfx[1], code, color, flipx, flipy, x, y, penmask[color & 0x3f]);
549
545
        }
550
546
        return 0;
551
547
}