mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Turn obj.collect and obj.customcollect into plain arrays
Since they're always fixed-size, there's no need for them to be vectors. Also added an INBOUNDS_ARR() macro to do bounds checks with plain arrays.
This commit is contained in:
@@ -183,8 +183,8 @@ public:
|
||||
|
||||
std::vector<blockclass> blocks;
|
||||
bool flags[100];
|
||||
std::vector<bool> collect;
|
||||
std::vector<bool> customcollect;
|
||||
bool collect[100];
|
||||
bool customcollect[100];
|
||||
|
||||
bool skipblocks, skipdirblocks;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user