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