Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
347
int StateDatabase::evalInt(const std::string& name) {
348
const float value = eval(name);
349
return isnan(value) ? 0 : (int)value;
350
}
351
352
353
fvec2 StateDatabase::evalFVec2(const std::string& name) {
Callers
15
needReload
Method · 0.80
load
Method · 0.80
eval
Function · 0.80
clientCallback
Method · 0.80
update
Method · 0.80
resumeCountdown
Function · 0.80
bz_getBZDBInt
Function · 0.80
cleanCache
Method · 0.80
updateConfigFile
Function · 0.80
setDebugLevel
Method · 0.80
setProcessorAffinity
Method · 0.80
removePlayer
Function · 0.80
Calls
2
eval
Function · 0.85
isnan
Function · 0.50
Tested by
no test coverage detected