aboutsummaryrefslogtreecommitdiff
path: root/saga/saga.cpp
diff options
context:
space:
mode:
authorAndrew Kurushin2005-01-13 22:42:49 +0000
committerAndrew Kurushin2005-01-13 22:42:49 +0000
commit326dd0c2553db220283cda1403c77bc0870f7451 (patch)
treeed32eec8ad09f04ae4b820e1692b53a58983f1b4 /saga/saga.cpp
parente97c689f8bcbc925c02196b0596e9749a2533e88 (diff)
downloadscummvm-rg350-326dd0c2553db220283cda1403c77bc0870f7451.tar.gz
scummvm-rg350-326dd0c2553db220283cda1403c77bc0870f7451.tar.bz2
scummvm-rg350-326dd0c2553db220283cda1403c77bc0870f7451.zip
- introduced SagaEngine::getTextString (for i18n it should route to corresponding string array)
- first step in verb implementation: proper button draw, keyboard respond 'w','l' &etc - added comments and some fields to GameDisplayInfo svn-id: r16554
Diffstat (limited to 'saga/saga.cpp')
-rw-r--r--saga/saga.cpp47
1 files changed, 47 insertions, 0 deletions
diff --git a/saga/saga.cpp b/saga/saga.cpp
index 58ebbd7862..bd7a68db4b 100644
--- a/saga/saga.cpp
+++ b/saga/saga.cpp
@@ -60,6 +60,48 @@ static const GameSettings saga_games[] = {
{0, 0, 0}
};
+static const char *englishTextStrings[] = {
+ "Walk to",
+ "Look At",
+ "Pick Up",
+ "Talk to",
+ "Open",
+ "Close",
+ "Use",
+ "Give",
+ "Options",
+ "Test",
+ "Demo",
+ "Help",
+ "Quit Game",
+ "Fast",
+ "Slow",
+ "On",
+ "Off",
+ "Continue Playing",
+ "Load",
+ "Save",
+ "Game Options",
+ "Reading Speed",
+ "Music",
+ "Sound",
+ "Cancel",
+ "Quit",
+ "OK",
+ "Mid",
+ "Click",
+ "10%",
+ "20%",
+ "30%",
+ "40%",
+ "50%",
+ "60%",
+ "70%",
+ "80%",
+ "90%",
+ "Max"
+};
+
GameList Engine_SAGA_gameList() {
GameList games;
const GameSettings *g = saga_games;
@@ -333,4 +375,9 @@ const char *SagaEngine::getObjectName(uint16 objectId) {
return NULL;
}
+const char *SagaEngine::getTextString(int textStringId) {
+
+ return englishTextStrings[textStringId]; //TODO: i18n
+}
+
} // End of namespace Saga