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

@@ -149,6 +149,7 @@ public:
cMonster& operator = (legacy::monster_record_type& old);
cMonster();
void writeTo(std::ostream& file);
void readFrom(std::istream& file);
};
class cCreature : public cMonster {
@@ -178,6 +179,7 @@ public:
cCreature& operator = (const cCreature& other);
//cCreature& operator = (const cMonster& other);
void writeTo(std::ostream& file);
void readFrom(std::istream& file);
};
std::ostream& operator << (std::ostream& out, eStatus& e);