plugins/include/core.inc
author David Anderson <dvander@alliedmods.net>
Fri Jan 26 02:50:48 2007 +0000 (2007-01-26)
changeset 376 02c9ad824677
parent 374 39ab08027d9e
child 475 bb11d7eaae0f
permissions -rw-r--r--
changed license header again
     1 /**
     2  * ===============================================================
     3  * SourceMod (C)2004-2007 AlliedModders LLC.  All rights reserved.
     4  * ===============================================================
     5  *
     6  *  This file is part of the SourceMod/SourcePawn SDK.  This file may only be used 
     7  * or modified under the Terms and Conditions of its License Agreement, which is found 
     8  * in LICENSE.txt.  The Terms and Conditions for making SourceMod extensions/plugins 
     9  * may change at any time.  To view the latest information, see:
    10  *   http://www.sourcemod.net/license.php
    11  *
    12  * Version: $Id$
    13  */
    14 
    15 #if defined _core_included
    16  #endinput
    17 #endif
    18 #define _core_included
    19 
    20 #define SOURCEMOD_PLUGINAPI_VERSION		1
    21 struct PlVers
    22 {
    23 	version,
    24 };
    25 
    26 public PlVers:__version = 
    27 {
    28 	version = SOURCEMOD_PLUGINAPI_VERSION,
    29 };
    30 
    31 struct Extension
    32 {
    33 	const String:name[],	/* Short name */
    34 	const String:file[],	/* Default file name */
    35 	bool:autoload,			/* Whether or not to auto-load */
    36 	bool:required,			/* Whether or not to require */
    37 };
    38 
    39 #define AUTOLOAD_EXTENSIONS
    40 #define REQUIRE_EXTENSIONS
    41