diff options
Diffstat (limited to 'mp/src/game/server/nav_mesh_factory.cpp')
| -rw-r--r-- | mp/src/game/server/nav_mesh_factory.cpp | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/mp/src/game/server/nav_mesh_factory.cpp b/mp/src/game/server/nav_mesh_factory.cpp index 855e1f3a..70d9936b 100644 --- a/mp/src/game/server/nav_mesh_factory.cpp +++ b/mp/src/game/server/nav_mesh_factory.cpp @@ -1,45 +1,45 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//
-//=============================================================================//
-// NavMeshFactory.cpp
-// Factory to create the NavMesh singleton
-// Author: Michael S. Booth, June 2005
-
-#include "cbase.h"
-#include "nav_mesh.h"
-
-#ifdef TERROR
-#include "terror/TerrorNav.h"
-#endif
-
-#ifdef TF_DLL
-#include "tf/nav_mesh/tf_nav_mesh.h"
-#endif
-
-#ifdef CSTRIKE_DLL
-#include "cstrike/cs_nav_mesh.h"
-#endif
-
-// memdbgon must be the last include file in a .cpp file!!!
-#include "tier0/memdbgon.h"
-
-CNavMesh *NavMeshFactory( void )
-{
-#ifdef TERROR
- return new TerrorNavMesh;
-#endif
-
-#ifdef TF_DLL
- return new CTFNavMesh;
-#endif
-
-#ifdef CSTRIKE_DLL
- return new CSNavMesh;
-#endif
-
- return new CNavMesh;
-}
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// +// NavMeshFactory.cpp +// Factory to create the NavMesh singleton +// Author: Michael S. Booth, June 2005 + +#include "cbase.h" +#include "nav_mesh.h" + +#ifdef TERROR +#include "terror/TerrorNav.h" +#endif + +#ifdef TF_DLL +#include "tf/nav_mesh/tf_nav_mesh.h" +#endif + +#ifdef CSTRIKE_DLL +#include "cstrike/cs_nav_mesh.h" +#endif + +// memdbgon must be the last include file in a .cpp file!!! +#include "tier0/memdbgon.h" + +CNavMesh *NavMeshFactory( void ) +{ +#ifdef TERROR + return new TerrorNavMesh; +#endif + +#ifdef TF_DLL + return new CTFNavMesh; +#endif + +#ifdef CSTRIKE_DLL + return new CSNavMesh; +#endif + + return new CNavMesh; +} |