| 247 | } |
| 248 | |
| 249 | DFhackCExport command_result plugin_onupdate(color_ostream &out) { |
| 250 | if (world->frame_counter - cycle_timestamp >= CYCLE_TICKS) |
| 251 | do_cycle(out); |
| 252 | return CR_OK; |
| 253 | } |
| 254 | |
| 255 | static command_result do_command(color_ostream &out, vector<string> ¶meters) { |
| 256 | if (!Core::getInstance().isMapLoaded() || !World::isFortressMode()) { |
nothing calls this directly
no test coverage detected