diff options
author | Max Horn | 2002-08-15 16:46:29 +0000 |
---|---|---|
committer | Max Horn | 2002-08-15 16:46:29 +0000 |
commit | 7c1a174e533dcd0590fb667d4257826f38c71ca7 (patch) | |
tree | fced9a419bb4a237d18e25d68a37f709e34ddd6d /boxes.h | |
parent | 105f966c6a66803653db90a01303cee3a08e5c0d (diff) | |
download | scummvm-rg350-7c1a174e533dcd0590fb667d4257826f38c71ca7.tar.gz scummvm-rg350-7c1a174e533dcd0590fb667d4257826f38c71ca7.tar.bz2 scummvm-rg350-7c1a174e533dcd0590fb667d4257826f38c71ca7.zip |
first attempt to implement the difference between the box lock and box invisible flag. fixes the counter bug and all of the bugs introduced to my fix for the bus bug; but the bus bug is back, will look into that next
svn-id: r4745
Diffstat (limited to 'boxes.h')
-rw-r--r-- | boxes.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -25,8 +25,16 @@ #define SIZEOF_BOX 20 +typedef enum { + kBoxXFlip = 0x08, + kBoxYFlip = 0x10, + kBoxPlayerOnly = 0x20, + kBoxLocked = 0x40, + kBoxInvisible = 0x80, +} BoxFlags; + struct AdjustBoxResult { /* Result type of AdjustBox functions */ - int16 x,y; + int16 x, y; uint16 dist; }; |