Crossfire Server, Branches 1.12
R18729
|
Macros | |
#define | CONCENTRATED 1 /* all the treasure is at the C's for onions. */ |
#define | DOORED 8 /* treasure has doors around it. */ |
#define | FILLED 128 /* Fill/tile the entire map with treasure */ |
#define | HIDDEN 2 /* doors to treasure are hidden. */ |
#define | KEYREQUIRED 4 /* chest has a key, which is placed randomly in the map. */ |
#define | LAST_OPTION 64 /* set this to the last real option, for random */ |
#define | RICH 64 /* 2x as much treasure as default */ |
#define | SPARSE 32 /* 1/2 as much treasure as default */ |
#define | TRAPPED 16 /* trap dropped in same location as chest. */ |
Some defines for various options which can be set for random map treasures.
#define CONCENTRATED 1 /* all the treasure is at the C's for onions. */ |
Definition at line 46 of file treasure.c.
Referenced by place_treasure().
#define DOORED 8 /* treasure has doors around it. */ |
Definition at line 49 of file treasure.c.
Referenced by lock_and_hide_doors(), place_treasure(), and surround_by_doors().
#define FILLED 128 /* Fill/tile the entire map with treasure */ |
Definition at line 53 of file treasure.c.
#define HIDDEN 2 /* doors to treasure are hidden. */ |
Definition at line 47 of file treasure.c.
Referenced by lock_and_hide_doors(), and place_treasure().
#define KEYREQUIRED 4 /* chest has a key, which is placed randomly in the map. */ |
Definition at line 48 of file treasure.c.
Referenced by place_chest().
#define LAST_OPTION 64 /* set this to the last real option, for random */ |
Definition at line 54 of file treasure.c.
Referenced by place_treasure().
#define RICH 64 /* 2x as much treasure as default */ |
Definition at line 52 of file treasure.c.
Referenced by place_treasure().
#define SPARSE 32 /* 1/2 as much treasure as default */ |
Definition at line 51 of file treasure.c.
Referenced by place_treasure().
#define TRAPPED 16 /* trap dropped in same location as chest. */ |
Definition at line 50 of file treasure.c.
Referenced by place_chest().