summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/coord.h
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2013-03-05 15:01:20 -0330
committerDracoOmega <draco_omega@live.com>2013-03-06 01:38:13 -0330
commite2e8a398e699175ec37813b621098e3f5e210a2c (patch)
tree1065fdd5c84a930ce809407e4a2af67b5219f130 /crawl-ref/source/coord.h
parentf4a4332a4b5c1120a31c009680ab2e162ffb68ab (diff)
downloadcrawl-ref-e2e8a398e699175ec37813b621098e3f5e210a2c.tar.gz
crawl-ref-e2e8a398e699175ec37813b621098e3f5e210a2c.zip
Make a function public and rename
Diffstat (limited to 'crawl-ref/source/coord.h')
-rw-r--r--crawl-ref/source/coord.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/coord.h b/crawl-ref/source/coord.h
index af27f4b9bc..fbbb720fb5 100644
--- a/crawl-ref/source/coord.h
+++ b/crawl-ref/source/coord.h
@@ -62,4 +62,6 @@ coord_def player2grid(const coord_def& pc);
coord_def grid2player(const coord_def& pc);
coord_def rotate_adjacent(coord_def vector, int direction);
+coord_def clamp_in_bounds(const coord_def &p);
+
#endif