From 391f30e5a07d493508cb7e281fef4d82ee0ae47c Mon Sep 17 00:00:00 2001 From: haranp Date: Mon, 21 Jul 2008 22:07:52 +0000 Subject: Various code cleanups. Moving towards using coord_def() instead of x and y where possible. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6630 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/stuff.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/stuff.h') diff --git a/crawl-ref/source/stuff.h b/crawl-ref/source/stuff.h index 60c2ae4305..d1eea67525 100644 --- a/crawl-ref/source/stuff.h +++ b/crawl-ref/source/stuff.h @@ -149,6 +149,7 @@ inline bool map_bounds(const coord_def &p) int grid_distance( const coord_def& p1, const coord_def& p2 ); int grid_distance( int x, int y, int x2, int y2 ); +int distance( const coord_def& p1, const coord_def& p2 ); int distance( int x, int y, int x2, int y2); bool adjacent( int x, int y, int x2, int y2 ); -- cgit v1.2.3-54-g00ecf