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

« back to all changes in this revision

Viewing changes to src/mame/video/skyraid.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:
35
35
                y = 136 + 16 * (i ^ 1);
36
36
 
37
37
                for (x = 0; x < bitmap->width; x += 16)
38
 
                        drawgfx(bitmap, machine->gfx[0], *p++, 0, 0, 0,         x, y, cliprect, TRANSPARENCY_PEN, 0);
 
38
                        drawgfx_transpen(bitmap, cliprect, machine->gfx[0], *p++, 0, 0, 0,      x, y, 0);
39
39
        }
40
40
}
41
41
 
89
89
                vert -= 31;
90
90
 
91
91
                if (flag & 1)
92
 
                        drawgfx(bitmap, machine->gfx[1],
 
92
                        drawgfx_transpen(bitmap, cliprect, machine->gfx[1],
93
93
                                code ^ 15, code >> 3, 0, 0,
94
 
                                horz / 2, vert, cliprect, TRANSPARENCY_PEN, 2);
 
94
                                horz / 2, vert, 2);
95
95
        }
96
96
}
97
97
 
111
111
                vert -= 15;
112
112
                horz -= 31;
113
113
 
114
 
                drawgfx(bitmap, machine->gfx[2],
 
114
                drawgfx_transpen(bitmap, cliprect, machine->gfx[2],
115
115
                        code ^ 15, 0, 0, 0,
116
 
                        horz / 2, vert, cliprect, TRANSPARENCY_PEN, 0);
 
116
                        horz / 2, vert, 0);
117
117
        }
118
118
}
119
119