MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getShadow

Function getShadow

src/OpenLoco/src/Graphics/Colour.cpp:258–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256 }
257
258 ExtColour getShadow(Colour colour)
259 {
260 return _shadowColourMap[enumValue(colour)];
261 }
262 ExtColour getGlass(Colour colour)
263 {
264 return static_cast<ExtColour>(enumValue(colour) + enumValue(ExtColour::unk74));

Callers 4

paintBuildingFunction · 0.85
paintIndustryFunction · 0.85
paintAirportFunction · 0.85
paintDocksFunction · 0.85

Calls 1

enumValueFunction · 0.85

Tested by

no test coverage detected