ddnet/src/game/client/prediction/entities
c0d3d3v a9c8b344a2
Player position, speed and angle can now be displayed in the HUD.
- Added RenderMovementInformation() to the HUD
- Use m_Width instead of recalculating the display width each time in hud.cpp
- Reworked Debug HUD:
    - Display velspeed.x*ramp and velspeed.y instead of velspeed*ramp
    - Show unit of speed
    - The graph for the velspeed.x*ramp behavior (if dbg_tuning is active) is now nicer and usable. A second graph zooming in on the turning point has been added.
    - The velspeed.x*ramp graph will be redrawn only when new tuning parameters are added
- The target angle used to draw the tees is now calculated using the m_TargetX, m_TargetY in DDNetCharacterDisplayInfo if available.
- Added m_TargetX, m_TargetY and m_RampValue to DDNetCharacterDisplayInfo Snap (m_RampValue has a precision of one thousandth)
- Added CGraph::InsertAt() to create static Graphs
- Added "assets/hud" to initial created Directories
- Added Settings to hide Dummy Action HUD and Player Movement HUD cl_showhud_dummy_actions, cl_showhud_player_position, cl_showhud_player_speed, cl_showhud_player_angle
- Added Pointer to m_PrevExtendedDisplayInfo, for calculation of interpolated Angle in Player Rendering
- Added GetDigitsIndex(int Value, float Max); to hud.cpp
2022-04-14 13:42:19 +02:00
..
character.cpp Player position, speed and angle can now be displayed in the HUD. 2022-04-14 13:42:19 +02:00
character.h load CNetObj_DDNetCharacterDisplayInfo into CCharacter 2022-04-14 13:40:44 +02:00
laser.cpp Add more readability checks 2022-01-22 17:45:25 +01:00
laser.h Run clang-format 2020-09-26 21:50:15 +02:00
pickup.cpp Enable -Wshadow=local 2022-03-20 13:24:34 +01:00
pickup.h Added external linkage instead of static const 2022-04-03 01:12:27 +02:00
projectile.cpp Fixed some useless double promotion 2022-03-23 18:22:08 +01:00
projectile.h Enable readability-inconsistent-declaration-parameter-name 2022-01-22 14:12:59 +01:00