1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-26 06:28:30 +02:00

Unexport getgridpoint

It's a method of entityclass even though it doesn't use anything on the
class and it's not used outside of Entity.cpp.
This commit is contained in:
Misa 2022-12-11 12:40:45 -08:00
parent 7347975cc5
commit c177f456f4
2 changed files with 5 additions and 7 deletions

View File

@ -14,6 +14,11 @@
#include "Vlogging.h"
#include "Xoshiro.h"
static int getgridpoint( int t )
{
return t / 8;
}
bool entityclass::checktowerspikes(int t)
{
if (map.invincibility)
@ -4094,11 +4099,6 @@ int entityclass::checkactivity(void)
return -1;
}
int entityclass::getgridpoint( int t )
{
return t / 8;
}
bool entityclass::checkplatform(const SDL_Rect& temprect, int* px, int* py)
{
//Return true if rectset intersects a moving platform, setups px & py to the platform x & y

View File

@ -119,8 +119,6 @@ public:
int checkactivity(void);
int getgridpoint(int t);
bool checkplatform(const SDL_Rect& temprect, int* px, int* py);
bool checkblocks(const SDL_Rect& temprect, float dx, float dy, int dr, bool skipdirblocks);