This commit is contained in:
parent
c26bed0f30
commit
b94df4dc3f
12 changed files with 165 additions and 77 deletions
|
@ -55,6 +55,7 @@ typedef enum
|
|||
PLAYER_MODE_BASICUNARMED,
|
||||
PLAYER_MODE_FULLUNARMED,
|
||||
PLAYER_MODE_SQUEAKYBOOTS,
|
||||
PLAYER_MODE_BALLOON,
|
||||
PLAYER_MODE_NET,
|
||||
PLAYER_MODE_CORALBLOWER,
|
||||
PLAYER_MODE_FLY,
|
||||
|
@ -144,7 +145,7 @@ class CPlayer : public CPlayerThing
|
|||
public:
|
||||
enum
|
||||
{
|
||||
VELOCITY_SHIFT=2
|
||||
VELOCITY_SHIFT=4,
|
||||
};
|
||||
|
||||
virtual void init();
|
||||
|
@ -165,10 +166,10 @@ protected:
|
|||
DEFAULT_PLAYER_MAX_JUMP_FRAMES=12,
|
||||
DEFAULT_PLAYER_MAX_SAFE_FALL_FRAMES=30,
|
||||
DEFAULT_PLAYER_MAX_RUN_VELOCITY=8,
|
||||
DEFAULT_PLAYER_RUN_SPEEDUP=4,
|
||||
DEFAULT_PLAYER_RUN_REVERSESLOWDOWN=3,
|
||||
DEFAULT_PLAYER_RUN_SLOWDOWN=2,
|
||||
PLAYER_GRAVITY=4,
|
||||
DEFAULT_PLAYER_RUN_SPEEDUP=4<<2,
|
||||
DEFAULT_PLAYER_RUN_REVERSESLOWDOWN=3<<2,
|
||||
DEFAULT_PLAYER_RUN_SLOWDOWN=2<<2,
|
||||
PLAYER_GRAVITY=4<<2,
|
||||
PLAYER_TERMINAL_VELOCITY=8,
|
||||
};
|
||||
const PlayerMetrics *getPlayerMetrics();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue