| 113 | } |
| 114 | |
| 115 | DFhackCExport command_result plugin_onupdate(color_ostream &out) { |
| 116 | if (world->frame_counter - cycle_timestamp >= CYCLE_TICKS) |
| 117 | do_cycle(out); |
| 118 | return CR_OK; |
| 119 | } |
| 120 | |
| 121 | ///////////////////////////////////////////////////// |
| 122 | // configuration logic |
nothing calls this directly
no test coverage detected