From 8e89e198830a0908ddd8f4c91cbc2bff08b0b32c Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 17 Sep 2023 12:42:46 -0400 Subject: Use hardcoded AP ids now --- src/game_data.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/game_data.h') diff --git a/src/game_data.h b/src/game_data.h index d9c909b..b3e2466 100644 --- a/src/game_data.h +++ b/src/game_data.h @@ -36,10 +36,12 @@ struct Panel { bool achievement = false; std::string achievement_name; bool non_counting = false; + int ap_location_id = -1; }; struct ProgressiveRequirement { std::string item_name; + int ap_item_id = -1; int quantity = 0; }; @@ -55,6 +57,9 @@ struct Door { std::vector panels; bool exclude_reduce = true; std::vector progressives; + int ap_item_id = -1; + int group_ap_item_id = -1; + int ap_location_id = -1; }; struct Exit { @@ -78,6 +83,7 @@ struct Room { struct Location { std::string name; std::string ap_location_name; + int ap_location_id = -1; int room; std::vector panels; int classification = 0; @@ -101,5 +107,6 @@ const Door& GD_GetDoor(int door_id); const Panel& GD_GetPanel(int panel_id); int GD_GetRoomForPainting(const std::string& painting_id); const std::vector& GD_GetAchievementPanels(); +int GD_GetItemIdForColor(LingoColor color); #endif /* end of include guard: GAME_DATA_H_9C42AC51 */ -- cgit 1.4.1