diff --git a/include/macros.h b/include/macros.h index 0f372fcc0..5b1a31112 100644 --- a/include/macros.h +++ b/include/macros.h @@ -132,7 +132,6 @@ extern GraphicsContext* __gfxCtx; (void)0 #define SQ(x) ((x) * (x)) -#define CUBE(x) ((x) * (x) * (x)) #define ABS(x) ((x) >= 0 ? (x) : -(x)) #define ABS_ALT(x) ((x) < 0 ? -(x) : (x)) #define DECR(x) ((x) == 0 ? 0 : --(x)) diff --git a/src/overlays/actors/ovl_Obj_Mine/z_obj_mine.c b/src/overlays/actors/ovl_Obj_Mine/z_obj_mine.c index f05ccdff0..b63b9dc31 100644 --- a/src/overlays/actors/ovl_Obj_Mine/z_obj_mine.c +++ b/src/overlays/actors/ovl_Obj_Mine/z_obj_mine.c @@ -21,9 +21,6 @@ #define WATER_KNOCKBACK 7.0f #define AIR_KNOCKBACK 0.04f -#define RAND_PLUSMINUS(limit) (Rand_ZeroOne() * (2.0f * (limit)) - (limit)) -#define RAND_PLUSMINUSALT(limit) ((Rand_ZeroOne() - 0.5f) * (2.0f * limit)) - void ObjMine_Init(Actor* thisx, PlayState* play); void ObjMine_Destroy(Actor* thisx, PlayState* play); void ObjMine_Path_Update(Actor* thisx, PlayState* play);