mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-09 10:29:45 +01: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:
parent
63f6784cfe
commit
876c120ed8
6 changed files with 3 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -12,7 +12,7 @@ public:
|
|||
const int* loadlevel(int rx, int ry);
|
||||
|
||||
std::string roomname;
|
||||
int coin, rcol;
|
||||
int rcol;
|
||||
bool warpx, warpy;
|
||||
};
|
||||
|
||||
|
|
|
@ -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)+"]";
|
||||
|
||||
|
|
|
@ -12,6 +12,6 @@ public:
|
|||
const int* loadlevel(int rx, int ry);
|
||||
|
||||
std::string roomname;
|
||||
int coin, rcol;
|
||||
int rcol;
|
||||
};
|
||||
#endif /* LABCLASS_H */
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue