Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Data Structures | Macros | Functions | Variables
intro_geo.c File Reference
#include "ultra64.h"
#include "sm64.h"
#include "types.h"
#include "memory.h"
#include "segment2.h"
#include "segment7.h"
#include "intro_geo.h"

Data Structures

struct  GraphNodeMore
 

Macros

#define INTRO_STEPS_ZOOM_IN   20
 
#define INTRO_STEPS_HOLD_1   75
 
#define INTRO_STEPS_ZOOM_OUT   91
 
#define INTRO_BACKGROUND_SUPER_MARIO   0
 
#define INTRO_BACKGROUND_GAME_OVER   1
 

Functions

Gfxgeo18_title_screen (u32 sp50, struct GraphNode *sp54, UNUSED u32 sp58)
 
Gfxgeo18_fade_transition (u32 sp40, struct GraphNode *sp44, UNUSED u32 sp48)
 
Gfxintro_backdrop_one_image (u32 index, s8 *backgroundTable)
 
Gfxgeo18_intro_backdrop (u32 sp48, struct GraphNode *sp4c, UNUSED u32 sp50)
 
Gfxgeo18_game_over_tile (u32 sp40, struct GraphNode *sp44, UNUSED u32 sp48)
 

Variables

Gfx title_screen_bg_dl_0A000118 []
 
Gfx title_screen_bg_dl_0A000100 []
 
Gfx title_screen_bg_dl_0A000130 []
 
Gfx title_screen_bg_dl_0A000148 []
 
Gfx title_screen_bg_dl_0A000160 []
 
Gfx title_screen_bg_dl_0A000178 []
 
Gfx title_screen_bg_dl_0A000190 []
 
Gfx mario_title_texture_table []
 
Gfx game_over_texture_table []
 
int gGameOverFrameCounter
 
int gGameOverTableIndex
 
s16 gTitleZoomCounter
 
s32 gTitleFadeCounter
 
GfxintroBackgroundDlRows []
 
float introBackgroundOffsetX []
 
float introBackgroundOffsetY []
 
GfxintroBackgroundTextureType [] = { mario_title_texture_table, game_over_texture_table }
 
s8 introBackgroundIndexTable []
 
s8introBackgroundTables [] = { introBackgroundIndexTable }
 
s8 gameOverBackgroundTable []
 
s8 gameOverBackgroundFlipOrder []
 

Macro Definition Documentation

◆ INTRO_BACKGROUND_GAME_OVER

#define INTRO_BACKGROUND_GAME_OVER   1

◆ INTRO_BACKGROUND_SUPER_MARIO

#define INTRO_BACKGROUND_SUPER_MARIO   0

◆ INTRO_STEPS_HOLD_1

#define INTRO_STEPS_HOLD_1   75

◆ INTRO_STEPS_ZOOM_IN

#define INTRO_STEPS_ZOOM_IN   20

◆ INTRO_STEPS_ZOOM_OUT

#define INTRO_STEPS_ZOOM_OUT   91

Function Documentation

◆ geo18_fade_transition()

Gfx* geo18_fade_transition ( u32  sp40,
struct GraphNode sp44,
UNUSED u32  sp48 
)

◆ geo18_game_over_tile()

Gfx* geo18_game_over_tile ( u32  sp40,
struct GraphNode sp44,
UNUSED u32  sp48 
)

◆ geo18_intro_backdrop()

Gfx* geo18_intro_backdrop ( u32  sp48,
struct GraphNode sp4c,
UNUSED u32  sp50 
)

◆ geo18_title_screen()

Gfx* geo18_title_screen ( u32  sp50,
struct GraphNode sp54,
UNUSED u32  sp58 
)

◆ intro_backdrop_one_image()

Gfx* intro_backdrop_one_image ( u32  index,
s8 backgroundTable 
)

Variable Documentation

◆ game_over_texture_table

Gfx game_over_texture_table[]

◆ gameOverBackgroundFlipOrder

s8 gameOverBackgroundFlipOrder[]
Initial value:
= { 0x00, 0x01, 0x02, 0x03, 0x07, 0x0B,
0x0a, 0x09, 0x08, 0x04, 0x05, 0x06 }

◆ gameOverBackgroundTable

s8 gameOverBackgroundTable[]

◆ gGameOverFrameCounter

int gGameOverFrameCounter

◆ gGameOverTableIndex

int gGameOverTableIndex

◆ gTitleFadeCounter

s32 gTitleFadeCounter

◆ gTitleZoomCounter

s16 gTitleZoomCounter

◆ introBackgroundDlRows

Gfx* introBackgroundDlRows[]
Initial value:
Gfx title_screen_bg_dl_0A000148[]
Gfx title_screen_bg_dl_0A000178[]
Gfx title_screen_bg_dl_0A000160[]
Gfx title_screen_bg_dl_0A000130[]

◆ introBackgroundIndexTable

s8 introBackgroundIndexTable[]

◆ introBackgroundOffsetX

float introBackgroundOffsetX[]
Initial value:
= {
0.0, 80.0, 160.0, 240.0, 0.0, 80.0, 160.0, 240.0, 0.0, 80.0, 160.0, 240.0,
}

◆ introBackgroundOffsetY

float introBackgroundOffsetY[]
Initial value:
= {
160.0, 160.0, 160.0, 160.0, 80.0, 80.0, 80.0, 80.0, 0.0, 0.0, 0.0, 0.0,
}

◆ introBackgroundTables

s8* introBackgroundTables[] = { introBackgroundIndexTable }

◆ introBackgroundTextureType

Gfx* introBackgroundTextureType[] = { mario_title_texture_table, game_over_texture_table }

◆ mario_title_texture_table

Gfx mario_title_texture_table[]

◆ title_screen_bg_dl_0A000100

Gfx title_screen_bg_dl_0A000100[]

◆ title_screen_bg_dl_0A000118

Gfx title_screen_bg_dl_0A000118[]

◆ title_screen_bg_dl_0A000130

Gfx title_screen_bg_dl_0A000130[]

◆ title_screen_bg_dl_0A000148

Gfx title_screen_bg_dl_0A000148[]

◆ title_screen_bg_dl_0A000160

Gfx title_screen_bg_dl_0A000160[]

◆ title_screen_bg_dl_0A000178

Gfx title_screen_bg_dl_0A000178[]

◆ title_screen_bg_dl_0A000190

Gfx title_screen_bg_dl_0A000190[]