diff options
author | Strangerke | 2011-07-02 01:02:14 +0200 |
---|---|---|
committer | Strangerke | 2011-07-02 01:02:14 +0200 |
commit | 8e531d0da391b895a573c36c4b1bd8074571df83 (patch) | |
tree | f4c67a215f3e552540f36fdda0c28f7524e325cb /engines/cge/vga13h.h | |
parent | 601bfbd6095a88b2f6b77d2dec16731fe4fbf687 (diff) | |
download | scummvm-rg350-8e531d0da391b895a573c36c4b1bd8074571df83.tar.gz scummvm-rg350-8e531d0da391b895a573c36c4b1bd8074571df83.tar.bz2 scummvm-rg350-8e531d0da391b895a573c36c4b1bd8074571df83.zip |
CGE: Some more renaming (WIP)
Diffstat (limited to 'engines/cge/vga13h.h')
-rw-r--r-- | engines/cge/vga13h.h | 59 |
1 files changed, 30 insertions, 29 deletions
diff --git a/engines/cge/vga13h.h b/engines/cge/vga13h.h index a3d5ad949b..a22dd9d57a 100644 --- a/engines/cge/vga13h.h +++ b/engines/cge/vga13h.h @@ -195,42 +195,43 @@ public: uint16 _w; uint16 _h; uint16 _time; - uint8 NearPtr, TakePtr; + uint8 _nearPtr; + uint8 _takePtr; int _seqPtr; int _shpCnt; - char File[MAXFILE]; + char _file[MAXFILE]; Sprite *_prev; Sprite *_next; - bool Works(Sprite *spr); - bool SeqTest(int n); - inline bool Active(void) { + bool works(Sprite *spr); + bool seqTest(int n); + inline bool active() { return _ext != NULL; } Sprite(CGEEngine *vm, BMP_PTR *shp); virtual ~Sprite(void); - BMP_PTR Shp(void); - BMP_PTR *SetShapeList(BMP_PTR *shp); - void MoveShapes(uint8 *buf); - Sprite *Expand(void); - Sprite *Contract(void); - Sprite *BackShow(bool fast = false); - void SetName(char *n); - inline char *Name(void) { + BMP_PTR shp(); + BMP_PTR *setShapeList(BMP_PTR *shp); + void moveShapes(uint8 *buf); + Sprite *expand(); + Sprite *contract(); + Sprite *backShow(bool fast = false); + void setName(char *n); + inline char *name() { return (_ext) ? _ext->_name : NULL; } - void Goto(int x, int y); - void Center(void); - void Show(void); - void Hide(void); - BMP_PTR Ghost(void); - void Show(uint16 pg); - void MakeXlat(uint8 *x); - void KillXlat(void); - void Step(int nr = -1); - Seq *SetSeq(Seq *seq); - SNAIL::COM *SnList(SNLIST type); - virtual void Touch(uint16 mask, int x, int y); - virtual void Tick(void); + void gotoxy(int x, int y); + void center(); + void show(); + void hide(); + BMP_PTR ghost(); + void show(uint16 pg); + void makeXlat(uint8 *x); + void killXlat(); + void step(int nr = -1); + Seq *setSeq(Seq *seq); + SNAIL::COM *snList(SNLIST type); + virtual void touch(uint16 mask, int x, int y); + virtual void tick(); private: CGEEngine *_vm; }; @@ -291,9 +292,9 @@ public: void Clear(uint8 color); void CopyPage(uint16 d, uint16 s); void Sunrise(Dac *tab); - void Sunset(void); - void Show(void); - void Update(void); + void Sunset(); + void Show(); + void Update(); static void pal2DAC(const byte *palData, Dac *tab); static void DAC2pal(const Dac *tab, byte *palData); |