Also refactored to use named vars in the templates, so it's easier to refactor, as order when you call .format() isn't important.
51 lines
No EOL
639 B
Smarty
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 */ |