diff options
Diffstat (limited to 'src/ap_state.h')
| -rw-r--r-- | src/ap_state.h | 11 | 
1 files changed, 3 insertions, 8 deletions
| diff --git a/src/ap_state.h b/src/ap_state.h index 298df8c..a757d89 100644 --- a/src/ap_state.h +++ b/src/ap_state.h | |||
| @@ -57,16 +57,11 @@ std::string AP_GetSaveName(); | |||
| 57 | 57 | ||
| 58 | bool AP_HasCheckedGameLocation(int location_id); | 58 | bool AP_HasCheckedGameLocation(int location_id); | 
| 59 | 59 | ||
| 60 | bool AP_HasCheckedHuntPanel(int location_id); | ||
| 61 | |||
| 62 | // This doesn't lock the state mutex, for speed, so it must ONLY be called from | 60 | // This doesn't lock the state mutex, for speed, so it must ONLY be called from | 
| 63 | // RecalculateReachability, which is only called from the APState thread anyway. | 61 | // RecalculateReachability, which is only called from the APState thread anyway. | 
| 64 | bool AP_HasItem(int item_id, int quantity = 1); | 62 | bool AP_HasItem(int item_id, int quantity = 1); | 
| 65 | 63 | ||
| 66 | // This doesn't lock the client mutex because it is ONLY to be called from | 64 | bool AP_HasItemSafe(int item_id, int quantity = 1); | 
| 67 | // RecalculateReachability, which is only called from within a client callback | ||
| 68 | // anyway. | ||
| 69 | std::string AP_GetItemName(int item_id); | ||
| 70 | 65 | ||
| 71 | DoorShuffleMode AP_GetDoorShuffleMode(); | 66 | DoorShuffleMode AP_GetDoorShuffleMode(); | 
| 72 | 67 | ||
| @@ -98,8 +93,6 @@ PanelShuffleMode AP_GetPanelShuffleMode(); | |||
| 98 | 93 | ||
| 99 | VictoryCondition AP_GetVictoryCondition(); | 94 | VictoryCondition AP_GetVictoryCondition(); | 
| 100 | 95 | ||
| 101 | bool AP_HasAchievement(const std::string& achievement_name); | ||
| 102 | |||
| 103 | bool AP_HasEarlyColorHallways(); | 96 | bool AP_HasEarlyColorHallways(); | 
| 104 | 97 | ||
| 105 | bool AP_IsPilgrimageEnabled(); | 98 | bool AP_IsPilgrimageEnabled(); | 
| @@ -120,4 +113,6 @@ bool AP_HasReachedGoal(); | |||
| 120 | 113 | ||
| 121 | std::optional<std::tuple<int, int>> AP_GetPlayerPosition(); | 114 | std::optional<std::tuple<int, int>> AP_GetPlayerPosition(); | 
| 122 | 115 | ||
| 116 | bool AP_IsPanelSolved(int solve_index); | ||
| 117 | |||
| 123 | #endif /* end of include guard: AP_STATE_H_664A4180 */ | 118 | #endif /* end of include guard: AP_STATE_H_664A4180 */ | 
