Make the automap actually work

- Except that it's showing just black and white instead of the proper terrain pictures
- Fixed towns not initializing some flags, such as defy_mapping, causing them to be true when they shouldn't be
- Fix Ellipse shapes not being correctly positioned
This commit is contained in:
2014-04-14 21:16:35 -04:00
parent 121273bf57
commit 3c3ed04ca7
12 changed files with 93 additions and 199 deletions

View File

@@ -76,6 +76,7 @@ cTown& cTown::operator = (legacy::town_record_type& old){
for(i = 0; i < 100; i++)
specials[i] = old.specials[i];
difficulty = old.difficulty;
strong_barriers = defy_scrying = defy_mapping = false;
return *this;
}
@@ -137,6 +138,7 @@ cTown::cTown(short size){
specials[i] = cSpecial();
}
difficulty = 0;
strong_barriers = defy_scrying = defy_mapping = false;
}
char(& cTown::town_strs(short i))[256]{