open-adventure/templates/dungeon.c.tpl
Aaron Traas 319c5830c8 Moved dungeon.c and dungeon.h templates into external files.
Also refactored to use named vars in the templates, so it's easier to
refactor, as order when you call .format() isn't important.
2017-07-23 12:15:25 -04:00

51 lines
No EOL
639 B
Smarty

#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 */