| 47 | void VideoDriver_Null::MakeDirty(int, int, int, int) {} |
| 48 | |
| 49 | void VideoDriver_Null::MainLoop() |
| 50 | { |
| 51 | uint i; |
| 52 | |
| 53 | for (i = 0; i < this->ticks; i++) { |
| 54 | ::GameLoop(); |
| 55 | ::InputLoop(); |
| 56 | ::UpdateWindows(); |
| 57 | } |
| 58 | |
| 59 | /* If requested, make a save just before exit. The normal exit-flow is |
| 60 | * not triggered from this driver, so we have to do this manually. */ |
| 61 | if (_settings_client.gui.autosave_on_exit) { |
| 62 | DoExitSave(); |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | bool VideoDriver_Null::ChangeResolution(int, int) { return false; } |
| 67 |
nothing calls this directly
no test coverage detected