1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Remove unused function edentclear()

This function was marked as unused by cppcheck.
This commit is contained in:
Misa 2021-01-02 00:21:02 -08:00 committed by Ethan Lee
parent 9b3bf69491
commit a656f4c4d8
2 changed files with 0 additions and 11 deletions

View file

@ -2196,15 +2196,6 @@ int edentat( int xp, int yp )
return -1; return -1;
} }
bool edentclear( int xp, int yp )
{
for(size_t i=0; i<edentity.size(); i++)
{
if(edentity[i].x==xp && edentity[i].y==yp) return false;
}
return true;
}
void fillbox( int x, int y, int x2, int y2, int c ) void fillbox( int x, int y, int x2, int y2, int c )
{ {
FillRect(graphics.backBuffer, x, y, x2-x, 1, c); FillRect(graphics.backBuffer, x, y, x2-x, 1, c);

View file

@ -276,8 +276,6 @@ void removeedentity(int t);
int edentat(int xp, int yp); int edentat(int xp, int yp);
bool edentclear(int xp, int yp);
void fillbox(int x, int y, int x2, int y2, int c); void fillbox(int x, int y, int x2, int y2, int c);
void fillboxabs(int x, int y, int x2, int y2, int c); void fillboxabs(int x, int y, int x2, int y2, int c);