mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Remove unused function Graphics::drawentcolours()
This function was marked as unused by cppcheck.
This commit is contained in:
parent
6261fa51e9
commit
9b3bf69491
2 changed files with 0 additions and 12 deletions
|
@ -679,17 +679,6 @@ void Graphics::drawtile3( int x, int y, int t, int off, int height_subtract /*=
|
||||||
BlitSurfaceStandard(tiles3[t], &src_rect, backBuffer, &rect);
|
BlitSurfaceStandard(tiles3[t], &src_rect, backBuffer, &rect);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Graphics::drawentcolours( int x, int y, int t)
|
|
||||||
{
|
|
||||||
if (!INBOUNDS_VEC(t, entcolours))
|
|
||||||
{
|
|
||||||
WHINE_ONCE("drawentcolours() out-of-bounds!")
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
SDL_Rect rect = { Sint16(x), Sint16(y), tiles_rect.w, tiles_rect.h };
|
|
||||||
BlitSurfaceStandard(entcolours[t], NULL, backBuffer, &rect);
|
|
||||||
}
|
|
||||||
|
|
||||||
void Graphics::drawtowertile( int x, int y, int t )
|
void Graphics::drawtowertile( int x, int y, int t )
|
||||||
{
|
{
|
||||||
if (!INBOUNDS_VEC(t, tiles2))
|
if (!INBOUNDS_VEC(t, tiles2))
|
||||||
|
|
|
@ -163,7 +163,6 @@ public:
|
||||||
void drawbackground(int t);
|
void drawbackground(int t);
|
||||||
void updatebackground(int t);
|
void updatebackground(int t);
|
||||||
void drawtile3( int x, int y, int t, int off, int height_subtract = 0 );
|
void drawtile3( int x, int y, int t, int off, int height_subtract = 0 );
|
||||||
void drawentcolours( int x, int y, int t);
|
|
||||||
void drawtile2( int x, int y, int t );
|
void drawtile2( int x, int y, int t );
|
||||||
void drawtile( int x, int y, int t );
|
void drawtile( int x, int y, int t );
|
||||||
void drawtowertile( int x, int y, int t );
|
void drawtowertile( int x, int y, int t );
|
||||||
|
|
Loading…
Reference in a new issue