48 #ifndef AGS_SHARED_GAME_INTEREACTIONS_H 49 #define AGS_SHARED_GAME_INTEREACTIONS_H 51 #include "common/std/memory.h" 52 #include "ags/shared/util/string_types.h" 56 #define LOCAL_VARIABLE_OFFSET 10000 57 #define MAX_GLOBAL_VARIABLES 100 58 #define MAX_ACTION_ARGS 5 59 #define MAX_NEWINTERACTION_EVENTS 30 60 #define MAX_COMMANDS_PER_LIST 40 65 enum InterValType : int8_t {
67 kInterValLiteralInt = 1,
68 kInterValVariable = 2,
73 enum InteractionVersion {
74 kInteractionVersion_Initial = 1
88 void Write(
Stream *out)
const;
99 UInterCmdList Children;
108 void Read_v321(
Stream *in,
bool &has_children);
109 void Write_v321(
Stream *out)
const;
114 void ReadValues_Aligned(
Stream *in);
115 void WriteValues_Aligned(
Stream *out)
const;
131 void Read_v321(
Stream *in);
132 void Write_v321(
Stream *out)
const;
144 UInterCmdList Response;
157 InterEvtVector Events;
168 void Write(
Stream *out)
const;
173 void ReadFromSavedgame_v321(
Stream *in);
174 void WriteToSavedgame_v321(
Stream *out)
const;
175 void ReadTimesRunFromSave_v321(
Stream *in);
176 void WriteTimesRunToSave_v321(
Stream *out)
const;
194 void Write(
Stream *out)
const;
Definition: achievements_tables.h:27
Definition: interactions.h:141
Definition: interactions.h:154
Definition: interactions.h:96
Definition: interactions.h:78
Definition: interactions.h:185
Definition: interactions.h:201
Definition: interactions.h:122