diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-03-31 22:11:01 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-03-31 22:11:01 -0400 |
| commit | 207f6e911f4a5074dc0fb72315d889b57a9c97f6 (patch) | |
| tree | be6f99ede8bd375caf734d7aec18304c9de07d5e /src/d/d_lib.cpp | |
| parent | 85c97022df04e351477f759fef3a9bd49710b5c8 (diff) | |
Add default arguments to anm init functions to simplify calls
Diffstat (limited to 'src/d/d_lib.cpp')
| -rw-r--r-- | src/d/d_lib.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_lib.cpp b/src/d/d_lib.cpp index 8327635a..db2559a4 100644 --- a/src/d/d_lib.cpp +++ b/src/d/d_lib.cpp @@ -115,7 +115,7 @@ void dLib_debugDrawFan(cXyz& center, s16 angleY, s16 fanSpreadAngle, f32 radius, bool dLib_brkInit(J3DModelData* modelData, mDoExt_brkAnm* anm, const char* arcName, int fileno) { J3DAnmTevRegKey* brk = (J3DAnmTevRegKey*)dComIfG_getObjectRes(arcName, fileno); JUT_ASSERT(0xae, brk != NULL); - if (anm->init(modelData, brk, 1, J3DFrameCtrl::EMode_NONE, 1.0f, 0, -1, false, 0) == 0) + if (anm->init(modelData, brk, 1, J3DFrameCtrl::EMode_NONE) == 0) return false; return true; } @@ -124,7 +124,7 @@ bool dLib_brkInit(J3DModelData* modelData, mDoExt_brkAnm* anm, const char* arcNa bool dLib_btkInit(J3DModelData* modelData, mDoExt_btkAnm* anm, const char* arcName, int fileno) { J3DAnmTextureSRTKey* btk = (J3DAnmTextureSRTKey*)dComIfG_getObjectRes(arcName, fileno); JUT_ASSERT(0xbb, btk != NULL); - if (anm->init(modelData, btk, 1, J3DFrameCtrl::EMode_NONE, 1.0f, 0, -1, false, 0) == 0) + if (anm->init(modelData, btk, 1, J3DFrameCtrl::EMode_NONE) == 0) return false; return true; } |
