diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-08-11 12:03:39 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-08-11 12:03:39 -0400 |
| commit | 4e56e7681c0769dd247c0512a682a067426436bc (patch) | |
| tree | d10ed9dbc920199df2cdf33b65df48328079baf0 /proto | |
| parent | 839cf72809a5d7aa65002c1b93d78c588def1210 (diff) | |
| download | lingo2-archipelago-4e56e7681c0769dd247c0512a682a067426436bc.tar.gz lingo2-archipelago-4e56e7681c0769dd247c0512a682a067426436bc.tar.bz2 lingo2-archipelago-4e56e7681c0769dd247c0512a682a067426436bc.zip | |
Add gravity to paintings/ports
Diffstat (limited to 'proto')
| -rw-r--r-- | proto/common.proto | 11 | ||||
| -rw-r--r-- | proto/data.proto | 3 | ||||
| -rw-r--r-- | proto/human.proto | 3 |
3 files changed, 15 insertions, 2 deletions
| diff --git a/proto/common.proto b/proto/common.proto index e300e94..e37f670 100644 --- a/proto/common.proto +++ b/proto/common.proto | |||
| @@ -25,3 +25,14 @@ enum DoorType { | |||
| 25 | // This door is never an item, and is a location as long as panelsanity is not on. | 25 | // This door is never an item, and is a location as long as panelsanity is not on. |
| 26 | LOCATION_ONLY = 5; | 26 | LOCATION_ONLY = 5; |
| 27 | } | 27 | } |
| 28 | |||
| 29 | enum AxisDirection { | ||
| 30 | AXIS_DIRECTION_UNKNOWN = 0; | ||
| 31 | |||
| 32 | X_PLUS = 1; | ||
| 33 | X_MINUS = 2; | ||
| 34 | Y_PLUS = 3; | ||
| 35 | Y_MINUS = 4; | ||
| 36 | Z_PLUS = 5; | ||
| 37 | Z_MINUS = 6; | ||
| 38 | } | ||
| diff --git a/proto/data.proto b/proto/data.proto index fd38cfd..b590454 100644 --- a/proto/data.proto +++ b/proto/data.proto | |||
| @@ -75,7 +75,7 @@ message Painting { | |||
| 75 | string orientation = 3; | 75 | string orientation = 3; |
| 76 | bool move = 6; | 76 | bool move = 6; |
| 77 | bool enter_only = 7; | 77 | bool enter_only = 7; |
| 78 | bool flipped = 8; | 78 | AxisDirection gravity = 8 [default = Y_MINUS]; |
| 79 | bool exit_only = 11; | 79 | bool exit_only = 11; |
| 80 | 80 | ||
| 81 | uint64 required_door = 5; | 81 | uint64 required_door = 5; |
| @@ -88,6 +88,7 @@ message Port { | |||
| 88 | 88 | ||
| 89 | string path = 4; | 89 | string path = 4; |
| 90 | string orientation = 5; | 90 | string orientation = 5; |
| 91 | AxisDirection gravity = 7 [default = Y_MINUS]; | ||
| 91 | 92 | ||
| 92 | uint64 required_door = 6; | 93 | uint64 required_door = 6; |
| 93 | } | 94 | } |
| diff --git a/proto/human.proto b/proto/human.proto index 7d61fcb..858c88f 100644 --- a/proto/human.proto +++ b/proto/human.proto | |||
| @@ -117,7 +117,7 @@ message HumanPainting { | |||
| 117 | string orientation = 3; | 117 | string orientation = 3; |
| 118 | bool move = 6; | 118 | bool move = 6; |
| 119 | bool enter_only = 7; | 119 | bool enter_only = 7; |
| 120 | bool flipped = 8; | 120 | AxisDirection gravity = 8 [default = Y_MINUS]; |
| 121 | bool exit_only = 9; | 121 | bool exit_only = 9; |
| 122 | 122 | ||
| 123 | DoorIdentifier required_door = 5; | 123 | DoorIdentifier required_door = 5; |
| @@ -128,6 +128,7 @@ message HumanPort { | |||
| 128 | string path = 2; | 128 | string path = 2; |
| 129 | 129 | ||
| 130 | string orientation = 3; | 130 | string orientation = 3; |
| 131 | AxisDirection gravity = 5 [default = Y_MINUS]; | ||
| 131 | 132 | ||
| 132 | DoorIdentifier required_door = 4; | 133 | DoorIdentifier required_door = 4; |
| 133 | } | 134 | } |
