Home
last modified time | relevance | path

Searched refs:livingCount (Results 1 – 3 of 3) sorted by relevance

/dports/games/54321/54321/code/
H A Dlife.cpp97 unsigned int livingCount = 0; in generation() local
99 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()
/dports/games/54321/54321/nws/
H A Dlife.nw230 unsigned int livingCount = 0;
232 livingCount += cc[ nn[ jj ] ];
242 if ( livingCount <= this->lonelyHigh
243 || livingCount >= this->smotherLow ) {
248 if ( livingCount >= this->birthLow
249 && livingCount <= this->birthHigh ) {
/dports/games/scummvm/scummvm-2.5.1/engines/saga2/
H A Dsagafunc.cpp3424 int livingCount = 0, in scriptPickRandomLivingActor() local
3431 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()