diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-08-20 16:23:58 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-08-20 16:23:58 -0400 |
| commit | 9cf74c63ba8fa7fa787c59e3a49a3cb6e3178521 (patch) | |
| tree | 43b96868c78ee7e42d778f838006b2cb77d28603 /proto | |
| parent | 8c3428b900e1696c3c3edcc5fb513988ddbe8c41 (diff) | |
| download | lingo2-archipelago-9cf74c63ba8fa7fa787c59e3a49a3cb6e3178521.tar.gz lingo2-archipelago-9cf74c63ba8fa7fa787c59e3a49a3cb6e3178521.tar.bz2 lingo2-archipelago-9cf74c63ba8fa7fa787c59e3a49a3cb6e3178521.zip | |
Converted puzzle symbols to an enum
Diffstat (limited to 'proto')
| -rw-r--r-- | proto/data.proto | 26 | ||||
| -rw-r--r-- | proto/human.proto | 2 |
2 files changed, 26 insertions, 2 deletions
| diff --git a/proto/data.proto b/proto/data.proto index 498543c..d3933c4 100644 --- a/proto/data.proto +++ b/proto/data.proto | |||
| @@ -40,6 +40,30 @@ enum AxisDirection { | |||
| 40 | Z_MINUS = 6; | 40 | Z_MINUS = 6; |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | enum PuzzleSymbol { | ||
| 44 | PUZZLE_SYMBOL_UNKNOWN = 0; | ||
| 45 | |||
| 46 | SUN = 1; | ||
| 47 | SPARKLES = 2; | ||
| 48 | ZERO = 3; | ||
| 49 | EXAMPLE = 4; | ||
| 50 | BOXES = 5; | ||
| 51 | PLANET = 6; | ||
| 52 | PYRAMID = 7; | ||
| 53 | CROSS = 8; | ||
| 54 | SWEET = 9; | ||
| 55 | GENDER = 10; | ||
| 56 | AGE = 11; | ||
| 57 | SOUND = 12; | ||
| 58 | ANAGRAM = 13; | ||
| 59 | JOB = 14; | ||
| 60 | STARS = 15; | ||
| 61 | NULL = 16; | ||
| 62 | EVAL = 17; | ||
| 63 | LINGO = 18; | ||
| 64 | QUESTION = 19; | ||
| 65 | } | ||
| 66 | |||
| 43 | message ProxyIdentifier { | 67 | message ProxyIdentifier { |
| 44 | optional uint64 panel = 1; | 68 | optional uint64 panel = 1; |
| 45 | optional string answer = 2; | 69 | optional string answer = 2; |
| @@ -93,7 +117,7 @@ message PanelData { | |||
| 93 | optional string path = 4; | 117 | optional string path = 4; |
| 94 | optional string clue = 5; | 118 | optional string clue = 5; |
| 95 | optional string answer = 6; | 119 | optional string answer = 6; |
| 96 | repeated string symbols = 7; | 120 | repeated PuzzleSymbol symbols = 7; |
| 97 | 121 | ||
| 98 | repeated Proxy proxies = 8; | 122 | repeated Proxy proxies = 8; |
| 99 | 123 | ||
| diff --git a/proto/human.proto b/proto/human.proto index d52a0ad..e0021c2 100644 --- a/proto/human.proto +++ b/proto/human.proto | |||
| @@ -101,7 +101,7 @@ message HumanPanel { | |||
| 101 | 101 | ||
| 102 | optional string clue = 2; | 102 | optional string clue = 2; |
| 103 | optional string answer = 3; | 103 | optional string answer = 3; |
| 104 | repeated string symbols = 4; | 104 | repeated PuzzleSymbol symbols = 4; |
| 105 | 105 | ||
| 106 | repeated Proxy proxies = 6; | 106 | repeated Proxy proxies = 6; |
| 107 | 107 | ||
