2025-08-25 18:44 CEST

spring: develop 68b2ef86 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
trepan trepan develop 2007-09-05 04:03:44 develop 04cdb67d
Changeset * Added 'gamestate/defs.lua'
  - returns a table that contains the UnitDefs, FeatureDefs, and WeaponDefs
  - parsed using CGame::defsParser, and deleted before the game starts
  - allows modders to automate inter-def dependencies
    (ex: feature metal vs. unit metal cost, or fully defined weapons in unitDefs)
* Started changing the lua code over to a balanced stack setup, rather than
  a zeroed stack (there were segvs caused by call-in / call-out re-entrancy)
  There are still a few FIXMEs for me to clean up...


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@4316 37977431-3df6-0310-b722-df95706aa16b
mod - Documentation/changelog.txt Diff ] File ]
add - installer/builddata/springcontent/gamedata/defs.lua Diff ] File ]
mod - installer/builddata/springcontent/gamedata/explosion_alias.lua Diff ] File ]
mod - installer/builddata/springcontent/gamedata/weapondefs.lua Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/Game.h Diff ] File ]
mod - rts/Game/UI/LuaUI.cpp Diff ] File ]
mod - rts/Lua/LuaHandle.cpp Diff ] File ]
mod - rts/Lua/LuaHandle.h Diff ] File ]
mod - rts/Lua/LuaHandleSynced.cpp Diff ] File ]
mod - rts/Lua/LuaHashString.h Diff ] File ]
mod - rts/Lua/LuaParser.cpp Diff ] File ]
mod - rts/Lua/LuaParser.h Diff ] File ]
mod - rts/Lua/LuaRules.cpp Diff ] File ]
mod - rts/Lua/LuaVFS.cpp Diff ] File ]
mod - rts/Sim/Misc/FeatureHandler.cpp Diff ] File ]
mod - rts/Sim/Projectiles/ExplosionGenerator.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.cpp Diff ] File ]
mod - rts/Sim/Units/UnitDefHandler.cpp Diff ] File ]
mod - rts/Sim/Units/UnitLoader.cpp Diff ] File ]
mod - rts/Sim/Weapons/WeaponDefHandler.cpp Diff ] File ]
mod - rts/System/GlobalStuff.h Diff ] File ]
mod - tools/scripts/param_types.lua Diff ] File ]