diff options
Diffstat (limited to 'src/mame/drivers/cntsteer.c')
-rw-r--r-- | src/mame/drivers/cntsteer.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/cntsteer.c b/src/mame/drivers/cntsteer.c index c756ab9cc97..44de4e29bee 100644 --- a/src/mame/drivers/cntsteer.c +++ b/src/mame/drivers/cntsteer.c @@ -84,7 +84,7 @@ static VIDEO_START( cntsteer ) tilemap_set_transparent_pen(fg_tilemap,0); -// tilemap_set_flip(bg_tilemap, TILEMAP_FLIPX | TILEMAP_FLIPY); +// tilemap_set_flip(bg_tilemap, TILEMAP_FLIPX | TILEMAP_FLIPY); } static VIDEO_START( zerotrgt ) @@ -94,7 +94,7 @@ static VIDEO_START( zerotrgt ) tilemap_set_transparent_pen(fg_tilemap,0); -// tilemap_set_flip(bg_tilemap, TILEMAP_FLIPX | TILEMAP_FLIPY); +// tilemap_set_flip(bg_tilemap, TILEMAP_FLIPX | TILEMAP_FLIPY); } /* @@ -167,22 +167,22 @@ static VIDEO_UPDATE( zerotrgt ) rot_val = rotation_sign ? (-rotation_x) : (rotation_x); -// popmessage("%d %02x %02x",rot_val,rotation_sign,rotation_x); +// popmessage("%d %02x %02x",rot_val,rotation_sign,rotation_x); if(rot_val > 90) { rot_val = 90; } if(rot_val < -90) { rot_val = -90; } /* - (u, v) = (a + cx + dy, b - dx + cy) when (x, y)=screen and (u, v) = tilemap - */ + (u, v) = (a + cx + dy, b - dx + cy) when (x, y)=screen and (u, v) = tilemap + */ /* - 1 - 0----|----0 - -1 - 0 - 0----|----1 - 0 - */ + 1 + 0----|----0 + -1 + 0 + 0----|----1 + 0 + */ /*65536*z*cos(a), 65536*z*sin(a), -65536*z*sin(a), 65536*z*cos(a)*/ p1 = -65536*1*cos(2*M_PI*(rot_val)/1024); p2 = -65536*1*sin(2*M_PI*(rot_val)/1024); |