X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=templates%2Fdungeon.h.tpl;h=cf637c8ecd1c9fd74c8ce1e383a640378ef4f081;hb=a6ec8a9595e988db977f0075402ab5279e653af9;hp=ab3d6d7eeb43760c39728331e2cee0f00c1be5f8;hpb=1ce4fc2ac3d3bd09996ea342311ad141e56f343d;p=open-adventure.git diff --git a/templates/dungeon.h.tpl b/templates/dungeon.h.tpl index ab3d6d7..cf637c8 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,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;