X-Git-Url: https://plomlompom.com/repos/index.html?a=blobdiff_plain;f=src%2Froguelike.c;h=058ed07809bbfdec6e52fbbace0fe48fbf48b53b;hb=64e1bc2a874308530b7b45c33ed5d37f34f5f8be;hp=c8fbf5a78f1024eaa5657c5390eeb0d21fd08c3c;hpb=a1384bd171b558158855ec7c6683eba8fd8e609f;p=plomrogue diff --git a/src/roguelike.c b/src/roguelike.c index c8fbf5a..058ed07 100644 --- a/src/roguelike.c +++ b/src/roguelike.c @@ -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++;