Searched refs:intForce (Results 1 – 3 of 3) sorted by relevance
771 unsigned int intForce = AiPlayer->Force.getScriptForce(force); in AiAttackWithForce() local774 if (!AiPlayer->Force[intForce].Defending) { in AiAttackWithForce()779 AiPlayer->Force[f].Role = AiPlayer->Force[intForce].Role; in AiAttackWithForce()781 while (AiPlayer->Force[intForce].Size()) { in AiAttackWithForce()782 CUnit &aiunit = *AiPlayer->Force[intForce].Units[AiPlayer->Force[intForce].Size() - 1]; in AiAttackWithForce()784 AiPlayer->Force[intForce].Units.Remove(&aiunit); in AiAttackWithForce()788 while (AiPlayer->Force[intForce].UnitTypes.size()) { in AiAttackWithForce()789 top = AiPlayer->Force[intForce].UnitTypes.size() - 1; in AiAttackWithForce()790 AiPlayer->Force[f].UnitTypes.push_back(AiPlayer->Force[intForce].UnitTypes[top]); in AiAttackWithForce()791 AiPlayer->Force[intForce].UnitTypes.pop_back(); in AiAttackWithForce()[all …]
1272 unsigned int intForce = AiPlayer->Force.getScriptForce(force); in AiAttackWithForce() local1275 if (!AiPlayer->Force[intForce].Defending) { in AiAttackWithForce()1280 AiPlayer->Force[f].Role = AiPlayer->Force[intForce].Role; in AiAttackWithForce()1282 while (AiPlayer->Force[intForce].Size()) { in AiAttackWithForce()1283 CUnit &aiunit = *AiPlayer->Force[intForce].Units[AiPlayer->Force[intForce].Size() - 1]; in AiAttackWithForce()1285 AiPlayer->Force[intForce].Units.Remove(&aiunit); in AiAttackWithForce()1289 while (AiPlayer->Force[intForce].UnitTypes.size()) { in AiAttackWithForce()1290 top = AiPlayer->Force[intForce].UnitTypes.size() - 1; in AiAttackWithForce()1291 AiPlayer->Force[f].UnitTypes.push_back(AiPlayer->Force[intForce].UnitTypes[top]); in AiAttackWithForce()1292 AiPlayer->Force[intForce].UnitTypes.pop_back(); in AiAttackWithForce()[all …]
457 * @param int $intForce Force deletion (1 = force, 1 = no force)461 public function dataDeleteFull($strTableName, $intDataId = 0, $intForce = 0) argument493 … (($this->infoRelation($strTableName, $elem['id'], 'id', 1) == 0) || ($intForce == 1))) {