mirror of
https://github.com/CTR-tools/CTR-ModSDK.git
synced 2024-11-30 08:50:33 +00:00
progress
This commit is contained in:
parent
a61a33de9a
commit
0c73cdeb26
@ -4335,7 +4335,7 @@ struct Data data =
|
||||
{0x63, 0x400, 0xF368, 0x99F, -0x2d8, 0xDC, 0xA6, 0x0},
|
||||
},
|
||||
|
||||
.unk_80085d0c_LoadSave =
|
||||
.spinOffset_LoadSave =
|
||||
{0x155, 0xF55, 0, 0},
|
||||
|
||||
.lngIndex_LoadSave =
|
||||
|
@ -89,9 +89,9 @@ void SelectProfile_Init(u_int flags)
|
||||
inst->scale[2] = scale;
|
||||
inst->scale[1] = scale;
|
||||
inst->scale[0] = scale;
|
||||
load->inst->next = 0;
|
||||
load->inst->prev = 0;
|
||||
load->inst->name = sdata->unk_80085d0c_LoadSave[(n % 3) >> 1]; // ??
|
||||
load->rot[0] = 0;
|
||||
load->rot[1] = 0;
|
||||
load->rot[2] = sdata->spinOffset_LoadSave[(n % 3) >> 1]; // ??
|
||||
|
||||
// set rotation (5 direction vectors)
|
||||
*(int *)&inst->matrix.m[0][0] = 0x1000;
|
||||
|
@ -397,7 +397,10 @@ void FUN_800485cc(uint param_1)
|
||||
psVar13 = &DAT_80085c64;
|
||||
|
||||
uVar12 = 0;
|
||||
|
||||
// = 0x8009A9A0
|
||||
piVar10 = (int *)DAT_8008d8f4[1];
|
||||
|
||||
pbVar9 = &DAT_80085c70;
|
||||
piVar11 = piVar10 + 2;
|
||||
do {
|
||||
@ -459,6 +462,7 @@ void FUN_800485cc(uint param_1)
|
||||
*(undefined2 *)(iVar5 + 0x1e) = uVar3;
|
||||
*(undefined2 *)(iVar5 + 0x1c) = uVar3;
|
||||
|
||||
// rot (x,y,z)
|
||||
*(undefined2 *)((int)piVar11 + -2) = 0;
|
||||
*(undefined2 *)(piVar11 + -1) = 0;
|
||||
*(undefined2 *)piVar11 =
|
||||
|
@ -2175,7 +2175,7 @@ struct Data
|
||||
// 80085D0C
|
||||
// used in the same function as
|
||||
// MetaDataSaveLoad, but usage is unknown
|
||||
short unk_80085d0c_LoadSave[4];
|
||||
short spinOffset_LoadSave[4];
|
||||
|
||||
// 80085d14
|
||||
short lngIndex_LoadSave[4];
|
||||
|
Loading…
Reference in New Issue
Block a user