| 863 | } |
| 864 | |
| 865 | DFhackCExport command_result plugin_onupdate(color_ostream &out) { |
| 866 | if (cycle_needed || world->frame_counter - cycle_timestamp >= CYCLE_TICKS) |
| 867 | do_cycle(out); |
| 868 | return CR_OK; |
| 869 | } |
| 870 | |
| 871 | static command_result do_command(color_ostream &out, vector<string> ¶meters) { |
| 872 | if (!Core::getInstance().isMapLoaded() || !World::isFortressMode()) { |
nothing calls this directly
no test coverage detected