about summary refs log tree commit diff stats
path: root/src/ap_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ap_state.h')
-rw-r--r--src/ap_state.h11
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
58bool AP_HasCheckedGameLocation(int location_id); 58bool AP_HasCheckedGameLocation(int location_id);
59 59
60bool 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.
64bool AP_HasItem(int item_id, int quantity = 1); 62bool 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 64bool AP_HasItemSafe(int item_id, int quantity = 1);
67// RecalculateReachability, which is only called from within a client callback
68// anyway.
69std::string AP_GetItemName(int item_id);
70 65
71DoorShuffleMode AP_GetDoorShuffleMode(); 66DoorShuffleMode AP_GetDoorShuffleMode();
72 67
@@ -98,8 +93,6 @@ PanelShuffleMode AP_GetPanelShuffleMode();
98 93
99VictoryCondition AP_GetVictoryCondition(); 94VictoryCondition AP_GetVictoryCondition();
100 95
101bool AP_HasAchievement(const std::string& achievement_name);
102
103bool AP_HasEarlyColorHallways(); 96bool AP_HasEarlyColorHallways();
104 97
105bool AP_IsPilgrimageEnabled(); 98bool AP_IsPilgrimageEnabled();
@@ -120,4 +113,6 @@ bool AP_HasReachedGoal();
120 113
121std::optional<std::tuple<int, int>> AP_GetPlayerPosition(); 114std::optional<std::tuple<int, int>> AP_GetPlayerPosition();
122 115
116bool 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 */