diff options
author | Paul Gilbert | 2006-09-07 11:21:20 +0000 |
---|---|---|
committer | Paul Gilbert | 2006-09-07 11:21:20 +0000 |
commit | d9b5129fb8620ec715e3aaa068cfd2a25e197fdd (patch) | |
tree | 212e864b9585debc8973ec4a20099e5dfcd01938 /engines/lure/res.h | |
parent | 7a0eddeedd4cf2aa467ea75f3700ba72389e47a1 (diff) | |
download | scummvm-rg350-d9b5129fb8620ec715e3aaa068cfd2a25e197fdd.tar.gz scummvm-rg350-d9b5129fb8620ec715e3aaa068cfd2a25e197fdd.tar.bz2 scummvm-rg350-d9b5129fb8620ec715e3aaa068cfd2a25e197fdd.zip |
Transferred all previously hard-coded English in-game text to a resource
svn-id: r23831
Diffstat (limited to 'engines/lure/res.h')
-rw-r--r-- | engines/lure/res.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/lure/res.h b/engines/lure/res.h index 3c27223b1d..c29fd80c30 100644 --- a/engines/lure/res.h +++ b/engines/lure/res.h @@ -69,6 +69,7 @@ private: CharacterScheduleList _charSchedules; RoomExitIndexedHotspotList _indexedRoomExitHospots; PausedCharacterList _pausedList; + StringList _stringList; int numCharOffsets; uint16 *_charOffsets; @@ -123,6 +124,7 @@ public: CharacterScheduleList &charSchedules() { return _charSchedules; } RoomExitIndexedHotspotList &exitHotspots() { return _indexedRoomExitHospots; } PausedCharacterList &pausedList() { return _pausedList; } + StringList &stringList() { return _stringList; } uint16 getCharOffset(int index) { if (index >= numCharOffsets) error("Invalid index %d passed to script engine support data offset list", index); @@ -152,7 +154,7 @@ public: const char *getCurrentActionStr() { if (_currentAction > EXAMINE) error("Invalid current action %d", _currentAction); - return actionList[_currentAction]; + return _stringList.getString(_currentAction); } Hotspot *activateHotspot(uint16 hotspotId); Hotspot *addHotspot(uint16 hotspotId); |