diff options
Diffstat (limited to 'engines/queen')
-rw-r--r-- | engines/queen/credits.h | 4 | ||||
-rw-r--r-- | engines/queen/logic.h | 4 | ||||
-rw-r--r-- | engines/queen/resource.h | 3 |
3 files changed, 6 insertions, 5 deletions
diff --git a/engines/queen/credits.h b/engines/queen/credits.h index 0aafe010f4..059c651ca7 100644 --- a/engines/queen/credits.h +++ b/engines/queen/credits.h @@ -26,7 +26,7 @@ #ifndef QUEEN_CREDITS_H #define QUEEN_CREDITS_H -#include "common/util.h" +#include "common/str-array.h" #include "queen/defs.h" namespace Queen { @@ -82,7 +82,7 @@ private: uint _lineNum; //! contains the credits description - Common::StringList _credits; + Common::StringArray _credits; QueenEngine *_vm; }; diff --git a/engines/queen/logic.h b/engines/queen/logic.h index ee0a4f2270..e6924b3e41 100644 --- a/engines/queen/logic.h +++ b/engines/queen/logic.h @@ -26,7 +26,7 @@ #ifndef QUEEN_LOGIC_H #define QUEEN_LOGIC_H -#include "common/str.h" +#include "common/str-array.h" #include "common/util.h" #include "queen/structs.h" @@ -337,7 +337,7 @@ protected: //! actor initial position in room is _walkOffData[_entryObj] int16 _entryObj; - Common::StringList _jasStringList; + Common::StringArray _jasStringList; int _jasStringOffset[JSO_COUNT]; uint16 _numDescriptions; diff --git a/engines/queen/resource.h b/engines/queen/resource.h index b057827dcd..63720a0755 100644 --- a/engines/queen/resource.h +++ b/engines/queen/resource.h @@ -27,6 +27,7 @@ #define QUEEN_RESOURCE_H #include "common/file.h" +#include "common/str-array.h" #include "common/util.h" #include "queen/defs.h" @@ -74,7 +75,7 @@ public: uint8 *loadFile(const char *filename, uint32 skipBytes = 0, uint32 *size = NULL); //! loads a text file - void loadTextFile(const char *filename, Common::StringList &stringList); + void loadTextFile(const char *filename, Common::StringArray &stringList); //! returns true if the file is present in the resource bool fileExists(const char *filename) const { return resourceEntry(filename) != NULL; } |