Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Data Structures | Functions | Variables
skybox.c File Reference
#include <ultra64.h>
#include "sm64.h"
#include "engine/math_util.h"
#include "memory.h"
#include "area.h"
#include "save_file.h"
#include "segment2.h"
#include "level_update.h"
#include "geo_misc.h"

Data Structures

struct  Struct8035FF50
 
struct  Struct8032FFC8
 
struct  SkyboxList
 

Functions

int func_802CEAD0 (s8 a, f32 b)
 double literals are used instead of floats More...
 
int func_802CEBBC (s8 a, UNUSED f32 b)
 
int func_802CEC9C (s8 a)
 
Vtxmake_skybox_rect (s32 a, s8 b)
 
void func_802CEF4C (Gfx **dlist, s8 b, s8 c, s8 d)
 
voidfunc_802CF188 (s8 a)
 
Gfxfunc_802CF2A8 (s8 a, s8 b, s8 c)
 
Gfxfunc_802CF414 (s8 a, s8 b, f32 c, f32 d, f32 e, f32 f, f32 g, f32 h, f32 i)
 

Variables

struct SkyboxList water_skybox_ptrlist_0A020000
 
struct SkyboxList bitfs_skybox_ptrlist_0A018800
 
struct SkyboxList wdw_skybox_ptrlist_0A020000
 
struct SkyboxList cloud_floor_skybox_ptrlist_0A020000
 
struct SkyboxList ccm_skybox_ptrlist_0A020000
 
struct SkyboxList ssl_skybox_ptrlist_0A020000
 
struct SkyboxList bbh_skybox_ptrlist_0A014800
 
struct SkyboxList bidw_skybox_ptrlist_0A020000
 
struct SkyboxList clouds_skybox_ptrlist_0A014800
 
struct SkyboxList bits_skybox_ptrlist_0A020000
 
struct Struct8035FF50 D_8035FF50 [2]
 
struct SkyboxListgSkyboxLists [10]
 
u8 gSkyboxColors [][3]
 

Function Documentation

◆ func_802CEAD0()

int func_802CEAD0 ( s8  a,
f32  b 
)

double literals are used instead of floats

◆ func_802CEBBC()

int func_802CEBBC ( s8  a,
UNUSED f32  b 
)

◆ func_802CEC9C()

int func_802CEC9C ( s8  a)

◆ func_802CEF4C()

void func_802CEF4C ( Gfx **  dlist,
s8  b,
s8  c,
s8  d 
)

◆ func_802CF188()

void* func_802CF188 ( s8  a)

◆ func_802CF2A8()

Gfx* func_802CF2A8 ( s8  a,
s8  b,
s8  c 
)

◆ func_802CF414()

Gfx* func_802CF414 ( s8  a,
s8  b,
f32  c,
f32  d,
f32  e,
f32  f,
f32  g,
f32  h,
f32  i 
)

◆ make_skybox_rect()

Vtx* make_skybox_rect ( s32  a,
s8  b 
)

Variable Documentation

◆ bbh_skybox_ptrlist_0A014800

struct SkyboxList bbh_skybox_ptrlist_0A014800

◆ bidw_skybox_ptrlist_0A020000

struct SkyboxList bidw_skybox_ptrlist_0A020000

◆ bitfs_skybox_ptrlist_0A018800

struct SkyboxList bitfs_skybox_ptrlist_0A018800

◆ bits_skybox_ptrlist_0A020000

struct SkyboxList bits_skybox_ptrlist_0A020000

◆ ccm_skybox_ptrlist_0A020000

struct SkyboxList ccm_skybox_ptrlist_0A020000

◆ cloud_floor_skybox_ptrlist_0A020000

struct SkyboxList cloud_floor_skybox_ptrlist_0A020000

◆ clouds_skybox_ptrlist_0A014800

struct SkyboxList clouds_skybox_ptrlist_0A014800

◆ D_8035FF50

struct Struct8035FF50 D_8035FF50[2]

◆ gSkyboxColors

u8 gSkyboxColors[][3]
Initial value:
= {
{ 0x50, 0x64, 0x5A },
{ 0xFF, 0xFF, 0xFF },
}

◆ gSkyboxLists

struct SkyboxList* gSkyboxLists[10]
Initial value:
= {
}
struct SkyboxList wdw_skybox_ptrlist_0A020000
struct SkyboxList clouds_skybox_ptrlist_0A014800
struct SkyboxList bidw_skybox_ptrlist_0A020000
struct SkyboxList ccm_skybox_ptrlist_0A020000
struct SkyboxList bits_skybox_ptrlist_0A020000
struct SkyboxList bbh_skybox_ptrlist_0A014800
struct SkyboxList ssl_skybox_ptrlist_0A020000
struct SkyboxList water_skybox_ptrlist_0A020000
struct SkyboxList bitfs_skybox_ptrlist_0A018800
struct SkyboxList cloud_floor_skybox_ptrlist_0A020000

◆ ssl_skybox_ptrlist_0A020000

struct SkyboxList ssl_skybox_ptrlist_0A020000

◆ water_skybox_ptrlist_0A020000

struct SkyboxList water_skybox_ptrlist_0A020000

◆ wdw_skybox_ptrlist_0A020000

struct SkyboxList wdw_skybox_ptrlist_0A020000