22 #ifndef AGS_ENGINE_MAIN_GAME_RUN_H 23 #define AGS_ENGINE_MAIN_GAME_RUN_H 25 #include "ags/shared/ac/keycode.h" 31 class IDriverDependantBitmap;
34 using namespace AGS::Engine;
37 void GameLoopUntilValueIsZero(
const int8 *value);
38 void GameLoopUntilValueIsZero(
const short *value);
39 void GameLoopUntilValueIsZero(
const int *value);
40 void GameLoopUntilValueIsZeroOrLess(
const short *
move);
41 void GameLoopUntilValueIsNegative(
const short *value);
42 void GameLoopUntilValueIsNegative(
const int *value);
43 void GameLoopUntilNotMoving(
const short *
move);
44 void GameLoopUntilNoOverlay();
45 void GameLoopUntilButAnimEnd(
int guin,
int objn);
48 void RunGameUntilAborted();
50 void UpdateGameOnce(
bool checkControls =
false, IDriverDependantBitmap *extraBitmap =
nullptr,
int extraX = 0,
int extraY = 0);
52 void UpdateGameAudioOnly();
57 void UpdateCursorAndDrawables();
61 void SyncDrawablesState();
69 bool run_service_key_controls(KeyInput &kgn);
72 bool run_service_mb_controls(eAGSMouseButton &mbut,
int &mwheelz);
75 void update_polled_stuff();
Definition: achievements_tables.h:27
Out move(In first, In last, Out dst)
Definition: algorithm.h:109