1#ifndef COASTLINE_VEHICLE_VIEW_H
2#define COASTLINE_VEHICLE_VIEW_H
20typedef union VehicleReflectionTexture {
23} VehicleReflectionTexture;
24#if TGR_PLATFORM != TGR_PLATFORM_SDL
53#if TGR_PLATFORM != TGR_PLATFORM_SDL
72#if TGR_PLATFORM == TGR_PLATFORM_SDL
85#define g_abDaySkyTexture (GetSdlVehicleReflections()->daySky)
86#define g_abNightSkyTexture (GetSdlVehicleReflections()->nightSky)
87#define g_apVehicleReflectionTextures (GetSdlVehicleReflections()->textures)
88#define g_abVehicleReflectionTexSelect (GetSdlVehicleReflections()->selection)
Sky images and reflection descriptors for one SDL texture collection.
Definition vehicleview.h:74
u8 daySky[2048]
Definition vehicleview.h:75
VehicleReflectionTexture textures[4]
Definition vehicleview.h:77
s8 selection[3][2]
Definition vehicleview.h:78
u8 nightSky[2048]
Definition vehicleview.h:76
Integer and floating-point types of libultra.
signed char s8
Definition ultratypes.h:23
unsigned short u16
Definition ultratypes.h:19
int s32
Definition ultratypes.h:25
unsigned char u8
Definition ultratypes.h:18
u8 * g_apVehicleReflectionTextures[4]
The 32 by 128 textures of the reflection of the sky, of 4-bit colour indices, and their palettes.
s32 g_dwVehicleViewModeIndex
Set to 0 by the track menu.
u8 g_abVehicleReflectionTexSelect[4][2]
The reflection of each view mode, in the open and in a tunnel.
SdlVehicleReflections * GetSdlVehicleReflections(void)
u16 * g_apVehicleReflectionTluts[4]
The palettes of the four vehicle reflection textures.