MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / DLParser_SetFogColor

Function DLParser_SetFogColor

Source/HLEGraphics/DLParser.cpp:1256–1265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1254//
1255//*****************************************************************************
1256void DLParser_SetFogColor( MicroCodeCommand command )
1257{
1258 #ifdef DAEDALUS_DEBUG_DISPLAYLIST
1259 DL_PF(" RGBA: %d %d %d %d", command.color.r, command.color.g, command.color.b, command.color.a);
1260#endif
1261 //c32 fog_colour( command.color.r, command.color.g, command.color.b, command.color.a );
1262 c32 fog_colour( command.color.r, command.color.g, command.color.b, 0 ); //alpha is always 0
1263
1264 gRenderer->SetFogColour( fog_colour );
1265}
1266
1267//*****************************************************************************
1268//

Callers

nothing calls this directly

Calls 1

SetFogColourMethod · 0.80

Tested by

no test coverage detected