From a1a02150d710df2838060445b9ad447689538985 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sun, 23 Dec 2012 14:23:32 -0800 Subject: Enumify some more things ... maybe even everything --- src/map/magic-expr.hpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/map/magic-expr.hpp') diff --git a/src/map/magic-expr.hpp b/src/map/magic-expr.hpp index 2e9c5ec..4fd6041 100644 --- a/src/map/magic-expr.hpp +++ b/src/map/magic-expr.hpp @@ -4,17 +4,6 @@ #include "magic-interpreter.hpp" #include "magic-interpreter-aux.hpp" -#ifndef MAX -# define MAX(x,y) (((x)>(y)) ? (x) : (y)) -#endif -#ifndef MIN -# define MIN(x,y) (((x)<(y)) ? (x) : (y)) -#endif - -#ifndef INT_MAX -# define INT_MAX (1<<30) // It's more than that, but this is quite sufficient for our purposes. -#endif - /* * Argument types: * i : int @@ -74,7 +63,7 @@ char *magic_eval_str(env_t *env, expr_t *expr); int map_is_solid(int m, int x, int y); -expr_t *magic_new_expr(int ty); +expr_t *magic_new_expr(EXPR ty); void magic_clear_var(val_t *v); -- cgit v1.2.3-60-g2f50