about summary refs log tree commit diff stats
path: root/proto
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-09-21 12:44:50 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-09-21 12:44:50 -0400
commitb53018acc54a7b8812a0b9830562879071d05fa6 (patch)
tree263795fb5358292263916a1621bacabc73873645 /proto
parente896b5e91c04723484c25bf1e2b00a248ea18614 (diff)
downloadlingo2-archipelago-b53018acc54a7b8812a0b9830562879071d05fa6.tar.gz
lingo2-archipelago-b53018acc54a7b8812a0b9830562879071d05fa6.tar.bz2
lingo2-archipelago-b53018acc54a7b8812a0b9830562879071d05fa6.zip
[Data] Annotate shuffleable ports HEAD main
Diffstat (limited to 'proto')
-rw-r--r--proto/data.proto10
-rw-r--r--proto/human.proto8
2 files changed, 16 insertions, 2 deletions
diff --git a/proto/data.proto b/proto/data.proto index 64e3ddc..bc3f669 100644 --- a/proto/data.proto +++ b/proto/data.proto
@@ -87,6 +87,12 @@ enum PuzzleSymbol {
87 QUESTION = 19; 87 QUESTION = 19;
88} 88}
89 89
90message Vec3d {
91 optional double x = 1;
92 optional double y = 2;
93 optional double z = 3;
94}
95
90message ProxyIdentifier { 96message ProxyIdentifier {
91 optional uint64 panel = 1; 97 optional uint64 panel = 1;
92 optional string answer = 2; 98 optional string answer = 2;
@@ -181,8 +187,10 @@ message Port {
181 optional string name = 3; 187 optional string name = 3;
182 188
183 optional string path = 4; 189 optional string path = 4;
184 optional string orientation = 5; 190 optional Vec3d destination = 5;
191 optional double rotation = 8;
185 optional AxisDirection gravity = 7; 192 optional AxisDirection gravity = 7;
193 optional bool no_shuffle = 9;
186 194
187 optional uint64 required_door = 6; 195 optional uint64 required_door = 6;
188} 196}
diff --git a/proto/human.proto b/proto/human.proto index c247edf..748cf33 100644 --- a/proto/human.proto +++ b/proto/human.proto
@@ -152,7 +152,13 @@ message HumanPort {
152 optional string name = 1; 152 optional string name = 1;
153 optional string path = 2; 153 optional string path = 2;
154 154
155 optional string orientation = 3; 155 optional bool no_shuffle = 7;
156
157 // These specify how the player should be placed when a randomized entrance
158 // sends them to this port. "rotation" is in degrees and is counter-clockwise
159 // from the positive X axis.
160 optional Vec3d destination = 3;
161 optional double rotation = 6;
156 optional AxisDirection gravity = 5 [default = Y_MINUS]; 162 optional AxisDirection gravity = 5 [default = Y_MINUS];
157 163
158 optional DoorIdentifier required_door = 4; 164 optional DoorIdentifier required_door = 4;