X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=templates%2Fdungeon.h.tpl;h=ab3d6d7eeb43760c39728331e2cee0f00c1be5f8;hb=1ce4fc2ac3d3bd09996ea342311ad141e56f343d;hp=66d65ab41aedab0ca77338fc579b201fe1e08857;hpb=67a887f432fa175300e6d51069587175dee76e17;p=open-adventure.git diff --git a/templates/dungeon.h.tpl b/templates/dungeon.h.tpl index 66d65ab..ab3d6d7 100644 --- a/templates/dungeon.h.tpl +++ b/templates/dungeon.h.tpl @@ -1,3 +1,7 @@ +/* +SPDX-FileCopyrightText: Eric S. Raymond +SPDX-License-Identifier: BSD-2-Clause +*/ #ifndef DUNGEON_H #define DUNGEON_H @@ -16,18 +20,20 @@ #define COND_DEEP 6 /* Deep - e.g where dwarves are active */ #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 */ -#define COND_HBIRD 12 /* Trying to catch bird */ -#define COND_HSNAKE 13 /* Trying to deal with snake */ -#define COND_HMAZE 14 /* Lost in maze */ -#define COND_HDARK 15 /* Pondering dark room */ -#define COND_HWITT 16 /* At Witt's End */ -#define COND_HCLIFF 17 /* Cliff with urn */ -#define COND_HWOODS 18 /* Lost in forest */ -#define COND_HOGRE 19 /* Trying to deal with ogre */ -#define COND_HJADE 20 /* Found all treasures except jade */ +#define COND_ALLDIFFERENT 9 /* Room is in maze all different */ +#define COND_ALLALIKE 10 /* Room is in maze all alike */ +/* Bits past 11 indicate areas of interest to "hint" routines */ +#define COND_HBASE 11 /* Base for location hint bits */ +#define COND_HCAVE 12 /* Trying to get into cave */ +#define COND_HBIRD 13 /* Trying to catch bird */ +#define COND_HSNAKE 14 /* Trying to deal with snake */ +#define COND_HMAZE 15 /* Lost in maze */ +#define COND_HDARK 16 /* Pondering dark room */ +#define COND_HWITT 17 /* At Witt's End */ +#define COND_HCLIFF 18 /* Cliff with urn */ +#define COND_HWOODS 19 /* Lost in forest */ +#define COND_HOGRE 20 /* Trying to deal with ogre */ +#define COND_HJADE 21 /* Found all treasures except jade */ typedef struct {{ const char** strs;