| 140 | } |
| 141 | |
| 142 | DFhackCExport command_result plugin_onstatechange(color_ostream &out, state_change_event event) { |
| 143 | if (event == DFHack::SC_WORLD_UNLOADED) |
| 144 | reset_state(); |
| 145 | return CR_OK; |
| 146 | } |
| 147 | |
| 148 | static void cache_tiles(const df::coord_path & tiles) { |
| 149 | size_t num_tiles = tiles.size(); |
nothing calls this directly
no test coverage detected