about summary refs log tree commit diff stats
path: root/data/maps/the_jubilant
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/the_jubilant')
-rw-r--r--data/maps/the_jubilant/doors.txtpb11
1 files changed, 11 insertions, 0 deletions
diff --git a/data/maps/the_jubilant/doors.txtpb b/data/maps/the_jubilant/doors.txtpb index 02db1ff..90bfd0f 100644 --- a/data/maps/the_jubilant/doors.txtpb +++ b/data/maps/the_jubilant/doors.txtpb
@@ -31,3 +31,14 @@ doors {
31 panels { room: "Main Area" name: "QUEEN" answer: "jack" } 31 panels { room: "Main Area" name: "QUEEN" answer: "jack" }
32 location_room: "Main Area" 32 location_room: "Main Area"
33} 33}
34doors {
35 name: "Side Room Puzzles"
36 type: LOCATION_ONLY
37 panels { room: "Side Area" name: "CALLBACK" }
38 panels { room: "Side Area" name: "CALL" }
39 panels { room: "Side Area" name: "PUSHBACK" }
40 panels { room: "Side Area" name: "PUSH" }
41 panels { room: "Side Area" name: "FLASHBACK" }
42 panels { room: "Side Area" name: "FLASH" }
43 location_room: "Side Area"
44}
ia@gmail.com> 2024-03-02 21:17:14 -0500 committer Star Rauchenberger <fefferburbia@gmail.com> 2024-03-02 21:17:14 -0500 Added sunwarp shuffle' href='/lingo-ap-tracker/commit/src/ap_state.h?h=v0.11.5&id=e07e0318666e9b05b2a78b7de0979d5706cc28b7'>e07e031 ^
9bf6a50 ^
325ea53 ^
f960478 ^
325ea53 ^
116ba41 ^
8e89e19 ^
116ba41 ^
4adfe42 ^

8e89e19 ^
116ba41 ^
4d8e362 ^

325ea53 ^
70f1c62 ^
325ea53 ^
dc4a143 ^
325ea53 ^
116ba41 ^
3151ac6 ^

b84a540 ^

3151ac6 ^
116ba41 ^
13d2a12 ^

b6628ef ^

c9a21a3 ^

9bf6a50 ^
53a2ec2 ^
c9a21a3 ^

bb12ecd ^

18eccff ^

efa0587 ^

2c2d9e9 ^



b13d367 ^

e07e031 ^



cf3fc6c ^

3037b93 ^

116ba41 ^
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96


                           
              
                   
              
                 
                

                      
 
                   
 
                                                                              
 



















                                 
 



                       
 
                                                     
 
                                                                              
 
                                                
 

                                             
                                               
 

                                        
                                        
 
                         
 
                            
 

                                                                  

                                                           
                                                      
 

                                                          

                               

                              
                                              
 

                                          

                                                            

                                

                              



                                        

                                    



                                                            

                         

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

std::string AP_GetItemName(int item_id);

DoorShuffleMode AP_GetDoorShuffleMode();

bool AP_IsColorShuffle();

bool AP_IsPaintingShuffle();

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

bool AP_IsPaintingMappedTo(const std::string& painting_id);

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

bool AP_IsPaintingChecked(const std::string& painting_id);

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 */