Revert fixing variable names

Play it safe.
This commit is contained in:
Zoë Blade 2015-04-11 11:01:44 +01:00
parent 155bb1b250
commit b9fec20184
3 changed files with 20 additions and 20 deletions

View File

@ -462,7 +462,7 @@ public:
TILE_GET_INFO_MEMBER(get_sfbonus_reel4_tile_info);
virtual void machine_reset();
virtual void video_start();
void draw_reel_layer(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int category);
void draw_reel_layer(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int catagory);
UINT32 screen_update_sfbonus(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};
@ -929,7 +929,7 @@ void sfbonus_state::video_start()
}
void sfbonus_state::draw_reel_layer(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int category)
void sfbonus_state::draw_reel_layer(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int catagory)
{
int zz;
int i;
@ -1021,38 +1021,38 @@ void sfbonus_state::draw_reel_layer(screen_device &screen, bitmap_ind16 &bitmap,
if (rowenable2==0)
{
m_reel_tilemap->draw(screen, *m_temp_reel_bitmap, clip, TILEMAP_DRAW_CATEGORY(category),3);
m_reel_tilemap->draw(screen, *m_temp_reel_bitmap, clip, TILEMAP_DRAW_CATEGORY(catagory),3);
}
if (rowenable==0)
{
m_reel_tilemap->draw(screen, *m_temp_reel_bitmap, clip, TILEMAP_DRAW_CATEGORY(category),3);
m_reel_tilemap->draw(screen, *m_temp_reel_bitmap, clip, TILEMAP_DRAW_CATEGORY(catagory),3);
}
if (rowenable2==0x1)
{
m_reel2_tilemap->draw(screen, *m_temp_reel_bitmap, clip, TILEMAP_DRAW_CATEGORY(category),2);
m_reel2_tilemap->draw(screen, *m_temp_reel_bitmap, clip, TILEMAP_DRAW_CATEGORY(catagory),2);
}
if (rowenable==0x1)
{
m_reel2_tilemap->draw(screen, *m_temp_reel_bitmap, clip, TILEMAP_DRAW_CATEGORY(category),2);
m_reel2_tilemap->draw(screen, *m_temp_reel_bitmap, clip, TILEMAP_DRAW_CATEGORY(catagory),2);
}
if (rowenable2==0x2)
{
m_reel3_tilemap->draw(screen, *m_temp_reel_bitmap, clip, TILEMAP_DRAW_CATEGORY(category),1);
m_reel3_tilemap->draw(screen, *m_temp_reel_bitmap, clip, TILEMAP_DRAW_CATEGORY(catagory),1);
}
if (rowenable==0x2)
{
m_reel3_tilemap->draw(screen, *m_temp_reel_bitmap, clip, TILEMAP_DRAW_CATEGORY(category),1);
m_reel3_tilemap->draw(screen, *m_temp_reel_bitmap, clip, TILEMAP_DRAW_CATEGORY(catagory),1);
}
if (rowenable2==0x3)
{
m_reel4_tilemap->draw(screen, *m_temp_reel_bitmap, clip, TILEMAP_DRAW_CATEGORY(category),4);
m_reel4_tilemap->draw(screen, *m_temp_reel_bitmap, clip, TILEMAP_DRAW_CATEGORY(catagory),4);
}
if (rowenable==0x3)
{
m_reel4_tilemap->draw(screen, *m_temp_reel_bitmap, clip, TILEMAP_DRAW_CATEGORY(category),4);
m_reel4_tilemap->draw(screen, *m_temp_reel_bitmap, clip, TILEMAP_DRAW_CATEGORY(catagory),4);
}

View File

@ -481,7 +481,7 @@ void tia_video_device::draw_sprite_helper(UINT8* p, UINT8 *col, struct player_gf
void tia_video_device::draw_missile_helper(UINT8* p, UINT8* col, int horz, int skipdelay, int latch, int start,
UINT8 RESMP, UINT8 ENAM, UINT8 NUSIZ, UINT8 COLUMN)
UINT8 RESMP, UINT8 ENAM, UINT8 NUSIZ, UINT8 COLUM)
{
int num = nusiz[NUSIZ & 7][0];
int skp = nusiz[NUSIZ & 7][2];
@ -508,27 +508,27 @@ void tia_video_device::draw_missile_helper(UINT8* p, UINT8* col, int horz, int s
if ( horz >= 0 )
{
if ( horz < 156 ) {
p[(horz + 1) % 160] = COLUMN >> 1;
col[(horz + 1) % 160] = COLUMN >> 1;
p[(horz + 1) % 160] = COLUM >> 1;
col[(horz + 1) % 160] = COLUM >> 1;
}
p[horz % 160] = COLUMN >> 1;
col[horz % 160] = COLUMN >> 1;
p[horz % 160] = COLUM >> 1;
col[horz % 160] = COLUM >> 1;
}
break;
case 2:
case 3:
if ( horz >= 0 )
{
p[horz % 160] = COLUMN >> 1;
col[horz % 160] = COLUMN >> 1;
p[horz % 160] = COLUM >> 1;
col[horz % 160] = COLUM >> 1;
}
break;
}
} else {
if ( horz >= 0 )
{
p[horz % 160] = COLUMN >> 1;
col[horz % 160] = COLUMN >> 1;
p[horz % 160] = COLUM >> 1;
col[horz % 160] = COLUM >> 1;
}
}
}

View File

@ -66,7 +66,7 @@ protected:
virtual void device_reset();
void draw_sprite_helper(UINT8* p, UINT8 *col, struct player_gfx *gfx, UINT8 GRP, UINT8 COLUP, UINT8 REFP);
void draw_missile_helper(UINT8* p, UINT8* col, int horz, int skipdelay, int latch, int start, UINT8 RESMP, UINT8 ENAM, UINT8 NUSIZ, UINT8 COLUMN);
void draw_missile_helper(UINT8* p, UINT8* col, int horz, int skipdelay, int latch, int start, UINT8 RESMP, UINT8 ENAM, UINT8 NUSIZ, UINT8 COLUM);
void draw_playfield_helper(UINT8* p, UINT8* col, int horz, UINT8 COLU, UINT8 REFPF);
void draw_ball_helper(UINT8* p, UINT8* col, int horz, UINT8 ENAB);
void drawS0(UINT8* p, UINT8* col);