Home
last modified time | relevance | path

Searched refs:AllowUnitTransfer (Results 1 – 12 of 12) sorted by relevance

/dports/games/spring/spring_98.0/cont/base/springcontent/LuaGadgets/Gadgets/
H A Dshare_delayed.lua269 function gadget:AllowUnitTransfer(unitID, unitDefID, oldTeam, newTeam, capture) function
312 local tmp = AllowUnitTransfer
313 AllowUnitTransfer = function() return true end function
315 AllowUnitTransfer = tmp
H A Dshare_no_builders.lua143 function gadget:AllowUnitTransfer(unitID, unitDefID, oldTeam, newTeam, capture) function
H A Dshare_control.lua215 function gadget:AllowUnitTransfer(unitID, unitDefID, oldTeam, newTeam, capture) function
/dports/games/spring/spring_98.0/rts/System/
H A DEventClient.cpp56 bool CEventClient::AllowUnitTransfer(const CUnit* unit, int newTeam, bool capture) { return true; } in AllowUnitTransfer() function in CEventClient
H A DEventHandler.cpp236 bool CEventHandler::AllowUnitTransfer(const CUnit* unit, int newTeam, bool capture) in AllowUnitTransfer() function in CEventHandler
238 CONTROL_ITERATE_DEF_TRUE(AllowUnitTransfer, unit, newTeam, capture) in AllowUnitTransfer()
H A DEvents.def150 SETUP_EVENT(AllowUnitTransfer, MANAGED_BIT | CONTROL_BIT)
H A DEventClient.h208 virtual bool AllowUnitTransfer(const CUnit* unit, int newTeam, bool capture);
H A DEventHandler.h151 bool AllowUnitTransfer(const CUnit* unit, int newTeam, bool capture);
/dports/games/spring/spring_98.0/rts/Lua/
H A DLuaHandleSynced.h59 bool AllowUnitTransfer(const CUnit* unit, int newTeam, bool capture);
H A DLuaHandleSynced.cpp559 bool CSyncedLuaHandle::AllowUnitTransfer(const CUnit* unit, int newTeam, bool capture) in AllowUnitTransfer() function in CSyncedLuaHandle
/dports/games/spring/spring_98.0/cont/base/springcontent/LuaGadgets/
H A Dgadgets.lua1082 function gadgetHandler:AllowUnitTransfer(unitID, unitDefID, function
1085 if (not g:AllowUnitTransfer(unitID, unitDefID,
/dports/games/spring/spring_98.0/rts/Sim/Units/
H A DUnit.cpp1355 if (!eventHandler.AllowUnitTransfer(this, newteam, type == ChangeCaptured)) in ChangeTeam()