X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=funcs.h;h=468bc3f28f21128add444352d82dd08c8d33b0f2;hb=refs%2Fmerge-requests%2F15%2Fhead;hp=deb401065dfaa5239aa845413ac34e67509ef940;hpb=8a8770375ebcf69b18749be85838dc46132cbe9f;p=open-adventure.git diff --git a/funcs.h b/funcs.h index deb4010..468bc3f 100644 --- a/funcs.h +++ b/funcs.h @@ -1,4 +1,5 @@ #include +#include "database/database.h" /* Statement functions * @@ -32,7 +33,7 @@ * while in forest). They should probably be replaced by using another * "cond" bit. For now, however, a quick fix... OUTSID(LOC) is true if * LOC is outside, INDEEP(LOC) is true if LOC is "deep" in the cave (hall - * of mists or deeper). Note special kludges for "FOOF" locs. */ + * of mists or deeper). Note special kludges for "Foof!" locs. */ #define OUTSID(LOC) ((LOC) <= 8 || FOREST(LOC) || (LOC) == PLAC[SAPPH] || (LOC) == 180 || (LOC) == 182) #define INDEEP(LOC) ((LOC) >= 15 && !OUTSID(LOC) && (LOC) != 179)