Skip to content

Commit

Permalink
pat boss progress
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbruv committed Jul 20, 2024
1 parent 67d49c0 commit 6a1d06c
Show file tree
Hide file tree
Showing 11 changed files with 1,317 additions and 107 deletions.
2 changes: 1 addition & 1 deletion src/SB/Core/x/xEnt.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ struct xEnt : xBase
xShadowSimpleCache* simpShadow;
xEntShadow* entShadow;
anim_coll_data* anim_coll;
void* user_data;
void* user_data; // 0xCC
};

// collision types
Expand Down
1 change: 1 addition & 0 deletions src/SB/Core/x/xMath3.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ void xMat3x3Scale(xMat3x3* m, const xVec3* s);
void xMat3x3ScaleC(xMat3x3* m, F32 x, F32 y, F32 z);
void xMat3x3RMulRotY(xMat3x3* o, const xMat3x3* m, F32 t);
void xMat3x3Mul(xMat3x3* o, const xMat3x3* a, const xMat3x3* b);
void xMat3x3SMul(xMat3x3*, const xMat3x3*, F32);
void xBoxFromLine(xBox& box, const xLine3& line);
void xBoxFromRay(xBox& box, const xRay3& ray);
void xMat3x3Identity(xMat3x3* matrix);
Expand Down
1 change: 1 addition & 0 deletions src/SB/Core/x/xModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ void xModelAnimCollStart(xModelInstance& m);
void xModelSetFrame(xModelInstance* modelInst, const xMat4x3* frame);
xModelInstance* xModelInstanceAlloc(RpAtomic* data, void* object, U16 flags, U8 boneIndex,
U8* boneRemap);
void xModelInstanceFree(xModelInstance* modelInst);
void xModelInstanceAttach(xModelInstance* inst, xModelInstance* parent);
void xModelRender(xModelInstance* modelInst);
void xModelRender2D(const xModelInstance& model, const basic_rect<F32>& r, const xVec3& from,
Expand Down
2 changes: 1 addition & 1 deletion src/SB/Game/zGlobals.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ struct zPlayerGlobals
F32 IdleSitTimer;
S32 Transparent;
zEnt* FireTarget;
U32 ControlOff;
U32 ControlOff; // 0x1788
U32 ControlOnEvent;

// Offset: 0x1790
Expand Down
12 changes: 6 additions & 6 deletions src/SB/Game/zLightning.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ void zLightningKill(zLightning* l);
void RenderLightning(zLightning* l);
void zLightningRender();
void zLightningModifyEndpoints(zLightning* l, xVec3* start, xVec3* end);
void xDebugAddTweak(char* name, U8* property, U8 param_3, U8 param_4,
tweak_callback* callback, void* param_6, U32 param_7);
void xDebugAddTweak(char* name, U8* property, U8 param_3, U8 param_4, tweak_callback* callback,
void* param_6, U32 param_7);
void xDebugAddFlagTweak(char* name, U32* property, U32 param_3, tweak_callback* callback,
void* param_5, U32 param_6);
void xDebugAddSelectTweak(char* name, U32* param_2, char** param_3, U32* param_4,
U32 param_5, tweak_callback* callback, void* param_7, U32 param_8);
void xDebugAddTweak(char* name, S16* property, S16 param_3, S16 param_4,
tweak_callback* callback, void* param_6, U32 param_7);
void xDebugAddSelectTweak(char* name, U32* param_2, char** param_3, U32* param_4, U32 param_5,
tweak_callback* callback, void* param_7, U32 param_8);
void xDebugAddTweak(char* name, S16* property, S16 param_3, S16 param_4, tweak_callback* callback,
void* param_6, U32 param_7);

void zLightningInit();
void zLightningUpdate(F32 seconds);
Expand Down
4 changes: 4 additions & 0 deletions src/SB/Game/zNPCTypeBoss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@

U32 g_hash_bossanim[ANIM_COUNT] = {};

void foo(zNPCBPatrick* pat)
{
}

// clang-format off
char* g_strz_bossanim[ANIM_COUNT] =
{
Expand Down
Loading

0 comments on commit 6a1d06c

Please sign in to comment.