spring: develop 1acf1a50 | [ Diff ] [ Back to Repository ] | |||
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
rtri | rtri | develop | 2015-12-25 19:23:38 | develop 3fdd0e54 |
Changeset | add extra boolean argument 'preEvent' to UnitDestroyed; UnitDestroyed now gets called a second time when a unit is really going to its grave this allows Lua code to e.g. keep shaders enabled until after a unit death animation has completed, and has been chosen because 1) it is the easiest way of achieving a pre- and post-death phase 2) it represents the least amount of work for game devs to restore BWC 3) processing the callin twice should break a minimal number of *gets |
|||
mod - cont/base/springcontent/LuaGadgets/gadgets.lua | [ Diff ] [ File ] | |||
mod - rts/Lua/LuaHandle.cpp | [ Diff ] [ File ] | |||
mod - rts/Lua/LuaHandle.h | [ Diff ] [ File ] | |||
mod - rts/Rendering/Env/Decals/DecalsDrawerGL4.cpp | [ Diff ] [ File ] | |||
mod - rts/Rendering/Env/Decals/DecalsDrawerGL4.h | [ Diff ] [ File ] | |||
mod - rts/Sim/Misc/LosHandler.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Misc/LosHandler.h | [ Diff ] [ File ] | |||
mod - rts/Sim/Units/Unit.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Units/UnitHandler.cpp | [ Diff ] [ File ] | |||
mod - rts/System/EventClient.h | [ Diff ] [ File ] | |||
mod - rts/System/EventHandler.h | [ Diff ] [ File ] |