2025-08-03 15:26 CEST

spring: develop b3cf2cba Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
KDR_11k KDR_11k develop 2007-12-21 12:57:52 develop d2f4cdbe
Changeset * Added a seventh parameter to AllowCommand, "synced". It's a bool that is true when the command was sent by either a Spring-internal action or synced Lua and it's false if the command came from the user or LuaUI. This should facilitate preventing user commands to a unit while allowing LuaRules commands (e.g. for uncontrollable units like those found in Fibre).

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5085 37977431-3df6-0310-b722-df95706aa16b
mod - installer/builddata/springcontent/LuaGadgets/gadgets.lua Diff ] File ]
mod - rts/Game/SelectedUnits.cpp Diff ] File ]
mod - rts/Game/SelectedUnitsAI.cpp Diff ] File ]
mod - rts/Lua/LuaRules.cpp Diff ] File ]
mod - rts/Lua/LuaRules.h Diff ] File ]
mod - rts/Sim/Units/CommandAI/CommandAI.cpp Diff ] File ]
mod - rts/Sim/Units/CommandAI/CommandAI.h Diff ] File ]