coastline 0.0.4
Loading...
Searching...
No Matches
sky.h File Reference

The sky behind a view. More...

#include <PR/ultratypes.h>
Include dependency graph for sky.h:

Go to the source code of this file.

Functions

s32 IsSkyFogFilled (void)
 Whether the sky is a fill of the fog colour: at night, in snow or rain, on a track without a sky, or with two players.
void RenderSkybox (void)
 Draw the sky of the current view, and set the clipping ratio for the frame.

Variables

s32 g_dwSkyboxDisabled
 Whether the sky is left undrawn.

Detailed Description

The sky behind a view.

Function Documentation

◆ IsSkyFogFilled()

s32 IsSkyFogFilled ( void )

Whether the sky is a fill of the fog colour: at night, in snow or rain, on a track without a sky, or with two players.

Returns
Non-zero when the sky is a fill of the fog colour.
Ghidra address:
USA: 0x8022f900
Ghidra address:
Asia: 0x8022F450
Ghidra address:
EUR: 0x80230e10
Ghidra address:
JPN: 0x80230c10
Ghidra address:
BRD3D: 0x10018070
Ghidra address:
BRGlide: 0x100155f0

◆ RenderSkybox()

void RenderSkybox ( void )

Draw the sky of the current view, and set the clipping ratio for the frame.

Ghidra address:
USA: 0x8022f968
Ghidra address:
Asia: 0x8022F4B8
Ghidra address:
EUR: 0x80230e78
Ghidra address:
JPN: 0x80230c78

Variable Documentation

◆ g_dwSkyboxDisabled

s32 g_dwSkyboxDisabled
extern

Whether the sky is left undrawn.

Ghidra address:
USA: 0x8028aa5c
Ghidra address:
Asia: 0x8028A5AC
Ghidra address:
EUR: 0x8028cc64
Ghidra address:
JPN: 0x8028c734
Ghidra address:
BRD3D: 0x106c6608
Ghidra address:
BRGlide: 0x106ed698