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

« back to all changes in this revision

Viewing changes to src/mame/video/zodiack.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:
49
49
        if (flip_screen_get(space->machine) != (~data & 0x01))
50
50
        {
51
51
                flip_screen_set(space->machine, ~data & 0x01);
52
 
                tilemap_mark_all_tiles_dirty(ALL_TILEMAPS);
 
52
                tilemap_mark_all_tiles_dirty_all(space->machine);
53
53
        }
54
54
}
55
55
 
150
150
                        y = 255 - y;
151
151
                }
152
152
 
153
 
                drawgfx(
 
153
                drawgfx_transpen(
154
154
                        bitmap,
155
 
                        machine->gfx[2],
 
155
                        cliprect,machine->gfx[2],
156
156
                        0,      /* this is just a dot, generated by the hardware */
157
157
                        0,
158
158
                        0,0,
159
 
                        x,y,
160
 
                        cliprect,TRANSPARENCY_PEN,0);
 
159
                        x,y,0);
161
160
        }
162
161
}
163
162
 
181
180
                        flipy = !flipy;
182
181
                }
183
182
 
184
 
                drawgfx(bitmap, machine->gfx[1],
 
183
                drawgfx_transpen(bitmap,cliprect,machine->gfx[1],
185
184
                        spritecode,
186
185
                        spriteram[offs + 2] & 0x07,
187
186
                        flipx, flipy,
188
187
                        sx, sy,
189
 
                        //flip_screen[0] ? &spritevisibleareaflipx : &spritevisiblearea,TRANSPARENCY_PEN,0);
190
 
                        //&spritevisiblearea,TRANSPARENCY_PEN,0);
191
 
                        cliprect, TRANSPARENCY_PEN, 0);
 
188
                        0);
192
189
        }
193
190
}
194
191