Skip to content

Commit

Permalink
Add some missing function declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
tgsm authored and SquareMan committed Jul 3, 2024
1 parent 4707a89 commit 40b00ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/SB/Core/x/xEntMotion.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
#endif
3 changes: 2 additions & 1 deletion src/SB/Core/x/xUpdateCull.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
#endif

0 comments on commit 40b00ee

Please sign in to comment.