added versioning to plugins
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40578
This commit is contained in:
@@ -18,10 +18,13 @@
|
||||
#endif
|
||||
#define _core_included
|
||||
|
||||
#define SOURCEMOD_PLUGINAPI_VERSION 1
|
||||
#include <version>
|
||||
|
||||
#define SOURCEMOD_PLUGINAPI_VERSION 2
|
||||
struct PlVers
|
||||
{
|
||||
version,
|
||||
String:filevers[],
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -37,6 +40,7 @@ enum Action
|
||||
public PlVers:__version =
|
||||
{
|
||||
version = SOURCEMOD_PLUGINAPI_VERSION,
|
||||
filevers = SOURCEMOD_VERSION
|
||||
};
|
||||
|
||||
struct Extension
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* vim: set ts=4 :
|
||||
* ===============================================================
|
||||
* SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved.
|
||||
* ===============================================================
|
||||
*
|
||||
* This file is part of the SourceMod/SourcePawn SDK. This file may only be used
|
||||
* or modified under the Terms and Conditions of its License Agreement, which is found
|
||||
* in LICENSE.txt. The Terms and Conditions for making SourceMod extensions/plugins
|
||||
* may change at any time. To view the latest information, see:
|
||||
* http://www.sourcemod.net/license.php
|
||||
*
|
||||
* Version: $Id$
|
||||
*/
|
||||
|
||||
#if defined _version_included
|
||||
#endinput
|
||||
#endif
|
||||
#define _version_included
|
||||
|
||||
#define SOURCEMOD_V_MAJOR 1
|
||||
#define SOURCEMOD_V_MINOR 0
|
||||
#define SOURCEMOD_V_RELEASE 0
|
||||
|
||||
#define SOURCEMOD_VERSION "1.0.0.577"
|
||||
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* vim: set ts=4 :
|
||||
* ===============================================================
|
||||
* SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved.
|
||||
* ===============================================================
|
||||
*
|
||||
* This file is part of the SourceMod/SourcePawn SDK. This file may only be used
|
||||
* or modified under the Terms and Conditions of its License Agreement, which is found
|
||||
* in LICENSE.txt. The Terms and Conditions for making SourceMod extensions/plugins
|
||||
* may change at any time. To view the latest information, see:
|
||||
* http://www.sourcemod.net/license.php
|
||||
*
|
||||
* Version: $Id$
|
||||
*/
|
||||
|
||||
#if defined _version_included
|
||||
#endinput
|
||||
#endif
|
||||
#define _version_included
|
||||
|
||||
#define SOURCEMOD_V_MAJOR $PMAJOR$
|
||||
#define SOURCEMOD_V_MINOR $PMINOR$
|
||||
#define SOURCEMOD_V_RELEASE $PREVISION$
|
||||
|
||||
#define SOURCEMOD_VERSION "$PMAJOR$.$PMINOR$.$PREVISION$.$GLOBAL_BUILD$"
|
||||
Reference in New Issue
Block a user