MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SetLicensePlateTextTuning

Function SetLicensePlateTextTuning

engine/Poseidon/AI/VehicleAI.cpp:83–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void SetLicensePlateTextTuning(const LicensePlateTextTuning& tuning)
84{
85 s_licensePlateTextTuning.widthScale = floatMax(0.1f, tuning.widthScale);
86 s_licensePlateTextTuning.horizontalOffset = tuning.horizontalOffset;
87 s_licensePlateTextTuning.verticalOffset = tuning.verticalOffset;
88 s_licensePlateTextTuning.surfaceOffset = floatMax(0.0f, tuning.surfaceOffset);
89 s_licensePlateTextTuning.softness = floatMax(0.0f, tuning.softness);
90}
91
92void ResetLicensePlateTextTuning()
93{

Callers 3

DrawFontTabFunction · 0.85

Calls 1

floatMaxFunction · 0.85

Tested by

no test coverage detected