mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Turn map.explored, map.roomdeaths(final) into plain arrays
They're always fixed-size anyways, there's no need for them to be vectors. Also used the new INBOUNDS_ARR() macro for the map.explored bounds checks in Script.cpp, and made map.explored a proper bool array instead of an int array.
This commit is contained in:
@@ -79,11 +79,11 @@ public:
|
||||
void twoframedelayfix();
|
||||
|
||||
|
||||
std::vector <int> roomdeaths;
|
||||
std::vector <int> roomdeathsfinal;
|
||||
int roomdeaths[20 * 20];
|
||||
int roomdeathsfinal[20 * 20];
|
||||
std::vector <int> areamap;
|
||||
std::vector <int> contents;
|
||||
std::vector <int> explored;
|
||||
bool explored[20 * 20];
|
||||
std::vector <int> vmult;
|
||||
|
||||
int background;
|
||||
|
||||
Reference in New Issue
Block a user