diff options
Diffstat (limited to 'src/defines.h')
-rw-r--r-- | src/defines.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/defines.h b/src/defines.h index 3d87df47..c5ec3a20 100644 --- a/src/defines.h +++ b/src/defines.h @@ -3385,33 +3385,6 @@ - - -/* - * Determines if a map location is fully inside the outer walls - */ -#define in_bounds(Y,X) \ - (((Y) > 0) && ((X) > 0) && ((Y) < cur_hgt-1) && ((X) < cur_wid-1)) - -/* - * Determines if a map location is on or inside the outer walls - */ -#define in_bounds2(Y,X) \ - (((Y) >= 0) && ((X) >= 0) && ((Y) < cur_hgt) && ((X) < cur_wid)) - - -/* - * Determines if a map location is currently "on screen" -RAK- - * Note that "panel_contains(Y,X)" always implies "in_bounds2(Y,X)". - */ -#define panel_contains(Y,X) \ - (((Y) >= panel_row_min) && ((Y) <= panel_row_max) && \ - ((X) >= panel_col_min) && ((X) <= panel_col_max)) - - - - - /*** Color constants ***/ |