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;
48 void GiveScore(
int amnt);
50 void RestoreGameSlot(
int slnum);
51 void DeleteSaveSlot(
int slnum);
52 int GetSaveSlotDescription(
int slnum,
char *desbuf);
53 int LoadSaveSlotScreenshot(
int slnum,
int width,
int height);
58 void SetGlobalInt(
int index,
int valu);
59 int GetGlobalInt(
int index);
60 void SetGlobalString(
int index,
const char *newval);
61 void GetGlobalString(
int index,
char *strval);
62 int RunAGSGame(
const Shared::String &newgame,
unsigned int mode,
int data);
63 int GetGameParameter(
int parm,
int data1,
int data2,
int data3);
64 void QuitGame(
int dialog);
65 void SetRestartPoint();
66 void SetGameSpeed(
int newspd);
68 int SetGameOption(
int opt,
int setting);
69 int GetGameOption(
int opt);
71 void SkipUntilCharacterStops(
int cc);
72 void EndSkippingUntilCharStops();
79 void StartCutscene(
int skipwith);
85 void ShowInputBox(
const char *msg,
char *bufr);
86 void ShowInputBoxImpl(
const char *msg,
char *bufr,
size_t buf_len);
88 int GetLocationType(
int xxx,
int yyy);
89 void SaveCursorForLocationChange();
91 void GetLocationName(
int xxx,
int yyy,
char *buf);
93 int IsKeyPressed(
int keycode);
95 int SaveScreenShot(
const char *namm);
96 void SetMultitasking(
int mode);
98 void RoomProcessClick(
int xx,
int yy,
int mood);
99 int IsInteractionAvailable(
int xx,
int yy,
int mood);
101 void GetMessageText(
int msg,
char *buffer);
103 void SetSpeechFont(
int fontnum);
104 void SetNormalFont(
int fontnum);
106 void _sc_AbortGame(
const char *text);
108 int GetGraphicalVariable(
const char *varName);
109 void SetGraphicalVariable(
const char *varName,
int p_value);
110 void scrWait(
int nloops);
111 int WaitKey(
int nloops);
112 int WaitMouse(
int nloops);
113 int WaitMouseKey(
int nloops);
114 int WaitInput(
int input_flags,
int nloops);
117 void scStartRecording(
int keyToStop);
Definition: achievements_tables.h:27
Definition: global_game.h:32