mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 22:27:05 +00:00
44 lines
1.0 KiB
C++
44 lines
1.0 KiB
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose: The main manager of the physics
|
|
//
|
|
// $Revision: $
|
|
// $NoKeywords: $
|
|
//===========================================================================//
|
|
|
|
#ifndef PHYSICSMANAGER_H
|
|
#define PHYSICSMANAGER_H
|
|
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "gamemanager.h"
|
|
#include "tier2/keybindings.h"
|
|
#include "tier1/commandbuffer.h"
|
|
#include "bitvec.h"
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Input management
|
|
//-----------------------------------------------------------------------------
|
|
class CPhysicsManager : public CGameManager<>
|
|
{
|
|
public:
|
|
// Inherited from IGameManager
|
|
virtual void Update( );
|
|
virtual bool PerformsSimulation() { return true; }
|
|
|
|
private:
|
|
};
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Singleton accessor
|
|
//-----------------------------------------------------------------------------
|
|
extern CPhysicsManager *g_pPhysicsManager;
|
|
|
|
|
|
#endif // PHYSICSMANAGER_H
|
|
|