about summary refs log tree commit diff stats
path: root/src/game_data.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-04-16 11:34:49 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-04-16 11:34:49 -0400
commit004fb711a86d91985d8e94e1b87089db2ac2cadc (patch)
treecc3f4d384ede6e3f2705d7b98ca8afd3529aa4a1 /src/game_data.h
parentdc56f752bb33b4e779c5507dea03a6764d08fd0a (diff)
downloadlingo-ap-tracker-004fb711a86d91985d8e94e1b87089db2ac2cadc.tar.gz
lingo-ap-tracker-004fb711a86d91985d8e94e1b87089db2ac2cadc.tar.bz2
lingo-ap-tracker-004fb711a86d91985d8e94e1b87089db2ac2cadc.zip
Support panels mode door shuffle
Diffstat (limited to 'src/game_data.h')
-rw-r--r--src/game_data.h8
1 files changed, 8 insertions, 0 deletions
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 {
38 bool non_counting = false; 38 bool non_counting = false;
39 int ap_location_id = -1; 39 int ap_location_id = -1;
40 bool hunt = false; 40 bool hunt = false;
41 int panel_door = -1;
41}; 42};
42 43
43struct ProgressiveRequirement { 44struct ProgressiveRequirement {
@@ -63,6 +64,12 @@ struct Door {
63 int ap_location_id = -1; 64 int ap_location_id = -1;
64}; 65};
65 66
67struct PanelDoor {
68 int ap_item_id = -1;
69 int group_ap_item_id = -1;
70 std::vector<ProgressiveRequirement> progressives;
71};
72
66struct Exit { 73struct Exit {
67 int destination_room; 74 int destination_room;
68 std::optional<int> door; 75 std::optional<int> door;
@@ -108,6 +115,7 @@ const Room& GD_GetRoom(int room_id);
108const std::vector<Door>& GD_GetDoors(); 115const std::vector<Door>& GD_GetDoors();
109const Door& GD_GetDoor(int door_id); 116const Door& GD_GetDoor(int door_id);
110const Panel& GD_GetPanel(int panel_id); 117const Panel& GD_GetPanel(int panel_id);
118const PanelDoor& GD_GetPanelDoor(int panel_door_id);
111int GD_GetRoomForPainting(const std::string& painting_id); 119int GD_GetRoomForPainting(const std::string& painting_id);
112const std::vector<int>& GD_GetAchievementPanels(); 120const std::vector<int>& GD_GetAchievementPanels();
113int GD_GetItemIdForColor(LingoColor color); 121int GD_GetItemIdForColor(LingoColor color);