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);
84 void sc_inputbox(
const char *msg,
char *bufr);
86 int GetLocationType(
int xxx,
int yyy);
87 void SaveCursorForLocationChange();
88 void GetLocationName(
int xxx,
int yyy,
char *tempo);
90 int IsKeyPressed(
int keycode);
92 int SaveScreenShot(
const char *namm);
93 void SetMultitasking(
int mode);
95 void RoomProcessClick(
int xx,
int yy,
int mood);
96 int IsInteractionAvailable(
int xx,
int yy,
int mood);
98 void GetMessageText(
int msg,
char *buffer);
100 void SetSpeechFont(
int fontnum);
101 void SetNormalFont(
int fontnum);
103 void _sc_AbortGame(
const char *text);
105 int GetGraphicalVariable(
const char *varName);
106 void SetGraphicalVariable(
const char *varName,
int p_value);
107 void scrWait(
int nloops);
108 int WaitKey(
int nloops);
109 int WaitMouse(
int nloops);
110 int WaitMouseKey(
int nloops);
111 int WaitInput(
int input_flags,
int nloops);
114 void scStartRecording(
int keyToStop);
Definition: achievements_tables.h:27
Definition: global_game.h:32