coastline 0.0.4
Loading...
Searching...
No Matches
shadowbuffers.h
Go to the documentation of this file.
1#ifndef COASTLINE_SHADOWBUFFERS_H
2#define COASTLINE_SHADOWBUFFERS_H
3
5
6#if TGR_BOSS_RALLY
8#endif
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#if TGR_BOSS_RALLY
16#define SHADOW_COMMANDS 10000
17#else
19#define SHADOW_COMMANDS 500
20#endif
22#define SHADOW_VERTICES 1000
23
35
36#if TGR_BOSS_RALLY
44
46#define TRACK_QUAD_VERTICES 8000
47
54extern ConvertedModelVertex g_aTrackQuadVertices[2][TRACK_QUAD_VERTICES];
55
62extern ConvertedModelVertex *g_pTrackQuadVertexStart;
63
70extern ConvertedModelVertex *g_pTrackQuadVertexWritePtr;
71#else
81#endif /* TGR_BOSS_RALLY */
82
94
106
118
129#if TGR_BOSS_RALLY
131#else
133#endif
134
145#if TGR_BOSS_RALLY
147#else
149#endif
150
151#ifdef __cplusplus
152}
153#endif
154
155#endif /* COASTLINE_SHADOWBUFFERS_H */
Gfx DisplayListCommand
A display-list command in the Nintendo 64 renderer.
Definition displaylistops.h:21
DisplayListCommand g_aShadowDisplayLists[2][SHADOW_COMMANDS]
The shadow display lists of the two frame buffers.
#define SHADOW_COMMANDS
The number of shadow commands per frame buffer on Nintendo 64.
Definition shadowbuffers.h:19
DisplayListCommand * g_pShadowDisplayListWritePtr
The next command of the shadows, and their first this frame.
DisplayListCommand * g_pShadowDisplayListStart
The first command of the shadow display list of the current frame.
void ResetShadowBuffers(void)
Start the display lists and vertices of the shadows of the frame.
Vtx * g_pShadowVertexStart
The first shadow vertex of the current frame.
Vtx * g_pShadowVertexWritePtr
The next vertex of the shadows, and their first this frame.
#define SHADOW_VERTICES
The number of shadow vertices per frame buffer.
Definition shadowbuffers.h:22
Vtx g_aShadowVertices[2][SHADOW_VERTICES]
The shadow vertices of the two frame buffers.
A model vertex converted into the renderer's working format.
Definition convertedvertex.h:7
A vertex for the RSP, with a colour or with a normal.
Definition gbi.h:75