Searched refs:slopeMod (Results 1 – 9 of 9) sorted by relevance
/dports/games/spring/spring_98.0/rts/Sim/MoveTypes/MoveMath/ |
H A D | HoverMoveMath.cpp | 18 return (1.0f / (1.0f + slope * moveDef.slopeMod)); in HoverSpeedMod() 37 return (1.0f / (1.0f + std::max(0.0f, slope * dirSlopeMod) * moveDef.slopeMod)); in HoverSpeedMod()
|
H A D | GroundMoveMath.cpp | 20 speedMod = 1.0f / (1.0f + slope * moveDef.slopeMod); in GroundSpeedMod() 53 speedMod = 1.0f / (1.0f + std::max(0.0f, slope * dirSlopeMod) * moveDef.slopeMod); in GroundSpeedMod()
|
/dports/games/spring/spring_98.0/AI/Wrappers/LegacyCpp/ |
H A D | MoveData.h | 28 , slopeMod(0.0f) in MoveData() 77 float slopeMod; member
|
H A D | MoveData.cpp | 23 CR_MEMBER(slopeMod),
|
H A D | AIAICallback.cpp | 751 unitDef->movedata->slopeMod = sAICallback->UnitDef_MoveData_getSlopeMod(skirmishAIId, unitDefId); in GetUnitDefById()
|
/dports/games/spring/spring_98.0/rts/Sim/MoveTypes/ |
H A D | MoveDefHandler.cpp | 32 CR_MEMBER(slopeMod), 165 , slopeMod(0.0f) in MoveDef() 276 slopeMod = moveDefTable.GetFloat("slopeMod", 4.0f / (maxSlope + 0.001f)); in MoveDef()
|
H A D | MoveDefHandler.h | 94 float slopeMod; member
|
/dports/games/spring/spring_98.0/rts/Lua/ |
H A D | LuaUnitDefs.cpp | 508 HSTR_PUSH_NUMBER(L, "slopeMod", md->slopeMod); in MoveDefTable()
|
/dports/games/spring/spring_98.0/rts/ExternalAI/ |
H A D | SSkirmishAICallbackImpl.cpp | 3153 return getUnitDefMoveDefById(skirmishAIId, unitDefId)->slopeMod; in skirmishAiCallback_UnitDef_MoveData_getSlopeMod()
|