|
Mario Kart 64
|
#include <ultra64.h>#include <macros.h>#include <memory.h>#include <defines.h>#include "code_8006E9C0.h"#include "code_80071F00.h"#include "objects.h"#include "bomb_kart.h"#include "variables.h"#include "common_textures.h"#include <sounds.h>#include <functions.h>#include "audio/external.h"#include "courses/all_course_data.h"#include "main.h"#include "menus.h"Data Structures | |
| struct | UnkStr80165832 |
Functions | |
| void | init_object_list (void) |
| void | func_8006EA5C (void) |
| void | func_8006EB10 (void) |
| void | func_8006ED60 () |
| u8 * | func_8006ED94 (u8 *devAddr, u8 *baseAddress, u32 size, u32 offset) |
| void | func_8006EE44 (void) |
| void | init_item_window (s32 objectIndex) |
| void | func_8006EEE8 (s32 courseId) |
| void | func_8006F824 (s32 arg0) |
| void | func_80070148 (void) |
| void | func_80070190 (void) |
| void | func_80070250 (s32 objectIndex, s32 arg1, StarSpawn *arg2) |
| void | func_80070328 (StarSpawn *arg0) |
| void | func_800703E0 (s32 objectIndex, s32 arg1, StarSpawn *arg2) |
| void | func_800704A0 (StarSpawn *arg0) |
| void | func_8007055C (void) |
| void | func_80070714 (void) |
| void | init_hud_two_player_vertical (void) |
| void | init_hud_two_player_horizontal () |
| void | init_hud_three_four_player (void) |
| void func_8006EA5C | ( | void | ) |
D_8018CA70[0].lapCount = 0; D_8018CA70[0].alsoLapCount = 0; D_8018CA70[0].unk_81 = 0; D_8018CA70[1].lapCount = 0; D_8018CA70[1].alsoLapCount = 0; D_8018CA70[1].unk_81 = 0; D_8018CA70[2].lapCount = 0; D_8018CA70[2].alsoLapCount = 0; D_8018CA70[2].unk_81 = 0; D_8018CA70[3].lapCount = 0; D_8018CA70[3].alsoLapCount = 0; D_8018CA70[3].unk_81 = 0; D_8018CA70[0].raceCompleteBool = 0; D_8018CA70[1].raceCompleteBool = 0; D_8018CA70[2].raceCompleteBool = 0; D_8018CA70[3].raceCompleteBool = 0;
This is close but it puts the raceCompletedBool stuff in the wrong place Which makes sense, but its still annoying for (thing = 0; thing < D_8018CA70_SIZE; thing++) { D_8018CA70[thing].lapCount = 0; D_8018CA70[thing].alsoLapCount = 0; D_8018CA70[thing].unk_81 = 0; D_8018CA70[thing].raceCompleteBool = 0; }
| void func_8006EB10 | ( | void | ) |
| void func_8006ED60 | ( | void | ) |
| void func_8006EE44 | ( | void | ) |
| void func_8006EEE8 | ( | s32 | courseId | ) |
| void func_8006F824 | ( | s32 | arg0 | ) |
| void func_80070148 | ( | void | ) |
| void func_80070190 | ( | void | ) |
| void func_80070328 | ( | StarSpawn * | arg0 | ) |
This function is part of the spawning for the "stars" in some stages
arg2 is a pointer to some type of spawn data for the stars, although it not super clear what types each element is. It seems like its a bunch of u16's, so maybe a Vec4su?
The stars in Wario's Stadium, Toad's Turnpike, and Rainbow Road are not part of the skybox. They are instead objects that seemingly hover in the air around the player They have no true x/y/z position, instead they seem to be kept in a position relative to the player they hang around. There is however an x/y position for where they should be on screen when they are visbile (unk_09E[0] and [1]). sizeScaling is some sort of size scaling on the start texture. unk_0A2 is an alpha value, used to make the star twinkle.
| void func_800704A0 | ( | StarSpawn * | arg0 | ) |
| void func_8007055C | ( | void | ) |
| void func_80070714 | ( | void | ) |
| void init_hud_three_four_player | ( | void | ) |
| void init_hud_two_player_horizontal | ( | void | ) |
| void init_hud_two_player_vertical | ( | void | ) |
| void init_item_window | ( | s32 | objectIndex | ) |
| void init_object_list | ( | void | ) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |