aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/vga13h.h
diff options
context:
space:
mode:
authorStrangerke2011-06-29 16:13:17 +0200
committerStrangerke2011-06-29 16:13:17 +0200
commitf2f3124246a77036f843dee2d83ad28084234ebc (patch)
tree40ca3a4eb51673d6fb9be1391434d212d80c3083 /engines/cge/vga13h.h
parent91dc5f424aa474001ac85d600cd22aff54e317c4 (diff)
downloadscummvm-rg350-f2f3124246a77036f843dee2d83ad28084234ebc.tar.gz
scummvm-rg350-f2f3124246a77036f843dee2d83ad28084234ebc.tar.bz2
scummvm-rg350-f2f3124246a77036f843dee2d83ad28084234ebc.zip
CGE: Some more renaming (wip)
Diffstat (limited to 'engines/cge/vga13h.h')
-rw-r--r--engines/cge/vga13h.h57
1 files changed, 27 insertions, 30 deletions
diff --git a/engines/cge/vga13h.h b/engines/cge/vga13h.h
index 77594217ab..0c75dd6ba9 100644
--- a/engines/cge/vga13h.h
+++ b/engines/cge/vga13h.h
@@ -172,32 +172,35 @@ public:
int _ref;
signed char _cave;
struct FLAGS {
- uint16 Hide : 1; // general visibility switch
- uint16 Near : 1; // Near action lock
- uint16 Drag : 1; // sprite is moveable
- uint16 Hold : 1; // sprite is held with mouse
- uint16 ____ : 1; // intrrupt driven animation
- uint16 Slav : 1; // slave object
- uint16 Syst : 1; // system object
- uint16 Kill : 1; // dispose memory after remove
- uint16 Xlat : 1; // 2nd way display: xlat table
- uint16 Port : 1; // portable
- uint16 Kept : 1; // kept in pocket
- uint16 East : 1; // talk to east (in opposite to west)
- uint16 Shad : 1; // shadow
- uint16 Back : 1; // 'send to background' request
- uint16 BDel : 1; // delete bitmaps in ~SPRITE
- uint16 Tran : 1; // transparent (untouchable)
- } Flags;
- int X, Y;
- signed char Z;
- uint16 W, H;
- uint16 Time;
+ uint16 _hide : 1; // general visibility switch
+ uint16 _near : 1; // Near action lock
+ uint16 _drag : 1; // sprite is moveable
+ uint16 _hold : 1; // sprite is held with mouse
+ uint16 _____ : 1; // intrrupt driven animation
+ uint16 _slav : 1; // slave object
+ uint16 _syst : 1; // system object
+ uint16 _kill : 1; // dispose memory after remove
+ uint16 _xlat : 1; // 2nd way display: xlat table
+ uint16 _port : 1; // portable
+ uint16 _kept : 1; // kept in pocket
+ uint16 _east : 1; // talk to east (in opposite to west)
+ uint16 _shad : 1; // shadow
+ uint16 _back : 1; // 'send to background' request
+ uint16 _bDel : 1; // delete bitmaps in ~SPRITE
+ uint16 _tran : 1; // transparent (untouchable)
+ } _flags;
+ int _x;
+ int _y;
+ signed char _z;
+ uint16 _w;
+ uint16 _h;
+ uint16 _time;
uint8 NearPtr, TakePtr;
- int SeqPtr;
- int ShpCnt;
+ int _seqPtr;
+ int _shpCnt;
char File[MAXFILE];
- Sprite *Prev, * Next;
+ Sprite *_prev;
+ Sprite *_next;
bool Works(Sprite *spr);
bool SeqTest(int n);
inline bool Active(void) {
@@ -329,12 +332,6 @@ uint8 Closest(CBLK *pal, CBLK x) {
#undef f
}
-
-
-
-
-
-
char *NumStr(char *str, int num);
//static void Video (void);
uint16 *SaveScreen(void);