From 4e56e7681c0769dd247c0512a682a067426436bc Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 11 Aug 2025 12:03:39 -0400 Subject: Add gravity to paintings/ports --- proto/common.proto | 11 +++++++++++ proto/data.proto | 3 ++- proto/human.proto | 3 ++- 3 files changed, 15 insertions(+), 2 deletions(-) (limited to 'proto') 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 { // This door is never an item, and is a location as long as panelsanity is not on. LOCATION_ONLY = 5; } + +enum AxisDirection { + AXIS_DIRECTION_UNKNOWN = 0; + + X_PLUS = 1; + X_MINUS = 2; + Y_PLUS = 3; + Y_MINUS = 4; + Z_PLUS = 5; + Z_MINUS = 6; +} 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 { string orientation = 3; bool move = 6; bool enter_only = 7; - bool flipped = 8; + AxisDirection gravity = 8 [default = Y_MINUS]; bool exit_only = 11; uint64 required_door = 5; @@ -88,6 +88,7 @@ message Port { string path = 4; string orientation = 5; + AxisDirection gravity = 7 [default = Y_MINUS]; uint64 required_door = 6; } 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 { string orientation = 3; bool move = 6; bool enter_only = 7; - bool flipped = 8; + AxisDirection gravity = 8 [default = Y_MINUS]; bool exit_only = 9; DoorIdentifier required_door = 5; @@ -128,6 +128,7 @@ message HumanPort { string path = 2; string orientation = 3; + AxisDirection gravity = 5 [default = Y_MINUS]; DoorIdentifier required_door = 4; } -- cgit 1.4.1