blob: aa221f3dcac14e4153d413e685220af8474c0e53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef CLIENT_PLAYER_MOVE_HH
#define CLIENT_PLAYER_MOVE_HH 1
#pragma once
constexpr static float PMOVE_MAX_SPEED_AIR = 16.0f;
constexpr static float PMOVE_MAX_SPEED_GROUND = 8.0f;
constexpr static float PMOVE_ACCELERATION_AIR = 3.0f;
constexpr static float PMOVE_ACCELERATION_GROUND = 6.0f;
constexpr static float PMOVE_FRICTION_GROUND = 10.0f;
constexpr static float PMOVE_JUMP_FORCE = 0.275f;
namespace entity::player_move
{
void init(void);
void fixed_update(void);
void update_late(void);
} // namespace entity::player_move
#endif // CLIENT_PLAYER_MOVE_HH
|