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

« back to all changes in this revision

Viewing changes to src/mame/video/boxer.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
 
36
36
                                code = p[32 * l + 4 * i + j];
37
37
 
38
 
                                drawgfx(bitmap, machine->gfx[n],
 
38
                                drawgfx_transpen(bitmap, cliprect,
 
39
                                        machine->gfx[n],
39
40
                                        code,
40
41
                                        0,
41
42
                                        code & 0x80, 0,
42
43
                                        x + 8 * j,
43
 
                                        y + 8 * i,
44
 
                                        cliprect,
45
 
                                        TRANSPARENCY_PEN, 1);
 
44
                                        y + 8 * i, 1);
46
45
 
47
46
                                code = p[32 * r + 4 * i - j + 3];
48
47
 
49
 
                                drawgfx(bitmap, machine->gfx[n],
 
48
                                drawgfx_transpen(bitmap, cliprect,
 
49
                                        machine->gfx[n],
50
50
                                        code,
51
51
                                        0,
52
52
                                        !(code & 0x80), 0,
53
53
                                        x + 8 * j + 32,
54
 
                                        y + 8 * i,
55
 
                                        cliprect,
56
 
                                        TRANSPARENCY_PEN, 1);
 
54
                                        y + 8 * i, 1);
57
55
                        }
58
56
                }
59
57
        }
73
71
                {
74
72
                        UINT8 code = boxer_tile_ram[32 * i + j];
75
73
 
76
 
                        drawgfx(bitmap, screen->machine->gfx[2],
 
74
                        drawgfx_transpen(bitmap, cliprect,
 
75
                                screen->machine->gfx[2],
77
76
                                code,
78
77
                                0,
79
78
                                code & 0x40, code & 0x40,
80
79
                                8 * j + 4,
81
 
                                8 * (i % 2) + 32 * (i / 2),
82
 
                                cliprect,
83
 
                                TRANSPARENCY_PEN, 0);
 
80
                                8 * (i % 2) + 32 * (i / 2), 0);
84
81
                }
85
82
        }
86
83