mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
1
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
//========= 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
|
||||
|
||||
Reference in New Issue
Block a user