Finish up the bulk of the loading implementation, with some tweaks to saving to make sure it all matches

This commit is contained in:
2014-04-20 15:46:53 -04:00
parent 0c0450f4fe
commit 3a0f1ad7f5
19 changed files with 527 additions and 249 deletions

View File

@@ -39,7 +39,8 @@ public:
short max_items();
cBigTown();
void writeTo(std::ostream& file);
void writeTerrainTo(std::ostream& file);
void readTerrainFrom(std::istream& file);
};
class cMedTown : public cTown { // formerly ave_tr_type
@@ -59,7 +60,8 @@ public:
short max_items();
cMedTown();
void writeTo(std::ostream& file);
void writeTerrainTo(std::ostream& file);
void readTerrainFrom(std::istream& file);
};
class cTinyTown : public cTown { // formerly tiny_tr_type
@@ -79,7 +81,8 @@ public:
short max_items();
cTinyTown();
void writeTo(std::ostream& file);
void writeTerrainTo(std::ostream& file);
void readTerrainFrom(std::istream& file);
};
#endif