MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / InterpCol

Function InterpCol

src/SB/Core/x/xScrFx.cpp:95–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95static U8 InterpCol(F32 t, U8 s, U8 d)
96{
97 U8 uval;
98 F32 val = d - s;
99 val *= t;
100 val += s;
101 uval = (U8)val;
102 return uval;
103}
104
105void xScrFxFade(iColor_tag* base, iColor_tag* dest, F32 seconds, void (*callback)(), S32 hold)
106{

Callers 1

xScrFxUpdateFadeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected