aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJonathan Gray2003-01-29 04:16:14 +0000
committerJonathan Gray2003-01-29 04:16:14 +0000
commit8e9d8cff8129bd611f7107effd91131602f715cb (patch)
treef3766c317b860c4a410035258be743f7a38cee3d /scumm
parentafec98c6557a0d4c61c87107264c76d122087784 (diff)
downloadscummvm-rg350-8e9d8cff8129bd611f7107effd91131602f715cb.tar.gz
scummvm-rg350-8e9d8cff8129bd611f7107effd91131602f715cb.tar.bz2
scummvm-rg350-8e9d8cff8129bd611f7107effd91131602f715cb.zip
add list of possible languages in comi and relevant variable
svn-id: r6565
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scumm.h13
-rw-r--r--scumm/vars.cpp2
2 files changed, 15 insertions, 0 deletions
diff --git a/scumm/scumm.h b/scumm/scumm.h
index 6bc52c4c61..cf61775930 100644
--- a/scumm/scumm.h
+++ b/scumm/scumm.h
@@ -160,6 +160,19 @@ enum {
MBS_MAX_KEY = 0x0200
};
+// possible languages for comi
+enum Languages {
+ EN_USA = 0,
+ DE_DEU = 1,
+ FR_FRA = 2,
+ IT_ITA = 3,
+ PT_BRA = 4,
+ ES_ESP = 5,
+ JA_JPN = 6,
+ ZH_TWN = 7,
+ KO_KOR = 8
+};
+
#define _maxRooms res.num[rtRoom]
#define _maxScripts res.num[rtScript]
#define _maxCostumes res.num[rtCostume]
diff --git a/scumm/vars.cpp b/scumm/vars.cpp
index 0b49d78c9d..47ae8b2d85 100644
--- a/scumm/vars.cpp
+++ b/scumm/vars.cpp
@@ -241,6 +241,8 @@ void Scumm_v8::setupScummVars()
//VAR_VOICE_MODE = 39; // 0 is voice, 1 is voice+text, 2 is text only
VAR_GAME_LOADED = 40;
+ VAR_LANGUAGE = 41; // see Languages enum in scumm.h for possible values
+
VAR_CURRENTDISK = 42;
VAR_SCROLL_SCRIPT = 50; // FIXME - guess based on where this is in V7