Moved dungeon.c and dungeon.h templates into external files.
[open-adventure.git] / templates / dungeon.c.tpl
diff --git a/templates/dungeon.c.tpl b/templates/dungeon.c.tpl
new file mode 100644 (file)
index 0000000..dbc28a6
--- /dev/null
@@ -0,0 +1,51 @@
+#include "{h_file}"
+
+const char* arbitrary_messages[] = {{
+{arbitrary_messages}
+}};
+
+const class_t classes[] = {{
+{classes}
+}};
+
+const turn_threshold_t turn_thresholds[] = {{
+{turn_thresholds}
+}};
+
+const location_t locations[] = {{
+{locations}
+}};
+
+const object_t objects[] = {{
+{objects}
+}};
+
+const obituary_t obituaries[] = {{
+{obituaries}
+}};
+
+const hint_t hints[] = {{
+{hints}
+}};
+
+long conditions[] = {{
+{conditions}
+}};
+
+const motion_t motions[] = {{
+{motions}
+}};
+
+const action_t actions[] = {{
+{actions}
+}};
+
+const long tkey[] = {{{tkeys}}};
+
+const travelop_t travel[] = {{
+{travel}
+}};
+
+const char *ignore = "{ignore}";
+
+/* end */
\ No newline at end of file