mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Remove line_rect and prect
`prect` just wasn't needed as it was used in one place, and `line_rect` isn't used anymore.
This commit is contained in:
parent
81ad7ed9d6
commit
d93d773a8a
2 changed files with 4 additions and 10 deletions
|
@ -29,8 +29,6 @@ void Graphics::init(void)
|
|||
setRect(tiles_rect, 0, 0, 8, 8);
|
||||
setRect(sprites_rect, 0, 0, 32, 32);
|
||||
setRect(footerrect, 0, 230, 320, 10);
|
||||
setRect(prect, 0, 0, 4, 4);
|
||||
setRect(line_rect, 0,0,0,0);
|
||||
setRect(tele_rect, 0, 0, 96, 96);
|
||||
|
||||
// We initialise a few things
|
||||
|
@ -2150,9 +2148,7 @@ void Graphics::drawentity(const int i, const int yoff)
|
|||
break;
|
||||
}
|
||||
case 3: // Big chunky pixels!
|
||||
prect.x = xp;
|
||||
prect.y = yp - yoff;
|
||||
fill_rect(&prect, obj.entities[i].realcol);
|
||||
fill_rect(xp, yp - yoff, 4, 4, obj.entities[i].realcol);
|
||||
break;
|
||||
case 4: // Small pickups
|
||||
{
|
||||
|
|
|
@ -358,10 +358,8 @@ public:
|
|||
|
||||
SDL_Rect tiles_rect;
|
||||
SDL_Rect sprites_rect;
|
||||
SDL_Rect line_rect;
|
||||
SDL_Rect tele_rect;
|
||||
|
||||
SDL_Rect prect;
|
||||
SDL_Rect footerrect;
|
||||
|
||||
int linestate, linedelay;
|
||||
|
|
Loading…
Reference in a new issue