mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03: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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user