aboutsummaryrefslogtreecommitdiff
path: root/dat.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-05-14 15:54:05 +0000
committerrodri <rgl@antares-labs.eu>2023-05-14 15:54:05 +0000
commit1baca76aaf266a2d071af4a173aee5b85efeffd6 (patch)
treec5bc3bffe0aa4076dbc053d10103f2125724e4f3 /dat.h
parentd2c0ab7a62b7a2c99c4c491ce55466859429571b (diff)
downloadmusw-1baca76aaf266a2d071af4a173aee5b85efeffd6.tar.gz
musw-1baca76aaf266a2d071af4a173aee5b85efeffd6.tar.bz2
musw-1baca76aaf266a2d071af4a173aee5b85efeffd6.zip
cleanup and comment improvements.
Diffstat (limited to 'dat.h')
-rw-r--r--dat.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/dat.h b/dat.h
index 88f7a64..4c9e019 100644
--- a/dat.h
+++ b/dat.h
@@ -32,18 +32,18 @@ enum {
NShi, /* S accepts. sends P and G for DHX */
NCdhx = 12, /* C shares pubkey */
NSdhx, /* S shares pubkey */
- NCnudge = 16, /* nudge ACK */
- NSnudge, /* check the pulse of the line */
+ NCnudge = 16, /* C ACKs nudge */
+ NSnudge, /* S checks the pulse of the line */
NCinput = 20, /* C sends player input state */
NSsimstate, /* S sends current simulation state */
- NCawol = 22, /* AWOL ACK */
- NSawol, /* notify the adversary flew away */
+ NCawol = 22, /* C ACKs AWOL */
+ NSawol, /* S notifies the adversary flew away */
- NCbuhbye = 30,
- NSbuhbye,
+ NCbuhbye = 30, /* C quits gracefully */
+ NSbuhbye, /* S kicks the player out */
- NSerror = 66 /* report an error */
+ NSerror = 66 /* S reports an error */
};
enum {