Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/SB/Core/x/xQuickCull.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ void xQuickCullForBound(xQCControl* ctrl, xQCData* q, const xBound* b);
static void xQuickCullCellForVec(xQCControl* ctrl, xQCData* c, const xVec3* v);
static void xQuickCullCellMerge(xQCData* dest, const xQCData* a, const xQCData* b);
void xQuickCullForLine(xQCControl* ctrl, xQCData* q, const xLine3* ln);
inline void xQuickCullForLine(xQCData* q, const xLine3* ln)
{
xQuickCullForLine(&xqc_def_ctrl, q, ln);
}
void xQuickCullForRay(xQCControl* ctrl, xQCData* q, const xRay3* r);
void xQuickCullForRay(xQCData* q, const xRay3* r);
void xQuickCullForSphere(xQCControl* ctrl, xQCData* q, const xSphere* s);
Expand Down
10 changes: 9 additions & 1 deletion src/SB/Core/x/xScene.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#include "xMemMgr.h"
#include "xRay3.h"

struct xClumpCollBSPTree;

typedef const char* (*xSceneBase2NameCallback)(xBase*);
typedef const char* (*xSceneID2NameCallback)(U32);
typedef xBase* (*xSceneResolvIDCallback)(U32);
Expand Down Expand Up @@ -38,7 +40,13 @@ struct xScene
xEnt** npcs;
xEnt** act_ents;
xEnt** nact_ents;
xEnv* env;

// Offset: 0x44
union {
xEnv* env;
xClumpCollBSPTree* scenecoll;
};

xMemPool mempool;
xSceneResolvIDCallback resolvID;
xSceneBase2NameCallback base2Name;
Expand Down
Loading
Loading