Home
last modified time | relevance | path

Searched refs:selUnits (Results 1 – 9 of 9) sorted by relevance

/dports/games/spring/spring_98.0/rts/Sim/Units/Groups/
H A DGroupHandler.cpp99 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in GroupCommand() local
101 for(ui = selUnits.begin(); ui != selUnits.end(); ++ui) { in GroupCommand()
123 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in GroupCommand() local
126 if (selUnits.find(*ui) == selUnits.end()) { in GroupCommand()
/dports/games/spring/spring_98.0/rts/Game/
H A DWaitCommandsAI.cpp445 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in SendCommand() local
446 if (unitSet == selUnits) { in SendCommand()
451 CUnitSet tmpSet = selUnits; in SendCommand()
667 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in DeathWait() local
678 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() local
889 for (it = selUnits.begin(); it != selUnits.end(); ++it) { in SquadWait()
1037 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in GatherWait() local
[all …]
H A DUnsyncedGameCommands.cpp738 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in Execute() local
739 if (selUnits.empty()) in Execute()
745 for (ui = selUnits.begin(); ui != selUnits.end(); ++ui) { in Execute()
748 pos /= (float)selUnits.size(); in Execute()
/dports/games/spring/spring_98.0/cont/examples/Widgets/
H A Dgui_selbuttons.lua403 local selUnits = spGetSelectedUnits()
406 spSelectUnitArray(selUnits)
414 local selUnits = spGetSelectedUnits()
416 for _,uid in ipairs(selUnits) do map[uid] = true end
/dports/games/spring/spring_98.0/rts/Lua/
H A DLuaUnsyncedRead.cpp540 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in IsUnitSelected() local
541 lua_pushboolean(L, selUnits.find(unit) != selUnits.end()); in IsUnitSelected()
1068 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in GetSelectedUnits() local
1071 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() local
1090 for (it = selUnits.begin(); it != selUnits.end(); ++it) { in GetSelectedUnitsSorted()
1126 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in GetSelectedUnitsCounts() local
1130 for (it = selUnits.begin(); it != selUnits.end(); ++it) { in GetSelectedUnitsCounts()
H A DLuaUnsyncedCtrl.cpp1517 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in SetUnitNoSelect() local
1518 if (selUnits.find(unit) != selUnits.end()) { in SetUnitNoSelect()
/dports/math/snns/SNNSv4.3/xgui/sources/
H A Dui_inversion.c810 int selUnits, err_units; in ui_do_inversion() local
819 selUnits = 0; in ui_do_inversion()
830 selUnits++; in ui_do_inversion()
837 if(!selUnits){ in ui_do_inversion()
/dports/games/spring/spring_98.0/rts/Game/UI/
H A DMiniMap.cpp1511 CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in DrawUnitRanges() local
1512 for(const CUnit* unit: selUnits) { in DrawUnitRanges()
H A DGuiHandler.cpp3797 const CUnitSet& selUnits = selectedUnitsHandler.selectedUnits; in DrawCentroidCursor() local
3798 if (selUnits.size() < 2) { in DrawCentroidCursor()
3804 for (it = selUnits.begin(); it != selUnits.end(); ++it) { in DrawCentroidCursor()
3807 pos /= (float)selUnits.size(); in DrawCentroidCursor()