mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Bump score to 51% with 6 new matches (#381)
* Very minor cleanup of init_controllers after consulting JFG * really rough starts to some funcs * some labeling, and match thread0_Main * Some documenting, and better match for a couple of memory funcs * Add more official names for vars and funcs, as well as clean up some matches a little * Force No Shadows on Surfaces Force No Shadows on Surfaces Committer: sixtyfour On branch DKRsixtyfour Changes to be committed: modified: src/unknown_0255E0.h * identify shadows and fix mislabelling from past-me (#380) * Removed outdated comment * split some funcs out of printf that aren't related * Move funcs to particles that should belong there * Some printf documenting * Do some documenting on the debug font details * Get func_800B63F4 in a good place for now * Match func_800B63F4 * Match render_printf and do some more documenting * Move some functions around into different files. * Match func_800AA3EC * Fix some warnings in func_800AA3EC * Rename the thread 0 assert * Migrate BSS from particles to thread0 and printf * Find and split out a function in particles and do more documenting * Rename sprintf and vsprintf stuff to match JFG * Clean up the texAnimateTexture function, and document some more places. * WIP build_tex_display_list and documenting * Missing file check in * Match memset * build_tex_display_list update with macros * MAssive cleanup of build_tex_display_list that brings the score down in a big way. * Removed a massive amount of extra lines in build_tex_display_list * Match texInitTextures * Update README score * Fix comment * Rename some funcs * Commit suggestions from Fazana * Fix for last commit --------- Co-authored-by: Turok64Nukem <Duke64Nukem@gmail.com> Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>
This commit is contained in:
co-authored by
Turok64Nukem
Fazana
parent
c9fa292c3d
commit
b61e4c3fa4
+1
-1
@@ -68,7 +68,7 @@ typedef struct OSScTask_s {
|
||||
s32 unk60;
|
||||
s32 unk64;
|
||||
s32 unk68; /* Added by Rare? */
|
||||
s32 unk6C;
|
||||
s32 unk6C; /* Task ID, used in debug functions in JFG */
|
||||
} OSScTask;
|
||||
|
||||
typedef struct SCClient_s {
|
||||
|
||||
+18
-9
@@ -570,7 +570,8 @@ typedef struct LevelModelSegment {
|
||||
/* 0x32 */ s16 unk32;
|
||||
s16 *unk34;
|
||||
/* 0x38 */ s16 unk38;
|
||||
u8 pad3A[6];
|
||||
u8 pad3A[2];
|
||||
/* 0x3C */ s32 unk3C;
|
||||
/* 0x40 */ u8 numberofOpaqueBatches;
|
||||
u8 pad41[0x3];
|
||||
} LevelModelSegment;
|
||||
@@ -597,17 +598,22 @@ typedef struct LevelModel {
|
||||
/* 0x00 */ TextureInfo *textures;
|
||||
/* 0x04 */ LevelModelSegment *segments;
|
||||
/* 0x08 */ LevelModelSegmentBoundingBox *segmentsBoundingBoxes;
|
||||
/* 0x0C */ s32 unkC;
|
||||
/* 0x0C */ u8 *unkC; //Unused?
|
||||
/* 0x10 */ u8 *segmentsBitfields;
|
||||
/* 0x14 */ BspTreeNode *segmentsBspTree;
|
||||
/* 0x18 */ s16 numberOfTextures;
|
||||
/* 0x1A */ s16 numberOfSegments;
|
||||
/* 0x1C */ s16 unk1C;
|
||||
/* 0x1E */ s16 unk1E;
|
||||
/* 0x20 */ s32 minimapSprite;
|
||||
/* 0x24 */ u16 unk24;
|
||||
/* 0x26 */ u16 unk26;
|
||||
u8 pad28[0x10];
|
||||
/* 0x1C */ s16 unk1C; // Unused?
|
||||
/* 0x1E */ s16 numberOfAnimatedTextures;
|
||||
/* 0x20 */ s32 minimapSpriteIndex;
|
||||
/* 0x24 */ u16 minimapRotation; // angle for icons on minimap?
|
||||
/* 0x26 */ u16 unk26; // Unused? Common values: 0x0009, 0xFFFF, 0x0303
|
||||
/* 0x28 */ f32 minimapXScale;
|
||||
/* 0x2C */ f32 minimapYScale;
|
||||
/* 0x30 */ s16 minimapOffsetXAdv1; // minimap X offset (Adventure 1)
|
||||
/* 0x32 */ s16 minimapOffsetYAdv1; // minimap Y offset (Adventure 1)
|
||||
/* 0x34 */ s16 minimapOffsetXAdv2; // minimap X offset (Adventure 2)
|
||||
/* 0x36 */ s16 minimapOffsetYAdv2; // minimap Y offset (Adventure 2)
|
||||
/* 0x38 */ u32 minimapColor;
|
||||
/* 0x3C */ s16 lowerXBounds;
|
||||
/* 0x3E */ s16 upperXBounds;
|
||||
@@ -654,7 +660,10 @@ typedef struct ObjectHeader {
|
||||
/* 0x32 */ s16 unk36;
|
||||
u8 pad38[5];
|
||||
/* 0x3D */ u8 unk3D;
|
||||
u8 pad3E[12];
|
||||
u8 pad3E[4];
|
||||
/* 0x42 */ s16 unk42;
|
||||
/* 0x44 */ s16 unk44;
|
||||
u8 pad46[4];
|
||||
/* 0x4A */ s16 unk4A;
|
||||
/* 0x4C */ s16 unk4C;
|
||||
/* 0x4E */ s16 drawDistance;
|
||||
|
||||
Reference in New Issue
Block a user