called from the main thread for each SDL event. if true is returned, then the event has been consumed and further processing shouldn't happen
| 90 | // called from the main thread for each SDL event. if true is returned, then |
| 91 | // the event has been consumed and further processing shouldn't happen |
| 92 | DFhackCExport bool dfhooks_sdl_event(SDL_Event* event) { |
| 93 | if (disabled) |
| 94 | return false; |
| 95 | return DFHack::Core::getInstance().DFH_SDL_Event(event); |
| 96 | } |
| 97 | |
| 98 | // called from the main thread just after setting mouse state in gps and just |
| 99 | // before rendering the screen buffer to the screen. |
nothing calls this directly
no test coverage detected