diff options
author | Strangerke | 2011-07-01 08:37:40 +0200 |
---|---|---|
committer | Strangerke | 2011-07-01 08:37:40 +0200 |
commit | 0000a3139a7c1d3ddf993741d4e0aa0c7ac3d760 (patch) | |
tree | 7f7391ee641b4ffbfa0b19455ae8acdc1e30e0df /engines/cge/game.h | |
parent | f59c910b8f41cfa9eeda88ce5f4d5c2a18b97662 (diff) | |
download | scummvm-rg350-0000a3139a7c1d3ddf993741d4e0aa0c7ac3d760.tar.gz scummvm-rg350-0000a3139a7c1d3ddf993741d4e0aa0c7ac3d760.tar.bz2 scummvm-rg350-0000a3139a7c1d3ddf993741d4e0aa0c7ac3d760.zip |
CGE: Some more renaming (wip)
Diffstat (limited to 'engines/cge/game.h')
-rw-r--r-- | engines/cge/game.h | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/engines/cge/game.h b/engines/cge/game.h index a64018aa58..3f86c97081 100644 --- a/engines/cge/game.h +++ b/engines/cge/game.h @@ -34,22 +34,25 @@ namespace CGE { -#define PAN_HIG 40 -#define LBound(s) (s->X <= 0) -#define RBound(s) (s->X+s->W >= SCR_WID) -#define TBound(s) (s->Y <= 0) -#define BBound(s) (s->Y+s->H >= SCR_HIG - PAN_HIG) - -int Sinus(long x); -uint8 *Glass(DAC *pal, uint8 r, uint8 g, uint8 b); -uint8 *Mark(DAC *pal); - -class FLY : public Sprite { - static int L, T, R, B; +//#define PAN_HIG 40 +//#define LBound(s) (s->X <= 0) +//#define RBound(s) (s->X+s->W >= SCR_WID) +//#define TBound(s) (s->Y <= 0) +//#define BBound(s) (s->Y+s->H >= SCR_HIG - PAN_HIG) + +//int sinus(long x); +uint8 *glass(Dac *pal, uint8 r, uint8 g, uint8 b); +//uint8 *mark(DAC *pal); + +class Fly : public Sprite { + static int _l; + static int _t; + static int _r; + static int _b; public: - int Tx, Ty; - FLY(CGEEngine *vm, Bitmap **shpl); - void Tick(void); + int _tx, _ty; + Fly(CGEEngine *vm, Bitmap **shpl); + void tick(); private: CGEEngine *_vm; }; |