mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Match a batch (#252)
* Squashed commit of the following:
commit 3ab4716110
Author: Fazana <52551480+FazanaJ@users.noreply.github.com>
Date: Mon May 23 23:11:46 2022 +0100
Mostly misc labelling, but also weather too (#232)
* bit more labelling
* identify some weather stuff
* Update sound_ids.h
* yum
* more random identification
* last weather stuff for now
* Update README.md
* Update README.md
* Fix non equivalent
* I found the 60fps button
* match func_80052B64
* match racer_attack_handler
* match func_80048C7C
* buncha function declaring
* e
* tweak
* match func_8004DE38
oh man oh man
* Small bit of labelling
* Merge remote-tracking branch 'upstream/master' into the-many-against-the-few
* Update README.md
* Fix monumentally poor bout of misinformation in the readme
we wouldn't want to mislead the readers, would we?
* github please
* Update README.md
* requested changes
kinda funny because I knew this struct existed, and knew it was used for this, but never made the connection lol
* Update objects.c
* match racer_enter_door
A nice easy one after the pure hellscape of the last few days :)
* names
* renames
* match func_8005250C
* heehee
* Update racer.c
* identify some misc asset calls
* identify some surface types
* match func_8005492C
* Delete func_8005492C.s
* match func_80052D7C
* move some enums
* label all existing misc asset calls
granted I know what almost none of them are lmao, buut will make things slightly easier in the long run
* Update README.md
* requested changes
pain
* Update README.md
* just a bit of labelling
* labbel
* more
* Update structs.h
* file select
* file struct
* Update menu.c
* multiplayer box
* texture naming
* realised why there's 3 indices lol
* rounding
* Update menu.c
* identify textures
* pain
* fix non equiv
* Update src/menu.c
Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
* Update src/unknown_078050.c
Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
* Update src/menu.c
Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
* more texture identification
* character select bytes
actually hate this so much
* Update menu.c
* I aged about 50 years doing this
* character select data
* fix conflicts
* match func_8007A98C
* fix video.c warnings
* rename func
* more video.c labels
* Update video.c
* blacklist windows script files
Mostly a me thing, so I can have some scripts in the root directory without them getting in the way. Since the repo operates exclusively on Linux, this shouldn't have any consequense
* fix build warnings in unknown_078050.c
* More.
* Update sched.c
* object name enum
* match gParticlePtrList_flush
* Update objects.c
* match func_8000E2B4
* Update .gitignore
* object ID enum
* match func_8000B290
* main game loop (and friends)
* Update racer.c
* match render_textured_rectangle
* match various funcs
* fix non equiv
* requested changes
Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
This commit is contained in:
@@ -20,9 +20,8 @@
|
||||
|
||||
/************ .data ************/
|
||||
|
||||
// Unsure about if this is an array or struct.
|
||||
s32 D_800DE730[] = { 0, 0 };
|
||||
s32 D_800DE738[] = { 0, 8 };
|
||||
s32 gBootBlackoutMesg[] = { OSMESG_SWAP_BUFFER, MESG_SKIP_BUFFER_SWAP };
|
||||
|
||||
f32 D_800DE740 = 0;
|
||||
f32 D_800DE744 = 0;
|
||||
@@ -147,8 +146,7 @@ OSMesgQueue *osScGetInterruptQ(OSSched *sc) {
|
||||
return &sc->interruptQ;
|
||||
}
|
||||
|
||||
// Unused.
|
||||
void func_80079584(f32 *arg0, f32 *arg1, f32 *arg2) {
|
||||
UNUSED void func_80079584(f32 *arg0, f32 *arg1, f32 *arg2) {
|
||||
*arg0 = D_800DE740;
|
||||
*arg1 = D_800DE748;
|
||||
*arg2 = D_800DE74C;
|
||||
@@ -255,7 +253,7 @@ void __scHandleRetrace(OSSched *sc) {
|
||||
|
||||
if ((gCurRDPTaskCounter > 10) && (sc->curRDPTask)) {
|
||||
if (sc->curRDPTask->unk68 == 0) {
|
||||
osSendMesg(sc->curRDPTask->msgQ, &D_800DE738, OS_MESG_BLOCK);
|
||||
osSendMesg(sc->curRDPTask->msgQ, &gBootBlackoutMesg, OS_MESG_BLOCK);
|
||||
}
|
||||
|
||||
set_curRDPTask_NULL = TRUE;
|
||||
@@ -380,7 +378,7 @@ void __scHandleRDP(OSSched *sc) {
|
||||
t = sc->curRDPTask;
|
||||
sc->curRDPTask = 0;
|
||||
|
||||
t->state &= -2;
|
||||
t->state &= ~OS_SC_NEEDS_RDP;
|
||||
|
||||
__scTaskComplete(sc, t);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user