Move abs to stdlib.h

This commit is contained in:
gamemasterplc 2024-04-13 19:32:50 -05:00
parent 618874af71
commit 0ccc55e70f
8 changed files with 13 additions and 11 deletions

View file

@ -9,6 +9,7 @@
#include "game/objsub.h"
#include "game/gamework_data.h"
#include "math.h"
#include "stdlib.h"
typedef struct bit_copy {
struct {

View file

@ -22,6 +22,7 @@
#include "game/board/window.h"
#include "math.h"
#include "stdlib.h"
#define ABS(x) (((x) < 0) ? -(x) : (x))

View file

@ -15,6 +15,8 @@
#include "game/board/basic_space.h"
#include "game/board/audio.h"
#include "game/pad.h"
#include "stdlib.h"
#include "math.h"
static void InitJunction(s32, s32, f32);
static void UpdateJunctionGfx(omObjData*);