aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/cge.h
diff options
context:
space:
mode:
authorStrangerke2011-07-07 08:11:29 +0200
committerAlyssa Milburn2011-07-07 09:24:08 +0200
commitaffaa1f4d6cf5f27f654029133b1aec7b9eca4b5 (patch)
tree4b33e8e914164310e7ee88450f81c861686899e7 /engines/cge/cge.h
parentc86c62b288dd3c8a1a630864142f99b177e4db3a (diff)
downloadscummvm-rg350-affaa1f4d6cf5f27f654029133b1aec7b9eca4b5.tar.gz
scummvm-rg350-affaa1f4d6cf5f27f654029133b1aec7b9eca4b5.tar.bz2
scummvm-rg350-affaa1f4d6cf5f27f654029133b1aec7b9eca4b5.zip
CGE: Some cleanup: Move some static functions to CGEEngine, remove parameters to GetText, rename members of SavTab
Diffstat (limited to 'engines/cge/cge.h')
-rw-r--r--engines/cge/cge.h23
1 files changed, 19 insertions, 4 deletions
diff --git a/engines/cge/cge.h b/engines/cge/cge.h
index e4b8ef86c1..4f6b452850 100644
--- a/engines/cge/cge.h
+++ b/engines/cge/cge.h
@@ -49,9 +49,9 @@ enum SNLIST { NEAR, TAKE };
#define POCKET_NX 8
struct SavTab {
- void *Ptr;
- int Len;
- uint8 Flg;
+ void *_ptr;
+ int32 _len;
+ bool _flag;
};
class CGEEngine : public Engine {
@@ -124,7 +124,7 @@ public:
void setIRQ();
void setDMA();
void mainLoop();
- void SaveGame(XFile &file);
+ void saveGame(XFile &file);
void switchMusic();
void selectPocket(int n);
void expandSprite(Sprite *spr);
@@ -135,6 +135,21 @@ public:
void hide1(Sprite *spr);
void loadMapping();
void saveMapping();
+ void saveSound();
+ void heroCover(int cvr);
+ void trouble(int seq, int txt);
+ void offUse();
+ void tooFar();
+ void noWay();
+ void loadHeroXY();
+ void keyClick();
+ void switchColorMode();
+ void killSprite();
+ void pushSprite();
+ void pullSprite();
+ void sayDebug();
+ void nextStep();
+ void switchDebug();
void snBackPt(Sprite *spr, int stp);
void snBarrier(int cav, int bar, bool horz);