Minor misc labelling (#246)

* 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
This commit is contained in:
Fazana
2022-09-29 11:06:38 -04:00
committed by GitHub
parent e386db5483
commit f396463e95
15 changed files with 143 additions and 125 deletions
+7 -7
View File
@@ -2,7 +2,7 @@
#define _TYPES_H_
#ifndef NULL
#define NULL (void *)0
#define NULL 0
#endif
#define TRUE 1
@@ -10,12 +10,12 @@
typedef signed char s8;
typedef unsigned char u8;
typedef signed short int s16;
typedef unsigned short int u16;
typedef signed int s32;
typedef unsigned int u32;
typedef signed long long int s64;
typedef unsigned long long int u64;
typedef signed short s16;
typedef unsigned short u16;
typedef long s32;
typedef unsigned long u32;
typedef signed long long s64;
typedef unsigned long long u64;
typedef volatile u8 vu8;
typedef volatile u16 vu16;
+7 -2
View File
@@ -11,6 +11,11 @@
#define OS_SC_AUDIO_MSG 5
#define OS_SC_MAX_MESGS 8
#define OS_SC_ID_NONE 0
#define OS_SC_ID_AUDIO 1
#define OS_SC_ID_VIDEO 2
#define OS_SC_ID_PRENMI 3
/*
* OSScTask state
*/
@@ -65,7 +70,7 @@ typedef struct OSScTask_s {
} OSScTask;
typedef struct SCClient_s {
u8 unk0; /* Added by Rare? */
u8 id; /* Client ID, added by Rareware to single out individual scheduler clients*/
struct SCClient_s *next; /* next client in the list */
OSMesgQueue *msgQ; /* where to send the frame msg */
} OSScClient;
@@ -102,7 +107,7 @@ extern OSViMode osViModeTable[];
void __scYield(OSSched *sc);
void __scExec(OSSched *sc, OSScTask *sp, OSScTask *dp);
void osCreateScheduler(OSSched *sc, void *stack, OSPri priority, u8 mode, u8 numFields);
void osScAddClient(OSSched *sc, OSScClient *c, OSMesgQueue *msgQ, u8 arg3);
void osScAddClient(OSSched *sc, OSScClient *c, OSMesgQueue *msgQ, u8 id);
void osScRemoveClient(OSSched *sc, OSScClient *c);
OSMesgQueue *osScGetCmdQ(OSSched *sc);
OSMesgQueue *osScGetInterruptQ(OSSched *sc);