Fixed amb1454 - Nextmap broken on mods that use the scores usermsg differently to CS:S
authorMatt Woodrow <pred@alliedmods.net>
Sun May 25 07:11:16 2008 +0000 (2008-05-25)
changeset 20773c6fe374e8b7
parent 2076 c6bd617bf370
child 2078 6e641c6f4f97
Fixed amb1454 - Nextmap broken on mods that use the scores usermsg differently to CS:S
core/Makefile
core/NextMap.cpp
core/NextMap.h
core/msvc8/sourcemod_mm.vcproj
core/msvc9/sourcemod_mm.sln
core/msvc9/sourcemod_mm.vcproj
core/smn_nextmap.cpp
plugins/include/nextmap.inc
plugins/include/sourcemod.inc
plugins/nextmap.sp
translations/nextmap.phrases.txt
     1.1 --- a/core/Makefile	Sun May 25 03:26:31 2008 +0000
     1.2 +++ b/core/Makefile	Sun May 25 07:11:16 2008 +0000
     1.3 @@ -18,14 +18,14 @@
     1.4  	sm_autonatives.cpp sm_memtable.cpp sm_srvcmds.cpp sm_stringutil.cpp sm_trie.cpp \
     1.5  	sourcemm_api.cpp sourcemod.cpp MenuStyle_Base.cpp MenuStyle_Valve.cpp MenuManager.cpp \
     1.6  	MenuStyle_Radio.cpp ChatTriggers.cpp ADTFactory.cpp MenuVoting.cpp sm_crc32.cpp \
     1.7 -	frame_hooks.cpp concmd_cleaner.cpp Profiler.cpp PhraseCollection.cpp
     1.8 +	frame_hooks.cpp concmd_cleaner.cpp Profiler.cpp PhraseCollection.cpp NextMap.cpp
     1.9  OBJECTS += smn_admin.cpp smn_bitbuffer.cpp smn_console.cpp smn_core.cpp \
    1.10  	smn_datapacks.cpp smn_entities.cpp smn_events.cpp smn_fakenatives.cpp \
    1.11  	smn_filesystem.cpp smn_float.cpp smn_functions.cpp smn_gameconfigs.cpp smn_halflife.cpp \
    1.12  	smn_handles.cpp smn_keyvalues.cpp smn_banning.cpp smn_maplists.cpp \
    1.13  	smn_lang.cpp smn_player.cpp smn_string.cpp smn_sorting.cpp smn_textparse.cpp smn_timers.cpp \
    1.14  	smn_usermsgs.cpp smn_menus.cpp smn_database.cpp smn_vector.cpp smn_adt_array.cpp \
    1.15 -	smn_adt_trie.cpp smn_hudtext.cpp smn_adt_stack.cpp
    1.16 +	smn_adt_trie.cpp smn_hudtext.cpp smn_adt_stack.cpp smn_nextmap.cpp
    1.17  OBJECTS += systems/ExtensionSys.cpp systems/ForwardSys.cpp systems/HandleSys.cpp \
    1.18  	systems/LibrarySys.cpp systems/PluginInfoDatabase.cpp systems/PluginSys.cpp \
    1.19  	systems/ShareSys.cpp vm/sp_vm_basecontext.cpp vm/sp_vm_engine.cpp \
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/core/NextMap.cpp	Sun May 25 07:11:16 2008 +0000
     2.3 @@ -0,0 +1,90 @@
     2.4 +/**
     2.5 + * vim: set ts=4 :
     2.6 + * =============================================================================
     2.7 + * SourceMod
     2.8 + * Copyright (C) 2004-2008 AlliedModders LLC.  All rights reserved.
     2.9 + * =============================================================================
    2.10 + *
    2.11 + * This program is free software; you can redistribute it and/or modify it under
    2.12 + * the terms of the GNU General Public License, version 3.0, as published by the
    2.13 + * Free Software Foundation.
    2.14 + * 
    2.15 + * This program is distributed in the hope that it will be useful, but WITHOUT
    2.16 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    2.17 + * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
    2.18 + * details.
    2.19 + *
    2.20 + * You should have received a copy of the GNU General Public License along with
    2.21 + * this program.  If not, see <http://www.gnu.org/licenses/>.
    2.22 + *
    2.23 + * As a special exception, AlliedModders LLC gives you permission to link the
    2.24 + * code of this program (as well as its derivative works) to "Half-Life 2," the
    2.25 + * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
    2.26 + * by the Valve Corporation.  You must obey the GNU General Public License in
    2.27 + * all respects for all other code used.  Additionally, AlliedModders LLC grants
    2.28 + * this exception to all derivative works.  AlliedModders LLC defines further
    2.29 + * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
    2.30 + * or <http://www.sourcemod.net/license.php>.
    2.31 + *
    2.32 + * Version: $Id$
    2.33 + */
    2.34 +
    2.35 +#include "NextMap.h"
    2.36 +#include "Logger.h"
    2.37 +#include "sourcemm_api.h"
    2.38 +#include "sm_stringutil.h"
    2.39 +
    2.40 +NextMapManager g_NextMap;
    2.41 +
    2.42 +SH_DECL_HOOK2_void(IVEngineServer, ChangeLevel, SH_NOATTRIB, 0, const char *, const char *);
    2.43 +
    2.44 +ConVar sm_nextmap("sm_nextmap", "", FCVAR_NOTIFY);
    2.45 +
    2.46 +void NextMapManager::OnSourceModAllInitialized_Post()
    2.47 +{
    2.48 +#if defined ORANGEBOX_BUILD
    2.49 +	SH_ADD_HOOK(IVEngineServer, ChangeLevel, engine, SH_MEMBER(this, &NextMapManager::HookChangeLevel), false);
    2.50 +#else
    2.51 +	SH_ADD_HOOK_MEMFUNC(IVEngineServer, ChangeLevel, engine, this, &NextMapManager::HookChangeLevel, false);
    2.52 +#endif
    2.53 +}
    2.54 +
    2.55 +void NextMapManager::OnSourceModShutdown()
    2.56 +{
    2.57 +#if defined ORANGEBOX_BUILD
    2.58 +	SH_REMOVE_HOOK(IVEngineServer, ChangeLevel, engine, SH_MEMBER(this, &NextMapManager::HookChangeLevel), false);
    2.59 +#else
    2.60 +	SH_REMOVE_HOOK_MEMFUNC(IVEngineServer, ChangeLevel, engine, this, &NextMapManager::HookChangeLevel, false);
    2.61 +#endif
    2.62 +}
    2.63 +
    2.64 +const char *NextMapManager::GetNextMap()
    2.65 +{
    2.66 +	return sm_nextmap.GetString();
    2.67 +}
    2.68 +
    2.69 +bool NextMapManager::SetNextMap(const char *map)
    2.70 +{
    2.71 +	if (!engine->IsMapValid(map))
    2.72 +	{
    2.73 +		return false;
    2.74 +	}
    2.75 +
    2.76 +	sm_nextmap.SetValue(map);
    2.77 +
    2.78 +	return true;
    2.79 +}
    2.80 +
    2.81 +void NextMapManager::HookChangeLevel(const char *map, const char *unknown)
    2.82 +{
    2.83 +	const char *newmap = sm_nextmap.GetString();
    2.84 +
    2.85 +	if (newmap[0] == 0 || !engine->IsMapValid(newmap))
    2.86 +	{
    2.87 +		RETURN_META(MRES_IGNORED);
    2.88 +	}
    2.89 +
    2.90 +	g_Logger.LogMessage("[SM] Changed map to \"%s\"", newmap);
    2.91 +
    2.92 +	RETURN_META_NEWPARAMS(MRES_IGNORED, &IVEngineServer::ChangeLevel, (newmap, unknown));
    2.93 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/core/NextMap.h	Sun May 25 07:11:16 2008 +0000
     3.3 @@ -0,0 +1,52 @@
     3.4 +/**
     3.5 + * vim: set ts=4 :
     3.6 + * =============================================================================
     3.7 + * SourceMod
     3.8 + * Copyright (C) 2004-2008 AlliedModders LLC.  All rights reserved.
     3.9 + * =============================================================================
    3.10 + *
    3.11 + * This program is free software; you can redistribute it and/or modify it under
    3.12 + * the terms of the GNU General Public License, version 3.0, as published by the
    3.13 + * Free Software Foundation.
    3.14 + * 
    3.15 + * This program is distributed in the hope that it will be useful, but WITHOUT
    3.16 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    3.17 + * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
    3.18 + * details.
    3.19 + *
    3.20 + * You should have received a copy of the GNU General Public License along with
    3.21 + * this program.  If not, see <http://www.gnu.org/licenses/>.
    3.22 + *
    3.23 + * As a special exception, AlliedModders LLC gives you permission to link the
    3.24 + * code of this program (as well as its derivative works) to "Half-Life 2," the
    3.25 + * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
    3.26 + * by the Valve Corporation.  You must obey the GNU General Public License in
    3.27 + * all respects for all other code used.  Additionally, AlliedModders LLC grants
    3.28 + * this exception to all derivative works.  AlliedModders LLC defines further
    3.29 + * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
    3.30 + * or <http://www.sourcemod.net/license.php>.
    3.31 + *
    3.32 + * Version: $Id$
    3.33 + */
    3.34 +
    3.35 +#ifndef _INCLUDE_SOURCEMOD_NEXTMAP_H_
    3.36 +#define _INCLUDE_SOURCEMOD_NEXTMAP_H_
    3.37 +
    3.38 +#include "sm_globals.h"
    3.39 +#include "eiface.h"
    3.40 +
    3.41 +class NextMapManager : public SMGlobalClass
    3.42 +{
    3.43 +public:
    3.44 +	void OnSourceModAllInitialized_Post();
    3.45 +	void OnSourceModShutdown();
    3.46 +
    3.47 +	const char *GetNextMap();
    3.48 +	bool SetNextMap(const char *map);
    3.49 +
    3.50 +	void HookChangeLevel(const char *map, const char *unknown);
    3.51 +};
    3.52 +
    3.53 +extern NextMapManager g_NextMap;
    3.54 +
    3.55 +#endif //_INCLUDE_SOURCEMOD_NEXTMAP_H_
     4.1 --- a/core/msvc8/sourcemod_mm.vcproj	Sun May 25 03:26:31 2008 +0000
     4.2 +++ b/core/msvc8/sourcemod_mm.vcproj	Sun May 25 07:11:16 2008 +0000
     4.3 @@ -902,6 +902,10 @@
     4.4  				>
     4.5  			</File>
     4.6  			<File
     4.7 +				RelativePath="..\NextMap.cpp"
     4.8 +				>
     4.9 +			</File>
    4.10 +			<File
    4.11  				RelativePath="..\PhraseCollection.cpp"
    4.12  				>
    4.13  			</File>
    4.14 @@ -1068,6 +1072,10 @@
    4.15  				>
    4.16  			</File>
    4.17  			<File
    4.18 +				RelativePath="..\NextMap.h"
    4.19 +				>
    4.20 +			</File>
    4.21 +			<File
    4.22  				RelativePath="..\PhraseCollection.h"
    4.23  				>
    4.24  			</File>
    4.25 @@ -1635,6 +1643,10 @@
    4.26  				>
    4.27  			</File>
    4.28  			<File
    4.29 +				RelativePath="..\smn_nextmap.cpp"
    4.30 +				>
    4.31 +			</File>
    4.32 +			<File
    4.33  				RelativePath="..\smn_player.cpp"
    4.34  				>
    4.35  			</File>
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/core/msvc9/sourcemod_mm.sln	Sun May 25 07:11:16 2008 +0000
     5.3 @@ -0,0 +1,41 @@
     5.4 +
     5.5 +Microsoft Visual Studio Solution File, Format Version 10.00
     5.6 +# Visual C++ Express 2008
     5.7 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sourcemod_mm", "sourcemod_mm.vcproj", "{E39527CD-7CAB-4420-97CC-DA1B93B260BC}"
     5.8 +EndProject
     5.9 +Global
    5.10 +	GlobalSection(SolutionConfigurationPlatforms) = preSolution
    5.11 +		CrazyDebug - Episode 1|Win32 = CrazyDebug - Episode 1|Win32
    5.12 +		CrazyDebug - Old Metamod|Win32 = CrazyDebug - Old Metamod|Win32
    5.13 +		CrazyDebug - Orange Box|Win32 = CrazyDebug - Orange Box|Win32
    5.14 +		Debug - Episode 1|Win32 = Debug - Episode 1|Win32
    5.15 +		Debug - Old Metamod|Win32 = Debug - Old Metamod|Win32
    5.16 +		Debug - Orange Box|Win32 = Debug - Orange Box|Win32
    5.17 +		Release - Episode 1|Win32 = Release - Episode 1|Win32
    5.18 +		Release - Old Metamod|Win32 = Release - Old Metamod|Win32
    5.19 +		Release - Orange Box|Win32 = Release - Orange Box|Win32
    5.20 +	EndGlobalSection
    5.21 +	GlobalSection(ProjectConfigurationPlatforms) = postSolution
    5.22 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.CrazyDebug - Episode 1|Win32.ActiveCfg = CrazyDebug - Episode 1|Win32
    5.23 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.CrazyDebug - Episode 1|Win32.Build.0 = CrazyDebug - Episode 1|Win32
    5.24 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.CrazyDebug - Old Metamod|Win32.ActiveCfg = CrazyDebug - Old Metamod|Win32
    5.25 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.CrazyDebug - Old Metamod|Win32.Build.0 = CrazyDebug - Old Metamod|Win32
    5.26 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.CrazyDebug - Orange Box|Win32.ActiveCfg = CrazyDebug - Orange Box|Win32
    5.27 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.CrazyDebug - Orange Box|Win32.Build.0 = CrazyDebug - Orange Box|Win32
    5.28 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.Debug - Episode 1|Win32.ActiveCfg = Debug - Episode 1|Win32
    5.29 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.Debug - Episode 1|Win32.Build.0 = Debug - Episode 1|Win32
    5.30 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.Debug - Old Metamod|Win32.ActiveCfg = Debug - Old Metamod|Win32
    5.31 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.Debug - Old Metamod|Win32.Build.0 = Debug - Old Metamod|Win32
    5.32 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.Debug - Orange Box|Win32.ActiveCfg = Debug - Orange Box|Win32
    5.33 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.Debug - Orange Box|Win32.Build.0 = Debug - Orange Box|Win32
    5.34 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.Release - Episode 1|Win32.ActiveCfg = Release - Episode 1|Win32
    5.35 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.Release - Episode 1|Win32.Build.0 = Release - Episode 1|Win32
    5.36 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.Release - Old Metamod|Win32.ActiveCfg = Release - Old Metamod|Win32
    5.37 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.Release - Old Metamod|Win32.Build.0 = Release - Old Metamod|Win32
    5.38 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.Release - Orange Box|Win32.ActiveCfg = Release - Orange Box|Win32
    5.39 +		{E39527CD-7CAB-4420-97CC-DA1B93B260BC}.Release - Orange Box|Win32.Build.0 = Release - Orange Box|Win32
    5.40 +	EndGlobalSection
    5.41 +	GlobalSection(SolutionProperties) = preSolution
    5.42 +		HideSolutionNode = FALSE
    5.43 +	EndGlobalSection
    5.44 +EndGlobal
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/core/msvc9/sourcemod_mm.vcproj	Sun May 25 07:11:16 2008 +0000
     6.3 @@ -0,0 +1,1723 @@
     6.4 +<?xml version="1.0" encoding="Windows-1252"?>
     6.5 +<VisualStudioProject
     6.6 +	ProjectType="Visual C++"
     6.7 +	Version="9.00"
     6.8 +	Name="sourcemod_mm"
     6.9 +	ProjectGUID="{E39527CD-7CAB-4420-97CC-DA1B93B260BC}"
    6.10 +	RootNamespace="sourcemod_mm"
    6.11 +	Keyword="Win32Proj"
    6.12 +	TargetFrameworkVersion="131072"
    6.13 +	>
    6.14 +	<Platforms>
    6.15 +		<Platform
    6.16 +			Name="Win32"
    6.17 +		/>
    6.18 +	</Platforms>
    6.19 +	<ToolFiles>
    6.20 +	</ToolFiles>
    6.21 +	<Configurations>
    6.22 +		<Configuration
    6.23 +			Name="CrazyDebug - Old Metamod|Win32"
    6.24 +			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
    6.25 +			IntermediateDirectory="$(ConfigurationName)"
    6.26 +			ConfigurationType="2"
    6.27 +			CharacterSet="2"
    6.28 +			>
    6.29 +			<Tool
    6.30 +				Name="VCPreBuildEventTool"
    6.31 +			/>
    6.32 +			<Tool
    6.33 +				Name="VCCustomBuildTool"
    6.34 +			/>
    6.35 +			<Tool
    6.36 +				Name="VCXMLDataGeneratorTool"
    6.37 +			/>
    6.38 +			<Tool
    6.39 +				Name="VCWebServiceProxyGeneratorTool"
    6.40 +			/>
    6.41 +			<Tool
    6.42 +				Name="VCMIDLTool"
    6.43 +			/>
    6.44 +			<Tool
    6.45 +				Name="VCCLCompilerTool"
    6.46 +				AdditionalOptions="/MP"
    6.47 +				Optimization="0"
    6.48 +				AdditionalIncludeDirectories="..\;..\systems;..\..\public;..\..\public\sourcepawn;&quot;$(HL2SDK)\public&quot;;&quot;$(HL2SDK)\public\dlls&quot;;&quot;$(HL2SDK)\public\engine&quot;;&quot;$(HL2SDK)\public\mathlib&quot;;&quot;$(HL2SDK)\public\tier0&quot;;&quot;$(HL2SDK)\public\tier1&quot;;&quot;$(HL2SDK)\public\vstdlib&quot;;&quot;$(SOURCEMM14)&quot;;&quot;$(SOURCEMM14)\sourcemm&quot;;&quot;$(SOURCEMM14)\sourcehook&quot;"
    6.49 +				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SOURCEMOD_MM_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;SOURCEMOD_BUILD;SM_DEFAULT_THREADER"
    6.50 +				MinimalRebuild="true"
    6.51 +				BasicRuntimeChecks="3"
    6.52 +				RuntimeLibrary="1"
    6.53 +				EnableEnhancedInstructionSet="0"
    6.54 +				RuntimeTypeInfo="false"
    6.55 +				UsePrecompiledHeader="0"
    6.56 +				WarningLevel="3"
    6.57 +				Detect64BitPortabilityProblems="false"
    6.58 +				DebugInformationFormat="4"
    6.59 +			/>
    6.60 +			<Tool
    6.61 +				Name="VCManagedResourceCompilerTool"
    6.62 +			/>
    6.63 +			<Tool
    6.64 +				Name="VCResourceCompilerTool"
    6.65 +			/>
    6.66 +			<Tool
    6.67 +				Name="VCPreLinkEventTool"
    6.68 +			/>
    6.69 +			<Tool
    6.70 +				Name="VCLinkerTool"
    6.71 +				AdditionalDependencies="&quot;$(HL2SDK)\lib\public\tier0.lib&quot; &quot;$(HL2SDK)\lib\public\tier1.lib&quot; &quot;$(HL2SDK)\lib\public\vstdlib.lib&quot; &quot;$(HL2SDK)\lib\public\mathlib.lib&quot; dbghelp.lib"
    6.72 +				OutputFile="$(OutDir)\sourcemod.1.ep1.dll"
    6.73 +				LinkIncremental="2"
    6.74 +				IgnoreDefaultLibraryNames="LIBC;LIBCD;LIBCMT"
    6.75 +				GenerateDebugInformation="true"
    6.76 +				SubSystem="2"
    6.77 +				RandomizedBaseAddress="1"
    6.78 +				DataExecutionPrevention="0"
    6.79 +				TargetMachine="1"
    6.80 +			/>
    6.81 +			<Tool
    6.82 +				Name="VCALinkTool"
    6.83 +			/>
    6.84 +			<Tool
    6.85 +				Name="VCManifestTool"
    6.86 +			/>
    6.87 +			<Tool
    6.88 +				Name="VCXDCMakeTool"
    6.89 +			/>
    6.90 +			<Tool
    6.91 +				Name="VCBscMakeTool"
    6.92 +			/>
    6.93 +			<Tool
    6.94 +				Name="VCFxCopTool"
    6.95 +			/>
    6.96 +			<Tool
    6.97 +				Name="VCAppVerifierTool"
    6.98 +			/>
    6.99 +			<Tool
   6.100 +				Name="VCPostBuildEventTool"
   6.101 +			/>
   6.102 +		</Configuration>
   6.103 +		<Configuration
   6.104 +			Name="Debug - Old Metamod|Win32"
   6.105 +			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
   6.106 +			IntermediateDirectory="$(ConfigurationName)"
   6.107 +			ConfigurationType="2"
   6.108 +			CharacterSet="2"
   6.109 +			>
   6.110 +			<Tool
   6.111 +				Name="VCPreBuildEventTool"
   6.112 +			/>
   6.113 +			<Tool
   6.114 +				Name="VCCustomBuildTool"
   6.115 +			/>
   6.116 +			<Tool
   6.117 +				Name="VCXMLDataGeneratorTool"
   6.118 +			/>
   6.119 +			<Tool
   6.120 +				Name="VCWebServiceProxyGeneratorTool"
   6.121 +			/>
   6.122 +			<Tool
   6.123 +				Name="VCMIDLTool"
   6.124 +			/>
   6.125 +			<Tool
   6.126 +				Name="VCCLCompilerTool"
   6.127 +				AdditionalOptions="/MP"
   6.128 +				Optimization="0"
   6.129 +				AdditionalIncludeDirectories="..\;..\systems;..\..\public;..\..\public\sourcepawn;&quot;$(HL2SDK)\public&quot;;&quot;$(HL2SDK)\public\dlls&quot;;&quot;$(HL2SDK)\public\engine&quot;;&quot;$(HL2SDK)\public\mathlib&quot;;&quot;$(HL2SDK)\public\tier0&quot;;&quot;$(HL2SDK)\public\tier1&quot;;&quot;$(HL2SDK)\public\vstdlib&quot;;&quot;$(SOURCEMM14)&quot;;&quot;$(SOURCEMM14)\sourcemm&quot;;&quot;$(SOURCEMM14)\sourcehook&quot;"
   6.130 +				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SOURCEMOD_MM_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;SOURCEMOD_BUILD;SM_DEFAULT_THREADER"
   6.131 +				MinimalRebuild="true"
   6.132 +				BasicRuntimeChecks="3"
   6.133 +				RuntimeLibrary="1"
   6.134 +				EnableEnhancedInstructionSet="0"
   6.135 +				RuntimeTypeInfo="false"
   6.136 +				UsePrecompiledHeader="0"
   6.137 +				WarningLevel="3"
   6.138 +				Detect64BitPortabilityProblems="false"
   6.139 +				DebugInformationFormat="4"
   6.140 +			/>
   6.141 +			<Tool
   6.142 +				Name="VCManagedResourceCompilerTool"
   6.143 +			/>
   6.144 +			<Tool
   6.145 +				Name="VCResourceCompilerTool"
   6.146 +			/>
   6.147 +			<Tool
   6.148 +				Name="VCPreLinkEventTool"
   6.149 +			/>
   6.150 +			<Tool
   6.151 +				Name="VCLinkerTool"
   6.152 +				AdditionalDependencies="&quot;$(HL2SDK)\lib\public\tier0.lib&quot; &quot;$(HL2SDK)\lib\public\tier1.lib&quot; &quot;$(HL2SDK)\lib\public\vstdlib.lib&quot; &quot;$(HL2SDK)\lib\public\mathlib.lib&quot;"
   6.153 +				OutputFile="$(OutDir)\sourcemod.1.ep1.dll"
   6.154 +				LinkIncremental="2"
   6.155 +				IgnoreDefaultLibraryNames="LIBC;LIBCD;LIBCMT"
   6.156 +				GenerateDebugInformation="true"
   6.157 +				SubSystem="2"
   6.158 +				RandomizedBaseAddress="1"
   6.159 +				DataExecutionPrevention="0"
   6.160 +				TargetMachine="1"
   6.161 +			/>
   6.162 +			<Tool
   6.163 +				Name="VCALinkTool"
   6.164 +			/>
   6.165 +			<Tool
   6.166 +				Name="VCManifestTool"
   6.167 +			/>
   6.168 +			<Tool
   6.169 +				Name="VCXDCMakeTool"
   6.170 +			/>
   6.171 +			<Tool
   6.172 +				Name="VCBscMakeTool"
   6.173 +			/>
   6.174 +			<Tool
   6.175 +				Name="VCFxCopTool"
   6.176 +			/>
   6.177 +			<Tool
   6.178 +				Name="VCAppVerifierTool"
   6.179 +			/>
   6.180 +			<Tool
   6.181 +				Name="VCPostBuildEventTool"
   6.182 +			/>
   6.183 +		</Configuration>
   6.184 +		<Configuration
   6.185 +			Name="Release - Old Metamod|Win32"
   6.186 +			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
   6.187 +			IntermediateDirectory="$(ConfigurationName)"
   6.188 +			ConfigurationType="2"
   6.189 +			CharacterSet="2"
   6.190 +			WholeProgramOptimization="1"
   6.191 +			>
   6.192 +			<Tool
   6.193 +				Name="VCPreBuildEventTool"
   6.194 +			/>
   6.195 +			<Tool
   6.196 +				Name="VCCustomBuildTool"
   6.197 +			/>
   6.198 +			<Tool
   6.199 +				Name="VCXMLDataGeneratorTool"
   6.200 +			/>
   6.201 +			<Tool
   6.202 +				Name="VCWebServiceProxyGeneratorTool"
   6.203 +			/>
   6.204 +			<Tool
   6.205 +				Name="VCMIDLTool"
   6.206 +			/>
   6.207 +			<Tool
   6.208 +				Name="VCCLCompilerTool"
   6.209 +				AdditionalOptions="/MP"
   6.210 +				FavorSizeOrSpeed="1"
   6.211 +				AdditionalIncludeDirectories="..\;..\systems;..\..\public;..\..\public\sourcepawn;&quot;$(HL2SDK)\public&quot;;&quot;$(HL2SDK)\public\dlls&quot;;&quot;$(HL2SDK)\public\engine&quot;;&quot;$(HL2SDK)\public\mathlib&quot;;&quot;$(HL2SDK)\public\tier0&quot;;&quot;$(HL2SDK)\public\tier1&quot;;&quot;$(HL2SDK)\public\vstdlib&quot;;&quot;$(SOURCEMM14)&quot;;&quot;$(SOURCEMM14)\sourcemm&quot;;&quot;$(SOURCEMM14)\sourcehook&quot;"
   6.212 +				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SOURCEMOD_MM_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;SOURCEMOD_BUILD;SM_DEFAULT_THREADER"
   6.213 +				RuntimeLibrary="0"
   6.214 +				EnableEnhancedInstructionSet="0"
   6.215 +				RuntimeTypeInfo="false"
   6.216 +				UsePrecompiledHeader="0"
   6.217 +				WarningLevel="3"
   6.218 +				Detect64BitPortabilityProblems="false"
   6.219 +				DebugInformationFormat="3"
   6.220 +			/>
   6.221 +			<Tool
   6.222 +				Name="VCManagedResourceCompilerTool"
   6.223 +			/>
   6.224 +			<Tool
   6.225 +				Name="VCResourceCompilerTool"
   6.226 +			/>
   6.227 +			<Tool
   6.228 +				Name="VCPreLinkEventTool"
   6.229 +			/>
   6.230 +			<Tool
   6.231 +				Name="VCLinkerTool"
   6.232 +				AdditionalDependencies="&quot;$(HL2SDK)\lib\public\tier0.lib&quot; &quot;$(HL2SDK)\lib\public\tier1.lib&quot; &quot;$(HL2SDK)\lib\public\vstdlib.lib&quot; &quot;$(HL2SDK)\lib\public\mathlib.lib&quot;"
   6.233 +				OutputFile="$(OutDir)\sourcemod.1.ep1.dll"
   6.234 +				LinkIncremental="1"
   6.235 +				IgnoreDefaultLibraryNames="LIBC;LIBCD;LIBCMTD"
   6.236 +				GenerateDebugInformation="true"
   6.237 +				SubSystem="2"
   6.238 +				OptimizeReferences="2"
   6.239 +				EnableCOMDATFolding="2"
   6.240 +				RandomizedBaseAddress="1"
   6.241 +				DataExecutionPrevention="0"
   6.242 +				TargetMachine="1"
   6.243 +			/>
   6.244 +			<Tool
   6.245 +				Name="VCALinkTool"
   6.246 +			/>
   6.247 +			<Tool
   6.248 +				Name="VCManifestTool"
   6.249 +			/>
   6.250 +			<Tool
   6.251 +				Name="VCXDCMakeTool"
   6.252 +			/>
   6.253 +			<Tool
   6.254 +				Name="VCBscMakeTool"
   6.255 +			/>
   6.256 +			<Tool
   6.257 +				Name="VCFxCopTool"
   6.258 +			/>
   6.259 +			<Tool
   6.260 +				Name="VCAppVerifierTool"
   6.261 +			/>
   6.262 +			<Tool
   6.263 +				Name="VCPostBuildEventTool"
   6.264 +			/>
   6.265 +		</Configuration>
   6.266 +		<Configuration
   6.267 +			Name="CrazyDebug - Orange Box|Win32"
   6.268 +			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
   6.269 +			IntermediateDirectory="$(ConfigurationName)"
   6.270 +			ConfigurationType="2"
   6.271 +			CharacterSet="2"
   6.272 +			>
   6.273 +			<Tool
   6.274 +				Name="VCPreBuildEventTool"
   6.275 +			/>
   6.276 +			<Tool
   6.277 +				Name="VCCustomBuildTool"
   6.278 +			/>
   6.279 +			<Tool
   6.280 +				Name="VCXMLDataGeneratorTool"
   6.281 +			/>
   6.282 +			<Tool
   6.283 +				Name="VCWebServiceProxyGeneratorTool"
   6.284 +			/>
   6.285 +			<Tool
   6.286 +				Name="VCMIDLTool"
   6.287 +			/>
   6.288 +			<Tool
   6.289 +				Name="VCCLCompilerTool"
   6.290 +				AdditionalOptions="/MP"
   6.291 +				Optimization="0"
   6.292 +				AdditionalIncludeDirectories="..\;..\systems;..\..\public;..\..\public\sourcepawn;&quot;$(HL2SDKOB)\public&quot;;&quot;$(HL2SDKOB)\public\engine&quot;;&quot;$(HL2SDKOB)\public\game\server&quot;;&quot;$(HL2SDKOB)\public\mathlib&quot;;&quot;$(HL2SDKOB)\public\tier0&quot;;&quot;$(HL2SDKOB)\public\tier1&quot;;&quot;$(HL2SDKOB)\public\vstdlib&quot;;&quot;$(SOURCEMM16)&quot;;&quot;$(SOURCEMM16)\sourcemm&quot;;&quot;$(SOURCEMM16)\sourcehook&quot;"
   6.293 +				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SOURCEMOD_MM_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;SOURCEMOD_BUILD;SM_DEFAULT_THREADER;ORANGEBOX_BUILD"
   6.294 +				MinimalRebuild="true"
   6.295 +				BasicRuntimeChecks="3"
   6.296 +				RuntimeLibrary="1"
   6.297 +				EnableEnhancedInstructionSet="0"
   6.298 +				RuntimeTypeInfo="false"
   6.299 +				UsePrecompiledHeader="0"
   6.300 +				WarningLevel="3"
   6.301 +				Detect64BitPortabilityProblems="false"
   6.302 +				DebugInformationFormat="4"
   6.303 +			/>
   6.304 +			<Tool
   6.305 +				Name="VCManagedResourceCompilerTool"
   6.306 +			/>
   6.307 +			<Tool
   6.308 +				Name="VCResourceCompilerTool"
   6.309 +			/>
   6.310 +			<Tool
   6.311 +				Name="VCPreLinkEventTool"
   6.312 +			/>
   6.313 +			<Tool
   6.314 +				Name="VCLinkerTool"
   6.315 +				AdditionalDependencies="&quot;$(HL2SDKOB)\lib\public\tier0.lib&quot; &quot;$(HL2SDKOB)\lib\public\tier1.lib&quot; &quot;$(HL2SDKOB)\lib\public\vstdlib.lib&quot; &quot;$(HL2SDKOB)\lib\public\mathlib.lib&quot; dbghelp.lib"
   6.316 +				OutputFile="$(OutDir)\sourcemod.2.ep2.dll"
   6.317 +				LinkIncremental="2"
   6.318 +				IgnoreDefaultLibraryNames="LIBC;LIBCD;LIBCMT"
   6.319 +				GenerateDebugInformation="true"
   6.320 +				SubSystem="2"
   6.321 +				RandomizedBaseAddress="1"
   6.322 +				DataExecutionPrevention="0"
   6.323 +				TargetMachine="1"
   6.324 +			/>
   6.325 +			<Tool
   6.326 +				Name="VCALinkTool"
   6.327 +			/>
   6.328 +			<Tool
   6.329 +				Name="VCManifestTool"
   6.330 +			/>
   6.331 +			<Tool
   6.332 +				Name="VCXDCMakeTool"
   6.333 +			/>
   6.334 +			<Tool
   6.335 +				Name="VCBscMakeTool"
   6.336 +			/>
   6.337 +			<Tool
   6.338 +				Name="VCFxCopTool"
   6.339 +			/>
   6.340 +			<Tool
   6.341 +				Name="VCAppVerifierTool"
   6.342 +			/>
   6.343 +			<Tool
   6.344 +				Name="VCPostBuildEventTool"
   6.345 +			/>
   6.346 +		</Configuration>
   6.347 +		<Configuration
   6.348 +			Name="Debug - Orange Box|Win32"
   6.349 +			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
   6.350 +			IntermediateDirectory="$(ConfigurationName)"
   6.351 +			ConfigurationType="2"
   6.352 +			CharacterSet="2"
   6.353 +			>
   6.354 +			<Tool
   6.355 +				Name="VCPreBuildEventTool"
   6.356 +			/>
   6.357 +			<Tool
   6.358 +				Name="VCCustomBuildTool"
   6.359 +			/>
   6.360 +			<Tool
   6.361 +				Name="VCXMLDataGeneratorTool"
   6.362 +			/>
   6.363 +			<Tool
   6.364 +				Name="VCWebServiceProxyGeneratorTool"
   6.365 +			/>
   6.366 +			<Tool
   6.367 +				Name="VCMIDLTool"
   6.368 +			/>
   6.369 +			<Tool
   6.370 +				Name="VCCLCompilerTool"
   6.371 +				AdditionalOptions="/MP"
   6.372 +				Optimization="0"
   6.373 +				AdditionalIncludeDirectories="..\;..\systems;..\..\public;..\..\public\sourcepawn;&quot;$(HL2SDKOB)\public&quot;;&quot;$(HL2SDKOB)\public\engine&quot;;&quot;$(HL2SDKOB)\public\game\server&quot;;&quot;$(HL2SDKOB)\public\mathlib&quot;;&quot;$(HL2SDKOB)\public\tier0&quot;;&quot;$(HL2SDKOB)\public\tier1&quot;;&quot;$(HL2SDKOB)\public\vstdlib&quot;;&quot;$(SOURCEMM16)&quot;;&quot;$(SOURCEMM16)\sourcemm&quot;;&quot;$(SOURCEMM16)\sourcehook&quot;"
   6.374 +				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SOURCEMOD_MM_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;SOURCEMOD_BUILD;SM_DEFAULT_THREADER;ORANGEBOX_BUILD"
   6.375 +				MinimalRebuild="true"
   6.376 +				BasicRuntimeChecks="3"
   6.377 +				RuntimeLibrary="1"
   6.378 +				EnableEnhancedInstructionSet="0"
   6.379 +				RuntimeTypeInfo="false"
   6.380 +				UsePrecompiledHeader="0"
   6.381 +				WarningLevel="3"
   6.382 +				Detect64BitPortabilityProblems="false"
   6.383 +				DebugInformationFormat="4"
   6.384 +			/>
   6.385 +			<Tool
   6.386 +				Name="VCManagedResourceCompilerTool"
   6.387 +			/>
   6.388 +			<Tool
   6.389 +				Name="VCResourceCompilerTool"
   6.390 +			/>
   6.391 +			<Tool
   6.392 +				Name="VCPreLinkEventTool"
   6.393 +			/>
   6.394 +			<Tool
   6.395 +				Name="VCLinkerTool"
   6.396 +				AdditionalDependencies="&quot;$(HL2SDKOB)\lib\public\tier0.lib&quot; &quot;$(HL2SDKOB)\lib\public\tier1.lib&quot; &quot;$(HL2SDKOB)\lib\public\vstdlib.lib&quot; &quot;$(HL2SDKOB)\lib\public\mathlib.lib&quot;"
   6.397 +				OutputFile="$(OutDir)\sourcemod.2.ep2.dll"
   6.398 +				LinkIncremental="2"
   6.399 +				IgnoreDefaultLibraryNames="LIBC;LIBCD;LIBCMT"
   6.400 +				GenerateDebugInformation="true"
   6.401 +				SubSystem="2"
   6.402 +				RandomizedBaseAddress="1"
   6.403 +				DataExecutionPrevention="0"
   6.404 +				TargetMachine="1"
   6.405 +			/>
   6.406 +			<Tool
   6.407 +				Name="VCALinkTool"
   6.408 +			/>
   6.409 +			<Tool
   6.410 +				Name="VCManifestTool"
   6.411 +			/>
   6.412 +			<Tool
   6.413 +				Name="VCXDCMakeTool"
   6.414 +			/>
   6.415 +			<Tool
   6.416 +				Name="VCBscMakeTool"
   6.417 +			/>
   6.418 +			<Tool
   6.419 +				Name="VCFxCopTool"
   6.420 +			/>
   6.421 +			<Tool
   6.422 +				Name="VCAppVerifierTool"
   6.423 +			/>
   6.424 +			<Tool
   6.425 +				Name="VCPostBuildEventTool"
   6.426 +			/>
   6.427 +		</Configuration>
   6.428 +		<Configuration
   6.429 +			Name="Release - Orange Box|Win32"
   6.430 +			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
   6.431 +			IntermediateDirectory="$(ConfigurationName)"
   6.432 +			ConfigurationType="2"
   6.433 +			CharacterSet="2"
   6.434 +			WholeProgramOptimization="1"
   6.435 +			>
   6.436 +			<Tool
   6.437 +				Name="VCPreBuildEventTool"
   6.438 +			/>
   6.439 +			<Tool
   6.440 +				Name="VCCustomBuildTool"
   6.441 +			/>
   6.442 +			<Tool
   6.443 +				Name="VCXMLDataGeneratorTool"
   6.444 +			/>
   6.445 +			<Tool
   6.446 +				Name="VCWebServiceProxyGeneratorTool"
   6.447 +			/>
   6.448 +			<Tool
   6.449 +				Name="VCMIDLTool"
   6.450 +			/>
   6.451 +			<Tool
   6.452 +				Name="VCCLCompilerTool"
   6.453 +				AdditionalOptions="/MP"
   6.454 +				FavorSizeOrSpeed="1"
   6.455 +				AdditionalIncludeDirectories="..\;..\systems;..\..\public;..\..\public\sourcepawn;&quot;$(HL2SDKOB)\public&quot;;&quot;$(HL2SDKOB)\public\engine&quot;;&quot;$(HL2SDKOB)\public\game\server&quot;;&quot;$(HL2SDKOB)\public\mathlib&quot;;&quot;$(HL2SDKOB)\public\tier0&quot;;&quot;$(HL2SDKOB)\public\tier1&quot;;&quot;$(HL2SDKOB)\public\vstdlib&quot;;&quot;$(SOURCEMM16)&quot;;&quot;$(SOURCEMM16)\sourcemm&quot;;&quot;$(SOURCEMM16)\sourcehook&quot;"
   6.456 +				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SOURCEMOD_MM_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;SOURCEMOD_BUILD;SM_DEFAULT_THREADER;ORANGEBOX_BUILD"
   6.457 +				RuntimeLibrary="0"
   6.458 +				EnableEnhancedInstructionSet="0"
   6.459 +				RuntimeTypeInfo="false"
   6.460 +				UsePrecompiledHeader="0"
   6.461 +				WarningLevel="3"
   6.462 +				Detect64BitPortabilityProblems="false"
   6.463 +				DebugInformationFormat="3"
   6.464 +			/>
   6.465 +			<Tool
   6.466 +				Name="VCManagedResourceCompilerTool"
   6.467 +			/>
   6.468 +			<Tool
   6.469 +				Name="VCResourceCompilerTool"
   6.470 +			/>
   6.471 +			<Tool
   6.472 +				Name="VCPreLinkEventTool"
   6.473 +			/>
   6.474 +			<Tool
   6.475 +				Name="VCLinkerTool"
   6.476 +				AdditionalDependencies="&quot;$(HL2SDKOB)\lib\public\tier0.lib&quot; &quot;$(HL2SDKOB)\lib\public\tier1.lib&quot; &quot;$(HL2SDKOB)\lib\public\vstdlib.lib&quot; &quot;$(HL2SDKOB)\lib\public\mathlib.lib&quot;"
   6.477 +				OutputFile="$(OutDir)\sourcemod.2.ep2.dll"
   6.478 +				LinkIncremental="1"
   6.479 +				IgnoreDefaultLibraryNames="LIBC;LIBCD;LIBCMTD"
   6.480 +				GenerateDebugInformation="true"
   6.481 +				SubSystem="2"
   6.482 +				OptimizeReferences="2"
   6.483 +				EnableCOMDATFolding="2"
   6.484 +				RandomizedBaseAddress="1"
   6.485 +				DataExecutionPrevention="0"
   6.486 +				TargetMachine="1"
   6.487 +			/>
   6.488 +			<Tool
   6.489 +				Name="VCALinkTool"
   6.490 +			/>
   6.491 +			<Tool
   6.492 +				Name="VCManifestTool"
   6.493 +			/>
   6.494 +			<Tool
   6.495 +				Name="VCXDCMakeTool"
   6.496 +			/>
   6.497 +			<Tool
   6.498 +				Name="VCBscMakeTool"
   6.499 +			/>
   6.500 +			<Tool
   6.501 +				Name="VCFxCopTool"
   6.502 +			/>
   6.503 +			<Tool
   6.504 +				Name="VCAppVerifierTool"
   6.505 +			/>
   6.506 +			<Tool
   6.507 +				Name="VCPostBuildEventTool"
   6.508 +			/>
   6.509 +		</Configuration>
   6.510 +		<Configuration
   6.511 +			Name="CrazyDebug - Episode 1|Win32"
   6.512 +			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
   6.513 +			IntermediateDirectory="$(ConfigurationName)"
   6.514 +			ConfigurationType="2"
   6.515 +			CharacterSet="2"
   6.516 +			>
   6.517 +			<Tool
   6.518 +				Name="VCPreBuildEventTool"
   6.519 +			/>
   6.520 +			<Tool
   6.521 +				Name="VCCustomBuildTool"
   6.522 +			/>
   6.523 +			<Tool
   6.524 +				Name="VCXMLDataGeneratorTool"
   6.525 +			/>
   6.526 +			<Tool
   6.527 +				Name="VCWebServiceProxyGeneratorTool"
   6.528 +			/>
   6.529 +			<Tool
   6.530 +				Name="VCMIDLTool"
   6.531 +			/>
   6.532 +			<Tool
   6.533 +				Name="VCCLCompilerTool"
   6.534 +				AdditionalOptions="/MP"
   6.535 +				Optimization="0"
   6.536 +				AdditionalIncludeDirectories="..\;..\systems;..\..\public;..\..\public\sourcepawn;&quot;$(HL2SDK)\public&quot;;&quot;$(HL2SDK)\public\dlls&quot;;&quot;$(HL2SDK)\public\engine&quot;;&quot;$(HL2SDK)\public\mathlib&quot;;&quot;$(HL2SDK)\public\tier0&quot;;&quot;$(HL2SDK)\public\tier1&quot;;&quot;$(HL2SDK)\public\vstdlib&quot;;&quot;$(SOURCEMM16)&quot;;&quot;$(SOURCEMM16)\sourcemm&quot;;&quot;$(SOURCEMM16)\sourcehook&quot;"
   6.537 +				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SOURCEMOD_MM_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;SOURCEMOD_BUILD;SM_DEFAULT_THREADER"
   6.538 +				MinimalRebuild="true"
   6.539 +				BasicRuntimeChecks="3"
   6.540 +				RuntimeLibrary="1"
   6.541 +				EnableEnhancedInstructionSet="0"
   6.542 +				RuntimeTypeInfo="false"
   6.543 +				UsePrecompiledHeader="0"
   6.544 +				WarningLevel="3"
   6.545 +				Detect64BitPortabilityProblems="false"
   6.546 +				DebugInformationFormat="4"
   6.547 +			/>
   6.548 +			<Tool
   6.549 +				Name="VCManagedResourceCompilerTool"
   6.550 +			/>
   6.551 +			<Tool
   6.552 +				Name="VCResourceCompilerTool"
   6.553 +			/>
   6.554 +			<Tool
   6.555 +				Name="VCPreLinkEventTool"
   6.556 +			/>
   6.557 +			<Tool
   6.558 +				Name="VCLinkerTool"
   6.559 +				AdditionalDependencies="&quot;$(HL2SDK)\lib\public\tier0.lib&quot; &quot;$(HL2SDK)\lib\public\tier1.lib&quot; &quot;$(HL2SDK)\lib\public\vstdlib.lib&quot; &quot;$(HL2SDK)\lib\public\mathlib.lib&quot; dbghelp.lib"
   6.560 +				OutputFile="$(OutDir)\sourcemod.2.ep1.dll"
   6.561 +				LinkIncremental="2"
   6.562 +				IgnoreDefaultLibraryNames="LIBC;LIBCD;LIBCMT"
   6.563 +				GenerateDebugInformation="true"
   6.564 +				SubSystem="2"
   6.565 +				RandomizedBaseAddress="1"
   6.566 +				DataExecutionPrevention="0"
   6.567 +				TargetMachine="1"
   6.568 +			/>
   6.569 +			<Tool
   6.570 +				Name="VCALinkTool"
   6.571 +			/>
   6.572 +			<Tool
   6.573 +				Name="VCManifestTool"
   6.574 +			/>
   6.575 +			<Tool
   6.576 +				Name="VCXDCMakeTool"
   6.577 +			/>
   6.578 +			<Tool
   6.579 +				Name="VCBscMakeTool"
   6.580 +			/>
   6.581 +			<Tool
   6.582 +				Name="VCFxCopTool"
   6.583 +			/>
   6.584 +			<Tool
   6.585 +				Name="VCAppVerifierTool"
   6.586 +			/>
   6.587 +			<Tool
   6.588 +				Name="VCPostBuildEventTool"
   6.589 +			/>
   6.590 +		</Configuration>
   6.591 +		<Configuration
   6.592 +			Name="Debug - Episode 1|Win32"
   6.593 +			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
   6.594 +			IntermediateDirectory="$(ConfigurationName)"
   6.595 +			ConfigurationType="2"
   6.596 +			CharacterSet="2"
   6.597 +			>
   6.598 +			<Tool
   6.599 +				Name="VCPreBuildEventTool"
   6.600 +			/>
   6.601 +			<Tool
   6.602 +				Name="VCCustomBuildTool"
   6.603 +			/>
   6.604 +			<Tool
   6.605 +				Name="VCXMLDataGeneratorTool"
   6.606 +			/>
   6.607 +			<Tool
   6.608 +				Name="VCWebServiceProxyGeneratorTool"
   6.609 +			/>
   6.610 +			<Tool
   6.611 +				Name="VCMIDLTool"
   6.612 +			/>
   6.613 +			<Tool
   6.614 +				Name="VCCLCompilerTool"
   6.615 +				AdditionalOptions="/MP"
   6.616 +				Optimization="0"
   6.617 +				AdditionalIncludeDirectories="..\;..\systems;..\..\public;..\..\public\sourcepawn;&quot;$(HL2SDK)\public&quot;;&quot;$(HL2SDK)\public\dlls&quot;;&quot;$(HL2SDK)\public\engine&quot;;&quot;$(HL2SDK)\public\mathlib&quot;;&quot;$(HL2SDK)\public\tier0&quot;;&quot;$(HL2SDK)\public\tier1&quot;;&quot;$(HL2SDK)\public\vstdlib&quot;;&quot;$(SOURCEMM16)&quot;;&quot;$(SOURCEMM16)\sourcemm&quot;;&quot;$(SOURCEMM16)\sourcehook&quot;"
   6.618 +				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SOURCEMOD_MM_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;SOURCEMOD_BUILD;SM_DEFAULT_THREADER"
   6.619 +				MinimalRebuild="true"
   6.620 +				BasicRuntimeChecks="3"
   6.621 +				RuntimeLibrary="1"
   6.622 +				EnableEnhancedInstructionSet="0"
   6.623 +				RuntimeTypeInfo="false"
   6.624 +				UsePrecompiledHeader="0"
   6.625 +				WarningLevel="3"
   6.626 +				Detect64BitPortabilityProblems="false"
   6.627 +				DebugInformationFormat="4"
   6.628 +			/>
   6.629 +			<Tool
   6.630 +				Name="VCManagedResourceCompilerTool"
   6.631 +			/>
   6.632 +			<Tool
   6.633 +				Name="VCResourceCompilerTool"
   6.634 +			/>
   6.635 +			<Tool
   6.636 +				Name="VCPreLinkEventTool"
   6.637 +			/>
   6.638 +			<Tool
   6.639 +				Name="VCLinkerTool"
   6.640 +				AdditionalDependencies="&quot;$(HL2SDK)\lib\public\tier0.lib&quot; &quot;$(HL2SDK)\lib\public\tier1.lib&quot; &quot;$(HL2SDK)\lib\public\vstdlib.lib&quot; &quot;$(HL2SDK)\lib\public\mathlib.lib&quot;"
   6.641 +				OutputFile="$(OutDir)\sourcemod.2.ep1.dll"
   6.642 +				LinkIncremental="2"
   6.643 +				IgnoreDefaultLibraryNames="LIBC;LIBCD;LIBCMT"
   6.644 +				GenerateDebugInformation="true"
   6.645 +				SubSystem="2"
   6.646 +				RandomizedBaseAddress="1"
   6.647 +				DataExecutionPrevention="0"
   6.648 +				TargetMachine="1"
   6.649 +			/>
   6.650 +			<Tool
   6.651 +				Name="VCALinkTool"
   6.652 +			/>
   6.653 +			<Tool
   6.654 +				Name="VCManifestTool"
   6.655 +			/>
   6.656 +			<Tool
   6.657 +				Name="VCXDCMakeTool"
   6.658 +			/>
   6.659 +			<Tool
   6.660 +				Name="VCBscMakeTool"
   6.661 +			/>
   6.662 +			<Tool
   6.663 +				Name="VCFxCopTool"
   6.664 +			/>
   6.665 +			<Tool
   6.666 +				Name="VCAppVerifierTool"
   6.667 +			/>
   6.668 +			<Tool
   6.669 +				Name="VCPostBuildEventTool"
   6.670 +			/>
   6.671 +		</Configuration>
   6.672 +		<Configuration
   6.673 +			Name="Release - Episode 1|Win32"
   6.674 +			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
   6.675 +			IntermediateDirectory="$(ConfigurationName)"
   6.676 +			ConfigurationType="2"
   6.677 +			CharacterSet="2"
   6.678 +			WholeProgramOptimization="1"
   6.679 +			>
   6.680 +			<Tool
   6.681 +				Name="VCPreBuildEventTool"
   6.682 +			/>
   6.683 +			<Tool
   6.684 +				Name="VCCustomBuildTool"
   6.685 +			/>
   6.686 +			<Tool
   6.687 +				Name="VCXMLDataGeneratorTool"
   6.688 +			/>
   6.689 +			<Tool
   6.690 +				Name="VCWebServiceProxyGeneratorTool"
   6.691 +			/>
   6.692 +			<Tool
   6.693 +				Name="VCMIDLTool"
   6.694 +			/>
   6.695 +			<Tool
   6.696 +				Name="VCCLCompilerTool"
   6.697 +				AdditionalOptions="/MP"
   6.698 +				FavorSizeOrSpeed="1"
   6.699 +				AdditionalIncludeDirectories="..\;..\systems;..\..\public;..\..\public\sourcepawn;&quot;$(HL2SDK)\public&quot;;&quot;$(HL2SDK)\public\dlls&quot;;&quot;$(HL2SDK)\public\engine&quot;;&quot;$(HL2SDK)\public\mathlib&quot;;&quot;$(HL2SDK)\public\tier0&quot;;&quot;$(HL2SDK)\public\tier1&quot;;&quot;$(HL2SDK)\public\vstdlib&quot;;&quot;$(SOURCEMM16)&quot;;&quot;$(SOURCEMM16)\sourcemm&quot;;&quot;$(SOURCEMM16)\sourcehook&quot;"
   6.700 +				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SOURCEMOD_MM_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;SOURCEMOD_BUILD;SM_DEFAULT_THREADER"
   6.701 +				RuntimeLibrary="0"
   6.702 +				EnableEnhancedInstructionSet="0"
   6.703 +				RuntimeTypeInfo="false"
   6.704 +				UsePrecompiledHeader="0"
   6.705 +				WarningLevel="3"
   6.706 +				Detect64BitPortabilityProblems="false"
   6.707 +				DebugInformationFormat="3"
   6.708 +			/>
   6.709 +			<Tool
   6.710 +				Name="VCManagedResourceCompilerTool"
   6.711 +			/>
   6.712 +			<Tool
   6.713 +				Name="VCResourceCompilerTool"
   6.714 +			/>
   6.715 +			<Tool
   6.716 +				Name="VCPreLinkEventTool"
   6.717 +			/>
   6.718 +			<Tool
   6.719 +				Name="VCLinkerTool"
   6.720 +				AdditionalDependencies="&quot;$(HL2SDK)\lib\public\tier0.lib&quot; &quot;$(HL2SDK)\lib\public\tier1.lib&quot; &quot;$(HL2SDK)\lib\public\vstdlib.lib&quot; &quot;$(HL2SDK)\lib\public\mathlib.lib&quot;"
   6.721 +				OutputFile="$(OutDir)\sourcemod.2.ep1.dll"
   6.722 +				LinkIncremental="1"
   6.723 +				IgnoreDefaultLibraryNames="LIBC;LIBCD;LIBCMTD"
   6.724 +				GenerateDebugInformation="true"
   6.725 +				SubSystem="2"
   6.726 +				OptimizeReferences="2"
   6.727 +				EnableCOMDATFolding="2"
   6.728 +				RandomizedBaseAddress="1"
   6.729 +				DataExecutionPrevention="0"
   6.730 +				TargetMachine="1"
   6.731 +			/>
   6.732 +			<Tool
   6.733 +				Name="VCALinkTool"
   6.734 +			/>
   6.735 +			<Tool
   6.736 +				Name="VCManifestTool"
   6.737 +			/>
   6.738 +			<Tool
   6.739 +				Name="VCXDCMakeTool"
   6.740 +			/>
   6.741 +			<Tool
   6.742 +				Name="VCBscMakeTool"
   6.743 +			/>
   6.744 +			<Tool
   6.745 +				Name="VCFxCopTool"
   6.746 +			/>
   6.747 +			<Tool
   6.748 +				Name="VCAppVerifierTool"
   6.749 +			/>
   6.750 +			<Tool
   6.751 +				Name="VCPostBuildEventTool"
   6.752 +			/>
   6.753 +		</Configuration>
   6.754 +	</Configurations>
   6.755 +	<References>
   6.756 +	</References>
   6.757 +	<Files>
   6.758 +		<Filter
   6.759 +			Name="Source Files"
   6.760 +			Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
   6.761 +			UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
   6.762 +			>
   6.763 +			<File
   6.764 +				RelativePath="..\AdminCache.cpp"
   6.765 +				>
   6.766 +			</File>
   6.767 +			<File
   6.768 +				RelativePath="..\ADTFactory.cpp"
   6.769 +				>
   6.770 +			</File>
   6.771 +			<File
   6.772 +				RelativePath="..\CDataPack.cpp"
   6.773 +				>
   6.774 +			</File>
   6.775 +			<File
   6.776 +				RelativePath="..\ChatTriggers.cpp"
   6.777 +				>
   6.778 +			</File>
   6.779 +			<File
   6.780 +				RelativePath="..\concmd_cleaner.cpp"
   6.781 +				>
   6.782 +			</File>
   6.783 +			<File
   6.784 +				RelativePath="..\ConCmdManager.cpp"
   6.785 +				>
   6.786 +			</File>
   6.787 +			<File
   6.788 +				RelativePath="..\ConVarManager.cpp"
   6.789 +				>
   6.790 +			</File>
   6.791 +			<File
   6.792 +				RelativePath="..\CoreConfig.cpp"
   6.793 +				>
   6.794 +			</File>
   6.795 +			<File
   6.796 +				RelativePath="..\CrazyDebugger.cpp"
   6.797 +				>
   6.798 +				<FileConfiguration
   6.799 +					Name="Debug - Old Metamod|Win32"
   6.800 +					ExcludedFromBuild="true"
   6.801 +					>
   6.802 +					<Tool
   6.803 +						Name="VCCLCompilerTool"
   6.804 +					/>
   6.805 +				</FileConfiguration>
   6.806 +				<FileConfiguration
   6.807 +					Name="Release - Old Metamod|Win32"
   6.808 +					ExcludedFromBuild="true"
   6.809 +					>
   6.810 +					<Tool
   6.811 +						Name="VCCLCompilerTool"
   6.812 +					/>
   6.813 +				</FileConfiguration>
   6.814 +				<FileConfiguration
   6.815 +					Name="Debug - Orange Box|Win32"
   6.816 +					ExcludedFromBuild="true"
   6.817 +					>
   6.818 +					<Tool
   6.819 +						Name="VCCLCompilerTool"
   6.820 +					/>
   6.821 +				</FileConfiguration>
   6.822 +				<FileConfiguration
   6.823 +					Name="Release - Orange Box|Win32"
   6.824 +					ExcludedFromBuild="true"
   6.825 +					>
   6.826 +					<Tool
   6.827 +						Name="VCCLCompilerTool"
   6.828 +					/>
   6.829 +				</FileConfiguration>
   6.830 +				<FileConfiguration
   6.831 +					Name="Debug - Episode 1|Win32"
   6.832 +					ExcludedFromBuild="true"
   6.833 +					>
   6.834 +					<Tool
   6.835 +						Name="VCCLCompilerTool"
   6.836 +					/>
   6.837 +				</FileConfiguration>
   6.838 +				<FileConfiguration
   6.839 +					Name="Release - Episode 1|Win32"
   6.840 +					ExcludedFromBuild="true"
   6.841 +					>
   6.842 +					<Tool
   6.843 +						Name="VCCLCompilerTool"
   6.844 +					/>
   6.845 +				</FileConfiguration>
   6.846 +			</File>
   6.847 +			<File
   6.848 +				RelativePath="..\Database.cpp"
   6.849 +				>
   6.850 +			</File>
   6.851 +			<File
   6.852 +				RelativePath="..\DebugReporter.cpp"
   6.853 +				>
   6.854 +			</File>
   6.855 +			<File
   6.856 +				RelativePath="..\EventManager.cpp"
   6.857 +				>
   6.858 +			</File>
   6.859 +			<File
   6.860 +				RelativePath="..\frame_hooks.cpp"
   6.861 +				>
   6.862 +			</File>
   6.863 +			<File
   6.864 +				RelativePath="..\GameConfigs.cpp"
   6.865 +				>
   6.866 +			</File>
   6.867 +			<File
   6.868 +				RelativePath="..\HalfLife2.cpp"
   6.869 +				>
   6.870 +			</File>
   6.871 +			<File
   6.872 +				RelativePath="..\Logger.cpp"
   6.873 +				>
   6.874 +			</File>
   6.875 +			<File
   6.876 +				RelativePath="..\MemoryUtils.cpp"
   6.877 +				>
   6.878 +			</File>
   6.879 +			<File
   6.880 +				RelativePath="..\MenuManager.cpp"
   6.881 +				>
   6.882 +			</File>
   6.883 +			<File
   6.884 +				RelativePath="..\MenuStyle_Base.cpp"
   6.885 +				>
   6.886 +			</File>
   6.887 +			<File
   6.888 +				RelativePath="..\MenuStyle_Radio.cpp"
   6.889 +				>
   6.890 +			</File>
   6.891 +			<File
   6.892 +				RelativePath="..\MenuStyle_Valve.cpp"
   6.893 +				>
   6.894 +			</File>
   6.895 +			<File
   6.896 +				RelativePath="..\MenuVoting.cpp"
   6.897 +				>
   6.898 +			</File>
   6.899 +			<File
   6.900 +				RelativePath="..\NextMap.cpp"
   6.901 +				>
   6.902 +			</File>
   6.903 +			<File
   6.904 +				RelativePath="..\PhraseCollection.cpp"
   6.905 +				>
   6.906 +			</File>
   6.907 +			<File
   6.908 +				RelativePath="..\PlayerManager.cpp"
   6.909 +				>
   6.910 +			</File>
   6.911 +			<File
   6.912 +				RelativePath="..\Profiler.cpp"
   6.913 +				>
   6.914 +			</File>
   6.915 +			<File
   6.916 +				RelativePath="..\sm_autonatives.cpp"
   6.917 +				>
   6.918 +			</File>
   6.919 +			<File
   6.920 +				RelativePath="..\sm_crc32.cpp"
   6.921 +				>
   6.922 +			</File>
   6.923 +			<File
   6.924 +				RelativePath="..\sm_memtable.cpp"
   6.925 +				>
   6.926 +			</File>
   6.927 +			<File
   6.928 +				RelativePath="..\sm_srvcmds.cpp"
   6.929 +				>
   6.930 +			</File>
   6.931 +			<File
   6.932 +				RelativePath="..\sm_stringutil.cpp"
   6.933 +				>
   6.934 +			</File>
   6.935 +			<File
   6.936 +				RelativePath="..\sm_trie.cpp"
   6.937 +				>
   6.938 +			</File>
   6.939 +			<File
   6.940 +				RelativePath="..\sourcemm_api.cpp"
   6.941 +				>
   6.942 +			</File>
   6.943 +			<File
   6.944 +				RelativePath="..\sourcemod.cpp"
   6.945 +				>
   6.946 +			</File>
   6.947 +			<File
   6.948 +				RelativePath="..\TextParsers.cpp"
   6.949 +				>
   6.950 +			</File>
   6.951 +			<File
   6.952 +				RelativePath="..\ThreadSupport.cpp"
   6.953 +				>
   6.954 +			</File>
   6.955 +			<File
   6.956 +				RelativePath="..\TimerSys.cpp"
   6.957 +				>
   6.958 +			</File>
   6.959 +			<File
   6.960 +				RelativePath="..\Translator.cpp"
   6.961 +				>
   6.962 +			</File>
   6.963 +			<File
   6.964 +				RelativePath="..\UserMessages.cpp"
   6.965 +				>
   6.966 +			</File>
   6.967 +		</Filter>
   6.968 +		<Filter
   6.969 +			Name="Header Files"
   6.970 +			Filter="h;hpp;hxx;hm;inl;inc;xsd"
   6.971 +			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
   6.972 +			>
   6.973 +			<File
   6.974 +				RelativePath="..\AdminCache.h"
   6.975 +				>
   6.976 +			</File>
   6.977 +			<File
   6.978 +				RelativePath="..\ADTFactory.h"
   6.979 +				>
   6.980 +			</File>
   6.981 +			<File
   6.982 +				RelativePath="..\CDataPack.h"
   6.983 +				>
   6.984 +			</File>
   6.985 +			<File
   6.986 +				RelativePath="..\CellArray.h"
   6.987 +				>
   6.988 +			</File>
   6.989 +			<File
   6.990 +				RelativePath="..\CellRecipientFilter.h"
   6.991 +				>
   6.992 +			</File>
   6.993 +			<File
   6.994 +				RelativePath="..\ChatTriggers.h"
   6.995 +				>
   6.996 +			</File>
   6.997 +			<File
   6.998 +				RelativePath="..\..\public\compat_wrappers.h"
   6.999 +				>
  6.1000 +			</File>
  6.1001 +			<File
  6.1002 +				RelativePath="..\concmd_cleaner.h"
  6.1003 +				>
  6.1004 +			</File>
  6.1005 +			<File
  6.1006 +				RelativePath="..\ConCmdManager.h"
  6.1007 +				>
  6.1008 +			</File>
  6.1009 +			<File
  6.1010 +				RelativePath="..\ConVarManager.h"
  6.1011 +				>
  6.1012 +			</File>
  6.1013 +			<File
  6.1014 +				RelativePath="..\CoreConfig.h"
  6.1015 +				>
  6.1016 +			</File>
  6.1017 +			<File
  6.1018 +				RelativePath="..\Database.h"
  6.1019 +				>
  6.1020 +			</File>
  6.1021 +			<File
  6.1022 +				RelativePath="..\DebugReporter.h"
  6.1023 +				>
  6.1024 +			</File>
  6.1025 +			<File
  6.1026 +				RelativePath="..\EventManager.h"
  6.1027 +				>
  6.1028 +			</File>
  6.1029 +			<File
  6.1030 +				RelativePath="..\frame_hooks.h"
  6.1031 +				>
  6.1032 +			</File>
  6.1033 +			<File
  6.1034 +				RelativePath="..\GameConfigs.h"
  6.1035 +				>
  6.1036 +			</File>
  6.1037 +			<File
  6.1038 +				RelativePath="..\HalfLife2.h"
  6.1039 +				>
  6.1040 +			</File>
  6.1041 +			<File
  6.1042 +				RelativePath="..\Logger.h"
  6.1043 +				>
  6.1044 +			</File>
  6.1045 +			<File
  6.1046 +				RelativePath="..\MemoryUtils.h"
  6.1047 +				>
  6.1048 +			</File>
  6.1049 +			<File
  6.1050 +				RelativePath="..\MenuManager.h"
  6.1051 +				>
  6.1052 +			</File>
  6.1053 +			<File
  6.1054 +				RelativePath="..\MenuStyle_Base.h"
  6.1055 +				>
  6.1056 +			</File>
  6.1057 +			<File
  6.1058 +				RelativePath="..\MenuStyle_Radio.h"
  6.1059 +				>
  6.1060 +			</File>
  6.1061 +			<File
  6.1062 +				RelativePath="..\MenuStyle_Valve.h"
  6.1063 +				>
  6.1064 +			</File>
  6.1065 +			<File
  6.1066 +				RelativePath="..\MenuVoting.h"
  6.1067 +				>
  6.1068 +			</File>
  6.1069 +			<File
  6.1070 +				RelativePath="..\NextMap.h"
  6.1071 +				>
  6.1072 +			</File>
  6.1073 +			<File
  6.1074 +				RelativePath="..\PhraseCollection.h"
  6.1075 +				>
  6.1076 +			</File>
  6.1077 +			<File
  6.1078 +				RelativePath="..\PlayerManager.h"
  6.1079 +				>
  6.1080 +			</File>
  6.1081 +			<File
  6.1082 +				RelativePath="..\Profiler.h"
  6.1083 +				>
  6.1084 +			</File>
  6.1085 +			<File
  6.1086 +				RelativePath="..\sm_autonatives.h"
  6.1087 +				>
  6.1088 +			</File>
  6.1089 +			<File
  6.1090 +				RelativePath="..\sm_crc32.h"
  6.1091 +				>
  6.1092 +			</File>
  6.1093 +			<File
  6.1094 +				RelativePath="..\sm_fastlink.h"
  6.1095 +				>
  6.1096 +			</File>
  6.1097 +			<File
  6.1098 +				RelativePath="..\sm_globals.h"
  6.1099 +				>
  6.1100 +			</File>
  6.1101 +			<File
  6.1102 +				RelativePath="..\sm_memtable.h"
  6.1103 +				>
  6.1104 +			</File>
  6.1105 +			<File
  6.1106 +				RelativePath="..\..\public\sm_platform.h"
  6.1107 +				>
  6.1108 +			</File>
  6.1109 +			<File
  6.1110 +				RelativePath="..\sm_queue.h"
  6.1111 +				>
  6.1112 +			</File>
  6.1113 +			<File
  6.1114 +				RelativePath="..\sm_simple_prioqueue.h"
  6.1115 +				>
  6.1116 +			</File>
  6.1117 +			<File
  6.1118 +				RelativePath="..\sm_srvcmds.h"
  6.1119 +				>
  6.1120 +			</File>
  6.1121 +			<File
  6.1122 +				RelativePath="..\sm_stringutil.h"
  6.1123 +				>
  6.1124 +			</File>
  6.1125 +			<File
  6.1126 +				RelativePath="..\sm_trie.h"
  6.1127 +				>
  6.1128 +			</File>
  6.1129 +			<File
  6.1130 +				RelativePath="..\..\public\sm_trie_tpl.h"
  6.1131 +				>
  6.1132 +			</File>
  6.1133 +			<File
  6.1134 +				RelativePath="..\sm_version.h"
  6.1135 +				>
  6.1136 +			</File>
  6.1137 +			<File
  6.1138 +				RelativePath="..\smn_usermsgs.h"
  6.1139 +				>
  6.1140 +			</File>
  6.1141 +			<File
  6.1142 +				RelativePath="..\sourcemm_api.h"
  6.1143 +				>
  6.1144 +			</File>
  6.1145 +			<File
  6.1146 +				RelativePath="..\sourcemod.h"
  6.1147 +				>
  6.1148 +			</File>
  6.1149 +			<File
  6.1150 +				RelativePath="..\TextParsers.h"
  6.1151 +				>
  6.1152 +			</File>
  6.1153 +			<File
  6.1154 +				RelativePath="..\TimerSys.h"
  6.1155 +				>
  6.1156 +			</File>
  6.1157 +			<File
  6.1158 +				RelativePath="..\Translator.h"
  6.1159 +				>
  6.1160 +			</File>
  6.1161 +			<File
  6.1162 +				RelativePath="..\UserMessages.h"
  6.1163 +				>
  6.1164 +			</File>
  6.1165 +		</Filter>
  6.1166 +		<Filter
  6.1167 +			Name="Interfaces"
  6.1168 +			UniqueIdentifier="{10C69360-9E8E-4a43-BCEF-E9373B3641BC}"
  6.1169 +			>
  6.1170 +			<File
  6.1171 +				RelativePath="..\..\public\IAdminSystem.h"
  6.1172 +				>
  6.1173 +			</File>
  6.1174 +			<File
  6.1175 +				RelativePath="..\..\public\IADTFactory.h"
  6.1176 +				>
  6.1177 +			</File>
  6.1178 +			<File
  6.1179 +				RelativePath="..\..\public\IDataPack.h"
  6.1180 +				>
  6.1181 +			</File>
  6.1182 +			<File
  6.1183 +				RelativePath="..\..\public\IDBDriver.h"
  6.1184 +				>
  6.1185 +			</File>
  6.1186 +			<File
  6.1187 +				RelativePath="..\..\public\IExtensionSys.h"
  6.1188 +				>
  6.1189 +			</File>
  6.1190 +			<File
  6.1191 +				RelativePath="..\..\public\IForwardSys.h"
  6.1192 +				>
  6.1193 +			</File>
  6.1194 +			<File
  6.1195 +				RelativePath="..\..\public\IGameConfigs.h"
  6.1196 +				>
  6.1197 +			</File>
  6.1198 +			<File
  6.1199 +				RelativePath="..\..\public\IGameHelpers.h"
  6.1200 +				>
  6.1201 +			</File>
  6.1202 +			<File
  6.1203 +				RelativePath="..\..\public\IHandleSys.h"
  6.1204 +				>
  6.1205 +			</File>
  6.1206 +			<File
  6.1207 +				RelativePath="..\..\public\ILibrarySys.h"
  6.1208 +				>
  6.1209 +			</File>
  6.1210 +			<File
  6.1211 +				RelativePath="..\..\public\IMemoryUtils.h"
  6.1212 +				>
  6.1213 +			</File>
  6.1214 +			<File
  6.1215 +				RelativePath="..\..\public\IMenuManager.h"
  6.1216 +				>
  6.1217 +			</File>
  6.1218 +			<File
  6.1219 +				RelativePath="..\..\public\IPlayerHelpers.h"
  6.1220 +				>
  6.1221 +			</File>
  6.1222 +			<File
  6.1223 +				RelativePath="..\..\public\IPluginSys.h"
  6.1224 +				>
  6.1225 +			</File>
  6.1226 +			<File
  6.1227 +				RelativePath="..\..\public\IRootConsoleMenu.h"
  6.1228 +				>
  6.1229 +			</File>
  6.1230 +			<File
  6.1231 +				RelativePath="..\..\public\IShareSys.h"
  6.1232 +				>
  6.1233 +			</File>
  6.1234 +			<File
  6.1235 +				RelativePath="..\..\public\ISourceMod.h"
  6.1236 +				>
  6.1237 +			</File>
  6.1238 +			<File
  6.1239 +				RelativePath="..\..\public\ITextParsers.h"
  6.1240 +				>
  6.1241 +			</File>
  6.1242 +			<File
  6.1243 +				RelativePath="..\..\public\ITimerSystem.h"
  6.1244 +				>
  6.1245 +			</File>
  6.1246 +			<File
  6.1247 +				RelativePath="..\..\public\ITranslator.h"
  6.1248 +				>
  6.1249 +			</File>
  6.1250 +			<File
  6.1251 +				RelativePath="..\..\public\IUserMessages.h"
  6.1252 +				>
  6.1253 +			</File>
  6.1254 +		</Filter>
  6.1255 +		<Filter
  6.1256 +			Name="Systems"
  6.1257 +			UniqueIdentifier="{63775418-DF3F-4198-BFB1-738B19EE3EE0}"
  6.1258 +			>
  6.1259 +			<Filter
  6.1260 +				Name="Header Files"
  6.1261 +				Filter="h;hpp;hxx;hm;inl;inc;xsd"
  6.1262 +				UniqueIdentifier="{7D3AB33D-C1AD-46ee-B505-FEA8B6EF18E4}"
  6.1263 +				>
  6.1264 +				<File
  6.1265 +					RelativePath="..\systems\ExtensionSys.h"
  6.1266 +					>
  6.1267 +				</File>
  6.1268 +				<File
  6.1269 +					RelativePath="..\systems\ForwardSys.h"
  6.1270 +					>
  6.1271 +				</File>
  6.1272 +				<File
  6.1273 +					RelativePath="..\systems\HandleSys.h"
  6.1274 +					>
  6.1275 +				</File>
  6.1276 +				<File
  6.1277 +					RelativePath="..\systems\LibrarySys.h"
  6.1278 +					>
  6.1279 +				</File>
  6.1280 +				<File
  6.1281 +					RelativePath="..\systems\PluginInfoDatabase.h"
  6.1282 +					>
  6.1283 +				</File>
  6.1284 +				<File
  6.1285 +					RelativePath="..\systems\PluginSys.h"
  6.1286 +					>
  6.1287 +				</File>
  6.1288 +				<File
  6.1289 +					RelativePath="..\systems\ShareSys.h"
  6.1290 +					>
  6.1291 +				</File>
  6.1292 +			</Filter>
  6.1293 +			<Filter
  6.1294 +				Name="Source Files"
  6.1295 +				Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
  6.1296 +				UniqueIdentifier="{D1864A10-FF5F-4672-A70E-57C9F7486F92}"
  6.1297 +				>
  6.1298 +				<File
  6.1299 +					RelativePath="..\systems\ExtensionSys.cpp"
  6.1300 +					>
  6.1301 +				</File>
  6.1302 +				<File
  6.1303 +					RelativePath="..\systems\ForwardSys.cpp"
  6.1304 +					>
  6.1305 +				</File>
  6.1306 +				<File
  6.1307 +					RelativePath="..\systems\HandleSys.cpp"
  6.1308 +					>
  6.1309 +				</File>
  6.1310 +				<File
  6.1311 +					RelativePath="..\systems\LibrarySys.cpp"
  6.1312 +					>
  6.1313 +				</File>
  6.1314 +				<File
  6.1315 +					RelativePath="..\systems\PluginInfoDatabase.cpp"
  6.1316 +					>
  6.1317 +				</File>
  6.1318 +				<File
  6.1319 +					RelativePath="..\systems\PluginSys.cpp"
  6.1320 +					>
  6.1321 +				</File>
  6.1322 +				<File
  6.1323 +					RelativePath="..\systems\ShareSys.cpp"
  6.1324 +					>
  6.1325 +				</File>
  6.1326 +			</Filter>
  6.1327 +		</Filter>
  6.1328 +		<Filter
  6.1329 +			Name="SourcePawn"
  6.1330 +			UniqueIdentifier="{C3C3DC6E-E392-4916-B893-7ACB92192DE0}"
  6.1331 +			>
  6.1332 +			<Filter
  6.1333 +				Name="Header Files"
  6.1334 +				Filter="h;hpp;hxx;hm;inl;inc;xsd"
  6.1335 +				UniqueIdentifier="{D06F7D18-C940-4200-990B-2D0CF72F91AB}"
  6.1336 +				>
  6.1337 +				<File
  6.1338 +					RelativePath="..\vm\sp_vm_basecontext.h"
  6.1339 +					>
  6.1340 +				</File>
  6.1341 +				<File
  6.1342 +					RelativePath="..\vm\sp_vm_engine.h"
  6.1343 +					>
  6.1344 +				</File>
  6.1345 +				<File
  6.1346 +					RelativePath="..\vm\sp_vm_function.h"
  6.1347 +					>
  6.1348 +				</File>
  6.1349 +			</Filter>
  6.1350 +			<Filter
  6.1351 +				Name="Source Files"
  6.1352 +				Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
  6.1353 +				UniqueIdentifier="{605A5261-30CD-4cca-BBE2-23BB190DA44E}"
  6.1354 +				>
  6.1355 +				<File
  6.1356 +					RelativePath="..\vm\sp_vm_basecontext.cpp"
  6.1357 +					>
  6.1358 +				</File>
  6.1359 +				<File
  6.1360 +					RelativePath="..\vm\sp_vm_engine.cpp"
  6.1361 +					>
  6.1362 +					<FileConfiguration
  6.1363 +						Name="CrazyDebug - Old Metamod|Win32"
  6.1364 +						>
  6.1365 +						<Tool
  6.1366 +							Name="VCCLCompilerTool"
  6.1367 +							AdditionalIncludeDirectories="&quot;$(SOURCEMM16)\sourcehook&quot;"
  6.1368 +						/>
  6.1369 +					</FileConfiguration>
  6.1370 +					<FileConfiguration
  6.1371 +						Name="Debug - Old Metamod|Win32"
  6.1372 +						>
  6.1373 +						<Tool
  6.1374 +							Name="VCCLCompilerTool"
  6.1375 +							AdditionalIncludeDirectories="&quot;$(SOURCEMM16)\sourcehook&quot;"
  6.1376 +						/>
  6.1377 +					</FileConfiguration>
  6.1378 +					<FileConfiguration
  6.1379 +						Name="Release - Old Metamod|Win32"
  6.1380 +						>
  6.1381 +						<Tool
  6.1382 +							Name="VCCLCompilerTool"
  6.1383 +							AdditionalIncludeDirectories="&quot;$(SOURCEMM16)\sourcehook&quot;"
  6.1384 +						/>
  6.1385 +					</FileConfiguration>
  6.1386 +					<FileConfiguration
  6.1387 +						Name="CrazyDebug|Win32"
  6.1388 +						>
  6.1389 +						<Tool
  6.1390 +							Name="VCCLCompilerTool"
  6.1391 +							AdditionalIncludeDirectories="&quot;$(SOURCEMM16)\sourcehook&quot;"
  6.1392 +						/>
  6.1393 +					</FileConfiguration>
  6.1394 +				</File>
  6.1395 +				<File
  6.1396 +					RelativePath="..\vm\sp_vm_function.cpp"
  6.1397 +					>
  6.1398 +				</File>
  6.1399 +			</Filter>
  6.1400 +			<Filter
  6.1401 +				Name="SDK"
  6.1402 +				UniqueIdentifier="{A76160D7-4623-42c7-9587-62049792B924}"
  6.1403 +				>
  6.1404 +				<File
  6.1405 +					RelativePath="..\..\public\sourcepawn\sp_file_headers.h"
  6.1406 +					>
  6.1407 +				</File>
  6.1408 +				<File
  6.1409 +					RelativePath="..\..\public\sourcepawn\sp_typeutil.h"
  6.1410 +					>
  6.1411 +				</File>
  6.1412 +				<File
  6.1413 +					RelativePath="..\..\public\sourcepawn\sp_vm_api.h"
  6.1414 +					>
  6.1415 +				</File>
  6.1416 +				<File
  6.1417 +					RelativePath="..\..\public\sourcepawn\sp_vm_base.h"
  6.1418 +					>
  6.1419 +				</File>
  6.1420 +				<File
  6.1421 +					RelativePath="..\..\public\sourcepawn\sp_vm_types.h"
  6.1422 +					>
  6.1423 +				</File>
  6.1424 +			</Filter>
  6.1425 +		</Filter>
  6.1426 +		<Filter
  6.1427 +			Name="zlib"
  6.1428 +			UniqueIdentifier="{27E223C9-0208-4c7d-BBAA-DE4BF1745020}"
  6.1429 +			>
  6.1430 +			<Filter
  6.1431 +				Name="Header Files"
  6.1432 +				Filter="h;hpp;hxx;hm;inl;inc;xsd"
  6.1433 +				UniqueIdentifier="{65A17C3B-0B6E-450f-96B8-661D47876D4B}"
  6.1434 +				>
  6.1435 +				<File
  6.1436 +					RelativePath="..\zlib\crc32.h"
  6.1437 +					>
  6.1438 +				</File>
  6.1439 +				<File
  6.1440 +					RelativePath="..\zlib\deflate.h"
  6.1441 +					>
  6.1442 +				</File>
  6.1443 +				<File
  6.1444 +					RelativePath="..\zlib\inffast.h"
  6.1445 +					>
  6.1446 +				</File>
  6.1447 +				<File
  6.1448 +					RelativePath="..\zlib\inffixed.h"
  6.1449 +					>
  6.1450 +				</File>
  6.1451 +				<File
  6.1452 +					RelativePath="..\zlib\inflate.h"
  6.1453 +					>
  6.1454 +				</File>
  6.1455 +				<File
  6.1456 +					RelativePath="..\zlib\inftrees.h"
  6.1457 +					>
  6.1458 +				</File>
  6.1459 +				<File
  6.1460 +					RelativePath="..\zlib\trees.h"
  6.1461 +					>
  6.1462 +				</File>
  6.1463 +				<File
  6.1464 +					RelativePath="..\zlib\zconf.h"
  6.1465 +					>
  6.1466 +				</File>
  6.1467 +				<File
  6.1468 +					RelativePath="..\zlib\zlib.h"
  6.1469 +					>
  6.1470 +				</File>
  6.1471 +				<File
  6.1472 +					RelativePath="..\zlib\zutil.h"
  6.1473 +					>
  6.1474 +				</File>
  6.1475 +			</Filter>
  6.1476 +			<Filter
  6.1477 +				Name="Source Files"
  6.1478 +				Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
  6.1479 +				UniqueIdentifier="{9279E65A-C154-4296-AE23-949EB8C62BEB}"
  6.1480 +				>
  6.1481 +				<File
  6.1482 +					RelativePath="..\zlib\adler32.c"
  6.1483 +					>
  6.1484 +				</File>
  6.1485 +				<File
  6.1486 +					RelativePath="..\zlib\compress.c"
  6.1487 +					>
  6.1488 +				</File>
  6.1489 +				<File
  6.1490 +					RelativePath="..\zlib\crc32.c"
  6.1491 +					>
  6.1492 +				</File>
  6.1493 +				<File
  6.1494 +					RelativePath="..\zlib\deflate.c"
  6.1495 +					>
  6.1496 +				</File>
  6.1497 +				<File
  6.1498 +					RelativePath="..\zlib\gzio.c"
  6.1499 +					>
  6.1500 +				</File>
  6.1501 +				<File
  6.1502 +					RelativePath="..\zlib\infback.c"
  6.1503 +					>
  6.1504 +				</File>
  6.1505 +				<File
  6.1506 +					RelativePath="..\zlib\inffast.c"
  6.1507 +					>
  6.1508 +				</File>
  6.1509 +				<File
  6.1510 +					RelativePath="..\zlib\inflate.c"
  6.1511 +					>
  6.1512 +				</File>
  6.1513 +				<File
  6.1514 +					RelativePath="..\zlib\inftrees.c"
  6.1515 +					>
  6.1516 +				</File>
  6.1517 +				<File
  6.1518 +					RelativePath="..\zlib\trees.c"
  6.1519 +					>
  6.1520 +				</File>
  6.1521 +				<File
  6.1522 +					RelativePath="..\zlib\uncompr.c"
  6.1523 +					>
  6.1524 +				</File>
  6.1525 +				<File
  6.1526 +					RelativePath="..\zlib\zutil.c"
  6.1527 +					>
  6.1528 +				</File>
  6.1529 +			</Filter>
  6.1530 +		</Filter>
  6.1531 +		<Filter
  6.1532 +			Name="HL2SDK"
  6.1533 +			UniqueIdentifier="{80B56842-7A9F-4d5d-8149-767C285D0EB4}"
  6.1534 +			>
  6.1535 +			<File
  6.1536 +				RelativePath="..\convar_sm.h"
  6.1537 +				>
  6.1538 +			</File>
  6.1539 +		</Filter>
  6.1540 +		<Filter
  6.1541 +			Name="Natives"
  6.1542 +			UniqueIdentifier="{052D6D9B-7B50-4c3c-9B82-32CA908DEF24}"
  6.1543 +			>
  6.1544 +			<File
  6.1545 +				RelativePath="..\smn_admin.cpp"
  6.1546 +				>
  6.1547 +			</File>
  6.1548 +			<File
  6.1549 +				RelativePath="..\smn_adt_array.cpp"
  6.1550 +				>
  6.1551 +			</File>
  6.1552 +			<File
  6.1553 +				RelativePath="..\smn_adt_stack.cpp"
  6.1554 +				>
  6.1555 +			</File>
  6.1556 +			<File
  6.1557 +				RelativePath="..\smn_adt_trie.cpp"
  6.1558 +				>
  6.1559 +			</File>
  6.1560 +			<File
  6.1561 +				RelativePath="..\smn_banning.cpp"
  6.1562 +				>
  6.1563 +			</File>
  6.1564 +			<File
  6.1565 +				RelativePath="..\smn_bitbuffer.cpp"
  6.1566 +				>
  6.1567 +			</File>
  6.1568 +			<File
  6.1569 +				RelativePath="..\smn_console.cpp"
  6.1570 +				>
  6.1571 +			</File>
  6.1572 +			<File
  6.1573 +				RelativePath="..\smn_core.cpp"
  6.1574 +				>
  6.1575 +			</File>
  6.1576 +			<File
  6.1577 +				RelativePath="..\smn_database.cpp"
  6.1578 +				>
  6.1579 +			</File>
  6.1580 +			<File
  6.1581 +				RelativePath="..\smn_datapacks.cpp"
  6.1582 +				>
  6.1583 +			</File>
  6.1584 +			<File
  6.1585 +				RelativePath="..\smn_entities.cpp"
  6.1586 +				>
  6.1587 +			</File>
  6.1588 +			<File
  6.1589 +				RelativePath="..\smn_events.cpp"
  6.1590 +				>
  6.1591 +			</File>
  6.1592 +			<File
  6.1593 +				RelativePath="..\smn_fakenatives.cpp"
  6.1594 +				>
  6.1595 +			</File>
  6.1596 +			<File
  6.1597 +				RelativePath="..\smn_filesystem.cpp"
  6.1598 +				>
  6.1599 +			</File>
  6.1600 +			<File
  6.1601 +				RelativePath="..\smn_float.cpp"
  6.1602 +				>
  6.1603 +			</File>
  6.1604 +			<File
  6.1605 +				RelativePath="..\smn_functions.cpp"
  6.1606 +				>
  6.1607 +			</File>
  6.1608 +			<File
  6.1609 +				RelativePath="..\smn_gameconfigs.cpp"
  6.1610 +				>
  6.1611 +			</File>
  6.1612 +			<File
  6.1613 +				RelativePath="..\smn_halflife.cpp"
  6.1614 +				>
  6.1615 +			</File>
  6.1616 +			<File
  6.1617 +				RelativePath="..\smn_handles.cpp"
  6.1618 +				>
  6.1619 +			</File>
  6.1620 +			<File
  6.1621 +				RelativePath="..\smn_hudtext.cpp"
  6.1622 +				>
  6.1623 +			</File>
  6.1624 +			<File
  6.1625 +				RelativePath="..\smn_keyvalues.cpp"
  6.1626 +				>
  6.1627 +			</File>
  6.1628 +			<File
  6.1629 +				RelativePath="..\smn_lang.cpp"
  6.1630 +				>
  6.1631 +			</File>
  6.1632 +			<File
  6.1633 +				RelativePath="..\smn_maplists.cpp"
  6.1634 +				>
  6.1635 +			</File>
  6.1636 +			<File
  6.1637 +				RelativePath="..\smn_menus.cpp"
  6.1638 +				>
  6.1639 +			</File>
  6.1640 +			<File
  6.1641 +				RelativePath="..\smn_nextmap.cpp"
  6.1642 +				>
  6.1643 +			</File>
  6.1644 +			<File
  6.1645 +				RelativePath="..\smn_player.cpp"
  6.1646 +				>
  6.1647 +			</File>
  6.1648 +			<File
  6.1649 +				RelativePath="..\smn_profiler.cpp"
  6.1650 +				>
  6.1651 +			</File>
  6.1652 +			<File
  6.1653 +				RelativePath="..\smn_sorting.cpp"
  6.1654 +				>
  6.1655 +			</File>
  6.1656 +			<File
  6.1657 +				RelativePath="..\smn_string.cpp"
  6.1658 +				>
  6.1659 +			</File>
  6.1660 +			<File
  6.1661 +				RelativePath="..\smn_textparse.cpp"
  6.1662 +				>
  6.1663 +			</File>
  6.1664 +			<File
  6.1665 +				RelativePath="..\smn_timers.cpp"
  6.1666 +				>
  6.1667 +			</File>
  6.1668 +			<File
  6.1669 +				RelativePath="..\smn_usermsgs.cpp"
  6.1670 +				>
  6.1671 +			</File>
  6.1672 +			<File
  6.1673 +				RelativePath="..\smn_vector.cpp"
  6.1674 +				>
  6.1675 +			</File>
  6.1676 +		</Filter>
  6.1677 +		<Filter
  6.1678 +			Name="Resources"
  6.1679 +			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
  6.1680 +			UniqueIdentifier="{2A750240-7C10-455f-A900-B9A9D362356C}"
  6.1681 +			>
  6.1682 +			<File
  6.1683 +				RelativePath="..\version.rc"
  6.1684 +				>
  6.1685 +			</File>
  6.1686 +		</Filter>
  6.1687 +		<Filter
  6.1688 +			Name="Threader"
  6.1689 +			>
  6.1690 +			<Filter
  6.1691 +				Name="Header Files"
  6.1692 +				>
  6.1693 +				<File
  6.1694 +					RelativePath="..\thread\BaseWorker.h"
  6.1695 +					>
  6.1696 +				</File>
  6.1697 +				<File
  6.1698 +					RelativePath="..\thread\ThreadWorker.h"
  6.1699 +					>
  6.1700 +				</File>
  6.1701 +				<File
  6.1702 +					RelativePath="..\thread\WinThreads.h"
  6.1703 +					>
  6.1704 +				</File>
  6.1705 +			</Filter>
  6.1706 +			<Filter
  6.1707 +				Name="Source Files"
  6.1708 +				>
  6.1709 +				<File
  6.1710 +					RelativePath="..\thread\BaseWorker.cpp"
  6.1711 +					>
  6.1712 +				</File>
  6.1713 +				<File
  6.1714 +					RelativePath="..\thread\ThreadWorker.cpp"
  6.1715 +					>
  6.1716 +				</File>
  6.1717 +				<File
  6.1718 +					RelativePath="..\thread\WinThreads.cpp"
  6.1719 +					>
  6.1720 +				</File>
  6.1721 +			</Filter>
  6.1722 +		</Filter>
  6.1723 +	</Files>
  6.1724 +	<Globals>
  6.1725 +	</Globals>
  6.1726 +</VisualStudioProject>
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/core/smn_nextmap.cpp	Sun May 25 07:11:16 2008 +0000
     7.3 @@ -0,0 +1,63 @@
     7.4 +/**
     7.5 + * vim: set ts=4 :
     7.6 + * =============================================================================
     7.7 + * SourceMod
     7.8 + * Copyright (C) 2004-2008 AlliedModders LLC.  All rights reserved.
     7.9 + * =============================================================================
    7.10 + *
    7.11 + * This program is free software; you can redistribute it and/or modify it under
    7.12 + * the terms of the GNU General Public License, version 3.0, as published by the
    7.13 + * Free Software Foundation.
    7.14 + * 
    7.15 + * This program is distributed in the hope that it will be useful, but WITHOUT
    7.16 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    7.17 + * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
    7.18 + * details.
    7.19 + *
    7.20 + * You should have received a copy of the GNU General Public License along with
    7.21 + * this program.  If not, see <http://www.gnu.org/licenses/>.
    7.22 + *
    7.23 + * As a special exception, AlliedModders LLC gives you permission to link the
    7.24 + * code of this program (as well as its derivative works) to "Half-Life 2," the
    7.25 + * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
    7.26 + * by the Valve Corporation.  You must obey the GNU General Public License in
    7.27 + * all respects for all other code used.  Additionally, AlliedModders LLC grants
    7.28 + * this exception to all derivative works.  AlliedModders LLC defines further
    7.29 + * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
    7.30 + * or <http://www.sourcemod.net/license.php>.
    7.31 + *
    7.32 + * Version: $Id$
    7.33 + */
    7.34 +
    7.35 +#include "sm_globals.h"
    7.36 +#include "NextMap.h"
    7.37 +
    7.38 +static cell_t sm_GetNextMap(IPluginContext *pCtx, const cell_t *params)
    7.39 +{
    7.40 +	const char *map = g_NextMap.GetNextMap();
    7.41 +
    7.42 +	if (map[0] == 0)
    7.43 +	{
    7.44 +		return 0;
    7.45 +	}
    7.46 +
    7.47 +	pCtx->StringToLocal(params[1], params[2], map);
    7.48 +
    7.49 +	return 1;
    7.50 +}
    7.51 +
    7.52 +static cell_t sm_SetNextMap(IPluginContext *pCtx, const cell_t *params)
    7.53 +{
    7.54 +	char *map;
    7.55 +	pCtx->LocalToString(params[1], &map);
    7.56 +
    7.57 +	return g_NextMap.SetNextMap(map);
    7.58 +}
    7.59 +
    7.60 +
    7.61 +REGISTER_NATIVES(nextmapnatives)
    7.62 +{
    7.63 +	{"GetNextMap",		sm_GetNextMap},
    7.64 +	{"SetNextMap",		sm_SetNextMap},
    7.65 +	{NULL,						NULL},
    7.66 +};
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/plugins/include/nextmap.inc	Sun May 25 07:11:16 2008 +0000
     8.3 @@ -0,0 +1,54 @@
     8.4 +/**
     8.5 + * vim: set ts=4 :
     8.6 + * =============================================================================
     8.7 + * SourceMod (C)2004-2008 AlliedModders LLC.  All rights reserved.
     8.8 + * =============================================================================
     8.9 + *
    8.10 + * This file is part of the SourceMod/SourcePawn SDK.
    8.11 + *
    8.12 + * This program is free software; you can redistribute it and/or modify it under
    8.13 + * the terms of the GNU General Public License, version 3.0, as published by the
    8.14 + * Free Software Foundation.
    8.15 + * 
    8.16 + * This program is distributed in the hope that it will be useful, but WITHOUT
    8.17 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    8.18 + * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
    8.19 + * details.
    8.20 + *
    8.21 + * You should have received a copy of the GNU General Public License along with
    8.22 + * this program.  If not, see <http://www.gnu.org/licenses/>.
    8.23 + *
    8.24 + * As a special exception, AlliedModders LLC gives you permission to link the
    8.25 + * code of this program (as well as its derivative works) to "Half-Life 2," the
    8.26 + * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
    8.27 + * by the Valve Corporation.  You must obey the GNU General Public License in
    8.28 + * all respects for all other code used.  Additionally, AlliedModders LLC grants
    8.29 + * this exception to all derivative works.  AlliedModders LLC defines further
    8.30 + * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
    8.31 + * or <http://www.sourcemod.net/license.php>.
    8.32 + *
    8.33 + * Version: $Id$
    8.34 + */
    8.35 +
    8.36 +#if defined _nextmap_included_
    8.37 +  #endinput
    8.38 +#endif
    8.39 +#define _nextmap_included_
    8.40 +
    8.41 +/**
    8.42 + * Sets SourceMod's internal nextmap. 
    8.43 + * Equivalent to changing sm_nextmap but with an added validity check.
    8.44 + *
    8.45 + * @param map		Next map to set.
    8.46 + * @return			True if the nextmap was set, false if map was invalid.
    8.47 + */
    8.48 +native bool:SetNextMap(const String:map[]);
    8.49 +
    8.50 +/**
    8.51 + * Returns SourceMod's internal nextmap.
    8.52 + *
    8.53 + * @param map		Buffer to store the nextmap name.
    8.54 + * @param maxlen	Maximum length of the map buffer.
    8.55 + * @return			True if a Map was found and copied, false if no nextmap is set (map will be unchanged).
    8.56 + */
    8.57 +native bool:GetNextMap(String:map[], maxlen);
    8.58 \ No newline at end of file
     9.1 --- a/plugins/include/sourcemod.inc	Sun May 25 03:26:31 2008 +0000
     9.2 +++ b/plugins/include/sourcemod.inc	Sun May 25 07:11:16 2008 +0000
     9.3 @@ -72,6 +72,7 @@
     9.4  #include <adt>
     9.5  #include <banning>
     9.6  #include <commandfilters>
     9.7 +#include <nextmap>
     9.8  
     9.9  /**
    9.10   * Declare this as a struct in your plugin to expose its information.
    10.1 --- a/plugins/nextmap.sp	Sun May 25 03:26:31 2008 +0000
    10.2 +++ b/plugins/nextmap.sp	Sun May 25 07:11:16 2008 +0000
    10.3 @@ -34,6 +34,8 @@
    10.4  #pragma semicolon 1
    10.5  
    10.6  #include <sourcemod>
    10.7 +#include "include/nextmap.inc"
    10.8 +
    10.9   
   10.10  public Plugin:myinfo = 
   10.11  {
   10.12 @@ -44,12 +46,7 @@
   10.13  	url = "http://www.sourcemod.net/"
   10.14  };
   10.15  
   10.16 -new bool:g_IntermissionCalled;
   10.17 -new UserMsg:g_VGUIMenu;
   10.18   
   10.19 -new Handle:g_Cvar_Chattime;
   10.20 -new Handle:g_Cvar_Nextmap;
   10.21 -
   10.22  new g_MapPos = -1;
   10.23  new Handle:g_MapList = INVALID_HANDLE;
   10.24  new g_MapListSerial = -1;
   10.25 @@ -59,19 +56,7 @@
   10.26  	LoadTranslations("common.phrases");
   10.27  	LoadTranslations("nextmap.phrases");
   10.28  	
   10.29 -	g_VGUIMenu = GetUserMessageId("VGUIMenu");
   10.30 -	if (g_VGUIMenu == INVALID_MESSAGE_ID)
   10.31 -	{
   10.32 -		LogError("FATAL: Cannot find VGUIMenu user message id. Nextmap not loaded.");
   10.33 -		SetFailState("VGUIMenu Not Found");
   10.34 -	}
   10.35 -	
   10.36  	g_MapList = CreateArray(32);
   10.37 -
   10.38 -	HookUserMessage(g_VGUIMenu, UserMsg_VGUIMenu);
   10.39 -	
   10.40 -	g_Cvar_Nextmap = CreateConVar("sm_nextmap", "", "Sets the Next Map", FCVAR_NOTIFY);
   10.41 -	g_Cvar_Chattime = FindConVar("mp_chattime");
   10.42  	
   10.43  	RegConsoleCmd("say", Command_Say);
   10.44  	RegConsoleCmd("say_team", Command_Say);
   10.45 @@ -87,13 +72,13 @@
   10.46  	// Set to the current map so OnMapStart() will know what to do
   10.47  	decl String:currentMap[64];
   10.48  	GetCurrentMap(currentMap, 64);
   10.49 -	SetConVarString(g_Cvar_Nextmap, currentMap);
   10.50 +	SetNextMap(currentMap);
   10.51  }
   10.52   
   10.53  public OnConfigsExecuted()
   10.54  {
   10.55  	decl String:lastMap[64], String:currentMap[64];
   10.56 -	GetConVarString(g_Cvar_Nextmap, lastMap, 64);
   10.57 +	GetNextMap(lastMap, sizeof(lastMap));
   10.58  	GetCurrentMap(currentMap, 64);
   10.59  	
   10.60  	// Why am I doing this? If we switched to a new map, but it wasn't what we expected (Due to sm_map, sm_votemap, or
   10.61 @@ -104,11 +89,6 @@
   10.62  		FindAndSetNextMap();
   10.63  	}
   10.64  }
   10.65 - 
   10.66 -public OnMapEnd()
   10.67 -{
   10.68 -	g_IntermissionCalled = false;
   10.69 -}
   10.70  
   10.71  public Action:Command_Say(client, args)
   10.72  {
   10.73 @@ -131,7 +111,7 @@
   10.74  	if (strcmp(message, "nextmap", false) == 0)
   10.75  	{
   10.76  		decl String:map[32];
   10.77 -		GetConVarString(g_Cvar_Nextmap, map, sizeof(map));
   10.78 +		GetNextMap(map, sizeof(map));
   10.79  		
   10.80  		PrintToChat(client, "%t", "Next Map", map);
   10.81  	}
   10.82 @@ -156,10 +136,10 @@
   10.83  		return Plugin_Handled;
   10.84  	}
   10.85  
   10.86 -	ShowActivity(client, "%t", "Cvar changed", "sm_nextmap", map);
   10.87 -	LogMessage("\"%L\" changed sm_nextmap to \"%s\"", client, map);
   10.88 +	ShowActivity(client, "%t", "Changed Next Map", map);
   10.89 +	LogMessage("\"%L\" changed nextmap to \"%s\"", client, map);
   10.90  
   10.91 -	SetConVarString(g_Cvar_Nextmap, map);
   10.92 +	SetNextMap(map);
   10.93  
   10.94  	return Plugin_Handled;
   10.95  }
   10.96 @@ -179,76 +159,17 @@
   10.97  	return Plugin_Handled;
   10.98  }
   10.99   
  10.100 -public Action:UserMsg_VGUIMenu(UserMsg:msg_id, Handle:bf, const players[], playersNum, bool:reliable, bool:init)
  10.101 -{
  10.102 -	if (g_IntermissionCalled)
  10.103 -	{
  10.104 -		return Plugin_Handled;
  10.105 -	}
  10.106 -	
  10.107 -	decl String:type[15];
  10.108 -
  10.109 -	/* If we don't get a valid string, bail out. */
  10.110 -	if (BfReadString(bf, type, sizeof(type)) < 0)
  10.111 -	{
  10.112 -		return Plugin_Handled;
  10.113 -	}
  10.114 - 
  10.115 -	if (BfReadByte(bf) == 1 && BfReadByte(bf) == 0 && (strcmp(type, "scores", false) == 0))
  10.116 -	{
  10.117 -		g_IntermissionCalled = true;
  10.118 -		
  10.119 -		decl String:map[32];
  10.120 -		new Float:fChatTime = GetConVarFloat(g_Cvar_Chattime);
  10.121 -		
  10.122 -		GetConVarString(g_Cvar_Nextmap, map, sizeof(map));
  10.123 -		
  10.124 -		if (!IsMapValid(map))
  10.125 -		{
  10.126 -			if (g_MapPos == -1)
  10.127 -			{
  10.128 -				FindAndSetNextMap();
  10.129 -			}
  10.130 -			GetArrayString(g_MapList, g_MapPos, map, sizeof(map));
  10.131 -		}
  10.132 -		
  10.133 -		if (fChatTime < 2.0)
  10.134 -			SetConVarFloat(g_Cvar_Chattime, 2.0);
  10.135 -		
  10.136 -		new Handle:dp;
  10.137 -		CreateDataTimer(fChatTime - 1.0, Timer_ChangeMap, dp);
  10.138 -		WritePackString(dp, map);
  10.139 -	}
  10.140 -	
  10.141 -	return Plugin_Handled;
  10.142 -}
  10.143 -
  10.144  public Action:Command_Nextmap(args)
  10.145  {
  10.146  	decl String:map[64];
  10.147  	
  10.148 -	GetConVarString(g_Cvar_Nextmap, map, sizeof(map));
  10.149 +	GetNextMap(map, sizeof(map));
  10.150  	
  10.151  	ReplyToCommand(0, "%t", "Next Map", map);
  10.152  	
  10.153  	return Plugin_Handled;
  10.154  }
  10.155   
  10.156 -public Action:Timer_ChangeMap(Handle:timer, Handle:dp)
  10.157 -{
  10.158 -	new String:map[32];
  10.159 -	
  10.160 -	ResetPack(dp);
  10.161 -	ReadPackString(dp, map, sizeof(map));
  10.162 - 
  10.163 -	InsertServerCommand("changelevel \"%s\"", map);
  10.164 -	ServerExecute();
  10.165 -	
  10.166 -	LogMessage("Nextmap changed map to \"%s\"", map);
  10.167 -	
  10.168 -	return Plugin_Stop;
  10.169 -}
  10.170 - 
  10.171  FindAndSetNextMap()
  10.172  {
  10.173  	if (ReadMapList(g_MapList, 
  10.174 @@ -291,5 +212,5 @@
  10.175  		g_MapPos = 0;	
  10.176   
  10.177   	GetArrayString(g_MapList, g_MapPos, mapName, sizeof(mapName));
  10.178 -	SetConVarString(g_Cvar_Nextmap, mapName);
  10.179 +	SetNextMap(mapName);
  10.180  }
    11.1 --- a/translations/nextmap.phrases.txt	Sun May 25 03:26:31 2008 +0000
    11.2 +++ b/translations/nextmap.phrases.txt	Sun May 25 07:11:16 2008 +0000
    11.3 @@ -2,7 +2,12 @@
    11.4  {
    11.5  	"Next Map"
    11.6  	{
    11.7 -		#format			"{1:s}"
    11.8 +		"#format"		"{1:s}"
    11.9  		"en"			"Next Map: {1}"
   11.10  	}
   11.11 +	"Changed Next Map"
   11.12 +	{
   11.13 +		"#format"		"{1:s}"
   11.14 +		"en"			"Changed nextmap to \"{1}\"."	
   11.15 +	}
   11.16  }