Fixed up IGameHelpers.h such that it no longer requires HL2SDK headers if a function doesn't need them
--HG-- branch : sourcemod-1.0.1 extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.0.1%402143
This commit is contained in:
parent
bba7ff1c37
commit
7d372ceedc
@ -41,6 +41,8 @@
|
||||
#include "sm_queue.h"
|
||||
#include <IGameHelpers.h>
|
||||
#include <KeyValues.h>
|
||||
#include <server_class.h>
|
||||
#include <datamap.h>
|
||||
|
||||
class CCommand;
|
||||
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include "sm_globals.h"
|
||||
#include "sourcemod.h"
|
||||
#include "sourcemm_api.h"
|
||||
#include "server_class.h"
|
||||
#include "PlayerManager.h"
|
||||
#include "HalfLife2.h"
|
||||
#include "GameConfigs.h"
|
||||
|
@ -45,6 +45,8 @@
|
||||
#include <IEngineSound.h>
|
||||
#include <ivoiceserver.h>
|
||||
#include <iplayerinfo.h>
|
||||
#include <server_class.h>
|
||||
#include <datamap.h>
|
||||
#include <convar.h>
|
||||
#include <iserver.h>
|
||||
#include <cdll_int.h>
|
||||
|
@ -32,20 +32,21 @@
|
||||
#ifndef _INCLUDE_SOURCEMOD_GAMEHELPERS_H_
|
||||
#define _INCLUDE_SOURCEMOD_GAMEHELPERS_H_
|
||||
|
||||
#include <IShareSys.h>
|
||||
#include <dt_send.h>
|
||||
#include <server_class.h>
|
||||
#include <datamap.h>
|
||||
#include <edict.h>
|
||||
|
||||
#define SMINTERFACE_GAMEHELPERS_NAME "IGameHelpers"
|
||||
#define SMINTERFACE_GAMEHELPERS_VERSION 2
|
||||
|
||||
/**
|
||||
* @file IGameHelpers.h
|
||||
* @brief Provides Source helper functions.
|
||||
*/
|
||||
|
||||
#define SMINTERFACE_GAMEHELPERS_NAME "IGameHelpers"
|
||||
#define SMINTERFACE_GAMEHELPERS_VERSION 2
|
||||
|
||||
class CBaseEntity;
|
||||
class SendProp;
|
||||
class ServerClass;
|
||||
struct edict_t;
|
||||
struct datamap_t;
|
||||
struct typedescription_t;
|
||||
|
||||
namespace SourceMod
|
||||
{
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user