X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=templates%2Fdungeon.h.tpl;h=2a26917296c3692a7bb2e3585e3d03578d268b6f;hb=b247359d7f5422fe0c5c1f78d05da01c7d311f9e;hp=8abb529aa3c9a3edef4fa39da79c5ffdfb292425;hpb=25230068fe3afb9d1faa9c606413784294700cef;p=open-adventure.git diff --git a/templates/dungeon.h.tpl b/templates/dungeon.h.tpl index 8abb529..2a26917 100644 --- a/templates/dungeon.h.tpl +++ b/templates/dungeon.h.tpl @@ -1,5 +1,5 @@ /* -SPDX-FileCopyrightText: Eric S. Raymond +SPDX-FileCopyrightText: Copyright Eric S. Raymond SPDX-License-Identifier: BSD-2-Clause */ #ifndef DUNGEON_H @@ -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;