Searched refs:livingCount (Results 1 – 3 of 3) sorted by relevance
97 unsigned int livingCount = 0; in generation() local99 livingCount += cc[ nn[ jj ] ]; in generation()104 if ( livingCount <= this->lonelyHigh in generation()105 || livingCount >= this->smotherLow ) { in generation()110 if ( livingCount >= this->birthLow in generation()111 && livingCount <= this->birthHigh ) { in generation()
230 unsigned int livingCount = 0;232 livingCount += cc[ nn[ jj ] ];242 if ( livingCount <= this->lonelyHigh243 || livingCount >= this->smotherLow ) {248 if ( livingCount >= this->birthLow249 && livingCount <= this->birthHigh ) {
3424 int livingCount = 0, in scriptPickRandomLivingActor() local3431 if (!a->isDead()) livingCount++; in scriptPickRandomLivingActor()3435 if (livingCount <= 0) return Nothing; in scriptPickRandomLivingActor()3437 livingCount = g_vm->_rnd->getRandomNumber(livingCount - 1); in scriptPickRandomLivingActor()3444 if (livingCount == 0) return args[i]; in scriptPickRandomLivingActor()3445 livingCount--; in scriptPickRandomLivingActor()