X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=advent.h;h=45b1c0c034256834de840433552860e28d1940e9;hp=aaae64117d155c34392aacc5714c15d855a72ba7;hb=d522d22c71ce0972efcb8872c851335ca08abaa4;hpb=f37a4135246fef3f10112bf16fda181c31178588 diff --git a/advent.h b/advent.h index aaae641..45b1c0c 100644 --- a/advent.h +++ b/advent.h @@ -27,9 +27,13 @@ /* Special object-state values - integers > 0 are object-specific */ #define STATE_NOTFOUND -1 // 'Not found" state of treasures */ -#define STATE_GROUND 0 // After discovered, before messed with +#define STATE_FOUND 0 // After discovered, before messed with #define STATE_IN_CAVITY 1 // State value common to all gemstones +/* Special fixed object-state values - integers > 0 are location */ +#define IS_FIXED -1 +#define IS_FREE 0 + /* Map a state property value to a negative range, where the object cannot be * picked up but the value can be recovered later. Avoid colliding with -1, * which has its own meaning. */