1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-02 02:53:32 +02:00

Remove unused coin attributes from finalclass and warpclass

Looks like coins were basically a scrapped mechanic, although I'm not
sure what these attributes were for. I guess counting the number of
coins in each room? But why, when you can just make a function to count
them automatically? Whatever.
This commit is contained in:
Misa 2020-07-06 12:44:29 -07:00 committed by Ethan Lee
parent 63f6784cfe
commit 876c120ed8
6 changed files with 3 additions and 6 deletions

View File

@ -8,7 +8,6 @@ const int* finalclass::loadlevel(int rx, int ry)
t = rx + (ry * 100);
const int* result;
coin = 0;
rcol = 0;
warpx = false;
warpy = false;

View File

@ -12,7 +12,7 @@ public:
const int* loadlevel(int rx, int ry);
std::string roomname;
int coin, rcol;
int rcol;
bool warpx, warpy;
};

View File

@ -21,7 +21,6 @@ const int* labclass::loadlevel(int rx, int ry)
t = rx + (ry * 100);
const int* result;
coin = 0;
rcol = 0;
roomname = "Untitled room ["+help.String(rx) + "," + help.String(ry)+"]";

View File

@ -12,6 +12,6 @@ public:
const int* loadlevel(int rx, int ry);
std::string roomname;
int coin, rcol;
int rcol;
};
#endif /* LABCLASS_H */

View File

@ -13,7 +13,6 @@ const int* warpclass::loadlevel(int rx, int ry)
t = rx + (ry * 100);
const int* result;
coin = 0;
rcol = 0;
warpx = false;
warpy = false;

View File

@ -11,7 +11,7 @@ class warpclass
public:
const int* loadlevel(int rx, int ry);
std::string roomname;
int coin, rcol;
int rcol;
bool warpx, warpy;
};