| 126 | extern void plrctrls_after_check_curs_move(); |
| 127 | |
| 128 | static bool ProcessInput() |
| 129 | { |
| 130 | if (PauseMode == 2) { |
| 131 | return false; |
| 132 | } |
| 133 | if (gbMaxPlayers == 1 && gmenu_is_active()) { |
| 134 | force_redraw |= 1; |
| 135 | return false; |
| 136 | } |
| 137 | |
| 138 | if (!gmenu_is_active() && sgnTimeoutCurs == 0) { |
| 139 | #ifndef USE_SDL1 |
| 140 | finish_simulated_mouse_clicks(MouseX, MouseY); |
| 141 | #endif |
| 142 | CheckCursMove(); |
| 143 | plrctrls_after_check_curs_move(); |
| 144 | track_process(); |
| 145 | } |
| 146 | |
| 147 | return true; |
| 148 | } |
| 149 | |
| 150 | void run_game_loop(unsigned int uMsg) |
| 151 | { |
no test coverage detected