diff options
| author | Max Horn | 2002-09-30 00:55:47 +0000 | 
|---|---|---|
| committer | Max Horn | 2002-09-30 00:55:47 +0000 | 
| commit | d921d06d3965d2ee5ad072503d72d52564947b21 (patch) | |
| tree | b99d57405d1022f93eedde934175acd9c8954774 /common/gameDetector.h | |
| parent | e9e75ffd0a8ac86c36a13057bfee1719dd8b76f5 (diff) | |
| download | scummvm-rg350-d921d06d3965d2ee5ad072503d72d52564947b21.tar.gz scummvm-rg350-d921d06d3965d2ee5ad072503d72d52564947b21.tar.bz2 scummvm-rg350-d921d06d3965d2ee5ad072503d72d52564947b21.zip  | |
played a bit with the launcher - it now is already somewhat usable <g>
svn-id: r5047
Diffstat (limited to 'common/gameDetector.h')
| -rw-r--r-- | common/gameDetector.h | 17 | 
1 files changed, 12 insertions, 5 deletions
diff --git a/common/gameDetector.h b/common/gameDetector.h index 857b73a5ef..cdfb77d8e3 100644 --- a/common/gameDetector.h +++ b/common/gameDetector.h @@ -23,6 +23,8 @@  #ifndef GAMEDETECTOR_H  #define GAMEDETECTOR_H +#include "common/str.h" +  class OSystem;  class MidiDriver; @@ -37,15 +39,20 @@ extern const VersionSettings version_settings[];  class GameDetector { +	typedef ScummVM::String String; +protected: +	bool detectGame(void); +  public: -	int detectMain(int argc, char **argv); +	GameDetector(); +	  	void parseCommandLine(int argc, char **argv); -	bool detectGame(void); +	int detectMain(); +	void setGame(const String &name);  	const char *getGameName(void);  	bool _fullScreen;  	byte _gameId; -	bool _simon;  	bool _use_adlib; @@ -55,14 +62,14 @@ public:  	uint16 _talkSpeed;  	uint16 _debugMode; -	uint16 _noSubtitles; +	bool _noSubtitles;  	uint16 _bootParam;  	uint16 _soundCardType;  	char *_gameDataPath;  	int _gameTempo;  	int _midi_driver; -	char *_exe_name; +	String _gameFileName;  	const char *_gameText;  	uint32 _features;  | 
