You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
844 B
42 lines
844 B
3 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
//=============================================================================//
|
||
|
|
||
|
#ifndef C_HL1_GAMEMOVEMENT_H
|
||
|
#define C_HL1_GAMEMOVEMENT_H
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
#ifdef CLIENT_DLL
|
||
|
#include "hl1/hl1_c_player.h"
|
||
|
#else
|
||
|
#include "hl1_player.h"
|
||
|
#endif
|
||
|
|
||
|
#if defined( CLIENT_DLL )
|
||
|
class CHL1_Player;
|
||
|
#define CHL1_Player C_HL1_Player
|
||
|
#endif
|
||
|
|
||
|
#define PLAYER_LONGJUMP_SPEED 350 // how fast we longjump
|
||
|
|
||
|
class CHL1GameMovement : public CGameMovement
|
||
|
{
|
||
|
public:
|
||
|
DECLARE_CLASS( CHL1GameMovement, CGameMovement );
|
||
|
|
||
|
virtual bool CheckJumpButton( void );
|
||
|
|
||
|
// Duck
|
||
|
virtual void Duck( void );
|
||
|
virtual void HandleDuckingSpeedCrop();
|
||
|
virtual void CheckParameters( void );
|
||
|
|
||
|
protected:
|
||
|
CHL1_Player *m_pHL1Player;
|
||
|
};
|
||
|
|
||
|
#endif //C_HL1_GAMEMOVEMENT_H
|