diff options
author | Max Horn | 2010-03-18 15:54:40 +0000 |
---|---|---|
committer | Max Horn | 2010-03-18 15:54:40 +0000 |
commit | cac0ac66e22d18a57958ef342e6b115e35197e90 (patch) | |
tree | 1fef12f458e84cdba353bd9b3ef45e3d00a63a16 /engines/cruise | |
parent | 81a698d0a0a52115088825523950047d135b0ca0 (diff) | |
download | scummvm-rg350-cac0ac66e22d18a57958ef342e6b115e35197e90.tar.gz scummvm-rg350-cac0ac66e22d18a57958ef342e6b115e35197e90.tar.bz2 scummvm-rg350-cac0ac66e22d18a57958ef342e6b115e35197e90.zip |
COMMON: Get rid of Common::StringList
svn-id: r48287
Diffstat (limited to 'engines/cruise')
-rw-r--r-- | engines/cruise/cruise.h | 2 | ||||
-rw-r--r-- | engines/cruise/detection.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/cruise/cruise.h b/engines/cruise/cruise.h index 3d5d0499af..0428240167 100644 --- a/engines/cruise/cruise.h +++ b/engines/cruise/cruise.h @@ -66,7 +66,7 @@ private: bool _preLoad; Debugger *_debugger; PCSound *_sound; - Common::StringList _langStrings; + Common::StringArray _langStrings; CursorType _savedCursor; uint32 lastTick, lastTickDebug; int _gameSpeed; diff --git a/engines/cruise/detection.cpp b/engines/cruise/detection.cpp index 0c6c55d621..ea49a5fa5e 100644 --- a/engines/cruise/detection.cpp +++ b/engines/cruise/detection.cpp @@ -271,14 +271,14 @@ bool CruiseMetaEngine::hasFeature(MetaEngineFeature f) const { SaveStateList CruiseMetaEngine::listSaves(const char *target) const { Common::SaveFileManager *saveFileMan = g_system->getSavefileManager(); - Common::StringList filenames; + Common::StringArray filenames; Common::String pattern("cruise.s??"); filenames = saveFileMan->listSavefiles(pattern); sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..) SaveStateList saveList; - for (Common::StringList::const_iterator file = filenames.begin(); file != filenames.end(); ++file) { + for (Common::StringArray::const_iterator file = filenames.begin(); file != filenames.end(); ++file) { // Obtain the last 2 digits of the filename, since they correspond to the save slot int slotNum = atoi(file->c_str() + file->size() - 2); |