about summary refs log tree commit diff stats
path: root/src/ap_state.h
blob: 420a032424f3c41618687169cf6bdb3a281f21e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef AP_STATE_H_664A4180
#define AP_STATE_H_664A4180

#include <map>
#include <optional>
#include <string>
#include <tuple>

#include "game_data.h"

class TrackerFrame;

enum DoorShuffleMode { kNO_DOORS = 0, kSIMPLE_DOORS = 1, kCOMPLEX_DOORS = 2 };

enum VictoryCondition { kTHE_END = 0, kTHE_MASTER = 1, kLEVEL_2 = 2 };

enum LocationChecks { kNORMAL_LOCATIONS = 0, kREDUCED_LOCATIONS = 1, kPANELSANITY = 2 };

void AP_SetTrackerFrame(TrackerFrame* tracker_frame);

void AP_Connect(std::string server, std::string player, std::string password);

bool AP_HasCheckedGameLocation(int location_id);

bool AP_HasCheckedHuntPanel(int location_id);

bool AP_HasItem(int item_id, int quantity = 1);

DoorShuffleMode AP_GetDoorShuffleMode();

bool AP_IsColorShuffle();

bool AP_IsPaintingShuffle();

const std::map<std::string, std::string> AP_GetPaintingMapping();

int AP_GetMasteryRequirement();

int AP_GetLevel2Requirement();

bool AP_IsLocationVisible(int classification);

VictoryCondition AP_GetVictoryCondition();

bool AP_HasAchievement(const std::string& achievement_name);

bool AP_HasEarlyColorHallways();

bool AP_HasReachedGoal();

std::optional<std::tuple<int, int>> AP_GetPlayerPosition();

#endif /* end of include guard: AP_STATE_H_664A4180 */