coastline 0.0.4
Loading...
Searching...
No Matches
shadowbuffers.h File Reference
Include dependency graph for shadowbuffers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SHADOW_COMMANDS   500
 The number of shadow commands per frame buffer on Nintendo 64.
#define SHADOW_VERTICES   1000
 The number of shadow vertices per frame buffer.

Functions

void ResetShadowBuffers (void)
 Start the display lists and vertices of the shadows of the frame.

Variables

DisplayListCommand g_aShadowDisplayLists [2][SHADOW_COMMANDS]
 The shadow display lists of the two frame buffers.
Vtx g_aShadowVertices [2][SHADOW_VERTICES]
 The shadow vertices of the two frame buffers.
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.
Vtx * g_pShadowVertexWritePtr
 The next vertex of the shadows, and their first this frame.
Vtx * g_pShadowVertexStart
 The first shadow vertex of the current frame.

Macro Definition Documentation

◆ SHADOW_COMMANDS

#define SHADOW_COMMANDS   500

The number of shadow commands per frame buffer on Nintendo 64.

◆ SHADOW_VERTICES

#define SHADOW_VERTICES   1000

The number of shadow vertices per frame buffer.

Function Documentation

◆ ResetShadowBuffers()

void ResetShadowBuffers ( void )

Start the display lists and vertices of the shadows of the frame.

Ghidra address:
USA: 0x80233fdc
Ghidra address:
Asia: 0x80233B2C
Ghidra address:
EUR: 0x802354ec
Ghidra address:
JPN: 0x802352ec
Ghidra address:
BRD3D: 0x1000f5c0
Ghidra address:
BRGlide: 0x1000cb20

Variable Documentation

◆ g_aShadowDisplayLists

DisplayListCommand g_aShadowDisplayLists[2][SHADOW_COMMANDS]
extern

The shadow display lists of the two frame buffers.

Ghidra address:
USA: 0x80353580
Ghidra address:
Asia: 0x80353030
Ghidra address:
EUR: 0x80355a80
Ghidra address:
JPN: 0x803546f0
Ghidra address:
BRD3D: 0x103643c0
Ghidra address:
BRGlide: 0x1035fba8

◆ g_aShadowVertices

Vtx g_aShadowVertices[2][SHADOW_VERTICES]
extern

The shadow vertices of the two frame buffers.

Ghidra address:
USA: 0x803554c0
Ghidra address:
Asia: 0x80354F70
Ghidra address:
EUR: 0x803579c0
Ghidra address:
JPN: 0x80356630

◆ g_pShadowDisplayListWritePtr

DisplayListCommand* g_pShadowDisplayListWritePtr
extern

The next command of the shadows, and their first this frame.

Ghidra address:
USA: 0x8028c75c
Ghidra address:
Asia: 0x8028C2AC
Ghidra address:
EUR: 0x8028eebc
Ghidra address:
JPN: 0x8028e90c
Ghidra address:
BRD3D: 0x10363ff0
Ghidra address:
BRGlide: 0x1035f7d8

◆ g_pShadowDisplayListStart

DisplayListCommand* g_pShadowDisplayListStart
extern

The first command of the shadow display list of the current frame.

Ghidra address:
USA: 0x8028c760
Ghidra address:
Asia: 0x8028C2B0
Ghidra address:
EUR: 0x8028eec0
Ghidra address:
JPN: 0x8028e910
Ghidra address:
BRD3D: 0x102e5ec8
Ghidra address:
BRGlide: 0x102e16b0

◆ g_pShadowVertexWritePtr

Vtx* g_pShadowVertexWritePtr
extern

The next vertex of the shadows, and their first this frame.

Ghidra address:
USA: 0x8028c764
Ghidra address:
Asia: 0x8028C2B4
Ghidra address:
EUR: 0x8028eec4
Ghidra address:
JPN: 0x8028e914
Ghidra address:
BRD3D: 0x10364304
Ghidra address:
BRGlide: 0x1035faec

◆ g_pShadowVertexStart

Vtx* g_pShadowVertexStart
extern

The first shadow vertex of the current frame.

Ghidra address:
USA: 0x8028c768
Ghidra address:
Asia: 0x8028C2B8
Ghidra address:
EUR: 0x8028eec8
Ghidra address:
JPN: 0x8028e918
Ghidra address:
BRD3D: 0x103643bc
Ghidra address:
BRGlide: 0x1035fba4