MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / ProcessInput

Function ProcessInput

Source/diablo.cpp:200–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200bool ProcessInput()
201{
202 if (PauseMode == 2) {
203 return false;
204 }
205
206 plrctrls_every_frame();
207
208 if (!gbIsMultiplayer && gmenu_is_active()) {
209 RedrawViewport();
210 return false;
211 }
212
213 if (!gmenu_is_active() && sgnTimeoutCurs == CURSOR_NONE) {
214#ifdef __vita__
215 FinishSimulatedMouseClicks(MousePosition);
216#endif
217 CheckCursMove();
218 plrctrls_after_check_curs_move();
219 RepeatMouseAction();
220 }
221
222 return true;
223}
224
225void LeftMouseCmd(bool bShift)
226{

Callers 2

RunGameLoopFunction · 0.85
GameLogicFunction · 0.85

Calls 7

plrctrls_every_frameFunction · 0.85
gmenu_is_activeFunction · 0.85
RedrawViewportFunction · 0.85
CheckCursMoveFunction · 0.85
RepeatMouseActionFunction · 0.85

Tested by

no test coverage detected