mirror of
https://github.com/n64decomp/mk64
synced 2026-08-19 13:23:37 -04:00
More matches in code_80057C60 (#351)
* Some matchings for code_80057C60 * Remove matched assembly
This commit is contained in:
+26
-16
@@ -465,13 +465,23 @@ typedef struct {
|
||||
/* 0x0C */ u32 someTimer1;
|
||||
/* 0x10 */ u32 timeLastTouchedFinishLine; // Sum of time of all completed laps
|
||||
// Times at which each lap was completed
|
||||
/* 0x14 */ u32 lap1CompletionTime;
|
||||
/* 0x18 */ u32 lap2CompletionTime;
|
||||
/* 0x1C */ u32 lap3CompletionTime;
|
||||
union {
|
||||
struct {
|
||||
/* 0x14 */ u32 lap1CompletionTime;
|
||||
/* 0x18 */ u32 lap2CompletionTime;
|
||||
/* 0x1C */ u32 lap3CompletionTime;
|
||||
};
|
||||
u32 lapCompletionTimes[3];
|
||||
};
|
||||
// Time each lap took to complete
|
||||
/* 0x20 */ u32 lap1Duration;
|
||||
/* 0x24 */ u32 lap2Duration;
|
||||
/* 0x28 */ u32 lap3Duration;
|
||||
union {
|
||||
struct {
|
||||
/* 0x20 */ u32 lap1Duration;
|
||||
/* 0x24 */ u32 lap2Duration;
|
||||
/* 0x28 */ u32 lap3Duration;
|
||||
};
|
||||
u32 lapDurations[3];
|
||||
};
|
||||
// Integer parts of the player's X/Y/X coordinates
|
||||
/* 0x2C */ s32 posXInt;
|
||||
/* 0x30 */ s32 posYInt;
|
||||
@@ -526,16 +536,16 @@ typedef struct {
|
||||
/* 0x77 */ s8 unk_77;
|
||||
// 0x78 to 0x7F appear to be some type of "state" trackers for the lap and timer text during a race start
|
||||
// When a race starts those texts (and their afterimages) slide in and "bounce" a bit. These states control the bouncing (somehow)
|
||||
/* 0x78 */ s8 unk_78;
|
||||
/* 0x79 */ s8 unk_79;
|
||||
/* 0x7A */ s8 unk_7A;
|
||||
/* 0x7B */ s8 unk_7B;
|
||||
/* 0x7C */ s8 unk_7C;
|
||||
/* 0x7D */ s8 unk_7D;
|
||||
/* 0x7E */ s8 unk_7E;
|
||||
/* 0x7F */ s8 unk_7F;
|
||||
/* 0x80 */ s8 unk_80;
|
||||
/* 0x81 */ s8 unk_81;
|
||||
/* 0x78 */ u8 unk_78;
|
||||
/* 0x79 */ u8 unk_79;
|
||||
/* 0x7A */ u8 unk_7A;
|
||||
/* 0x7B */ u8 unk_7B;
|
||||
/* 0x7C */ u8 unk_7C;
|
||||
/* 0x7D */ u8 unk_7D;
|
||||
/* 0x7E */ u8 unk_7E;
|
||||
/* 0x7F */ u8 unk_7F;
|
||||
/* 0x80 */ u8 unk_80;
|
||||
/* 0x81 */ u8 unk_81;
|
||||
/* 0x82 */ s8 unk_82;
|
||||
/* 0x83 */ s8 unk_83;
|
||||
} struct_8018CA70_entry; // size = 0x84
|
||||
|
||||
Reference in New Issue
Block a user