22#ifndef AGS_ENGINE_AC_GLOBAL_GAME_H
23#define AGS_ENGINE_AC_GLOBAL_GAME_H
25#include "ags/shared/util/string.h"
26#include "ags/lib/system/datetime.h"
38 : Slot(slot), Description(desc), FileTime(ft) {
41 inline bool operator < (
const SaveListItem &other)
const {
42 return FileTime < other.FileTime;
48void GiveScore(
int amnt);
50void RestoreGameSlot(
int slnum);
51void DeleteSaveSlot(
int slnum);
52int GetSaveSlotDescription(
int slnum,
char *desbuf);
53int LoadSaveSlotScreenshot(
int slnum,
int width,
int height);
58void SetGlobalInt(
int index,
int valu);
59int GetGlobalInt(
int index);
60void SetGlobalString(
int index,
const char *newval);
61void GetGlobalString(
int index,
char *strval);
62int RunAGSGame(
const Shared::String &newgame,
unsigned int mode,
int data);
63int GetGameParameter(
int parm,
int data1,
int data2,
int data3);
64void QuitGame(
int dialog);
65void SetRestartPoint();
66void SetGameSpeed(
int newspd);
68int SetGameOption(
int opt,
int setting);
69int GetGameOption(
int opt);
71void SkipUntilCharacterStops(
int cc);
72void EndSkippingUntilCharStops();
79void StartCutscene(
int skipwith);
85void ShowInputBox(
const char *msg,
char *bufr);
86void ShowInputBoxImpl(
const char *msg,
char *bufr,
size_t buf_len);
88int GetLocationType(
int xxx,
int yyy);
89void SaveCursorForLocationChange();
91void GetLocationName(
int xxx,
int yyy,
char *buf);
93int IsKeyPressed(
int keycode);
95int SaveScreenShot(
const char *namm);
96void SetMultitasking(
int mode);
98void RoomProcessClick(
int xx,
int yy,
int mood);
99int IsInteractionAvailable(
int xx,
int yy,
int mood);
101void GetMessageText(
int msg,
char *buffer);
103void SetSpeechFont(
int fontnum);
104void SetNormalFont(
int fontnum);
106void _sc_AbortGame(
const char *text);
108int GetGraphicalVariable(
const char *varName);
109void SetGraphicalVariable(
const char *varName,
int p_value);
110void scrWait(
int nloops);
111int WaitKey(
int nloops);
112int WaitMouse(
int nloops);
113int WaitMouseKey(
int nloops);
114int WaitInput(
int input_flags,
int nloops);
117void scStartRecording(
int keyToStop);
Definition: global_game.h:32