coastline 0.0.4
Loading...
Searching...
No Matches
displaylistops.h
Go to the documentation of this file.
1#ifndef COASTLINE_DISPLAYLISTOPS_H
2#define COASTLINE_DISPLAYLISTOPS_H
3
4#include "common/track.h"
5#include "common/types.h"
6#if TGR_PLATFORM == TGR_PLATFORM_SDL
8#endif
9
10#if TGR_BOSS_RALLY
11#include "common/gbicommand.h"
12#else
13#include <PR/gbi.h>
14#endif
15
16#if TGR_BOSS_RALLY
19#else
22#endif
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
45
46/* The tables of render modes of ProcessDisplayList(). */
47#define RENDER_MODE_ROWS 6
48#define RENDER_MODE_TRANSLUCENT_ROW 3
49
61
73
85
97
109
110#if !TGR_BOSS_RALLY
122#endif /* !TGR_BOSS_RALLY */
123
124#if TGR_BOSS_RALLY && TGR_PLATFORM != TGR_PLATFORM_SDL
130extern void (*g_pfnRenderBackendUpdateFog)(void);
131#endif
132
144
145#if TGR_BOSS_RALLY
153void ProcessTrackNodeDisplayList(TrackInstance *instance);
154#endif /* TGR_BOSS_RALLY */
155
156#ifdef __cplusplus
157}
158#endif
159
160#endif /* COASTLINE_DISPLAYLISTOPS_H */
DisplayListCommand g_aaDlGhostRenderModes[RENDER_MODE_ROWS][4]
The render modes of the body of a ghost.
Gfx DisplayListCommand
A display-list command in the Nintendo 64 renderer.
Definition displaylistops.h:21
s32 g_bDisplayListSnowTint
Whether ProcessDisplayList() tints the colour combines of the snow.
DisplayListCommand g_aaDlGhostWheelRenderModes[RENDER_MODE_ROWS][4]
The render modes of the wheels of a ghost.
void ProcessAllDisplayLists(void)
Patch the render modes of vehicle display lists and, on N64, track display lists.
#define RENDER_MODE_ROWS
Definition displaylistops.h:47
DisplayListCommand g_aDlClearCombinePatch[1][2]
The colour combine replaced in clear weather and its replacement.
DisplayListCommand g_aDlSnowTintCombines[2]
The colour combines that the snow tints.
DisplayListCommand g_aaDlTrackRenderModes[RENDER_MODE_ROWS][4]
The render modes of the track and of the vehicles.
s32 ProcessDisplayList(DisplayListCommand *displayList, DisplayListCommand table[][4])
Patch the render modes and the colour combines of a display list in place for the weather.
The graphics binary interface types the gu routines fill in for the RSP microcode.
#define g_pfnRenderBackendUpdateFog
Definition renderbackend.h:318
A command of a display list of the game.
Definition gbicommand.h:30
A model placed on the track.
Definition track.h:63
The track data a race loads below the program: its triangles and placed models, and the route the veh...
The integer and floating-point types of the console, for headers shared with Windows.
int s32
Definition ultratypes.h:25
A display list command for the Fast3D microcode.
Definition gbi.h:132