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.proto40
1 files changed, 38 insertions, 2 deletions
diff --git a/proto/data.proto b/proto/data.proto index 014cbeb..e9cc7d7 100644 --- a/proto/data.proto +++ b/proto/data.proto
@@ -27,6 +27,9 @@ enum DoorType {
27 27
28 // This door is an item if gravestone shuffle is enabled, and is a location as long as panelsanity is not on. 28 // This door is an item if gravestone shuffle is enabled, and is a location as long as panelsanity is not on.
29 GRAVESTONE = 6; 29 GRAVESTONE = 6;
30
31 // This door is never a location, and is an item as long as gallery painting shuffle is on.
32 GALLERY_PAINTING = 7;
30} 33}
31 34
32enum DoorGroupType { 35enum DoorGroupType {
@@ -49,6 +52,13 @@ enum DoorGroupType {
49 SHUFFLE_GROUP = 4; 52 SHUFFLE_GROUP = 4;
50} 53}
51 54
55enum MapType {
56 NORMAL_MAP = 0;
57 ICARUS = 1;
58 GIFT_MAP = 2;
59 DEMO = 3;
60}
61
52enum AxisDirection { 62enum AxisDirection {
53 AXIS_DIRECTION_UNKNOWN = 0; 63 AXIS_DIRECTION_UNKNOWN = 0;
54 64
@@ -84,6 +94,18 @@ enum PuzzleSymbol {
84 QUESTION = 19; 94 QUESTION = 19;
85} 95}
86 96
97message Vec3d {
98 optional double x = 1;
99 optional double y = 2;
100 optional double z = 3;
101}
102
103message VersionNumber {
104 optional uint64 major = 1;
105 optional uint64 minor = 2;
106 optional uint64 patch = 3;
107}
108
87message ProxyIdentifier { 109message ProxyIdentifier {
88 optional uint64 panel = 1; 110 optional uint64 panel = 1;
89 optional string answer = 2; 111 optional string answer = 2;
@@ -106,6 +128,9 @@ message Connection {
106 } 128 }
107 129
108 optional bool roof_access = 7; 130 optional bool roof_access = 7;
131 optional bool purple_ending = 8;
132 optional bool cyan_ending = 9;
133 optional bool vanilla_only = 10;
109} 134}
110 135
111message Door { 136message Door {
@@ -125,10 +150,13 @@ message Door {
125 repeated KeyholderAnswer keyholders = 13; 150 repeated KeyholderAnswer keyholders = 13;
126 repeated uint64 rooms = 14; 151 repeated uint64 rooms = 14;
127 repeated uint64 doors = 15; 152 repeated uint64 doors = 15;
128 repeated uint64 endings = 16; 153 optional bool white_ending = 16;
129 optional bool double_letters = 18; 154 optional bool double_letters = 18;
155 repeated string senders = 19;
130 156
131 optional DoorType type = 8; 157 optional DoorType type = 8;
158 optional bool latch = 20;
159 optional bool legacy_location = 21;
132 160
133 optional string location_name = 17; 161 optional string location_name = 17;
134} 162}
@@ -171,12 +199,16 @@ message PaintingData {
171 199
172message Port { 200message Port {
173 optional uint64 id = 1; 201 optional uint64 id = 1;
202 optional uint64 ap_id = 11;
174 optional uint64 room_id = 2; 203 optional uint64 room_id = 2;
175 optional string name = 3; 204 optional string name = 3;
176 205
206 optional string display_name = 10;
177 optional string path = 4; 207 optional string path = 4;
178 optional string orientation = 5; 208 optional Vec3d destination = 5;
209 optional double rotation = 8;
179 optional AxisDirection gravity = 7; 210 optional AxisDirection gravity = 7;
211 optional bool no_shuffle = 9;
180 212
181 optional uint64 required_door = 6; 213 optional uint64 required_door = 6;
182} 214}
@@ -242,6 +274,8 @@ message Map {
242 optional uint64 id = 1; 274 optional uint64 id = 1;
243 optional string name = 2; 275 optional string name = 2;
244 optional string display_name = 3; 276 optional string display_name = 3;
277 optional uint64 worldport_entrance = 4;
278 optional MapType type = 5;
245} 279}
246 280
247message Progressive { 281message Progressive {
@@ -260,6 +294,8 @@ message DoorGroup {
260} 294}
261 295
262message AllObjects { 296message AllObjects {
297 optional VersionNumber version = 15;
298
263 repeated Map maps = 7; 299 repeated Map maps = 7;
264 repeated Room rooms = 1; 300 repeated Room rooms = 1;
265 repeated Door doors = 2; 301 repeated Door doors = 2;