aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/guest_additions.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/engine/guest_additions.h')
-rw-r--r--engines/sci/engine/guest_additions.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/sci/engine/guest_additions.h b/engines/sci/engine/guest_additions.h
index 657fa52318..eed1ee3154 100644
--- a/engines/sci/engine/guest_additions.h
+++ b/engines/sci/engine/guest_additions.h
@@ -188,6 +188,11 @@ private:
void patchGameSaveRestoreTorin(Script &script) const;
/**
+ * Patches the ScummVM save/load dialogue into Phant2.
+ */
+ void patchGameSaveRestorePhant2(Script &script) const;
+
+ /**
* Prompts for a save game and returns it to game scripts using default
* SRDialog game class semantics.
*/
@@ -200,6 +205,12 @@ private:
reg_t promptSaveRestoreTorin(EngineState *s, int argc, reg_t *argv) const;
/**
+ * Prompts for a save game and returns it to game scripts using Phant2's
+ * custom ControlPanel class semantics.
+ */
+ reg_t promptSaveRestorePhant2(EngineState *s, int argc, reg_t *argv) const;
+
+ /**
* Prompts the user to save or load a game.
*
* @param isSave If true, the prompt is for saving.