[Scummvm-cvs-logs] CVS: scummvm/common gameDetector.cpp,1.27,1.28 gameDetector.h,1.9,1.10
Max Horn
fingolfin at users.sourceforge.net
Wed Nov 6 08:02:05 CET 2002
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm scumm.h,1.57,1.58
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm script.cpp,1.10,1.11 script_v1.cpp,1.16,1.17 script_v2.cpp,1.48,1.49 scumm.h,1.58,1.59
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/common
In directory usw-pr-cvs1:/tmp/cvs-serv2771/common
Modified Files:
gameDetector.cpp gameDetector.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: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- gameDetector.cpp 6 Nov 2002 03:40:41 -0000 1.27
+++ gameDetector.cpp 6 Nov 2002 16:01:36 -0000 1.28
@@ -22,9 +22,10 @@
#include "stdafx.h"
-#include "scumm/scumm.h"
+//#include "scumm/scumm.h"
#include "sound/mididrv.h"
#include "scumm/imuse.h"
+#include "common/engine.h"
#include "common/gameDetector.h"
#include "common/config-file.h"
Index: gameDetector.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- gameDetector.h 28 Oct 2002 09:03:01 -0000 1.9
+++ gameDetector.h 6 Nov 2002 16:01:36 -0000 1.10
@@ -28,6 +28,61 @@
class OSystem;
class MidiDriver;
+enum {
+ kDefaultMasterVolume = 192,
+ kDefaultSFXVolume = 192,
+ kDefaultMusicVolume = 192
+};
+
+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
+};
+
struct VersionSettings {
const char *filename;
const char *gamename;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm scumm.h,1.57,1.58
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm script.cpp,1.10,1.11 script_v1.cpp,1.16,1.17 script_v2.cpp,1.48,1.49 scumm.h,1.58,1.59
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list