This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "cbase.h" | |
#include "fmtstr.h" | |
//Vgui render stuff | |
#include "VGuiMatSurface/IMatSystemSurface.h" | |
#include <vgui_controls/Panel.h> | |
#include <vgui_controls/Label.h> | |
#include <vgui/ISurface.h> | |
//Debugging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//========= Copyright Valve Corporation, All rights reserved. ============// | |
// | |
// Purpose: Special handling for hl2 usable ladders | |
// | |
//=============================================================================// | |
#include "cbase.h" | |
#define USE_CSS_LADDERS | |
#ifdef USE_CSS_LADDERS | |
#include "gamemovement.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Loop sprinting | |
bool running = (m_fIsSprinting && GetAbsVelocity().Length2D() > 40); | |
if( running || m_fSprintStart > 0.0f) | |
{ | |
EmitSound_t t; | |
t.m_pSoundName = "Player.SprintLoop"; | |
t.m_nFlags = SND_CHANGE_VOL; | |
if( m_fSprintStart > 0.0f && !running ) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======// | |
// | |
// Purpose: | |
// | |
// $NoKeywords: $ | |
//===========================================================================// | |
#include "cbase.h" | |
#include "hud.h" | |
#include "in_buttons.h" |