about summary refs log tree commit diff stats
path: root/proto/data.proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto/data.proto')
-rw-r--r--proto/data.proto54
1 files changed, 51 insertions, 3 deletions
diff --git a/proto/data.proto b/proto/data.proto index 64e3ddc..619b3d3 100644 --- a/proto/data.proto +++ b/proto/data.proto
@@ -52,6 +52,13 @@ enum DoorGroupType {
52 SHUFFLE_GROUP = 4; 52 SHUFFLE_GROUP = 4;
53} 53}
54 54
55enum MapType {
56 NORMAL_MAP = 0;
57 ICARUS = 1;
58 GIFT_MAP = 2;
59 DEMO = 3;
60}
61
55enum AxisDirection { 62enum AxisDirection {
56 AXIS_DIRECTION_UNKNOWN = 0; 63 AXIS_DIRECTION_UNKNOWN = 0;
57 64
@@ -87,6 +94,24 @@ enum PuzzleSymbol {
87 QUESTION = 19; 94 QUESTION = 19;
88} 95}
89 96
97enum DaedalusOnlyMode {
98 DAED_ONLY_DISALLOW = 0;
99 DAED_ONLY_PARTIAL = 1;
100 DAED_ONLY_ALLOW = 2;
101}
102
103message Vec3d {
104 optional double x = 1;
105 optional double y = 2;
106 optional double z = 3;
107}
108
109message VersionNumber {
110 optional uint64 major = 1;
111 optional uint64 minor = 2;
112 optional uint64 patch = 3;
113}
114
90message ProxyIdentifier { 115message ProxyIdentifier {
91 optional uint64 panel = 1; 116 optional uint64 panel = 1;
92 optional string answer = 2; 117 optional string answer = 2;
@@ -111,6 +136,8 @@ message Connection {
111 optional bool roof_access = 7; 136 optional bool roof_access = 7;
112 optional bool purple_ending = 8; 137 optional bool purple_ending = 8;
113 optional bool cyan_ending = 9; 138 optional bool cyan_ending = 9;
139 optional bool mint_ending = 11;
140 optional bool vanilla_only = 10;
114} 141}
115 142
116message Door { 143message Door {
@@ -130,13 +157,17 @@ message Door {
130 repeated KeyholderAnswer keyholders = 13; 157 repeated KeyholderAnswer keyholders = 13;
131 repeated uint64 rooms = 14; 158 repeated uint64 rooms = 14;
132 repeated uint64 doors = 15; 159 repeated uint64 doors = 15;
133 repeated uint64 endings = 16; 160 optional bool white_ending = 16;
134 optional bool double_letters = 18; 161 optional bool double_letters = 18;
135 repeated string senders = 19; 162 repeated string senders = 19;
136 163
137 optional DoorType type = 8; 164 optional DoorType type = 8;
165 optional bool latch = 20;
166 optional bool legacy_location = 21;
138 167
139 optional string location_name = 17; 168 optional string location_name = 17;
169 optional bool daedalus_only_allow = 22;
170 optional bool daedalus_only_always_item = 23;
140} 171}
141 172
142message PanelData { 173message PanelData {
@@ -155,6 +186,8 @@ message PanelData {
155 optional uint64 required_door = 9; 186 optional uint64 required_door = 9;
156 optional uint64 required_room = 11; 187 optional uint64 required_room = 11;
157 188
189 optional bool exclude_from_panelsanity = 13;
190
158 optional string display_name = 12; 191 optional string display_name = 12;
159} 192}
160 193
@@ -177,12 +210,16 @@ message PaintingData {
177 210
178message Port { 211message Port {
179 optional uint64 id = 1; 212 optional uint64 id = 1;
213 optional uint64 ap_id = 11;
180 optional uint64 room_id = 2; 214 optional uint64 room_id = 2;
181 optional string name = 3; 215 optional string name = 3;
182 216
217 optional string display_name = 10;
183 optional string path = 4; 218 optional string path = 4;
184 optional string orientation = 5; 219 optional Vec3d destination = 5;
220 optional double rotation = 8;
185 optional AxisDirection gravity = 7; 221 optional AxisDirection gravity = 7;
222 optional bool no_shuffle = 9;
186 223
187 optional uint64 required_door = 6; 224 optional uint64 required_door = 6;
188} 225}
@@ -233,6 +270,7 @@ message Room {
233 optional string name = 2; 270 optional string name = 2;
234 optional string display_name = 3; 271 optional string display_name = 3;
235 optional string panel_display_name = 13; 272 optional string panel_display_name = 13;
273 optional bool daedalus_only_allow = 14;
236 274
237 repeated uint64 panels = 4; 275 repeated uint64 panels = 4;
238 repeated uint64 paintings = 5; 276 repeated uint64 paintings = 5;
@@ -248,6 +286,14 @@ message Map {
248 optional uint64 id = 1; 286 optional uint64 id = 1;
249 optional string name = 2; 287 optional string name = 2;
250 optional string display_name = 3; 288 optional string display_name = 3;
289 optional DaedalusOnlyMode daedalus_only_mode = 6;
290 optional uint64 worldport_entrance = 4;
291 optional MapType type = 5;
292
293 optional uint64 rte_room = 7;
294 optional uint64 rte_ap_id = 8;
295 optional Vec3d rte_trigger_pos = 9;
296 optional Vec3d rte_trigger_scale = 10;
251} 297}
252 298
253message Progressive { 299message Progressive {
@@ -263,10 +309,12 @@ message DoorGroup {
263 optional uint64 ap_id = 3; 309 optional uint64 ap_id = 3;
264 optional DoorGroupType type = 4; 310 optional DoorGroupType type = 4;
265 repeated uint64 doors = 5; 311 repeated uint64 doors = 5;
312
313 optional bool daedalus_only_always_item = 6;
266} 314}
267 315
268message AllObjects { 316message AllObjects {
269 optional uint64 version = 15; 317 optional VersionNumber version = 15;
270 318
271 repeated Map maps = 7; 319 repeated Map maps = 7;
272 repeated Room rooms = 1; 320 repeated Room rooms = 1;