| 39 | IMPLEMENT_VMETHOD_INTERPOSE(title_version_hook, render); |
| 40 | |
| 41 | DFhackCExport command_result plugin_shutdown (color_ostream &out) { |
| 42 | DEBUG(log,out).print("shutting down {}\n", plugin_name); |
| 43 | INTERPOSE_HOOK(title_version_hook, render).remove(); |
| 44 | return CR_OK; |
| 45 | } |
| 46 | |
| 47 | DFhackCExport command_result plugin_enable (color_ostream &out, bool enable) { |
| 48 | if (enable != is_enabled) { |