home · contact · privacy
Moved basic yx_uint16 handling into its own library.
[plomrogue] / src / roguelike.c
index c8fbf5a78f1024eaa5657c5390eeb0d21fd08c3c..058ed07809bbfdec6e52fbbace0fe48fbf48b53b 100644 (file)
@@ -80,11 +80,6 @@ struct yx_uint16 mv_yx_in_dir (char d, struct yx_uint16 yx) {
   else if (d == WEST)  yx.x--;
   return yx; }
 
-char yx_uint16_cmp (struct yx_uint16 a, struct yx_uint16 b) {
-// Compare two coordinates of type yx_uint16.
-  if (a.y == b.y && a.x == b.x) return 1;
-  else                          return 0; }
-
 void next_turn (struct World * world) {
 // Increment turn and move enemy.
   world->turn++;