core/sourcemm_api.h
changeset 1541 e46ad208b9b4
parent 1330 ab94316bb52b
child 1581 2562512b4a44
     1.1 --- a/core/sourcemm_api.h	Sat Oct 13 22:13:43 2007 +0000
     1.2 +++ b/core/sourcemm_api.h	Sun Oct 14 00:04:21 2007 +0000
     1.3 @@ -32,7 +32,11 @@
     1.4  #ifndef _INCLUDE_SOURCEMOD_MM_API_H_
     1.5  #define _INCLUDE_SOURCEMOD_MM_API_H_
     1.6  
     1.7 -#include "convar_sm.h"
     1.8 +#if defined ORANGEBOX_BUILD
     1.9 +	#include "convar_sm_ob.h"
    1.10 +#else
    1.11 +	#include "convar_sm.h"
    1.12 +#endif
    1.13  #include <ISmmPlugin.h>
    1.14  #include <eiface.h>
    1.15  #include <igameevents.h>
    1.16 @@ -41,6 +45,10 @@
    1.17  #include <filesystem.h>
    1.18  #include <IEngineSound.h>
    1.19  
    1.20 +#ifndef METAMOD_PLAPI_VERSION
    1.21 +	#include <metamod_wrappers.h>
    1.22 +#endif
    1.23 +
    1.24  /**
    1.25   * @file Contains wrappers around required Metamod:Source API exports
    1.26   */