summaryrefslogtreecommitdiff
path: root/src/landscape.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/landscape.h')
-rw-r--r--src/landscape.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/landscape.h b/src/landscape.h
index cb08d9d9e..cf366e09c 100644
--- a/src/landscape.h
+++ b/src/landscape.h
@@ -108,6 +108,7 @@ static inline Point RemapCoords2(int x, int y)
* @param y Y coordinate of the 2D coordinate.
* @return X and Y components of equivalent world or tile coordinate.
* @note Inverse of #RemapCoords function. Smaller values may get rounded.
+ * @see InverseRemapCoords2
*/
static inline Point InverseRemapCoords(int x, int y)
{
@@ -115,6 +116,8 @@ static inline Point InverseRemapCoords(int x, int y)
return pt;
}
+Point InverseRemapCoords2(int x, int y, bool clamp_to_map = false);
+
uint ApplyFoundationToSlope(Foundation f, Slope *s);
/**
* Applies a foundation to a slope.