core/ISmmPluginExt.h
changeset 674 c4ed595f6248
parent 669 2ae87570fab2
child 675 2143eb1cfc6e
     1.1 --- a/core/ISmmPluginExt.h	Thu Oct 29 11:26:05 2009 -0500
     1.2 +++ b/core/ISmmPluginExt.h	Thu Oct 29 16:23:25 2009 -0500
     1.3 @@ -41,9 +41,10 @@
     1.4  #define SOURCE_ENGINE_ORANGEBOX			3				/**< Orange Box Source Engine (third major SDK) */
     1.5  #define SOURCE_ENGINE_LEFT4DEAD			4				/**< Left 4 Dead */
     1.6  #define SOURCE_ENGINE_DARKMESSIAH		5				/**< Dark Messiah Multiplayer (based on original engine) */
     1.7 +#define SOURCE_ENGINE_ORANGEBOXVALVE	6				/**< Orange Box Source Engine for Valve games (TF2/DOD:S) */
     1.8  #define SOURCE_ENGINE_LEFT4DEAD2		7				/**< Left 4 Dead 2 */
     1.9  
    1.10 -#define METAMOD_PLAPI_VERSION			14				/**< Version of this header file */
    1.11 +#define METAMOD_PLAPI_VERSION			15				/**< Version of this header file */
    1.12  #define METAMOD_PLAPI_NAME				"ISmmPlugin"	/**< Name of the plugin interface */
    1.13  
    1.14  namespace SourceMM
    1.15 @@ -110,6 +111,7 @@
    1.16  	int pl_min;				/**< Plugin API minimum version */
    1.17  	int pl_max;				/**< Plugin API maximum version */
    1.18  	int source_engine;		/**< Source Engine version (SOURCE_* constants) */
    1.19 +	const char *game_dir;	/**< Game directory name */
    1.20  };
    1.21  
    1.22  /**