diff options
Diffstat (limited to 'src/ap_state.h')
-rw-r--r-- | src/ap_state.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ap_state.h b/src/ap_state.h index 298df8c..8641000 100644 --- a/src/ap_state.h +++ b/src/ap_state.h | |||
@@ -57,12 +57,12 @@ 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 | ||
64 | bool AP_HasItemSafe(int item_id, int quantity = 1); | ||
65 | |||
66 | // This doesn't lock the client mutex because it is ONLY to be called from | 66 | // This doesn't lock the client mutex because it is ONLY to be called from |
67 | // RecalculateReachability, which is only called from within a client callback | 67 | // RecalculateReachability, which is only called from within a client callback |
68 | // anyway. | 68 | // anyway. |
@@ -120,4 +120,6 @@ bool AP_HasReachedGoal(); | |||
120 | 120 | ||
121 | std::optional<std::tuple<int, int>> AP_GetPlayerPosition(); | 121 | std::optional<std::tuple<int, int>> AP_GetPlayerPosition(); |
122 | 122 | ||
123 | bool AP_IsPanelSolved(int solve_index); | ||
124 | |||
123 | #endif /* end of include guard: AP_STATE_H_664A4180 */ | 125 | #endif /* end of include guard: AP_STATE_H_664A4180 */ |