about summary refs log tree commit diff stats
path: root/src/game_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game_data.h')
-rw-r--r--src/game_data.h7
1 files changed, 7 insertions, 0 deletions
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 {
36 bool achievement = false; 36 bool achievement = false;
37 std::string achievement_name; 37 std::string achievement_name;
38 bool non_counting = false; 38 bool non_counting = false;
39 int ap_location_id = -1;
39}; 40};
40 41
41struct ProgressiveRequirement { 42struct ProgressiveRequirement {
42 std::string item_name; 43 std::string item_name;
44 int ap_item_id = -1;
43 int quantity = 0; 45 int quantity = 0;
44}; 46};
45 47
@@ -55,6 +57,9 @@ struct Door {
55 std::vector<int> panels; 57 std::vector<int> panels;
56 bool exclude_reduce = true; 58 bool exclude_reduce = true;
57 std::vector<ProgressiveRequirement> progressives; 59 std::vector<ProgressiveRequirement> progressives;
60 int ap_item_id = -1;
61 int group_ap_item_id = -1;
62 int ap_location_id = -1;
58}; 63};
59 64
60struct Exit { 65struct Exit {
@@ -78,6 +83,7 @@ struct Room {
78struct Location { 83struct Location {
79 std::string name; 84 std::string name;
80 std::string ap_location_name; 85 std::string ap_location_name;
86 int ap_location_id = -1;
81 int room; 87 int room;
82 std::vector<int> panels; 88 std::vector<int> panels;
83 int classification = 0; 89 int classification = 0;
@@ -101,5 +107,6 @@ const Door& GD_GetDoor(int door_id);
101const Panel& GD_GetPanel(int panel_id); 107const Panel& GD_GetPanel(int panel_id);
102int GD_GetRoomForPainting(const std::string& painting_id); 108int GD_GetRoomForPainting(const std::string& painting_id);
103const std::vector<int>& GD_GetAchievementPanels(); 109const std::vector<int>& GD_GetAchievementPanels();
110int GD_GetItemIdForColor(LingoColor color);
104 111
105#endif /* end of include guard: GAME_DATA_H_9C42AC51 */ 112#endif /* end of include guard: GAME_DATA_H_9C42AC51 */