Mario Kart 64
|
#include <ultra64.h>
#include <macros.h>
#include <memory.h>
#include <defines.h>
#include "code_800029B0.h"
#include "code_80005FD0.h"
#include "code_80057C60.h"
#include "code_8006E9C0.h"
#include "code_80086E70.h"
#include "code_80071F00.h"
#include "objects.h"
#include "bomb_kart.h"
#include "save.h"
#include "common_textures.h"
#include <sounds.h>
#include <decode.h>
#include "audio/external.h"
#include "courses/all_course_data.h"
#include "main.h"
#include "menus.h"
#include "data/other_textures.h"
#include "hud_renderer.h"
#include "code_80091750.h"
Functions | |
void | init_object_list (void) |
void | reset_object_variable (void) |
void | func_8006EB10 (void) |
void | clear_object_list () |
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_8006EF60 (void) |
void | func_8006F008 (void) |
void | func_8006F824 (s32 arg0) |
void | func_8006F8CC (void) |
void | func_80070148 (void) |
void | init_object_list_index (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_course_object (void) |
void | init_hud_one_player (void) |
void | init_hud_two_player_vertical (void) |
void | init_hud_two_player_horizontal () |
void | init_hud_three_four_player (void) |
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.