More read/write tests for town and outdoors, including maps/dialogue

Fixes:
- For towns, the "has tavern" flag was not saved or loaded
- Outdoor roads were not saved or loaded
- For outdoor encounters, the "can't flee" and "forced" flags were not loaded, and "forced" was not saved
--> These two flags have also been separated in the code
This commit is contained in:
2015-09-30 17:00:05 -04:00
parent 16a09988f3
commit 43e82281af
26 changed files with 576 additions and 20 deletions

View File

@@ -38,7 +38,7 @@ protected:
public:
class cWandering { // formerly wandering_type
public:
mon_num_t monst[4];
std::array<mon_num_t,4> monst;
bool isNull();
void append(legacy::wandering_type old);