Lines Matching refs:townRecno
164 void RebelArray::stop_attack_town(short townRecno) in stop_attack_town() argument
173 if(rebelPtr->action_para==townRecno) in stop_attack_town()
423 void RebelArray::settle_town(int unitRecno, int townRecno) in settle_town() argument
442 Town* townPtr = town_array[townRecno]; in settle_town()
446 rebelPtr->town_recno = townRecno; in settle_town()
682 int i, townRecno; in think_settle_to() local
687 townRecno = misc.random(town_array.size())+1; in think_settle_to()
691 if( ++townRecno > town_array.size() ) in think_settle_to()
692 townRecno = 1; in think_settle_to()
694 if( town_array.is_deleted(townRecno) ) in think_settle_to()
697 townPtr = town_array[townRecno]; in think_settle_to()
733 int townRecno, bestTownRecno=0; in think_capture_attack_town() local
739 townRecno = misc.random(town_array.size())+1; in think_capture_attack_town()
741 if( town_array.is_deleted(townRecno) ) in think_capture_attack_town()
744 townPtr = town_array[townRecno]; in think_capture_attack_town()
758 bestTownRecno = townRecno; in think_capture_attack_town()