mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Remove unused function editorclass::warpzoneedgetile()
This function was marked as unused by cppcheck.
This commit is contained in:
parent
54ff36da97
commit
a5e5c19913
2 changed files with 0 additions and 52 deletions
|
@ -1347,57 +1347,6 @@ int editorclass::edgetile( int x, int y )
|
|||
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 )
|
||||
{
|
||||
switch(outsidematch(x,y))
|
||||
|
|
|
@ -155,7 +155,6 @@ class editorclass{
|
|||
bool save(std::string& _path);
|
||||
void generatecustomminimap();
|
||||
int edgetile(int x, int y);
|
||||
int warpzoneedgetile(int x, int y);
|
||||
int outsideedgetile(int x, int y);
|
||||
|
||||
int backedgetile(int x, int y);
|
||||
|
|
Loading…
Reference in a new issue