Spring Info

Community news for the Spring RTS Engine

gravatar-140.png

February 5, 2012
by Unspecified
0 comments

Engine Commit: reduced CPathManager memusage by >50% (~10% of spring’s memusage)

m rts/Rendering/DefaultPathDrawer.cpp m rts/Sim/Path/Default/PathDataTypes.h m rts/Sim/Path/Default/PathEstimator.cpp m rts/Sim/Path/Default/PathFinder.cpp reduced CPathManager memusage by >50% (~10% of spring’s memusage) 1. How did I measured it: `memprof ./spring –safemode` (in non-safemode it crashes cause of LoadingMT) 2. the numbers with ZK & Gunmetal … Continue reading

gravatar-140.png

February 3, 2012
by Unspecified
0 comments

Engine Commit: un-hardcode the DepthMod equation

m rts/ExternalAI/SSkirmishAICallbackImpl.cpp m rts/Lua/LuaUnitDefs.cpp m rts/Sim/MoveTypes/MoveInfo.cpp m rts/Sim/MoveTypes/MoveInfo.h m rts/Sim/MoveTypes/MoveMath/GroundMoveMath.cpp un-hardcode the DepthMod equation new MoveDef parameters “depthModMinHeight”, defaults to 0.0 “depthModMaxHeight”, defaults to +inf “depthModQuadraticCoeff”, defaults to 0.0 “depthModLinearCoeff”, defaults to 0.1 (deprecates “depthMod”) “depthModConstantCoeff”, defaults to 1.0 new … Continue reading