2025-08-08 05:09 CEST

spring: develop 8df5345b Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
Eshed Eshed develop 2016-03-19 13:32:22 develop 77f0ddf9
Changeset Remove RulesParam vector access

Accessing through index wasn't documented, could cause crashes and has very little use.
! Get{Game,Team,Unit,Feature}RulesParams will now return { paramName = value } instead of the current monstrosity
- AI interface trimmed to only have functions for getting a RulesParam by name
- you can now delete RulesParams by calling Set{Game,Team,Unit,Feature}RulesParam with no value argument or a nil one.
mod - AI/Wrappers/Cpp/CMakeLists.txt Diff ] File ]
mod - AI/Wrappers/JavaOO/CMakeLists.txt Diff ] File ]
mod - rts/ExternalAI/Interface/SSkirmishAICallback.h Diff ] File ]
mod - rts/ExternalAI/SSkirmishAICallbackImpl.cpp Diff ] File ]
mod - rts/ExternalAI/SSkirmishAICallbackImpl.h Diff ] File ]
mod - rts/Game/UI/SelectionKeyHandler.cpp Diff ] File ]
mod - rts/Lua/LuaHandleSynced.cpp Diff ] File ]
mod - rts/Lua/LuaHandleSynced.h Diff ] File ]
mod - rts/Lua/LuaRulesParams.h Diff ] File ]
mod - rts/Lua/LuaSyncedCtrl.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedRead.cpp Diff ] File ]
mod - rts/Sim/Misc/Team.cpp Diff ] File ]
mod - rts/Sim/Misc/Team.h Diff ] File ]
mod - rts/Sim/Objects/SolidObject.cpp Diff ] File ]
mod - rts/Sim/Objects/SolidObject.h Diff ] File ]
mod - rts/Sim/Units/Unit.cpp Diff ] File ]