Nugget
Bare-metal libraries and examples for the original PlayStation
Loading...
Searching...
No Matches
Macros | Variables
gwu-lighting.c File Reference
#include "gwu.h"
Include dependency graph for gwu-lighting.c:

Macros

#define GTE_LATENCY_LIGHTING_HELPERS_DEFINED
 
#define OP_NCCT_SF1_LM1   COP2_NCCT(1, 1)
 
#define OP_NCCS_SF1_LM1   COP2_NCCS(1, 1)
 
#define OP_NCDT_SF1_LM1   COP2_NCDT(1, 1)
 
#define OP_NCDS_SF1_LM1   COP2_NCDS(1, 1)
 
#define OP_NCT_SF1_LM1   COP2_NCT(1, 1)
 
#define OP_NCS_SF1_LM1   COP2_NCS(1, 1)
 
#define CANARY_VXY   0x40004000u
 
#define CANARY_VZ   0x00000100u
 
#define CANARY_RGBC   0x00404040u
 
#define CANARY_LMAT   0x00000800u
 
#define CANARY_BK   0x00010000u
 
#define CANARY_FC   0x00010000u
 
#define NCDT_HELPERS_DEFINED
 
#define CELLS(X)
 

Variables

const GwuCell gwu_cells_lighting [] = {CELLS(GWU_ENTRY)}
 
const int gwu_count_lighting = sizeof(gwu_cells_lighting) / sizeof(gwu_cells_lighting[0])
 

Macro Definition Documentation

◆ CANARY_BK

#define CANARY_BK   0x00010000u

◆ CANARY_FC

#define CANARY_FC   0x00010000u

◆ CANARY_LMAT

#define CANARY_LMAT   0x00000800u

◆ CANARY_RGBC

#define CANARY_RGBC   0x00404040u

◆ CANARY_VXY

#define CANARY_VXY   0x40004000u

◆ CANARY_VZ

#define CANARY_VZ   0x00000100u

◆ CELLS

#define CELLS (   X)

◆ GTE_LATENCY_LIGHTING_HELPERS_DEFINED

#define GTE_LATENCY_LIGHTING_HELPERS_DEFINED

◆ NCDT_HELPERS_DEFINED

#define NCDT_HELPERS_DEFINED

◆ OP_NCCS_SF1_LM1

#define OP_NCCS_SF1_LM1   COP2_NCCS(1, 1)

◆ OP_NCCT_SF1_LM1

#define OP_NCCT_SF1_LM1   COP2_NCCT(1, 1)

◆ OP_NCDS_SF1_LM1

#define OP_NCDS_SF1_LM1   COP2_NCDS(1, 1)

◆ OP_NCDT_SF1_LM1

#define OP_NCDT_SF1_LM1   COP2_NCDT(1, 1)

◆ OP_NCS_SF1_LM1

#define OP_NCS_SF1_LM1   COP2_NCS(1, 1)

◆ OP_NCT_SF1_LM1

#define OP_NCT_SF1_LM1   COP2_NCT(1, 1)

Variable Documentation

◆ gwu_cells_lighting

const GwuCell gwu_cells_lighting[] = {CELLS(GWU_ENTRY)}

◆ gwu_count_lighting

const int gwu_count_lighting = sizeof(gwu_cells_lighting) / sizeof(gwu_cells_lighting[0])