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

« back to all changes in this revision

Viewing changes to src/mame/video/dooyong.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:
424
424
 
425
425
                for (y = 0; y <= height; y++)
426
426
                {
427
 
                        pdrawgfx(bitmap, machine->gfx[1],
 
427
                        pdrawgfx_transpen(bitmap, cliprect, machine->gfx[1],
428
428
                                        code + y,
429
429
                                        color,
430
430
                                        flipx, flipy,
431
431
                                        sx, sy + (16 * (flipy ? (height - y) : y)),
432
 
                                        cliprect, TRANSPARENCY_PEN, 15,
433
 
                                        pri);
 
432
                                        machine->priority_bitmap,
 
433
                                        pri, 15);
434
434
                }
435
435
        }
436
436
}
490
490
                                for (x = 0; x <= width; x++)
491
491
                                {
492
492
                                        int _x = sx + (16 * (flipx ? (width - x) : x));
493
 
                                        pdrawgfx(bitmap, machine->gfx[0],
 
493
                                        pdrawgfx_transpen(bitmap, cliprect, machine->gfx[0],
494
494
                                                        code,
495
495
                                                        color,
496
496
                                                        flipx, flipy,
497
497
                                                        _x, _y,
498
 
                                                        cliprect, TRANSPARENCY_PEN, 15,
499
 
                                                        pri);
 
498
                                                        machine->priority_bitmap,
 
499
                                                        pri, 15);
500
500
                                        code++;
501
501
                                }
502
502
                        }
508
508
VIDEO_UPDATE( lastday )
509
509
{
510
510
        bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
511
 
        bitmap_fill(priority_bitmap, cliprect, 0);
 
511
        bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
512
512
 
513
513
        tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 1);
514
514
        tilemap_draw(bitmap, cliprect, fg_tilemap, 0, 2);
522
522
VIDEO_UPDATE( gulfstrm )
523
523
{
524
524
        bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
525
 
        bitmap_fill(priority_bitmap, cliprect, 0);
 
525
        bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
526
526
 
527
527
        tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 1);
528
528
        tilemap_draw(bitmap, cliprect, fg_tilemap, 0, 2);
535
535
VIDEO_UPDATE( pollux )
536
536
{
537
537
        bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
538
 
        bitmap_fill(priority_bitmap, cliprect, 0);
 
538
        bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
539
539
 
540
540
        tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 1);
541
541
        tilemap_draw(bitmap, cliprect, fg_tilemap, 0, 2);
548
548
VIDEO_UPDATE( flytiger )
549
549
{
550
550
        bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
551
 
        bitmap_fill(priority_bitmap, cliprect, 0);
 
551
        bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
552
552
 
553
553
        if (flytiger_pri)
554
554
        {
570
570
VIDEO_UPDATE( bluehawk )
571
571
{
572
572
        bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
573
 
        bitmap_fill(priority_bitmap, cliprect, 0);
 
573
        bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
574
574
 
575
575
        tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 1);
576
576
        tilemap_draw(bitmap, cliprect, fg_tilemap, 0, 2);
595
595
VIDEO_UPDATE( rshark )
596
596
{
597
597
        bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
598
 
        bitmap_fill(priority_bitmap, cliprect, 0);
 
598
        bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
599
599
 
600
600
        tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 1);
601
601
        tilemap_draw(bitmap, cliprect, bg2_tilemap, 0, (rshark_pri ? 2 : 1));
609
609
VIDEO_UPDATE( popbingo )
610
610
{
611
611
        bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
612
 
        bitmap_fill(priority_bitmap, cliprect, 0);
 
612
        bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
613
613
 
614
614
        tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 1);
615
615