This commit is contained in:
parent
57e4e40672
commit
0ac227fabd
3 changed files with 81 additions and 74 deletions
|
@ -82,8 +82,6 @@ typedef enum
|
|||
PM__JUMP_VELOCITY,
|
||||
PM__MAX_JUMP_FRAMES,
|
||||
PM__MAX_SAFE_FALL_FRAMES,
|
||||
PM__GRAVITY_VALUE,
|
||||
PM__TERMINAL_VELOCITY,
|
||||
PM__MAX_RUN_VELOCITY,
|
||||
PM__RUN_SPEEDUP,
|
||||
PM__RUN_REVERSESLOWDOWN,
|
||||
|
@ -119,6 +117,18 @@ public:
|
|||
DVECTOR getCameraPos();
|
||||
|
||||
protected:
|
||||
enum
|
||||
{
|
||||
DEFAULT_PLAYER_JUMP_VELOCITY=8,
|
||||
DEFAULT_PLAYER_MAX_JUMP_FRAMES=10,
|
||||
DEFAULT_PLAYER_MAX_SAFE_FALL_FRAMES=20,
|
||||
DEFAULT_PLAYER_MAX_RUN_VELOCITY=8,
|
||||
DEFAULT_PLAYER_RUN_SPEEDUP=4,
|
||||
DEFAULT_PLAYER_RUN_REVERSESLOWDOWN=2,
|
||||
DEFAULT_PLAYER_RUN_SLOWDOWN=1,
|
||||
PLAYER_GRAVITY=4,
|
||||
PLAYER_TERMINAL_VELOCITY=8,
|
||||
};
|
||||
const PlayerMetrics *getPlayerMetrics();
|
||||
|
||||
// State
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue