[Scummvm-cvs-logs] CVS: scummvm/scumm scumm.h,1.140,1.141 vars.cpp,1.34,1.35

Jonathan Gray khalek at users.sourceforge.net
Tue Jan 28 20:17:05 CET 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv24171

Modified Files:
	scumm.h vars.cpp 
Log Message:
add list of possible languages in comi and relevant variable

Index: scumm.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.h,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -d -r1.140 -r1.141
--- scumm.h	26 Jan 2003 10:57:01 -0000	1.140
+++ scumm.h	29 Jan 2003 04:16:14 -0000	1.141
@@ -160,6 +160,19 @@
 	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]

Index: vars.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/vars.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- vars.cpp	17 Jan 2003 07:20:54 -0000	1.34
+++ vars.cpp	29 Jan 2003 04:16:14 -0000	1.35
@@ -241,6 +241,8 @@
 
 	//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





More information about the Scummvm-git-logs mailing list