coastline 0.0.4
Loading...
Searching...
No Matches
vehicleview.h File Reference
#include <PR/ultratypes.h>
Include dependency graph for vehicleview.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SdlVehicleReflections
 Sky images and reflection descriptors for one SDL texture collection. More...

Functions

SdlVehicleReflections * GetSdlVehicleReflections (void)

Variables

u8 * g_apVehicleReflectionTextures [4]
 The 32 by 128 textures of the reflection of the sky, of 4-bit colour indices, and their palettes.
u16 * g_apVehicleReflectionTluts [4]
 The palettes of the four vehicle reflection textures.
u8 g_abVehicleReflectionTexSelect [4][2]
 The reflection of each view mode, in the open and in a tunnel.
s32 g_dwVehicleViewModeIndex
 Set to 0 by the track menu.

Function Documentation

◆ GetSdlVehicleReflections()

SdlVehicleReflections * GetSdlVehicleReflections ( void )
Returns
Reflection storage for the active SDL texture collection.

Variable Documentation

◆ g_apVehicleReflectionTextures

u8* g_apVehicleReflectionTextures[4]
extern

The 32 by 128 textures of the reflection of the sky, of 4-bit colour indices, and their palettes.

Ghidra address:
USA: 0x8028c308
Ghidra address:
Asia: 0x8028BE58
Ghidra address:
EUR: 0x8028ea68
Ghidra address:
JPN: 0x8028e4b8
Ghidra address:
BRD3D: 0x100a6498

◆ g_apVehicleReflectionTluts

u16* g_apVehicleReflectionTluts[4]
extern

The palettes of the four vehicle reflection textures.

Ghidra address:
USA: 0x8028c318
Ghidra address:
Asia: 0x8028BE68
Ghidra address:
EUR: 0x8028ea78
Ghidra address:
JPN: 0x8028e4c8

◆ g_abVehicleReflectionTexSelect

u8 g_abVehicleReflectionTexSelect[4][2]
extern

The reflection of each view mode, in the open and in a tunnel.

Ghidra address:
USA: 0x8028c32c
Ghidra address:
Asia: 0x8028BE7C
Ghidra address:
EUR: 0x8028ea8c
Ghidra address:
JPN: 0x8028e4dc
Ghidra address:
BRD3D: 0x100a64b8
Ghidra address:
BRGlide: 0x100a5c78

◆ g_dwVehicleViewModeIndex

s32 g_dwVehicleViewModeIndex
extern

Set to 0 by the track menu.

Ghidra address:
USA: 0x8028c328
Ghidra address:
Asia: 0x8028BE78
Ghidra address:
EUR: 0x8028ea88
Ghidra address:
JPN: 0x8028e4d8
Ghidra address:
BRD3D: 0x10277ea0
Ghidra address:
BRGlide: 0x10273688