about summary refs log tree commit diff homepage
path: root/torus.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--torus.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/torus.h b/torus.h
index ff9c0e8..9158ef7 100644
--- a/torus.h
+++ b/torus.h
@@ -47,6 +47,7 @@ enum ServerMessageType {
     SERVER_TILE,
     SERVER_MOVE,
     SERVER_PUT,
+    SERVER_CURSOR,
 };
 
 struct ServerMessage {
@@ -62,9 +63,17 @@ struct ServerMessage {
             uint8_t color;
             char cell;
         } p;
+        struct {
+            uint8_t oldCellX;
+            uint8_t oldCellY;
+            uint8_t newCellX;
+            uint8_t newCellY;
+        } c;
     } data;
 };
 
+#define CURSOR_NONE UINT8_MAX
+
 enum ClientMessageType {
     CLIENT_MOVE,
     CLIENT_PUT,
td>June McEnroe 2020-05-20Rewrite build and install like pounce 1.3June McEnroe 2020-05-20Update email addressesJune McEnroe 2020-04-23Call updateConsumer from handleError 1.2p1June McEnroe 2020-04-20Use . as ${LDLIBS.$@} separatorJune McEnroe 2020-04-05Error on invalid ISUPPORT values 1.2June McEnroe 2020-04-05Only set RCS on FreeBSDJune McEnroe 2020-04-05Log bans and unbansJune McEnroe 2020-04-05Parse mode types from ISUPPORTJune McEnroe 2020-04-05Add unscoop matchers for ban/unban eventsJune McEnroe 2020-04-05Check unscoop regexps with make testJune McEnroe 2020-04-05Add unscoop -n flag for checking regexpsJune McEnroe 2020-04-05Add Ban and Unban event typesJune McEnroe 2020-04-02Update styleJune McEnroe 2020-03-31Update unscoop catgirl matchersJune McEnroe 2020-03-31Fix writing verbose to stderrJune McEnroe 2020-03-02Include <>/-/* around nicks in scoop coloring 1.1June McEnroe 2020-03-02Replace .mk files with configure scriptJune McEnroe 2020-02-28Implement the causal.agency/consumer capabilityJune McEnroe 2020-02-22Include <>/-/* around nicks in coloringJune McEnroe 2020-02-22Use (almost) the full range of IRC colors for nicksJune McEnroe