/dports/games/spring/spring_98.0/cont/base/springcontent/LuaGadgets/Gadgets/ |
H A D | share_control.lua | 191 function gadget:AllowResourceTransfer(oldTeam, newTeam, type, amount) function
|
/dports/games/spring/spring_98.0/rts/Sim/Misc/ |
H A D | Team.cpp | 209 if (eventHandler.AllowResourceTransfer(teamNum, toTeam, "m", metal)) { in GiveEverythingTo() 213 if (eventHandler.AllowResourceTransfer(teamNum, toTeam, "e", energy)) { in GiveEverythingTo()
|
/dports/games/spring/spring_98.0/rts/Net/ |
H A D | NetCommands.cpp | 783 if (eventHandler.AllowResourceTransfer(srcTeam, dstTeam, "m", metalShare)) { in ClientReadNet() 789 if (eventHandler.AllowResourceTransfer(srcTeam, dstTeam, "e", energyShare)) { in ClientReadNet() 854 if (eventHandler.AllowResourceTransfer(srcTeamID, dstTeamID, "m", metalShare)) { in ClientReadNet() 864 if (eventHandler.AllowResourceTransfer(srcTeamID, dstTeamID, "e", energyShare)) { in ClientReadNet()
|
/dports/games/spring/spring_98.0/rts/System/ |
H A D | EventClient.cpp | 61 bool CEventClient::AllowResourceTransfer(int oldTeam, int newTeam, const string& type, float amount… in AllowResourceTransfer() function in CEventClient
|
H A D | EventHandler.cpp | 266 bool CEventHandler::AllowResourceTransfer(int oldTeam, int newTeam, const string& type, float amoun… in AllowResourceTransfer() function in CEventHandler 268 CONTROL_ITERATE_DEF_TRUE(AllowResourceTransfer, oldTeam, newTeam, type, amount) in AllowResourceTransfer()
|
H A D | Events.def | 155 SETUP_EVENT(AllowResourceTransfer, MANAGED_BIT | CONTROL_BIT)
|
H A D | EventClient.h | 213 virtual bool AllowResourceTransfer(int oldTeam, int newTeam, const string& type, float amount);
|
H A D | EventHandler.h | 156 bool AllowResourceTransfer(int oldTeam, int newTeam, const string& type, float amount);
|
/dports/games/spring/spring_98.0/rts/Lua/ |
H A D | LuaHandleSynced.h | 64 bool AllowResourceTransfer(int oldTeam, int newTeam, const string& type, float amount);
|
H A D | LuaHandleSynced.cpp | 690 bool CSyncedLuaHandle::AllowResourceTransfer(int oldTeam, int newTeam, in AllowResourceTransfer() function in CSyncedLuaHandle
|
H A D | LuaSyncedCtrl.cpp | 841 …if (eventHandler.AllowResourceTransfer(teamID1, teamID2, "m", amount)) { //FIXME can cause an endl… in ShareTeamResource() 851 …if (eventHandler.AllowResourceTransfer(teamID1, teamID2, "e", amount)) { //FIXME can cause an endl… in ShareTeamResource()
|
/dports/games/spring/spring_98.0/cont/base/springcontent/LuaGadgets/ |
H A D | gadgets.lua | 1138 function gadgetHandler:AllowResourceTransfer(oldTeamID, newTeamID, res, amount) function 1140 if (not g:AllowResourceTransfer(oldTeamID, newTeamID, res, amount)) then
|