projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initialize dwarf locations in YAML, not C.
[open-adventure.git]
/
templates
/
dungeon.c.tpl
diff --git
a/templates/dungeon.c.tpl
b/templates/dungeon.c.tpl
index dbc28a6c8f4db54297c7e08b9b902ee721115a7a..a192adb19a65025d2d64c4671d244e11810efe58 100644
(file)
--- a/
templates/dungeon.c.tpl
+++ b/
templates/dungeon.c.tpl
@@
-1,3
+1,8
@@
+/*
+SPDX-FileCopyrightText: Copyright Eric S. Raymond <esr@thyrsus.com>
+SPDX-License-Identifier: BSD-2-Clause
+*/
+
#include "{h_file}"
const char* arbitrary_messages[] = {{
#include "{h_file}"
const char* arbitrary_messages[] = {{
@@
-48,4
+53,7
@@
const travelop_t travel[] = {{
const char *ignore = "{ignore}";
const char *ignore = "{ignore}";
-/* end */
\ No newline at end of file
+/* Dwarf starting locations */
+const int dwarflocs[NDWARFLOCS] = {{{dwarflocs}}};
+
+/* end */