22 const int ratio = 319;
bool IsCapped(cMonster::eFamily a_MobFamily)
Returns true if the family is capped (i.e.
int GetNumChunks()
Returns the number of chunks that are elligible for spawning (for now, the loaded,...
cMobProximityCounter & GetProximityCounter(void)
Returns the nested proximity counter.
static int GetCapMultiplier(cMonster::eFamily a_MobFamily)
Returns the cap multiplier value of the given monster family.
void CollectSpawnableChunk(cChunk &a_Chunk)
std::set< cChunk * > m_EligibleForSpawnChunks
cMobProximityCounter m_ProximityCounter
cMobFamilyCollecter m_MobFamilyCollecter
void CollectMob(cMonster &a_Monster, cChunk &a_Chunk, double a_Distance)
Collect a mob - its distance to player, its family ...
void Logd(void)
log the results of census to server console
int GetNumberOfCollectedMobs(cMonster::eFamily a_Family)
void CollectMob(cMonster &a_Monster)
void CollectMob(cEntity &a_Monster, cChunk &a_Chunk, double a_Distance)