mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 06:19:25 +03: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:
1 parent
7347975cc5
commit
c177f456f4
2 files changed
+5
-7
No files matched your search
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user