[Scummvm-cvs-logs] CVS: scummvm/scumm scumm.h,1.57,1.58

Max Horn fingolfin at users.sourceforge.net
Wed Nov 6 08:02:04 CET 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv2771/scumm

Modified Files:
	scumm.h 
Log Message:
moved some constants from scumm.h to gameDetector.h; this way, we don't have to include scumm.h in gameDetector.cpp (good, as it seperates scumm/ from common/ even more)

Index: scumm.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.h,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- scumm.h	6 Nov 2002 15:29:49 -0000	1.57
+++ scumm.h	6 Nov 2002 16:01:34 -0000	1.58
@@ -24,6 +24,7 @@
 #define SCUMM_H
 
 #include "common/engine.h"
+#include "common/gameDetector.h"
 #include "common/timer.h"
 #include "common/file.h"
 
@@ -55,12 +56,6 @@
 	KEY_SET_OPTIONS = 3456 // WinCE
 };
 
-enum {
-	kDefaultMasterVolume = 192,
-	kDefaultSFXVolume = 192,
-	kDefaultMusicVolume = 192
-};
-
 struct ScummPoint {
 	int x, y;
 };
@@ -254,55 +249,6 @@
 	bool center, t_center;
 	bool overhead, t_overhead;
 	bool no_talk_anim, t_no_talk_anim;
-};
-
-enum GameId {
-	GID_TENTACLE = 1,
-	GID_MONKEY2 = 2,
-	GID_INDY4 = 3,
-	GID_MONKEY = 4,
-	GID_SAMNMAX = 5,
-	GID_MONKEY_EGA = 6,
-	GID_LOOM256 = 7,
-	GID_ZAK256 = 8,
-	GID_INDY3_256 = 9,
-	GID_LOOM = 10,
-	GID_FT = 11,
-	GID_DIG = 12,
-	GID_MONKEY_VGA = 13,
-	GID_CMI = 14,
-	//GID_MANIAC = 15;
-	//GID_ZAK = 16;
-
-	/* Simon the Sorcerer */
-	GID_SIMON_FIRST = 20,
-	GID_SIMON_LAST = GID_SIMON_FIRST + 8,
-};
-
-enum GameFeatures {
-	GF_NEW_OPCODES = 1,
-	GF_AFTER_V6 = 2,
-	GF_AFTER_V7 = 4,
-	GF_HAS_ROOMTABLE = GF_AFTER_V7,
-	GF_USE_KEY = 8,
-	GF_NEW_COSTUMES = GF_AFTER_V7,
-	GF_USE_ANGLES = GF_AFTER_V7,
-	GF_DRAWOBJ_OTHER_ORDER = 16,
-
-	GF_DEFAULT = GF_USE_KEY,
-
-	GF_SMALL_HEADER = 32,
-	GF_EXTERNAL_CHARSET = GF_SMALL_HEADER,
-	GF_SMALL_NAMES = 64,
-	GF_OLD_BUNDLE = 128,
-	GF_16COLOR = 256,
-	GF_OLD256 = 512,
-	GF_AUDIOTRACKS = 1024,
-	GF_NO_SCALLING = 2048,
-	GF_ADLIB_DEFAULT = 4096,
-	GF_AMIGA = 8192,
-	GF_HUMONGOUS = 16384,
-	GF_AFTER_V8 = 32768
 };
 
 enum WhereIsObject {





More information about the Scummvm-git-logs mailing list