mirror of
https://gitlab.com/dk64_decomp/dk64.git
synced 2024-11-23 07:01:58 +00:00
39.3694%
This commit is contained in:
parent
452f7a11c8
commit
5f4f7cc88b
@ -1026,7 +1026,7 @@ typedef struct player_additional_actor_data {
|
||||
u8 unk23F; // Used
|
||||
u8 unk240; // Used
|
||||
u8 unk241;
|
||||
u16 unk242; // Used
|
||||
u16 unk242; // Used, map?
|
||||
s8 unk244;
|
||||
u8 unk245; // Used
|
||||
s8 unk246; // Used func_global_asm_806CA26C
|
||||
|
@ -64,7 +64,7 @@ us,.race,func_race_8002DC24,204,yes
|
||||
us,.race,initializeCastleCarRace,424,yes
|
||||
us,.race,func_race_8002E484,448,yes
|
||||
us,.race,func_race_8002F420,112,yes
|
||||
us,.race,func_race_8002AE9C,740,no
|
||||
us,.race,func_race_8002AE9C,740,yes
|
||||
us,.race,func_race_800294A8,740,yes
|
||||
us,.race,func_race_80027710,368,no
|
||||
us,.race,func_race_80028440,1680,no
|
||||
|
|
@ -3519,7 +3519,7 @@ us,.race,func_race_8002DC24,204,yes
|
||||
us,.race,initializeCastleCarRace,424,yes
|
||||
us,.race,func_race_8002E484,448,yes
|
||||
us,.race,func_race_8002F420,112,yes
|
||||
us,.race,func_race_8002AE9C,740,no
|
||||
us,.race,func_race_8002AE9C,740,yes
|
||||
us,.race,func_race_800294A8,740,yes
|
||||
us,.race,func_race_80027710,368,no
|
||||
us,.race,func_race_80028440,1680,no
|
||||
|
|
@ -9,7 +9,7 @@
|
||||
</mask>
|
||||
<g mask="url(#anybadge_1)">
|
||||
<path fill="#555" d="M0 0h37v20H0z"/>
|
||||
<path fill="#c08800" d="M37 0h67v20H37z"/>
|
||||
<path fill="#c08e00" d="M37 0h67v20H37z"/>
|
||||
<path fill="url(#b)" d="M0 0h104v20H0z"/>
|
||||
</g>
|
||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
||||
@ -17,7 +17,7 @@
|
||||
<text x="18.5" y="14">race</text>
|
||||
</g>
|
||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
||||
<text x="71.5" y="15" fill="#010101" fill-opacity=".3">35.5162%</text>
|
||||
<text x="70.5" y="14">35.5162%</text>
|
||||
<text x="71.5" y="15" fill="#010101" fill-opacity=".3">37.0615%</text>
|
||||
<text x="70.5" y="14">37.0615%</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
@ -17,7 +17,7 @@
|
||||
<text x="66.0" y="14">Donkey Kong 64 (US)</text>
|
||||
</g>
|
||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
||||
<text x="166.5" y="15" fill="#010101" fill-opacity=".3">39.3245%</text>
|
||||
<text x="165.5" y="14">39.3245%</text>
|
||||
<text x="166.5" y="15" fill="#010101" fill-opacity=".3">39.3694%</text>
|
||||
<text x="165.5" y="14">39.3694%</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@ -247,7 +247,7 @@ void func_jetpac_80024A4C(void) {
|
||||
extern s32 D_jetpac_8002BA6C;
|
||||
|
||||
void func_jetpac_80024A8C(Gfx **arg0) {
|
||||
enum map_e var_a0;
|
||||
enum map_e nextMap;
|
||||
|
||||
func_jetpac_80024408(arg0);
|
||||
func_jetpac_8002AE94(0xFF, 0xFF, 0xFF, 0xFF);
|
||||
@ -259,11 +259,11 @@ void func_jetpac_80024A8C(Gfx **arg0) {
|
||||
default:
|
||||
case 0:
|
||||
if (D_jetpac_8002EC30.unk798 != 0) {
|
||||
var_a0 = MAP_CRANKYS_LAB;
|
||||
nextMap = MAP_CRANKYS_LAB;
|
||||
} else {
|
||||
var_a0 = MAP_MAIN_MENU;
|
||||
nextMap = MAP_MAIN_MENU;
|
||||
}
|
||||
func_global_asm_805FF378(var_a0, 0);
|
||||
func_global_asm_805FF378(nextMap, 0);
|
||||
break;
|
||||
case 1:
|
||||
D_jetpac_8002EC30.unk78C = 2;
|
||||
|
@ -439,8 +439,85 @@ void func_race_8002AE6C(s32 arg0, Actor *arg1) {
|
||||
func_global_asm_8068E474(func_race_8002CAC8(arg0, arg1, arg1->PaaD), arg1);
|
||||
}
|
||||
|
||||
// Jumptable
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/race/code_52B0/func_race_8002AE9C.s")
|
||||
s32 func_race_80026CA8();
|
||||
s32 func_race_80026D2C(f32);
|
||||
|
||||
typedef struct {
|
||||
s32 unk0;
|
||||
f32 unk4; // Used
|
||||
f32 unk8; // Used
|
||||
u8 unkC[0x28 - 0xC];
|
||||
u8 unk28; // Player index
|
||||
u8 unk29[0x34 - 0x29];
|
||||
u8 unk34; // Used
|
||||
u8 unk35; // Used
|
||||
u8 unk36[0x44 - 0x36];
|
||||
s8 unk44; // Used
|
||||
} AAD_8002AE9C;
|
||||
|
||||
void func_race_8002AE9C(void) {
|
||||
s32 i;
|
||||
s32 var_v0;
|
||||
AAD_8002AE9C *aaD;
|
||||
u8 sp43;
|
||||
u8 playerIndex;
|
||||
s32 sp34;
|
||||
|
||||
aaD = current_actor_pointer->additional_actor_data;
|
||||
playerIndex = aaD->unk28;
|
||||
sp43 = 0xB4;
|
||||
if (!(current_actor_pointer->object_properties_bitfield & 0x10)) {
|
||||
setAction(0x4D, current_actor_pointer, playerIndex);
|
||||
current_actor_pointer->noclip_byte = 0x3C;
|
||||
current_actor_pointer->object_properties_bitfield &= 0xFFFDFFFF;
|
||||
for (i = 0; i != 3; i++) {
|
||||
current_actor_pointer->animation_state->scale[i] *= 0.3;
|
||||
}
|
||||
aaD->unk44 = 5;
|
||||
func_global_asm_8066E5F8(current_actor_pointer, 2, 8);
|
||||
func_race_80026CA8();
|
||||
}
|
||||
switch (aaD->unk34) {
|
||||
case 1:
|
||||
if (aaD->unk35 == 0) {
|
||||
aaD->unk35++;
|
||||
func_global_asm_806F8BC4(0xB, 1, 0);
|
||||
}
|
||||
// fallthrough
|
||||
case 0:
|
||||
case 2:
|
||||
case 3:
|
||||
case 4:
|
||||
func_race_80026D2C(current_actor_pointer->unkB8 * 0.03076923f);
|
||||
func_race_8002A7F8(aaD);
|
||||
break;
|
||||
case 5:
|
||||
if (aaD->unk35 == 0) {
|
||||
aaD->unk35++;
|
||||
func_global_asm_806F8D58(0xB, 0);
|
||||
current_actor_pointer->object_properties_bitfield &= ~4;
|
||||
current_actor_pointer->unkB8 = 0;
|
||||
for (i = 0; i != 2; i++) {
|
||||
if (current_actor_pointer->unk6E[i] != -1) {
|
||||
func_global_asm_80605314(current_actor_pointer, i);
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
if ((aaD->unk4 <= 0.0f) || (aaD->unk8 > 0.0f)) {
|
||||
sp43 = 0xF0;
|
||||
}
|
||||
if (current_actor_pointer->object_properties_bitfield & 4) {
|
||||
func_global_asm_8068ECF4(1, sp43);
|
||||
func_global_asm_8068ECF4(2, sp43);
|
||||
}
|
||||
if ((aaD->unk34 > 0) && (aaD->unk34 < 5)) {
|
||||
func_global_asm_806F4D70(aaD->unk28, current_actor_pointer->x_position, current_actor_pointer->y_position, current_actor_pointer->z_position, (current_actor_pointer->animation_state->scale[1] / 0.15) * 40.0);
|
||||
addActorToTextOverlayRenderArray(func_race_8002AE6C, current_actor_pointer, 3);
|
||||
}
|
||||
renderActor(current_actor_pointer, 0);
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/race/code_52B0/func_race_8002B180.s")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user