22 #ifndef AGS_ENGINE_SCRIPT_EXECUTING_SCRIPT_H 23 #define AGS_ENGINE_SCRIPT_EXECUTING_SCRIPT_H 25 #include "ags/engine/script/cc_instance.h" 29 enum PostScriptAction {
33 ePSARestoreGameDialog,
41 #define MAX_QUEUED_SCRIPTS 4 42 #define MAX_QUEUED_ACTIONS 5 43 #define MAX_QUEUED_ACTION_DESC 100 44 #define MAX_FUNCTION_NAME_LEN 60 45 #define MAX_QUEUED_PARAMS 4 54 ScriptInstType Instance;
65 PostScriptAction postScriptActions[MAX_QUEUED_ACTIONS]{};
66 const char *postScriptActionNames[MAX_QUEUED_ACTIONS]{};
68 char postScriptSaveSlotDescription[MAX_QUEUED_ACTIONS][MAX_QUEUED_ACTION_DESC]{};
69 int postScriptActionData[MAX_QUEUED_ACTIONS]{};
70 int numPostScriptActions = 0;
75 int queue_action(PostScriptAction act,
int data,
const char *aname);
76 void run_another(
const char *namm, ScriptInstType scinst,
size_t param_count,
const RuntimeScriptValue *params);
Definition: runtime_script_value.h:63
Definition: cc_instance.h:98
Definition: executing_script.h:52
Definition: executing_script.h:61
Definition: cc_instance.h:114