From 39ed87570bdb2f86969d4be821c94b722dc71179 Mon Sep 17 00:00:00 2001 From: Joe Ludwig Date: Wed, 26 Jun 2013 15:22:04 -0700 Subject: First version of the SOurce SDK 2013 --- mp/src/game/shared/mapdata_shared.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 mp/src/game/shared/mapdata_shared.h (limited to 'mp/src/game/shared/mapdata_shared.h') 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 -- cgit v1.2.3