diff options
| author | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
|---|---|---|
| committer | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
| commit | 39ed87570bdb2f86969d4be821c94b722dc71179 (patch) | |
| tree | abc53757f75f40c80278e87650ea92808274aa59 /mp/src/game/shared/mapdata_shared.h | |
| download | source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip | |
First version of the SOurce SDK 2013
Diffstat (limited to 'mp/src/game/shared/mapdata_shared.h')
| -rw-r--r-- | mp/src/game/shared/mapdata_shared.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/mp/src/game/shared/mapdata_shared.h b/mp/src/game/shared/mapdata_shared.h new file mode 100644 index 00000000..00b8e520 --- /dev/null +++ b/mp/src/game/shared/mapdata_shared.h @@ -0,0 +1,33 @@ +//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef MAPDATA_SHARED_H
+#define MAPDATA_SHARED_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "interface.h"
+#include "mathlib/vector.h"
+
+#define INTERFACEVERSION_MAPDATA "MapData001"
+
+abstract_class IMapData
+{
+public:
+
+ // World data queries.
+ virtual void GetMapBounds( Vector &vecMins, Vector &vecMaxs ) = 0;
+ virtual void GetMapOrigin( Vector &vecOrigin ) = 0;
+ virtual void GetMapSize( Vector &vecSize ) = 0;
+
+ // 3D Skybox data queries.
+ virtual void Get3DSkyboxOrigin( Vector &vecOrigin ) = 0;
+ virtual float Get3DSkyboxScale( void ) = 0;
+};
+
+#endif // MAPDATA_SHARED_H
\ No newline at end of file |