aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
diff options
context:
space:
mode:
authorMax Horn2010-03-18 15:09:24 +0000
committerMax Horn2010-03-18 15:09:24 +0000
commitc934642bdb7e6747a20054d7cc7b079e69bc22c2 (patch)
tree190d12bad5ed1cbabbd498d310f261c3a1c25bc9 /engines/sword1
parent30c84d2cff41924e6229d0cacd3d36ce1c2bf6ac (diff)
downloadscummvm-rg350-c934642bdb7e6747a20054d7cc7b079e69bc22c2.tar.gz
scummvm-rg350-c934642bdb7e6747a20054d7cc7b079e69bc22c2.tar.bz2
scummvm-rg350-c934642bdb7e6747a20054d7cc7b079e69bc22c2.zip
COMMON: Move typedef StringList from str.h to new header str-array.h
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
Diffstat (limited to 'engines/sword1')
-rw-r--r--engines/sword1/control.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sword1/control.h b/engines/sword1/control.h
index 6741b3dd79..a6ccb09a04 100644
--- a/engines/sword1/control.h
+++ b/engines/sword1/control.h
@@ -28,6 +28,7 @@
#include "common/scummsys.h"
#include "common/events.h"
+#include "common/str-array.h"
#include "sword1/sworddefs.h"
class OSystem;
@@ -111,7 +112,7 @@ private:
uint8 _numSaves;
uint8 _saveScrollPos;
uint8 _selectedSavegame;
- Common::StringList _saveNames;
+ Common::StringArray _saveNames;
Common::String _oldName;
uint8 _cursorTick;
bool _cursorVisible;