From 40b00ee087fa2be33299c6315ec5a7873e3526af Mon Sep 17 00:00:00 2001 From: tgsm Date: Wed, 3 Jul 2024 14:16:11 -0500 Subject: [PATCH] Add some missing function declarations --- src/SB/Core/x/xEntMotion.h | 6 +++++- src/SB/Core/x/xUpdateCull.h | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/SB/Core/x/xEntMotion.h b/src/SB/Core/x/xEntMotion.h index f6eb6b159..fa8c36ced 100644 --- a/src/SB/Core/x/xEntMotion.h +++ b/src/SB/Core/x/xEntMotion.h @@ -168,9 +168,13 @@ struct xEntMotion xEnt* target; }; +void xEntMotionInit(xEntMotion* motion, xEnt*, xEntMotionAsset* asset); +void xEntMotionReset(xEntMotion* motion, xScene* sc); void xEntMotionMove(xEntMotion* motion, xScene* sc, float32 dt, xEntFrame* frame); void xEntMotionTranslate(xEntMotion* motion, const xVec3* dpos, xMat4x3* dmat); void xEntMotionDebugInit(uint16 num_xems); void xEntMotionDebugExit(); +void xEntMotionStop(xEntMotion* motion); +void xEntMotionRun(xEntMotion* motion); -#endif \ No newline at end of file +#endif diff --git a/src/SB/Core/x/xUpdateCull.h b/src/SB/Core/x/xUpdateCull.h index eebda1244..c02920bd3 100644 --- a/src/SB/Core/x/xUpdateCull.h +++ b/src/SB/Core/x/xUpdateCull.h @@ -48,10 +48,11 @@ union FloatAndVoid void* v; }; +uint32 xUpdateCull_AlwaysTrueCB(void* ent, void* cbdata); uint32 xUpdateCull_DistanceSquaredCB(void* ent, void* cbdata); xUpdateCullMgr* xUpdateCull_Init(void** ent, uint32 entCount, xGroup** group, uint32 groupCount); void xUpdateCull_Update(xUpdateCullMgr* m, uint32 percent_update); void xUpdateCull_SetCB(xUpdateCullMgr* m, void* entity, xUpdateCullEntCallback cb, void* cbdata); void xUpdateCull_Reset(xUpdateCullMgr* m); -#endif \ No newline at end of file +#endif