diff options
author | Paul Gilbert | 2016-05-06 20:00:00 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:38:34 -0400 |
commit | 82299474029d0568c3de0bcbcc485ad9e14cf7dd (patch) | |
tree | e7bfb01418ac1debf20d18f479566a31d336dc45 /engines/titanic/npcs/parrot.cpp | |
parent | 2a2eaebdc294a7958260ed40d48fef25e1396355 (diff) | |
download | scummvm-rg350-82299474029d0568c3de0bcbcc485ad9e14cf7dd.tar.gz scummvm-rg350-82299474029d0568c3de0bcbcc485ad9e14cf7dd.tar.bz2 scummvm-rg350-82299474029d0568c3de0bcbcc485ad9e14cf7dd.zip |
TITANIC: In progress message handlers for CTrueTalkNPC
Diffstat (limited to 'engines/titanic/npcs/parrot.cpp')
-rw-r--r-- | engines/titanic/npcs/parrot.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/titanic/npcs/parrot.cpp b/engines/titanic/npcs/parrot.cpp index c350079f76..a4cfa0872b 100644 --- a/engines/titanic/npcs/parrot.cpp +++ b/engines/titanic/npcs/parrot.cpp @@ -88,15 +88,15 @@ CParrot::CParrot() : CTrueTalkNPC() { _field1E8 = 0; _field1EC = 30; - _string1 = "z454.dlg"; - _fieldD4 = 0x13880; + _assetName = "z454.dlg"; + _assetNumber = 0x13880; } void CParrot::save(SimpleFile *file, int indent) const { file->writeNumberLine(1, indent); - file->writeNumberLine(_fieldD4, indent); + file->writeNumberLine(_assetNumber, indent); - file->writeQuotedLine(_string1, indent); + file->writeQuotedLine(_assetName, indent); file->writeNumberLine(_field108, indent); file->writeNumberLine(_v1, indent); file->writeNumberLine(_v2, indent); @@ -118,9 +118,9 @@ void CParrot::save(SimpleFile *file, int indent) const { void CParrot::load(SimpleFile *file) { file->readNumber(); - _fieldD4 = file->readNumber(); + _assetNumber = file->readNumber(); - _string1 = file->readString(); + _assetName = file->readString(); _field108 = file->readNumber(); _v1 = file->readNumber(); _v2 = file->readNumber(); |