X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=common.h;h=6ef74b05e928b7c4604e16d4e5c29c6e5e3af01a;hb=64035d00262d3b10c126748be659d22394b7ed3b;hp=bdc8e0d88f8ef78709f6463c1db7faa81d864460;hpb=537c4511e2f3802421f79aed7b6af16d66adb518;p=open-adventure.git diff --git a/common.h b/common.h index bdc8e0d..6ef74b0 100644 --- a/common.h +++ b/common.h @@ -2,9 +2,6 @@ #define COMMON_H /* maximum size limits shared by dungeon compiler and runtime */ -#define LOCSIZ 185 -#define NOBJECTS 100 - extern const char advent_to_ascii[128]; extern const char ascii_to_advent[128]; @@ -16,7 +13,8 @@ extern const char ascii_to_advent[128]; #define COND_NOBACK 4 /* Cannot use "back" to move away */ #define COND_ABOVE 5 #define COND_DEEP 6 /* Deep - e.g where dwarves are active */ -#define COND_FOREST 7 /* in the forest */ +#define COND_FOREST 7 /* In the forest */ +#define COND_FORCED 8 /* Only one way in or out of here */ /* Bits past 10 indicate areas of interest to "hint" routines */ #define COND_HBASE 10 /* Base for location hint bits */ #define COND_HCAVE 11 /* Trying to get into cave */ @@ -37,11 +35,7 @@ enum bugtype { TOO_MANY_TRAVEL_OPTIONS, // 3 TOO_MANY_VOCABULARY_WORDS, // 4 REQUIRED_VOCABULARY_WORD_NOT_FOUND, // 5 - TOO_MANY_RTEXT_MESSAGES, // 6 - TOO_MANY_HINTS, // 7 - LOCATION_HAS_CONDITION_BIT_BEING_SET_TWICE, // 8 INVALID_SECTION_NUMBER_IN_DATABASE, // 9 - TOO_MANY_LOCATIONS, // 10 SPECIAL_TRAVEL_500_GT_L_GT_300_EXCEEDS_GOTO_LIST = 20, // 20 RAN_OFF_END_OF_VOCABULARY_TABLE, // 21 VOCABULARY_TYPE_N_OVER_1000_NOT_BETWEEN_0_AND_3, // 22