mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Remove unused function entityclass::cblocks()
Just noticed this was unused, so I'm removing it.
This commit is contained in:
@@ -3821,17 +3821,6 @@ int entityclass::getgridpoint( int t )
|
|||||||
return 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()
|
bool entityclass::checkplatform()
|
||||||
{
|
{
|
||||||
//Return true if rectset intersects a moving platform, setups px & py to the platform x & y
|
//Return true if rectset intersects a moving platform, setups px & py to the platform x & y
|
||||||
|
|||||||
@@ -111,8 +111,6 @@ public:
|
|||||||
|
|
||||||
int getgridpoint(int t);
|
int getgridpoint(int t);
|
||||||
|
|
||||||
bool cblocks(int t);
|
|
||||||
|
|
||||||
bool checkplatform();
|
bool checkplatform();
|
||||||
|
|
||||||
bool checkblocks();
|
bool checkblocks();
|
||||||
|
|||||||
Reference in New Issue
Block a user