diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-09-17 12:42:46 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-09-17 12:42:46 -0400 |
| commit | 8e89e198830a0908ddd8f4c91cbc2bff08b0b32c (patch) | |
| tree | 67d5135dd589cda0be6ad206dec8534b32a88bc3 /src/game_data.h | |
| parent | 28c8c9c06981503ed86a0292c63c75b1b6784191 (diff) | |
| download | lingo-ap-tracker-8e89e198830a0908ddd8f4c91cbc2bff08b0b32c.tar.gz lingo-ap-tracker-8e89e198830a0908ddd8f4c91cbc2bff08b0b32c.tar.bz2 lingo-ap-tracker-8e89e198830a0908ddd8f4c91cbc2bff08b0b32c.zip | |
Use hardcoded AP ids now
Diffstat (limited to 'src/game_data.h')
| -rw-r--r-- | src/game_data.h | 7 |
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 | ||
| 41 | struct ProgressiveRequirement { | 42 | struct 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 | ||
| 60 | struct Exit { | 65 | struct Exit { |
| @@ -78,6 +83,7 @@ struct Room { | |||
| 78 | struct Location { | 83 | struct 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); | |||
| 101 | const Panel& GD_GetPanel(int panel_id); | 107 | const Panel& GD_GetPanel(int panel_id); |
| 102 | int GD_GetRoomForPainting(const std::string& painting_id); | 108 | int GD_GetRoomForPainting(const std::string& painting_id); |
| 103 | const std::vector<int>& GD_GetAchievementPanels(); | 109 | const std::vector<int>& GD_GetAchievementPanels(); |
| 110 | int 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 */ |
