mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-04-12 04:30:08 +03:00
* Adds support for Visual Studio 2012 and 2013 * VR Mode: . Switches from headtrack.dll to sourcevr.dll . Improved readability of the UI in VR . Removed the IPD calibration tool. TF2 will now obey the Oculus configuration file. Use the Oculus calibration tool in your SDK or install and run "OpenVR" under Tools in Steam to calibrate your IPD. . Added dropdown to enable VR mode in the Video options. Removed the -vr command line option. . Added the ability to switch in and out of VR mode without quitting the game . By default VR mode will run full screen. To switch back to a borderless window set the vr_force_windowed convar. . Added support for VR mode on Linux * Many assorted bug fixes and other changes from Team Fortress in various shared files
54 lines
1.2 KiB
C++
54 lines
1.2 KiB
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================//
|
|
|
|
#ifndef BASEPROJECTILE_H
|
|
#define BASEPROJECTILE_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "cbase.h"
|
|
|
|
#ifdef GAME_DLL
|
|
#include "baseanimating.h"
|
|
#else
|
|
#include "c_baseanimating.h"
|
|
#endif
|
|
|
|
#ifdef CLIENT_DLL
|
|
#define CBaseProjectile C_BaseProjectile
|
|
#endif // CLIENT_DLL
|
|
|
|
//=============================================================================
|
|
//
|
|
// Base Projectile.
|
|
//
|
|
//=============================================================================
|
|
class CBaseProjectile : public CBaseAnimating
|
|
{
|
|
public:
|
|
DECLARE_CLASS( CBaseProjectile, CBaseAnimating );
|
|
DECLARE_NETWORKCLASS();
|
|
|
|
CBaseProjectile();
|
|
|
|
#ifdef GAME_DLL
|
|
virtual int GetDestroyableHitCount( void ) const { return m_iDestroyableHitCount; }
|
|
void IncrementDestroyableHitCount( void ) { ++m_iDestroyableHitCount; }
|
|
#endif // GAME_DLL
|
|
|
|
virtual bool IsDestroyable( void ) { return false; }
|
|
virtual void Destroy( bool bBlinkOut = true, bool bBreakRocket = false ) {}
|
|
|
|
protected:
|
|
#ifdef GAME_DLL
|
|
int m_iDestroyableHitCount;
|
|
#endif // GAME_DLL
|
|
};
|
|
|
|
#endif // BASEPROJECTILE_H
|