3 |
As far as I know it has no documentation because it's not an engine thing. Engine [url=https://github.com/spring/spring/blob/develop/rts/Game/Game.cpp#L472]just asks defs.lua to impart the defs[/url]. Pretty much everybody uses the default defs.lua, which in turn relegates UnitDef loading to unitDefs.lua, and everybody uses the default unitDefs.lua which inflicts post-processing from unitdefs_post.lua onto defs after they're read from /units/*.lua files.
|
3 |
As far as I know it has no documentation because it's not an engine thing. Engine [url=https://github.com/spring/spring/blob/develop/rts/Game/Game.cpp#L472]just asks defs.lua to impart the defs[/url]. Pretty much everybody uses the default defs.lua, which in turn relegates UnitDef loading to unitDefs.lua, and everybody uses the default unitDefs.lua which inflicts post-processing from unitdefs_post.lua onto defs after they're read from /units/*.lua files.
|