MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / SetScreenFadeOut

Function SetScreenFadeOut

TombEngine/Game/camera.cpp:1665–1675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1663}
1664
1665void SetScreenFadeOut(float speed, bool force)
1666{
1667 if (ScreenFading && !force)
1668 return;
1669
1670 ScreenFading = true;
1671 ScreenFadeStart = 1.0f;
1672 ScreenFadeEnd = 0;
1673 ScreenFadeSpeed = speed;
1674 ScreenFadeCurrent = ScreenFadeStart;
1675}
1676
1677void SetScreenFadeIn(float speed, bool force)
1678{

Callers 3

LoadLevelFunction · 0.85
CalculateSpotCamerasFunction · 0.85
FadeOutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected