| 2035 | } |
| 2036 | |
| 2037 | DFhackCExport command_result plugin_init ( color_ostream &out, std::vector <PluginCommand> &commands) |
| 2038 | { |
| 2039 | rng.init(); |
| 2040 | |
| 2041 | if (Core::getInstance().isMapLoaded()) |
| 2042 | plugin_onstatechange(out, SC_MAP_LOADED); |
| 2043 | |
| 2044 | return CR_OK; |
| 2045 | } |
| 2046 | |
| 2047 | DFhackCExport command_result plugin_shutdown ( color_ostream &out ) |
| 2048 | { |