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

« back to all changes in this revision

Viewing changes to src/mame/video/suprslam.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:
75
75
                                if (!flipx) {
76
76
                                        for (xcnt = 0; xcnt < wide+1; xcnt ++)  {
77
77
                                                int tileno = suprslam_sp_videoram[word_offset+loopno];
78
 
                                                drawgfxzoom(bitmap, gfx, tileno, col, 0, 0,xpos + xcnt * xzoom/2, ypos + ycnt * yzoom/2, cliprect, TRANSPARENCY_PEN, 15,xzoom << 11, yzoom << 11);
79
 
                                                drawgfxzoom(bitmap, gfx, tileno, col, 0, 0,-0x200+xpos + xcnt * xzoom/2, ypos + ycnt * yzoom/2, cliprect, TRANSPARENCY_PEN, 15,xzoom << 11, yzoom << 11);
 
78
                                                drawgfxzoom_transpen(bitmap, cliprect, gfx, tileno, col, 0, 0,xpos + xcnt * xzoom/2, ypos + ycnt * yzoom/2,xzoom << 11, yzoom << 11, 15);
 
79
                                                drawgfxzoom_transpen(bitmap, cliprect, gfx, tileno, col, 0, 0,-0x200+xpos + xcnt * xzoom/2, ypos + ycnt * yzoom/2,xzoom << 11, yzoom << 11, 15);
80
80
                                                loopno ++;
81
81
                                        }
82
82
                                } else {
83
83
                                        for (xcnt = wide; xcnt >= 0; xcnt --)   {
84
84
                                                int tileno = suprslam_sp_videoram[word_offset+loopno];
85
 
                                                drawgfxzoom(bitmap, gfx, tileno, col, 1, 0,xpos + xcnt * xzoom/2, ypos + ycnt * yzoom/2, cliprect, TRANSPARENCY_PEN, 15,xzoom << 11, yzoom << 11);
86
 
                                                drawgfxzoom(bitmap, gfx, tileno, col, 1, 0,-0x200+xpos + xcnt * xzoom/2, ypos + ycnt * yzoom/2, cliprect, TRANSPARENCY_PEN, 15,xzoom << 11, yzoom << 11);
 
85
                                                drawgfxzoom_transpen(bitmap, cliprect, gfx, tileno, col, 1, 0,xpos + xcnt * xzoom/2, ypos + ycnt * yzoom/2,xzoom << 11, yzoom << 11, 15);
 
86
                                                drawgfxzoom_transpen(bitmap, cliprect, gfx, tileno, col, 1, 0,-0x200+xpos + xcnt * xzoom/2, ypos + ycnt * yzoom/2,xzoom << 11, yzoom << 11, 15);
87
87
                                                loopno ++;
88
88
                                        }
89
89
                                }
151
151
VIDEO_UPDATE( suprslam )
152
152
{
153
153
        bitmap_fill(bitmap,cliprect,get_black_pen(screen->machine));
154
 
        K053936_0_zoom_draw(bitmap,cliprect,suprslam_bg_tilemap,0,0);
 
154
        K053936_0_zoom_draw(bitmap,cliprect,suprslam_bg_tilemap,0,0,1);
155
155
        draw_sprites(screen->machine, bitmap, cliprect);
156
156
        tilemap_draw(bitmap,cliprect,suprslam_screen_tilemap,0,0);
157
157
        return 0;