about summary refs log tree commit diff stats
path: root/data/maps/the_great/rooms/Question Room Who.txtpb
blob: cbaba4b9f25cf2d8637e13824086d9f9cf72c4a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name: "Question Room Who"
display_name: "Question Room"
panels {
  name: "QUESTION"
  path: "Panels/Questions/question_2"
  clue: "question"
  answer: "who"
  symbols: EXAMPLE
  proxies { answer: "why" path: "Panels/Question Proxies/question_2_proxied" }
  # "Panels/Question Proxies/question_2_proxied2" <- this is just who again
  proxies { answer: "where" path: "Panels/Question Proxies/question_2_proxied3" }
  proxies { answer: "how" path: "Panels/Question Proxies/question_2_proxied4" }
  proxies { answer: "what" path: "Panels/Question Proxies/question_2_proxied5" }
  proxies { answer: "when" path: "Panels/Question Proxies/question_2_proxied6" }
}
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#ifndef AP_STATE_H_664A4180
#define AP_STATE_H_664A4180

#include <map>
#include <optional>
#include <set>
#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,
  kPILGRIMAGE = 3
};

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

enum SunwarpAccess {
  kSUNWARP_ACCESS_NORMAL = 0,
  kSUNWARP_ACCESS_DISABLED = 1,
  kSUNWARP_ACCESS_UNLOCK = 2,
  kSUNWARP_ACCESS_INDIVIDUAL = 3,
  kSUNWARP_ACCESS_PROGRESSIVE = 4
};

struct SunwarpMapping {
  int dots;
  int exit_index;
};

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();

const std::set<std::string>& AP_GetCheckedPaintings();

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_IsPilgrimageEnabled();

bool AP_DoesPilgrimageAllowRoofAccess();

bool AP_DoesPilgrimageAllowPaintings();

SunwarpAccess AP_GetSunwarpAccess();

bool AP_IsSunwarpShuffle();

const std::map<int, SunwarpMapping>& AP_GetSunwarpMapping();

bool AP_HasReachedGoal();

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

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