aboutsummaryrefslogtreecommitdiff
path: root/boxes.h
diff options
context:
space:
mode:
authorMax Horn2002-08-15 16:46:29 +0000
committerMax Horn2002-08-15 16:46:29 +0000
commit7c1a174e533dcd0590fb667d4257826f38c71ca7 (patch)
treefced9a419bb4a237d18e25d68a37f709e34ddd6d /boxes.h
parent105f966c6a66803653db90a01303cee3a08e5c0d (diff)
downloadscummvm-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.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/boxes.h b/boxes.h
index 4e627cbf41..cc04d2398d 100644
--- a/boxes.h
+++ b/boxes.h
@@ -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;
};