plugins/include/version.inc
author David Anderson <dvander@alliedmods.net>
Fri Aug 15 05:22:26 2008 +0000 (2008-08-15)
changeset 2226 d10b38524be3
parent 2105 ad190b9bb5af
child 2289 44045ead61cd
permissions -rw-r--r--
Landed sourcepawn-1.2. The big changes:

1) JIT compilation/optimization now occurs per-function, and only when functions are first used. We're now officially a whole-method JIT rather than an AOT compiler (albiet, still a simple JIT). This has two implications: Functions are now much better abstracted internally, and loading a plugin is now much less expensive. If a function contains calls to other functions, THOSE functions are only compiled when they're invoked as well.

2) I've removed debug mode. We always show full backtraces now, as there was a very cheap way to implement this which really cleaned up everything. This is great for a number of reasons -- there's less code, the JIT is better designed, we don't need to relocate debug tables, and best of all we no longer have to tell users to enable debug mode at their own expense.
dvander@1969
     1
/**
dvander@1969
     2
 * vim: set ts=4 :
dvander@1969
     3
 * =============================================================================
dvander@1969
     4
 * SourceMod (C)2004-2008 AlliedModders LLC.  All rights reserved.
dvander@1969
     5
 * =============================================================================
dvander@1969
     6
 *
dvander@1969
     7
 * This file is part of the SourceMod/SourcePawn SDK.
dvander@1969
     8
 *
dvander@1969
     9
 * This program is free software; you can redistribute it and/or modify it under
dvander@1969
    10
 * the terms of the GNU General Public License, version 3.0, as published by the
dvander@1969
    11
 * Free Software Foundation.
dvander@1969
    12
 * 
dvander@1969
    13
 * This program is distributed in the hope that it will be useful, but WITHOUT
dvander@1969
    14
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
dvander@1969
    15
 * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
dvander@1969
    16
 * details.
dvander@1969
    17
 *
dvander@1969
    18
 * You should have received a copy of the GNU General Public License along with
dvander@1969
    19
 * this program.  If not, see <http://www.gnu.org/licenses/>.
dvander@1969
    20
 *
dvander@1969
    21
 * As a special exception, AlliedModders LLC gives you permission to link the
dvander@1969
    22
 * code of this program (as well as its derivative works) to "Half-Life 2," the
dvander@1969
    23
 * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
dvander@1969
    24
 * by the Valve Corporation.  You must obey the GNU General Public License in
dvander@1969
    25
 * all respects for all other code used.  Additionally, AlliedModders LLC grants
dvander@1969
    26
 * this exception to all derivative works.  AlliedModders LLC defines further
dvander@1969
    27
 * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
dvander@1969
    28
 * or <http://www.sourcemod.net/license.php>.
dvander@1969
    29
 *
dvander@1969
    30
 * Version: $Id$
dvander@1969
    31
 */
dvander@1969
    32
 
dvander@1969
    33
#if defined _version_included
dvander@1969
    34
 #endinput
dvander@1969
    35
#endif
dvander@1969
    36
#define _version_included
dvander@1969
    37
dvander@1969
    38
#define SOURCEMOD_V_MAJOR		1				/**< SourceMod Major version */
dvander@1969
    39
#define SOURCEMOD_V_MINOR		1				/**< SourceMod Minor version */
dvander@1969
    40
#define SOURCEMOD_V_RELEASE		0				/**< SourceMod Release version */
dvander@1969
    41
dvander@2105
    42
#define SOURCEMOD_VERSION		"1.1.0-svn"	/**< SourceMod version string (major.minor.release.build) */