summaryrefslogtreecommitdiff
path: root/src/util.pkg
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.pkg')
-rw-r--r--src/util.pkg6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util.pkg b/src/util.pkg
index b118f2b0..c6f97ebf 100644
--- a/src/util.pkg
+++ b/src/util.pkg
@@ -1514,6 +1514,12 @@ extern void quit(cptr str);
*/
extern s32b value_scale(int value, int vmax, int max, int min);
+/*
+ * compass, approximate_distance
+ */
+extern cptr compass(int y, int x, int y2, int x2);
+extern cptr approximate_distance(int y, int x, int y2, int x2);
+
/** @fn text_out_c(byte a, cptr str)
* @brief Output text to the screen (in color) or to a file depending on the
* selected hook.\n