[Scummvm-cvs-logs] CVS: scummvm/common gameDetector.cpp,1.142,1.143 gameDetector.h,1.55,1.56
Travis Howell
kirben at users.sourceforge.net
Fri Sep 5 00:37:03 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sound mixer.cpp,1.118,1.119 mixer.h,1.47,1.48
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm resource.cpp,1.146,1.147 saveload.cpp,1.105,1.106 script_v5.cpp,1.171,1.172 scumm.h,1.291,1.292 scummvm.cpp,2.366,2.367 sound.cpp,1.221,1.222
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv5740/common
Modified Files:
gameDetector.cpp gameDetector.h
Log Message:
Add atarist and macintosh options, since there seem to be no way to detect version been used.
Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.cpp,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -d -r1.142 -r1.143
--- gameDetector.cpp 3 Sep 2003 10:26:09 -0000 1.142
+++ gameDetector.cpp 5 Sep 2003 07:36:04 -0000 1.143
@@ -174,6 +174,8 @@
_music_volume = kDefaultMusicVolume;
_sfx_volume = kDefaultSFXVolume;
_amiga = false;
+ _atari_st = false;
+ _macintosh = false;
_language = 0;
#ifndef DISABLE_SCUMM
@@ -281,6 +283,8 @@
const char *val;
_amiga = g_config->getBool("amiga", _amiga);
+ _atari_st = g_config->getBool("atari_st", _atari_st);
+ _macintosh = g_config->getBool("macintosh", _macintosh);
_save_slot = g_config->getInt("save_slot", _save_slot);
@@ -513,7 +517,13 @@
} else
long_option_value = true;
- if (!strcmp (s, "multi-midi")) {
+ if (!strcmp (s, "atari-st")) {
+ _atari_st = long_option_value;
+ g_config->setBool ("atari_st", _atari_st);
+ } else if (!strcmp (s, "macintosh")) {
+ _macintosh = long_option_value;
+ g_config->setBool ("macintosh", _macintosh);
+ } else if (!strcmp (s, "multi-midi")) {
_multi_midi = long_option_value;
g_config->setBool ("multi_midi", _multi_midi);
} else if (!strcmp (s, "native-mt32")) {
Index: gameDetector.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.h,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- gameDetector.h 29 Aug 2003 08:04:54 -0000 1.55
+++ gameDetector.h 5 Sep 2003 07:36:05 -0000 1.56
@@ -124,6 +124,8 @@
int _music_volume;
int _sfx_volume;
bool _amiga;
+ bool _atari_st;
+ bool _macintosh;
int _language;
bool _demo_mode;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sound mixer.cpp,1.118,1.119 mixer.h,1.47,1.48
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm resource.cpp,1.146,1.147 saveload.cpp,1.105,1.106 script_v5.cpp,1.171,1.172 scumm.h,1.291,1.292 scummvm.cpp,2.366,2.367 sound.cpp,1.221,1.222
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list