From 004fb711a86d91985d8e94e1b87089db2ac2cadc Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 16 Apr 2024 11:34:49 -0400 Subject: Support panels mode door shuffle --- src/game_data.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/game_data.h') diff --git a/src/game_data.h b/src/game_data.h index 8a38264..aa5ac19 100644 --- a/src/game_data.h +++ b/src/game_data.h @@ -38,6 +38,7 @@ struct Panel { bool non_counting = false; int ap_location_id = -1; bool hunt = false; + int panel_door = -1; }; struct ProgressiveRequirement { @@ -63,6 +64,12 @@ struct Door { int ap_location_id = -1; }; +struct PanelDoor { + int ap_item_id = -1; + int group_ap_item_id = -1; + std::vector progressives; +}; + struct Exit { int destination_room; std::optional door; @@ -108,6 +115,7 @@ const Room& GD_GetRoom(int room_id); const std::vector& GD_GetDoors(); const Door& GD_GetDoor(int door_id); const Panel& GD_GetPanel(int panel_id); +const PanelDoor& GD_GetPanelDoor(int panel_door_id); int GD_GetRoomForPainting(const std::string& painting_id); const std::vector& GD_GetAchievementPanels(); int GD_GetItemIdForColor(LingoColor color); -- cgit 1.4.1