aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/vga13h.h
diff options
context:
space:
mode:
authorStrangerke2014-06-15 19:47:37 +0200
committerStrangerke2014-06-15 19:47:37 +0200
commitc57991ddfa3532fe02d212f20aa583f9a6c60d62 (patch)
tree675bca93536b71766251b362bb70c60a51b94c1a /engines/cge/vga13h.h
parent8dbfcc37fb69c890404c6bba38ae07d0e1040115 (diff)
downloadscummvm-rg350-c57991ddfa3532fe02d212f20aa583f9a6c60d62.tar.gz
scummvm-rg350-c57991ddfa3532fe02d212f20aa583f9a6c60d62.tar.bz2
scummvm-rg350-c57991ddfa3532fe02d212f20aa583f9a6c60d62.zip
CGE: Use booleans instead of uint16 in flag structure
Diffstat (limited to 'engines/cge/vga13h.h')
-rw-r--r--engines/cge/vga13h.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/engines/cge/vga13h.h b/engines/cge/vga13h.h
index 9511559df0..cc56eebdac 100644
--- a/engines/cge/vga13h.h
+++ b/engines/cge/vga13h.h
@@ -88,22 +88,22 @@ public:
int _ref;
signed char _scene;
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 _dummy : 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)
+ bool _hide : true; // general visibility switch
+ bool _near : true; // Near action lock
+ bool _drag : true; // sprite is moveable
+ bool _hold : true; // sprite is held with mouse
+ bool _dummy : true; // intrrupt driven animation
+ bool _slav : true; // slave object
+ bool _syst : true; // system object
+ bool _kill : true; // dispose memory after remove
+ bool _xlat : true; // 2nd way display: xlat table
+ bool _port : true; // portable
+ bool _kept : true; // kept in pocket
+ bool _east : true; // talk to east (in opposite to west)
+ bool _shad : true; // shadow
+ bool _back : true; // 'send to background' request
+ bool _bDel : true; // delete bitmaps in ~SPRITE
+ bool _tran : true; // transparent (untouchable)
} _flags;
int _x;
int _y;