MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / evalInt

Method evalInt

src/common/StateDatabase.cpp:347–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345
346
347int StateDatabase::evalInt(const std::string& name) {
348 const float value = eval(name);
349 return isnan(value) ? 0 : (int)value;
350}
351
352
353fvec2 StateDatabase::evalFVec2(const std::string& name) {

Callers 15

needReloadMethod · 0.80
loadMethod · 0.80
evalFunction · 0.80
clientCallbackMethod · 0.80
updateMethod · 0.80
resumeCountdownFunction · 0.80
bz_getBZDBIntFunction · 0.80
cleanCacheMethod · 0.80
updateConfigFileFunction · 0.80
setDebugLevelMethod · 0.80
setProcessorAffinityMethod · 0.80
removePlayerFunction · 0.80

Calls 2

evalFunction · 0.85
isnanFunction · 0.50

Tested by

no test coverage detected