diff options
author | Paul Gilbert | 2016-08-18 22:45:58 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-08-18 22:45:58 -0400 |
commit | dc91d30b76ded7ed7a648a0b0b43d8fe99c00cf6 (patch) | |
tree | 12e445180f88ffdd5f9ad0a200f1b9c39faa6180 /engines/titanic/game/null_port_hole.cpp | |
parent | df5f78037cc33fb63bdb5233a8ed378db77d9832 (diff) | |
download | scummvm-rg350-dc91d30b76ded7ed7a648a0b0b43d8fe99c00cf6.tar.gz scummvm-rg350-dc91d30b76ded7ed7a648a0b0b43d8fe99c00cf6.tar.bz2 scummvm-rg350-dc91d30b76ded7ed7a648a0b0b43d8fe99c00cf6.zip |
TITANIC: Implementing game classes
Diffstat (limited to 'engines/titanic/game/null_port_hole.cpp')
-rw-r--r-- | engines/titanic/game/null_port_hole.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/titanic/game/null_port_hole.cpp b/engines/titanic/game/null_port_hole.cpp index e651b1b59f..b1514c7cbf 100644 --- a/engines/titanic/game/null_port_hole.cpp +++ b/engines/titanic/game/null_port_hole.cpp @@ -27,22 +27,22 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CNullPortHole, CClickResponder); CNullPortHole::CNullPortHole() : CClickResponder() { - _string1 = "For a better view, why not visit the Promenade Deck?"; - _string2 = "b#48.wav"; + _message = "For a better view, why not visit the Promenade Deck?"; + _soundName = "b#48.wav"; } void CNullPortHole::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); - file->writeQuotedLine(_string2, indent); - file->writeQuotedLine(_string1, indent); + file->writeQuotedLine(_soundName, indent); + file->writeQuotedLine(_message, indent); CClickResponder::save(file, indent); } void CNullPortHole::load(SimpleFile *file) { file->readNumber(); - _string2 = file->readString(); - _string1 = file->readString(); + _soundName = file->readString(); + _message = file->readString(); CClickResponder::load(file); } |