aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/game.h
diff options
context:
space:
mode:
authorStrangerke2011-09-16 20:31:11 +0200
committerStrangerke2011-09-16 20:31:39 +0200
commit938c08ae589eaa9b0cafc02478997f34bf7d598d (patch)
treee2ca985bb8db4db38184a168cf7597a75b313a77 /engines/cge/game.h
parent679fc754089473b8459c07b7192eb07f0b1ca183 (diff)
downloadscummvm-rg350-938c08ae589eaa9b0cafc02478997f34bf7d598d.tar.gz
scummvm-rg350-938c08ae589eaa9b0cafc02478997f34bf7d598d.tar.bz2
scummvm-rg350-938c08ae589eaa9b0cafc02478997f34bf7d598d.zip
CGE: Get rid of some more global functions and static members
Diffstat (limited to 'engines/cge/game.h')
-rw-r--r--engines/cge/game.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/engines/cge/game.h b/engines/cge/game.h
index 88ef4344ba..4d5acf7371 100644
--- a/engines/cge/game.h
+++ b/engines/cge/game.h
@@ -32,17 +32,20 @@
namespace CGE {
+enum {
+ kFlyL = 20,
+ kFlyT = 40,
+ kFlyR = 110,
+ kFlyB = 100
+};
+
class Fly : public Sprite {
- static const int _l;
- static const int _t;
- static const int _r;
- static const int _b;
+private:
+ CGEEngine *_vm;
public:
int _tx, _ty;
Fly(CGEEngine *vm, Bitmap **shpl);
void tick();
-private:
- CGEEngine *_vm;
};
} // End of namespace CGE