X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=templates%2Fdungeon.h.tpl;h=cf637c8ecd1c9fd74c8ce1e383a640378ef4f081;hb=HEAD;hp=0a9c1c541bb3c2f8a091e7877ad276e415e7be95;hpb=2582e240bd504307b206a384008adb4dd545eb19;p=open-adventure.git diff --git a/templates/dungeon.h.tpl b/templates/dungeon.h.tpl index 0a9c1c5..cf637c8 100644 --- a/templates/dungeon.h.tpl +++ b/templates/dungeon.h.tpl @@ -35,6 +35,9 @@ SPDX-License-Identifier: BSD-2-Clause #define COND_HOGRE 20 /* Trying to deal with ogre */ #define COND_HJADE 21 /* Found all treasures except jade */ +#define NDWARVES {ndwarflocs} // number of dwarves +extern const int dwarflocs[NDWARVES]; + typedef struct {{ const char** strs; const int n;