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

Remove unnecessary consts from Entity.h

`const`s don't mean anything in a prototype declaration unless it's a
pointer or a reference. Remove them to make the header a bit more
readable.
This commit is contained in:
Misa 2022-12-11 10:52:12 -08:00
parent 3e0954b9b8
commit babcadc99f

View file

@ -98,7 +98,7 @@ public:
void animateentities(int i);
void animatehumanoidcollision(const int i);
void animatehumanoidcollision(int i);
int getcompanion(void);
@ -125,14 +125,14 @@ public:
bool checkplatform(const SDL_Rect& temprect, int* px, int* py);
bool checkblocks(const SDL_Rect& temprect, const float dx, const float dy, const float dr, const bool skipdirblocks);
bool checkblocks(const SDL_Rect& temprect, float dx, float dy, float dr, bool skipdirblocks);
bool checktowerspikes(int t);
bool checkwall(const bool invincible, const SDL_Rect& temprect, const float dx, const float dy, const float dr, const bool skipblocks, const bool skipdirblocks);
bool checkwall(const bool invincible, const SDL_Rect& temprect);
bool checkwall(bool invincible, const SDL_Rect& temprect, float dx, float dy, float dr, bool skipblocks, bool skipdirblocks);
bool checkwall(bool invincible, const SDL_Rect& temprect);
float hplatformat(const int px, const int py);
float hplatformat(int px, int py);
int yline(int a, int b);
@ -153,7 +153,7 @@ public:
bool entitycollideroof(int t);
bool testwallsx(int t, int tx, int ty, const bool skipdirblocks);
bool testwallsx(int t, int tx, int ty, bool skipdirblocks);
bool testwallsy(int t, float tx, float ty);