mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Turn time trial stat vectors into plain arrays
These are the besttimes, besttrinkets, bestlives, and bestrank attributes of Game. bestframes was already a plain array. As these are always fixed-sized, there's no reason for them to be vectors. Also, I put their size in a static const int so it's easy to change how many of them there are.
This commit is contained in:
@@ -297,11 +297,12 @@ public:
|
||||
int bestgamedeaths;
|
||||
|
||||
|
||||
std::vector<int>besttimes;
|
||||
int bestframes[6];
|
||||
std::vector<int>besttrinkets;
|
||||
std::vector<int>bestlives;
|
||||
std::vector<int> bestrank;
|
||||
static const int numtrials = 6;
|
||||
int besttimes[numtrials];
|
||||
int bestframes[numtrials];
|
||||
int besttrinkets[numtrials];
|
||||
int bestlives[numtrials];
|
||||
int bestrank[numtrials];
|
||||
|
||||
std::string tele_gametime;
|
||||
int tele_trinkets;
|
||||
|
||||
Reference in New Issue
Block a user