mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-09-06 11:21:09 -04:00
Document render/update objects (#565)
* Document objects related code. * Including render/update objects code * Various renamings
This commit is contained in:
@@ -682,7 +682,7 @@ void play_sound_congratulation(UNUSED struct CinematicCamera *camera) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Played in ceremony opening with ballons.
|
||||
* Played in ceremony opening with balloons.
|
||||
*/
|
||||
void play_sound_balloon_pop(UNUSED struct CinematicCamera *camera) {
|
||||
play_sound2(SOUND_CEREMONY_BALLOON_POP);
|
||||
|
||||
@@ -63,8 +63,8 @@ void func_80280038(void) {
|
||||
render_set_position(matrix, 0);
|
||||
render_course(D_800DC5EC);
|
||||
render_course_actors(D_800DC5EC);
|
||||
func_80058090(0);
|
||||
func_80058538(0);
|
||||
render_object(PLAYER_ONE+SCREEN_MODE_1P);
|
||||
render_player_snow_effect(PLAYER_ONE+SCREEN_MODE_1P);
|
||||
transition_sliding_borders();
|
||||
func_80281C40();
|
||||
init_rdp();
|
||||
@@ -165,7 +165,7 @@ void load_credits(void) {
|
||||
camera->up[2] = 0.0f;
|
||||
init_cinematic_camera();
|
||||
func_80003040();
|
||||
init_object_list();
|
||||
init_hud();
|
||||
func_80093E60();
|
||||
func_80092688();
|
||||
if (D_800DC5EC) {}
|
||||
|
||||
@@ -157,7 +157,7 @@ void load_ceremony_cutscene(void) {
|
||||
debug_switch_character_ceremony_cutscene();
|
||||
func_802818BC();
|
||||
func_8003D080();
|
||||
init_object_list();
|
||||
init_hud();
|
||||
func_8001C05C();
|
||||
balloons_and_fireworks_init();
|
||||
func_802816B8();
|
||||
|
||||
@@ -6,13 +6,14 @@
|
||||
#include "main.h"
|
||||
#include "math_util.h"
|
||||
#include "skybox_and_splitscreen.h"
|
||||
#include "hud_renderer.h"
|
||||
#include "render_objects.h"
|
||||
#include "code_80057C60.h"
|
||||
#include "code_80091750.h"
|
||||
#include "podium_ceremony_actors.h"
|
||||
#include "ceremony_and_credits.h"
|
||||
#include "podium_ceremony_actors.h"
|
||||
#include "render_player.h"
|
||||
#include "defines.h"
|
||||
|
||||
struct UnkStruct80287560 {
|
||||
s16 unk0;
|
||||
@@ -79,7 +80,7 @@ void func_80281D00(void) {
|
||||
render_players_on_screen_one();
|
||||
gSPDisplayList(gDisplayListHead++, VIRTUAL_TO_PHYSICAL2(&D_80284EE0));
|
||||
update_actors_loop();
|
||||
func_80058090(0);
|
||||
render_object(PLAYER_ONE+SCREEN_MODE_1P);
|
||||
func_80021B0C();
|
||||
gSPDisplayList(gDisplayListHead++, VIRTUAL_TO_PHYSICAL2(&D_80284EE0));
|
||||
func_80093F10();
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "memory.h"
|
||||
#include "common_textures.h"
|
||||
#include "render_player.h"
|
||||
#include "hud_renderer.h"
|
||||
#include "render_objects.h"
|
||||
#include "podium_ceremony_actors.h"
|
||||
#include "camera_junk.h"
|
||||
#include "player_controller.h"
|
||||
@@ -471,7 +471,7 @@ void podium_ceremony_loop(void) {
|
||||
func_8005A070();
|
||||
if (D_802874D8.unk1C != 0) {
|
||||
func_8001C14C();
|
||||
func_800097E0();
|
||||
update_vehicles();
|
||||
}
|
||||
func_80281D00();
|
||||
func_80281540();
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "common_structs.h"
|
||||
|
||||
enum ActorType {
|
||||
enum CeremonyActorType {
|
||||
Initial,
|
||||
Balloon,
|
||||
FireworkCone,
|
||||
|
||||
Reference in New Issue
Block a user