projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify some dependencies.
[open-adventure.git]
/
templates
/
dungeon.h.tpl
diff --git
a/templates/dungeon.h.tpl
b/templates/dungeon.h.tpl
index 2a26917296c3692a7bb2e3585e3d03578d268b6f..cf637c8ecd1c9fd74c8ce1e383a640378ef4f081 100644
(file)
--- a/
templates/dungeon.h.tpl
+++ b/
templates/dungeon.h.tpl
@@
-35,9
+35,8
@@
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 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];
+#define NDWARVES {ndwarflocs} // number of dwarves
+extern const int dwarflocs[NDWARVES];
typedef struct {{
const char** strs;
typedef struct {{
const char** strs;