summaryrefslogtreecommitdiffstats
path: root/src/game/client/player_move.hh
blob: 27fb2dc704c1c528a325dc029b205463a606abd1 (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 player_move
{
void init(void);
void fixed_update(void);
void update_late(void);
} // namespace player_move

#endif // CLIENT_PLAYER_MOVE_HH