Home
last modified time | relevance | path

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

/dports/games/stratagus/stratagus-3.2.0/src/ai/
H A Dai_force.cpp771 unsigned int intForce = AiPlayer->Force.getScriptForce(force); in AiAttackWithForce() local
774 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 …]
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/ai/
H A Dai_force.cpp1272 unsigned int intForce = AiPlayer->Force.getScriptForce(force); in AiAttackWithForce() local
1275 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 …]
/dports/net-mgmt/nagiosql/nagiosql-365d4e0b5edc623b12ea96e8002e8ac66aad6aac/functions/
H A DNagDataClass.php457 * @param int $intForce Force deletion (1 = force, 1 = no force)
461 public function dataDeleteFull($strTableName, $intDataId = 0, $intForce = 0) argument
493 … (($this->infoRelation($strTableName, $elem['id'], 'id', 1) == 0) || ($intForce == 1))) {