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

« back to all changes in this revision

Viewing changes to src/mame/video/destroyr.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:
43
43
                                continue;
44
44
                }
45
45
 
46
 
                drawgfx(bitmap, screen->machine->gfx[2], num, 0, flipx, 0,
47
 
                        horz, 16 * i, cliprect, TRANSPARENCY_PEN, 0);
 
46
                drawgfx_transpen(bitmap, cliprect, screen->machine->gfx[2], num, 0, flipx, 0,
 
47
                        horz, 16 * i, 0);
48
48
        }
49
49
 
50
50
        /* draw alpha numerics */
55
55
                {
56
56
                        int num = destroyr_alpha_num_ram[32 * i + j];
57
57
 
58
 
                        drawgfx(bitmap, screen->machine->gfx[0], num, 0, 0, 0,
59
 
                                8 * j, 8 * i, cliprect, TRANSPARENCY_PEN, 0);
 
58
                        drawgfx_transpen(bitmap, cliprect, screen->machine->gfx[0], num, 0, 0, 0,
 
59
                                8 * j, 8 * i, 0);
60
60
                }
61
61
        }
62
62
 
67
67
                int horz = 256 - destroyr_minor_obj_ram[i + 2];
68
68
                int vert = 256 - destroyr_minor_obj_ram[i + 4];
69
69
 
70
 
                drawgfx(bitmap, screen->machine->gfx[1], destroyr_minor_obj_ram[i + 0], 0, 0, 0,
71
 
                        horz, vert, cliprect, TRANSPARENCY_PEN, 0);
 
70
                drawgfx_transpen(bitmap, cliprect, screen->machine->gfx[1], destroyr_minor_obj_ram[i + 0], 0, 0, 0,
 
71
                        horz, vert, 0);
72
72
        }
73
73
 
74
74
        /* draw waves */
75
75
 
76
76
        for (i = 0; i < 4; i++)
77
77
        {
78
 
                drawgfx(bitmap, screen->machine->gfx[3], destroyr_wavemod ? 1 : 0, 0, 0, 0,
79
 
                        64 * i, 0x4e, cliprect, TRANSPARENCY_PEN, 0);
 
78
                drawgfx_transpen(bitmap, cliprect, screen->machine->gfx[3], destroyr_wavemod ? 1 : 0, 0, 0, 0,
 
79
                        64 * i, 0x4e, 0);
80
80
        }
81
81
 
82
82
        /* draw cursor */