X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fserver%2Fyx_uint8.h;h=ccfaa25ad336844f8dc6b71f9bb9264f2e7595c6;hb=7433f56ec2c6cc51bc497e3c0c67d2fe3e6ab64a;hp=1463c5ff1e37cb494099610aeee6a907853c2516;hpb=f9c94db47aa883149aa762fa128ac1ff1b3f92e1;p=plomrogue
diff --git a/src/server/yx_uint8.h b/src/server/yx_uint8.h
index 1463c5f..ccfaa25 100644
--- a/src/server/yx_uint8.h
+++ b/src/server/yx_uint8.h
@@ -14,9 +14,10 @@
/* Return 1 if two yx_uint8 coordinates at "a" and "b" are equal, else 0. */
extern uint8_t yx_uint8_cmp(struct yx_uint8 * a, struct yx_uint8 * b);
-/* Return yx_uint8 coordinate one step from "yx" in direction "dir" (numpad
- * digits: north '8', east: '6', etc.) If "dir" is invalid or would wrap the
- * move around the edge of a 2^16x2^16 cells field, "yx" remains unchanged.
+/* Return yx_uint8 coordinate one step from "yx" in direction "dir" ('e':
+ * northeast, 'd': east, 'c': south-east, 'x': south-west, 's': west, ' 'w':
+ * north-west). If "dir" is invalid or would wrap the move around the edge of a
+ * 2^8x2^8 cells field, "yx" remains unchanged.
*/
extern struct yx_uint8 mv_yx_in_dir(char dir, struct yx_uint8 yx);