Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BohemiaInteractive/CWR
/ GetFieldCost
Method
GetFieldCost
engine/Poseidon/Game/OperMap.cpp:268–272 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
266
}
267
268
float ASOCostFunction::GetFieldCost(int x, int z) const
269
{
270
PoseidonAssert(_map);
271
return _map->GetFieldCost(x, z, _locks, _vehicle, _soldier);
272
}
273
274
class ASOHeuristicFunction
275
{
Callers
2
DrawCost
Method · 0.45
CreateField
Method · 0.45
Calls
4
LockingCache
Method · 0.80
IsLocked
Method · 0.45
Size
Method · 0.45
GetTypeCost
Method · 0.45
Tested by
no test coverage detected