diff options
author | Paul Gilbert | 2016-06-24 22:39:01 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:24:46 -0400 |
commit | 6f5f59af17290930ea75261c604471057e3b45e3 (patch) | |
tree | f7aa9d83f0b606e2d714a55ad77bb3b5bf488ebd /engines/titanic/pet_control/pet_rooms_glyphs.cpp | |
parent | c2f6110d0218802b811c1172f114b5d8ed8bf37c (diff) | |
download | scummvm-rg350-6f5f59af17290930ea75261c604471057e3b45e3.tar.gz scummvm-rg350-6f5f59af17290930ea75261c604471057e3b45e3.tar.bz2 scummvm-rg350-6f5f59af17290930ea75261c604471057e3b45e3.zip |
TITANIC: Added various PET methods
Diffstat (limited to 'engines/titanic/pet_control/pet_rooms_glyphs.cpp')
-rw-r--r-- | engines/titanic/pet_control/pet_rooms_glyphs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.cpp b/engines/titanic/pet_control/pet_rooms_glyphs.cpp index b0a486d574..864ae2ee39 100644 --- a/engines/titanic/pet_control/pet_rooms_glyphs.cpp +++ b/engines/titanic/pet_control/pet_rooms_glyphs.cpp @@ -166,7 +166,7 @@ void CPetRoomsGlyph::getTooltip(CPetText *text) { text->setText(roomStr); } -void CPetRoomsGlyph::save2(SimpleFile *file, int indent) const { +void CPetRoomsGlyph::saveGlyph(SimpleFile *file, int indent) const { file->writeNumberLine(_roomFlags, indent); file->writeNumberLine(_mode, indent); } @@ -227,11 +227,11 @@ void CPetRoomsGlyph::drawObjects(uint flags, const Point &pt, CScreenManager *sc /*------------------------------------------------------------------------*/ -void CPetRoomsGlyphs::save2(SimpleFile *file, int indent) const { +void CPetRoomsGlyphs::saveGlyphs(SimpleFile *file, int indent) const { file->writeNumberLine(size(), indent); for (const_iterator i = begin(); i != end(); ++i) - (*i)->save2(file, indent); + (*i)->saveGlyph(file, indent); } CPetRoomsGlyph *CPetRoomsGlyphs::findAssignedRoom() const { |