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

Remove unused function entityclass::cblocks()

Just noticed this was unused, so I'm removing it.
This commit is contained in:
Misa 2020-04-14 19:42:07 -07:00 committed by Ethan Lee
parent 76e3b3ede4
commit 5fdbaa0076
2 changed files with 0 additions and 13 deletions

View file

@ -3821,17 +3821,6 @@ int entityclass::getgridpoint( int t )
return t;
}
bool entityclass::cblocks( int t )
{
tempx = entities[t].xp + entities[t].cx;
tempy = entities[t].yp + entities[t].cy;
tempw = entities[t].w;
temph = entities[t].h;
rectset(tempx, tempy, tempw, temph);
return checkblocks();
}
bool entityclass::checkplatform()
{
//Return true if rectset intersects a moving platform, setups px & py to the platform x & y

View file

@ -111,8 +111,6 @@ public:
int getgridpoint(int t);
bool cblocks(int t);
bool checkplatform();
bool checkblocks();