X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=templates%2Fdungeon.h.tpl;fp=templates%2Fdungeon.h.tpl;h=2a26917296c3692a7bb2e3585e3d03578d268b6f;hp=0a9c1c541bb3c2f8a091e7877ad276e415e7be95;hb=b247359d7f5422fe0c5c1f78d05da01c7d311f9e;hpb=1f9f39d789aed4daec0f901a84f54abbeb5b6c57 diff --git a/templates/dungeon.h.tpl b/templates/dungeon.h.tpl index 0a9c1c5..2a26917 100644 --- a/templates/dungeon.h.tpl +++ b/templates/dungeon.h.tpl @@ -35,6 +35,10 @@ SPDX-License-Identifier: BSD-2-Clause #define COND_HOGRE 20 /* Trying to deal with ogre */ #define COND_HJADE 21 /* Found all treasures except jade */ +/* Count of dwarf starting locations */ +#define NDWARFLOCS {ndwarflocs} +extern const int dwarflocs[NDWARFLOCS]; + typedef struct {{ const char** strs; const int n;