mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Unexport gridmatch
It's a method of entityclass, but it has no reason to be because it doesn't use anything on entityclass and it's not used outside of Entity.cpp.
This commit is contained in:
parent
ec520838df
commit
52e29b68bc
2 changed files with 1 additions and 3 deletions
|
@ -1215,7 +1215,7 @@ void entityclass::revertlinecross(std::vector<entclass>& linecrosskludge, int t,
|
||||||
entities[t].life = linecrosskludge[s].life;
|
entities[t].life = linecrosskludge[s].life;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool entityclass::gridmatch( int p1, int p2, int p3, int p4, int p11, int p21, int p31, int p41 )
|
static bool gridmatch( int p1, int p2, int p3, int p4, int p11, int p21, int p31, int p41 )
|
||||||
{
|
{
|
||||||
if (p1 == p11 && p2 == p21 && p3 == p31 && p4 == p41) return true;
|
if (p1 == p11 && p2 == p21 && p3 == p31 && p4 == p41) return true;
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -82,8 +82,6 @@ public:
|
||||||
|
|
||||||
void revertlinecross(std::vector<entclass>& linecrosskludge, int t, int s);
|
void revertlinecross(std::vector<entclass>& linecrosskludge, int t, int s);
|
||||||
|
|
||||||
bool gridmatch(int p1, int p2, int p3, int p4, int p11, int p21, int p31, int p41);
|
|
||||||
|
|
||||||
void createentity(int xp, int yp, int t, int meta1, int meta2,
|
void createentity(int xp, int yp, int t, int meta1, int meta2,
|
||||||
int p1, int p2, int p3, int p4);
|
int p1, int p2, int p3, int p4);
|
||||||
void createentity(int xp, int yp, int t, int meta1, int meta2,
|
void createentity(int xp, int yp, int t, int meta1, int meta2,
|
||||||
|
|
Loading…
Reference in a new issue