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

Remove unused function editorclass::warpzoneedgetile()

This function was marked as unused by cppcheck.
This commit is contained in:
Misa 2021-01-02 00:26:05 -08:00 committed by Ethan Lee
parent 54ff36da97
commit a5e5c19913
2 changed files with 0 additions and 52 deletions

View file

@ -1347,57 +1347,6 @@ int editorclass::edgetile( int x, int y )
return 0; return 0;
} }
int editorclass::warpzoneedgetile( int x, int y )
{
switch(backmatch(x,y))
{
case 14:
return 0;
break;
case 10:
return 80;
break;
case 11:
return 82;
break;
case 12:
return 160;
break;
case 13:
return 162;
break;
case 1:
return 81;
break;
case 2:
return 120;
break;
case 3:
return 161;
break;
case 4:
return 122;
break;
case 5:
return 42;
break;
case 6:
return 41;
break;
case 7:
return 2;
break;
case 8:
return 1;
break;
case 0:
default:
return 0;
break;
}
return 0;
}
int editorclass::outsideedgetile( int x, int y ) int editorclass::outsideedgetile( int x, int y )
{ {
switch(outsidematch(x,y)) switch(outsidematch(x,y))

View file

@ -155,7 +155,6 @@ class editorclass{
bool save(std::string& _path); bool save(std::string& _path);
void generatecustomminimap(); void generatecustomminimap();
int edgetile(int x, int y); int edgetile(int x, int y);
int warpzoneedgetile(int x, int y);
int outsideedgetile(int x, int y); int outsideedgetile(int x, int y);
int backedgetile(int x, int y); int backedgetile(int x, int y);