mirror of
https://github.com/fortressforever/fortressforever-2013.git
synced 2024-11-26 06:10:47 +00:00
A bit of cleanup in the ff_sh_gamemovement header
* Broke up function declarations into 3 categories: FF-specific, Extended (meaning the BaseClass function is always called in the overwritten function), and Overwritten (meaning the BaseClass function is probably never called)
This commit is contained in:
parent
3bb04eebd3
commit
06b498005e
1 changed files with 9 additions and 9 deletions
|
@ -16,29 +16,29 @@ public:
|
|||
CFF_SH_GameMovement() {};
|
||||
|
||||
protected:
|
||||
// FF specific functions -->
|
||||
// --> FF functions
|
||||
bool CanJump( void );
|
||||
bool DoDoubleJump( float &flJumpSpeed );
|
||||
bool DoTrimp( float flGroundDotProduct, float &flSpeed, float &flJumpSpeed );
|
||||
bool DoDownTrimp( float flGroundDotProduct, float &flSpeed, float &flJumpSpeed );
|
||||
float ApplySoftCap( float &flSpeed );
|
||||
float ApplyHardCap( float &flSpeed );
|
||||
// FF specific functions <--
|
||||
// <-- FF functions
|
||||
|
||||
/// Catches all landings
|
||||
// --> Extended functions (meaning the BaseClass function is always called)
|
||||
virtual void PlayerMove( void );
|
||||
virtual void OnLand( float flFallVelocity );
|
||||
// <-- Extended functions
|
||||
|
||||
/// Overwritten from gamemovement.cpp -->
|
||||
// --> Overwritten functions
|
||||
// Jumping
|
||||
virtual void PlayerRoughLandingEffects( float fvol );
|
||||
virtual bool CheckJumpButton( void );
|
||||
|
||||
// Ducking
|
||||
virtual void Duck( void );
|
||||
virtual void FinishUnDuck( void );
|
||||
/// Overwritten from gamemovement.cpp <---
|
||||
|
||||
/// For debug purposes only
|
||||
virtual void PlayerMove( void );
|
||||
// <--- Overwritten functions
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue