aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/cge.h
diff options
context:
space:
mode:
authorStrangerke2011-06-27 01:03:47 +0200
committerStrangerke2011-06-27 01:03:47 +0200
commit083d6ff6122cb2faf0a4330eb480bb9f77afa255 (patch)
treee8dae7dcccf1946d5df3518ff0e1221d6a881896 /engines/cge/cge.h
parente0673c113563ab9fc28d08c07a3bcb5c3b98fa1c (diff)
downloadscummvm-rg350-083d6ff6122cb2faf0a4330eb480bb9f77afa255.tar.gz
scummvm-rg350-083d6ff6122cb2faf0a4330eb480bb9f77afa255.tar.bz2
scummvm-rg350-083d6ff6122cb2faf0a4330eb480bb9f77afa255.zip
CGE: remove some if(n)def DEMO by using a new flag. Added CGEEngine in several classes in order to do so.
Diffstat (limited to 'engines/cge/cge.h')
-rw-r--r--engines/cge/cge.h39
1 files changed, 38 insertions, 1 deletions
diff --git a/engines/cge/cge.h b/engines/cge/cge.h
index f8857f045f..c3f241b2fe 100644
--- a/engines/cge/cge.h
+++ b/engines/cge/cge.h
@@ -23,6 +23,7 @@
#ifndef CGE_H
#define CGE_H
+#include "cge/general.h"
#include "common/random.h"
#include "engines/engine.h"
#include "gui/debugger.h"
@@ -47,15 +48,51 @@ public:
~CGEEngine();
const ADGameDescription *_gameDescription;
+ bool _isDemo;
virtual Common::Error run();
GUI::Debugger *getDebugger() {
return _console;
}
+ void cge_main();
+ void SwitchCave(int cav);
+ void StartCountDown();
+ void Quit();
+ void ResetQSwitch();
+ void OptionTouch(int opt, uint16 mask);
+ void LoadGame(XFILE &file, bool tiny);
+ void SetMapBrick(int x, int z);
+ void SwitchMapping();
+ void LoadSprite(const char *fname, int ref, int cav, int col, int row, int pos);
+ void LoadScript(const char *fname);
+ void LoadUser();
+ void RunGame();
+ bool ShowTitle(const char *name);
+ void Movie(const char *ext);
+ void TakeName();
+ void Inf(const char *txt);
+ void SelectSound();
+ void SNSelect();
+ void dummy() {}
+ void NONE();
+ void SB();
+ void CaveDown();
+ void XCave();
+ void QGame();
+ void SBM();
+ void GUS();
+ void GUSM();
+ void MIDI();
+ void AUTO();
+ void SetPortD();
+ void SetPortM();
+ void SetIRQ();
+ void SetDMA();
+ void MainLoop();
+
private:
CGEConsole *_console;
-
void setup();
};