Searched refs:selUnits (Results 1 – 9 of 9) sorted by relevance
99 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in GroupCommand() local101 for(ui = selUnits.begin(); ui != selUnits.end(); ++ui) { in GroupCommand()123 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in GroupCommand() local126 if (selUnits.find(*ui) == selUnits.end()) { in GroupCommand()
445 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in SendCommand() local446 if (unitSet == selUnits) { in SendCommand()451 CUnitSet tmpSet = selUnits; in SendCommand()667 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in DeathWait() local678 if (selUnits.find(unit) != selUnits.end()) { in DeathWait()690 if (selUnits.find(*it) == selUnits.end()) { in DeathWait()705 waitUnits = selUnits; in DeathWait()887 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in SquadWait() local889 for (it = selUnits.begin(); it != selUnits.end(); ++it) { in SquadWait()1037 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in GatherWait() local[all …]
738 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in Execute() local739 if (selUnits.empty()) in Execute()745 for (ui = selUnits.begin(); ui != selUnits.end(); ++ui) { in Execute()748 pos /= (float)selUnits.size(); in Execute()
403 local selUnits = spGetSelectedUnits()406 spSelectUnitArray(selUnits)414 local selUnits = spGetSelectedUnits()416 for _,uid in ipairs(selUnits) do map[uid] = true end
540 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in IsUnitSelected() local541 lua_pushboolean(L, selUnits.find(unit) != selUnits.end()); in IsUnitSelected()1068 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in GetSelectedUnits() local1071 lua_createtable(L, selUnits.size(), 0); in GetSelectedUnits()1074 for (it = selUnits.begin(); it != selUnits.end(); ++it) { in GetSelectedUnits()1087 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in GetSelectedUnitsSorted() local1090 for (it = selUnits.begin(); it != selUnits.end(); ++it) { in GetSelectedUnitsSorted()1126 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in GetSelectedUnitsCounts() local1130 for (it = selUnits.begin(); it != selUnits.end(); ++it) { in GetSelectedUnitsCounts()
1517 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in SetUnitNoSelect() local1518 if (selUnits.find(unit) != selUnits.end()) { in SetUnitNoSelect()
810 int selUnits, err_units; in ui_do_inversion() local819 selUnits = 0; in ui_do_inversion()830 selUnits++; in ui_do_inversion()837 if(!selUnits){ in ui_do_inversion()
1511 CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in DrawUnitRanges() local1512 for(const CUnit* unit: selUnits) { in DrawUnitRanges()
3797 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in DrawCentroidCursor() local3798 if (selUnits.size() < 2) { in DrawCentroidCursor()3804 for (it = selUnits.begin(); it != selUnits.end(); ++it) { in DrawCentroidCursor()3807 pos /= (float)selUnits.size(); in DrawCentroidCursor()