get farther

This commit is contained in:
Jasper St. Pierre
2026-02-28 12:46:05 -08:00
parent 24fc42f5be
commit 99f6a4f912
6 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ u32 J3DShapeDraw::countVertex(u32 stride) {
dl++;
if (cmd != GX_TRIANGLEFAN && cmd != GX_TRIANGLESTRIP)
break;
int vtxNum = *((u16*)(dl));
int vtxNum = be16(*((u16*)(dl)));
dl += 2;
count += vtxNum;
dl = (u8*)dl + stride * vtxNum;
@@ -48,7 +48,7 @@ void J3DShapeDraw::addTexMtxIndexInDL(u32 stride, u32 attrOffs, u32 valueBase) {
*(u16*)newDL = vtxNum;
newDL += 2;
for (int i = 0; i < vtxNum; i++) {
for (int i = 0; i < be16(vtxNum); i++) {
u8* oldDLVtx = &oldDL[stride * i];
u8 pnmtxidx = *oldDLVtx;
memcpy(newDL, oldDLVtx, (int)attrOffs);
+1 -1
View File
@@ -4857,7 +4857,7 @@ int daAlink_c::create() {
dComIfGp_setPlayer(0, this);
dComIfGp_setLinkPlayer(this);
fopAcM_setStageLayer(this);
fopAcM_setStageLayer(&base);
if (sceneMode == 7) {
current.pos = dComIfGs_getTurnRestartPos();
+2 -2
View File
@@ -350,7 +350,7 @@ int daGrass_c::create() {
}
m_myObj = this;
fopAcM_setStageLayer(this);
fopAcM_setStageLayer(&base);
return cPhs_COMPLEATE_e;
}
@@ -406,7 +406,7 @@ actor_process_profile_definition g_profile_GRASS = {
fpcPi_CURRENT_e, // mListPrio
PROC_GRASS, // mProcName
&g_fpcLf_Method.base, // sub_method
0x00000570, // mSize
sizeof(daGrass_c), // mSize
0, // mSizeOther
0, // mParameters
&g_fopAc_Method.base, // sub_method
+1 -1
View File
@@ -1686,7 +1686,7 @@ actor_process_profile_definition g_profile_FSHOP = {
fpcPi_CURRENT_e, // mListPrio
PROC_FSHOP, // mProcName
&g_fpcLf_Method.base, // sub_method
0x00006B80, // mSize
sizeof(fshop_class), // mSize
0, // mSizeOther
0, // mParameters
&g_fopAc_Method.base, // sub_method
+1 -1
View File
@@ -5225,7 +5225,7 @@ actor_process_profile_definition g_profile_NPC_WRESTLER = {
fpcPi_CURRENT_e, // mListPrio
PROC_NPC_WRESTLER, // mProcName
&g_fpcLf_Method.base, // sub_method
0xEA0, // mSize (fix this)
sizeof(daNpcWrestler_c), // mSize (fix this)
0, // mSizeOther
0, // mParameters
&g_fopAc_Method.base, // sub_method
+1 -1
View File
@@ -618,7 +618,7 @@ actor_process_profile_definition g_profile_Obj_VolcanicBall = {
fpcPi_CURRENT_e, // mListPrio
PROC_Obj_VolcanicBall, // mProcName
&g_fpcLf_Method.base, // sub_method
0x00002928, // mSize
sizeof(daObjVolcBall_c), // mSize
0, // mSizeOther
0, // mParameters
&g_fopAc_Method.base, // sub_method