2025-08-01 17:53 CEST

spring: develop 9eae8ebc Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
Tobi Vollebregt Tobi Vollebregt develop 2010-01-26 01:39:42 develop 26549bea
Changeset Removed engine support for StartMetal, StartEnergy

This is straightforward to implement using Lua, as the included example shows.

Specifically, the following has been removed:
- reading of modoption / per-team StartMetal, StartEnergy
- default values of storage for commander unit are now 0, as for all other units.

Do not forget to copy the removed resource related engine options to ModOptions.lua, if desired.
mod - installer/builddata/springcontent/EngineOptions.lua Diff ] File ]
mod - installer/builddata/springcontent/LuaGadgets/Gadgets/game_spawn.lua Diff ] File ]
mod - rts/Game/GameSetup.cpp Diff ] File ]
mod - rts/Game/GameSetup.h Diff ] File ]
mod - rts/Sim/Misc/Team.cpp Diff ] File ]
mod - rts/Sim/Misc/TeamBase.cpp Diff ] File ]
mod - rts/Sim/Misc/TeamBase.h Diff ] File ]
mod - rts/Sim/Units/UnitDefHandler.cpp Diff ] File ]