called from the simulation thread in the main event loop
| 74 | |
| 75 | // called from the simulation thread in the main event loop |
| 76 | DFhackCExport void dfhooks_update() { |
| 77 | if (disabled) |
| 78 | return; |
| 79 | DFHack::Core::getInstance().Update(); |
| 80 | } |
| 81 | |
| 82 | // called from the simulation thread just before adding the macro |
| 83 | // recording/playback overlay |