MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / reticle_setScale

Function reticle_setScale

TheForceEngine/TFE_Game/reticle.cpp:95–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void reticle_setScale(f32 scale)
96{
97 if (!s_reticleLoaded) { return; }
98 s_scale = scale;
99 TFE_PostProcess::modifyOverlay(s_reticleId, s_color, 0.5f, 0.5f, s_scale);
100}
101
102bool reticle_enabled()
103{

Callers 3

configGraphicsFunction · 0.85
setSettingsTemplateFunction · 0.85
reticle_initFunction · 0.85

Calls 1

modifyOverlayFunction · 0.85

Tested by

no test coverage detected