22 #ifndef AGS_ENGINE_GAME_SAVEGAME_COMPONENTS_H 23 #define AGS_ENGINE_GAME_SAVEGAME_COMPONENTS_H 25 #include "ags/engine/game/savegame.h" 26 #include "ags/shared/util/stream.h" 38 using Shared::Interaction;
40 struct PreservedParams;
43 namespace SavegameComponents {
45 extern void component_handlers_init();
46 extern void component_handlers_free();
49 HSaveError ReadAll(Stream *in, SavegameVersion svg_version,
const PreservedParams &pp, RestoredData &r_data);
51 HSaveError WriteAllCommon(Stream *out);
55 void ReadTimesRun272(Interaction &intr, Stream *in);
56 HSaveError ReadInteraction272(Interaction &intr, Stream *in);
57 void WriteTimesRun272(
const Interaction &intr, Stream *out);
58 void WriteInteraction272(
const Interaction &intr, Stream *out);
61 void ReadLegacyCameraState(Stream *in, RestoredData &r_data);
Definition: achievements_tables.h:27