Turn areamap into plain array

For this one, I had to make it a static data member and then initialize
it in a certain way in Map.cpp. It's pretty cool that you're able to do
this.
This commit is contained in:
Misa
2020-07-02 21:13:23 -07:00
committed by Ethan Lee
parent cb3afa295a
commit a1d4523177
2 changed files with 9 additions and 10 deletions

View File

@@ -81,7 +81,7 @@ public:
int roomdeaths[20 * 20];
int roomdeathsfinal[20 * 20];
std::vector <int> areamap;
static const int areamap[20 * 20];
std::vector <int> contents;
bool explored[20 * 20];
std::vector <int> vmult;