mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-05 08:31:16 +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:
@@ -14,6 +14,11 @@
|
|||||||
#include "Vlogging.h"
|
#include "Vlogging.h"
|
||||||
#include "Xoshiro.h"
|
#include "Xoshiro.h"
|
||||||
|
|
||||||
|
static int getgridpoint( int t )
|
||||||
|
{
|
||||||
|
return t / 8;
|
||||||
|
}
|
||||||
|
|
||||||
bool entityclass::checktowerspikes(int t)
|
bool entityclass::checktowerspikes(int t)
|
||||||
{
|
{
|
||||||
if (map.invincibility)
|
if (map.invincibility)
|
||||||
@@ -4094,11 +4099,6 @@ int entityclass::checkactivity(void)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int entityclass::getgridpoint( int t )
|
|
||||||
{
|
|
||||||
return t / 8;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool entityclass::checkplatform(const SDL_Rect& temprect, int* px, int* py)
|
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
|
//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 checkactivity(void);
|
||||||
|
|
||||||
int getgridpoint(int t);
|
|
||||||
|
|
||||||
bool checkplatform(const SDL_Rect& temprect, int* px, int* py);
|
bool checkplatform(const SDL_Rect& temprect, int* px, int* py);
|
||||||
|
|
||||||
bool checkblocks(const SDL_Rect& temprect, float dx, float dy, int dr, bool skipdirblocks);
|
bool checkblocks(const SDL_Rect& temprect, float dx, float dy, int dr, bool skipdirblocks);
|
||||||
|
|||||||
Reference in New Issue
Block a user