Add objsub.c and objsub.h

This commit is contained in:
darxoon 2024-01-28 02:37:05 +01:00
parent 81c6a1b4d6
commit f4d7c588c7
10 changed files with 1322 additions and 11 deletions

View file

@ -4,6 +4,7 @@
#include "game/data.h"
#include "game/flag.h"
#include "game/object.h"
#include "game/objsub.h"
#include "game/gamework_data.h"
#include "board_unsplit.h"
#include "math.h"
@ -35,7 +36,6 @@ static void CoinChgDisappear(omObjData*, coinChg*);
extern void BoardTutorialHookExec(s16, s32);
extern void BoardCameraViewSet(s32);
extern void omVibrate(s16, s16, s16, s16);
extern void BoardPlayerPosGet(s32, Vec*);
extern void BoardModelPosGet(s16, Vec*);
extern void BoardPlayerMotionEndWait(s32);

View file

@ -1,7 +1,5 @@
#include "game/board/player.h"
//// #include "game/objsub.h"
extern void omVibrate(s16, s16, s16, s16);
#include "game/objsub.h"
//// #include "game/board/ui.h"
extern void BoardStatusHammerShowSet(s32, s32);
extern void BoardYourTurnExec(s32);

View file

@ -6,12 +6,11 @@
#include "game/hsfman.h"
#include "game/data.h"
#include "game/sprite.h"
#include "game/objsub.h"
#include "math.h"
#include "string.h"
extern void omVibrate(s16, s16, s16, s16);
extern s16 BoardStarHostMdlGet(void);
extern void BoardModelPosSetV(s16 model, Vec *pos);

View file

@ -4,6 +4,7 @@
#include "game/wipe.h"
#include "game/gamework_data.h"
#include "game/hsfex.h"
#include "game/objsub.h"
#include "board_unsplit.h"
#include "math.h"
@ -14,7 +15,6 @@ static void WarpFall(s32);
static void WarpImpact(s32);
extern void omVibrate(s16, s16, s16, s16);
extern void BoardCharWheelInit(s32, s32);
extern void BoardCharWheelSpeedSet(f32);
extern void BoardCharWheelWait(void);

1284
src/game/objsub.c Normal file

File diff suppressed because it is too large Load diff