sdk/smsdk_config.h
changeset 0 4c53fd0b014e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sdk/smsdk_config.h	Fri Feb 20 15:24:04 2009 +1300
     1.3 @@ -0,0 +1,80 @@
     1.4 +/**
     1.5 + * vim: set ts=4 :
     1.6 + * =============================================================================
     1.7 + * SourceMod Sample Extension
     1.8 + * Copyright (C) 2004-2008 AlliedModders LLC.  All rights reserved.
     1.9 + * =============================================================================
    1.10 + *
    1.11 + * This program is free software; you can redistribute it and/or modify it under
    1.12 + * the terms of the GNU General Public License, version 3.0, as published by the
    1.13 + * Free Software Foundation.
    1.14 + * 
    1.15 + * This program is distributed in the hope that it will be useful, but WITHOUT
    1.16 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    1.17 + * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
    1.18 + * details.
    1.19 + *
    1.20 + * You should have received a copy of the GNU General Public License along with
    1.21 + * this program.  If not, see <http://www.gnu.org/licenses/>.
    1.22 + *
    1.23 + * As a special exception, AlliedModders LLC gives you permission to link the
    1.24 + * code of this program (as well as its derivative works) to "Half-Life 2," the
    1.25 + * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
    1.26 + * by the Valve Corporation.  You must obey the GNU General Public License in
    1.27 + * all respects for all other code used.  Additionally, AlliedModders LLC grants
    1.28 + * this exception to all derivative works.  AlliedModders LLC defines further
    1.29 + * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
    1.30 + * or <http://www.sourcemod.net/license.php>.
    1.31 + *
    1.32 + * Version: $Id: smsdk_config.h 248 2008-08-27 00:56:22Z pred $
    1.33 + */
    1.34 +
    1.35 +#ifndef _INCLUDE_SOURCEMOD_EXTENSION_CONFIG_H_
    1.36 +#define _INCLUDE_SOURCEMOD_EXTENSION_CONFIG_H_
    1.37 +
    1.38 +/**
    1.39 + * @file smsdk_config.h
    1.40 + * @brief Contains macros for configuring basic extension information.
    1.41 + */
    1.42 +
    1.43 +/* Basic information exposed publicly */
    1.44 +#define SMEXT_CONF_NAME			"Sample Extension"
    1.45 +#define SMEXT_CONF_DESCRIPTION	"Sample extension to help developers"
    1.46 +#define SMEXT_CONF_VERSION		"0.0.0.0"
    1.47 +#define SMEXT_CONF_AUTHOR		"AlliedModders"
    1.48 +#define SMEXT_CONF_URL			"http://www.sourcemod.net/"
    1.49 +#define SMEXT_CONF_LOGTAG		"SAMPLE"
    1.50 +#define SMEXT_CONF_LICENSE		"GPL"
    1.51 +#define SMEXT_CONF_DATESTRING	__DATE__
    1.52 +
    1.53 +/** 
    1.54 + * @brief Exposes plugin's main interface.
    1.55 + */
    1.56 +#define SMEXT_LINK(name) SDKExtension *g_pExtensionIface = name;
    1.57 +
    1.58 +/**
    1.59 + * @brief Sets whether or not this plugin required Metamod.
    1.60 + * NOTE: Uncomment to enable, comment to disable.
    1.61 + */
    1.62 +#define SMEXT_CONF_METAMOD		
    1.63 +
    1.64 +/** Enable interfaces you want to use here by uncommenting lines */
    1.65 +//#define SMEXT_ENABLE_FORWARDSYS
    1.66 +//#define SMEXT_ENABLE_HANDLESYS
    1.67 +//#define SMEXT_ENABLE_PLAYERHELPERS
    1.68 +//#define SMEXT_ENABLE_DBMANAGER
    1.69 +#define SMEXT_ENABLE_GAMECONF
    1.70 +//#define SMEXT_ENABLE_MEMUTILS
    1.71 +//#define SMEXT_ENABLE_GAMEHELPERS
    1.72 +//#define SMEXT_ENABLE_TIMERSYS
    1.73 +//#define SMEXT_ENABLE_THREADER
    1.74 +//#define SMEXT_ENABLE_LIBSYS
    1.75 +//#define SMEXT_ENABLE_MENUS
    1.76 +//#define SMEXT_ENABLE_ADTFACTORY
    1.77 +//#define SMEXT_ENABLE_PLUGINSYS
    1.78 +//#define SMEXT_ENABLE_ADMINSYS
    1.79 +//#define SMEXT_ENABLE_TEXTPARSERS
    1.80 +//#define SMEXT_ENABLE_USERMSGS
    1.81 +//#define SMEXT_ENABLE_TRANSLATOR
    1.82 +
    1.83 +#endif // _INCLUDE_SOURCEMOD_EXTENSION_CONFIG_H_