Fixed building with newly updated SDK.
authorScott Ehlert <ds@alliedmods.net>
Thu Sep 05 19:51:52 2013 -0500 (2013-09-05)
changeset 18883a0f433f014
parent 187 0b19788dcc03
child 189 9773d172d77f
Fixed building with newly updated SDK.
amxmodx/Makefile
amxmodx/msvc10/amxmodx_mm.vcxproj
amxmodx/sdk/amxxmodule.h
dlls/cstrike/cstrike/CstrikeHacks.cpp
dlls/cstrike/cstrike/Makefile
dlls/cstrike/cstrike/msvc10/cstrike.vcxproj
dlls/cstrike/cstrike/sdk/amxxmodule.h
dlls/cstrike/csx/Makefile
dlls/cstrike/csx/msvc10/csx.vcxproj
dlls/cstrike/csx/sdk/amxxmodule.h
dlls/dod/dodfun/Makefile
dlls/dod/dodfun/msvc10/dodfun.vcxproj
dlls/dod/dodfun/sdk/amxxmodule.h
dlls/dod/dodx/Makefile
dlls/dod/dodx/msvc10/dodx.vcxproj
dlls/dod/dodx/sdk/amxxmodule.h
dlls/engine/Makefile
dlls/engine/amxxapi.cpp
dlls/engine/engine.cpp
dlls/engine/engine.h
dlls/engine/forwards.cpp
dlls/engine/msvc10/engine.vcxproj
dlls/engine/sdk/amxxmodule.h
dlls/fakemeta/Makefile
dlls/fakemeta/engfunc.cpp
dlls/fakemeta/engfunc.h
dlls/fakemeta/forward.cpp
dlls/fakemeta/msvc10/fakemeta.vcxproj
dlls/fakemeta/sdk/amxxmodule.h
dlls/fun/Makefile
dlls/fun/msvc10/fun.vcxproj
dlls/fun/sdk/amxxmodule.h
dlls/geoip/Makefile
dlls/geoip/sdk/amxxmodule.h
dlls/hamsandwich/Makefile
dlls/hamsandwich/msvc10/hamsandwich.vcxproj
dlls/hamsandwich/sdk/amxxmodule.h
dlls/mysqlx/Makefile
dlls/mysqlx/msvc10/mysqlx.vcxproj
dlls/mysqlx/sdk/amxxmodule.h
dlls/ns/Makefile
dlls/ns/msvc10/ns.vcxproj
dlls/ns/sdk/amxxmodule.h
dlls/nvault/Makefile
dlls/nvault/sdk/amxxmodule.h
dlls/regex/Makefile
dlls/regex/sdk/amxxmodule.h
dlls/sockets/Makefile
dlls/sockets/sdk/amxxmodule.h
dlls/sqlite/Makefile
dlls/sqlite/msvc10/sqlite.vcxproj
dlls/sqlite/sdk/amxxmodule.h
dlls/tfcx/Makefile
dlls/tfcx/msvc10/tfcx.vcxproj
dlls/tfcx/sdk/amxxmodule.h
dlls/ts/tsfun/Makefile
dlls/ts/tsfun/sdk/amxxmodule.h
dlls/ts/tsx/Makefile
dlls/ts/tsx/msvc10/tsx.vcxproj
dlls/ts/tsx/sdk/amxxmodule.h
     1.1 --- a/amxmodx/Makefile	Tue Sep 03 17:56:27 2013 -0500
     1.2 +++ b/amxmodx/Makefile	Thu Sep 05 19:51:52 2013 -0500
     1.3 @@ -5,7 +5,7 @@
     1.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
     1.5  ###########################################
     1.6  
     1.7 -HLSDK = ../../hlsdk/multiplayer
     1.8 +HLSDK = ../../hlsdk
     1.9  MM_ROOT = ../../metamod/metamod
    1.10  
    1.11  #####################################
    1.12 @@ -37,7 +37,7 @@
    1.13  LINK = -Lzlib
    1.14  
    1.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
    1.16 -	  -I$(MM_ROOT)
    1.17 +	  -I$(HLSDK)/public -I$(MM_ROOT)
    1.18  
    1.19  ################################################
    1.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
     2.1 --- a/amxmodx/msvc10/amxmodx_mm.vcxproj	Tue Sep 03 17:56:27 2013 -0500
     2.2 +++ b/amxmodx/msvc10/amxmodx_mm.vcxproj	Thu Sep 05 19:51:52 2013 -0500
     2.3 @@ -92,7 +92,7 @@
     2.4      </Midl>
     2.5      <ClCompile>
     2.6        <Optimization>Disabled</Optimization>
     2.7 -      <AdditionalIncludeDirectories>$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     2.8 +      <AdditionalIncludeDirectories>$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     2.9        <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;amxmodx_EXPORTS;PAWN_CELL_SIZE=32;ASM32;JIT;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    2.10        <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
    2.11        <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
    2.12 @@ -143,7 +143,7 @@
    2.13        <IntrinsicFunctions>true</IntrinsicFunctions>
    2.14        <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
    2.15        <OmitFramePointers>true</OmitFramePointers>
    2.16 -      <AdditionalIncludeDirectories>$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    2.17 +      <AdditionalIncludeDirectories>$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    2.18        <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;amxmodx_EXPORTS;JIT;ASM32;PAWN_CELL_SIZE=32;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    2.19        <IgnoreStandardIncludePath>false</IgnoreStandardIncludePath>
    2.20        <StringPooling>true</StringPooling>
     3.1 --- a/amxmodx/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
     3.2 +++ b/amxmodx/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
     3.3 @@ -1010,7 +1010,7 @@
     3.4  #endif // FN_ParticleEffect
     3.5  
     3.6  #ifdef FN_LightStyle
     3.7 -void FN_LightStyle(int style, char *val);
     3.8 +void FN_LightStyle(int style, const char *val);
     3.9  #endif // FN_LightStyle
    3.10  
    3.11  #ifdef FN_DecalIndex
    3.12 @@ -1218,7 +1218,7 @@
    3.13  #endif // FN_CrosshairAngle
    3.14  
    3.15  #ifdef FN_LoadFileForMe
    3.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
    3.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
    3.18  #endif // FN_LoadFileForMe
    3.19  
    3.20  #ifdef FN_FreeFile
    3.21 @@ -1354,7 +1354,7 @@
    3.22  #endif // FN_DeltaUnsetField
    3.23  
    3.24  #ifdef FN_DeltaAddEncoder
    3.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
    3.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
    3.27  #endif // FN_DeltaAddEncoder
    3.28  
    3.29  #ifdef FN_GetCurrentPlayer
    3.30 @@ -1386,7 +1386,7 @@
    3.31  #endif // FN_engCreateInstancedBaseline
    3.32  
    3.33  #ifdef FN_Cvar_DirectSet
    3.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
    3.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
    3.36  #endif // FN_Cvar_DirectSet
    3.37  
    3.38  #ifdef FN_ForceUnmodified
    3.39 @@ -1591,7 +1591,7 @@
    3.40  #endif // FN_ParticleEffect_Post
    3.41  
    3.42  #ifdef FN_LightStyle_Post
    3.43 -void FN_LightStyle_Post(int style, char *val);
    3.44 +void FN_LightStyle_Post(int style, const char *val);
    3.45  #endif // FN_LightStyle_Post
    3.46  
    3.47  #ifdef FN_DecalIndex_Post
    3.48 @@ -1799,7 +1799,7 @@
    3.49  #endif // FN_CrosshairAngle_Post
    3.50  
    3.51  #ifdef FN_LoadFileForMe_Post
    3.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
    3.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
    3.54  #endif // FN_LoadFileForMe_Post
    3.55  
    3.56  #ifdef FN_FreeFile_Post
    3.57 @@ -1935,7 +1935,7 @@
    3.58  #endif // FN_DeltaUnsetField_Post
    3.59  
    3.60  #ifdef FN_DeltaAddEncoder_Post
    3.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
    3.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
    3.63  #endif // FN_DeltaAddEncoder_Post
    3.64  
    3.65  #ifdef FN_GetCurrentPlayer_Post
    3.66 @@ -1967,7 +1967,7 @@
    3.67  #endif // FN_engCreateInstancedBaseline_Post
    3.68  
    3.69  #ifdef FN_Cvar_DirectSet_Post
    3.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
    3.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
    3.72  #endif // FN_Cvar_DirectSet_Post
    3.73  
    3.74  #ifdef FN_ForceUnmodified_Post
     4.1 --- a/dlls/cstrike/cstrike/CstrikeHacks.cpp	Tue Sep 03 17:56:27 2013 -0500
     4.2 +++ b/dlls/cstrike/cstrike/CstrikeHacks.cpp	Thu Sep 05 19:51:52 2013 -0500
     4.3 @@ -52,13 +52,13 @@
     4.4  #endif
     4.5  	static unsigned char DetourOps[] = 
     4.6  	{
     4.7 -		'\x50',									/* push eax         ; just for safety */
     4.8 -		'\xff', '\x74', '\x24', '\x08',			/* push [esp+0x8]	; push the edict pointer */
     4.9 -		'\xe8', '\x00', '\x00', '\x00', '\x00', /* call <gate>		; call our function */
    4.10 -		'\x83', '\xc4', '\x08',					/* add esp, 8		; correct stack */
    4.11 -		'\x85', '\xc0',							/* test eax, eax	; do != 0 test */
    4.12 -		'\x74', '\x01',							/* je <cont>		; if == 0, jump to where old func is saved */
    4.13 -		'\xc3'									/* ret				; return otherwise */
    4.14 +		0x50,									/* push eax         ; just for safety */
    4.15 +		0xff, 0x74, 0x24, 0x08,			/* push [esp+0x8]	; push the edict pointer */
    4.16 +		0xe8, 0x00, 0x00, 0x00, 0x00, /* call <gate>		; call our function */
    4.17 +		0x83, 0xc4, 0x08,					/* add esp, 8		; correct stack */
    4.18 +		0x85, 0xc0,							/* test eax, eax	; do != 0 test */
    4.19 +		0x74, 0x01,							/* je <cont>		; if == 0, jump to where old func is saved */
    4.20 +		0xc3									/* ret				; return otherwise */
    4.21  	};
    4.22  	static unsigned char DetourJmp = '\xE9';
    4.23  
     5.1 --- a/dlls/cstrike/cstrike/Makefile	Tue Sep 03 17:56:27 2013 -0500
     5.2 +++ b/dlls/cstrike/cstrike/Makefile	Thu Sep 05 19:51:52 2013 -0500
     5.3 @@ -5,7 +5,7 @@
     5.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
     5.5  ###########################################
     5.6  
     5.7 -HLSDK = ../../../../hlsdk/multiplayer
     5.8 +HLSDK = ../../../../hlsdk
     5.9  MM_ROOT = ../../../../metamod/metamod
    5.10  
    5.11  #####################################
    5.12 @@ -30,7 +30,7 @@
    5.13  LINK =
    5.14  
    5.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
    5.16 -	  -I$(MM_ROOT) -Isdk
    5.17 +	  -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
    5.18  
    5.19  ################################################
    5.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
     6.1 --- a/dlls/cstrike/cstrike/msvc10/cstrike.vcxproj	Tue Sep 03 17:56:27 2013 -0500
     6.2 +++ b/dlls/cstrike/cstrike/msvc10/cstrike.vcxproj	Thu Sep 05 19:51:52 2013 -0500
     6.3 @@ -62,7 +62,7 @@
     6.4      </Midl>
     6.5      <ClCompile>
     6.6        <Optimization>Disabled</Optimization>
     6.7 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     6.8 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     6.9        <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;CSTRIKE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    6.10        <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
    6.11        <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
    6.12 @@ -105,7 +105,7 @@
    6.13      <ClCompile>
    6.14        <Optimization>MaxSpeed</Optimization>
    6.15        <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
    6.16 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    6.17 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    6.18        <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;CSTRIKE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    6.19        <StringPooling>true</StringPooling>
    6.20        <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
     7.1 --- a/dlls/cstrike/cstrike/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
     7.2 +++ b/dlls/cstrike/cstrike/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
     7.3 @@ -1010,7 +1010,7 @@
     7.4  #endif // FN_ParticleEffect
     7.5  
     7.6  #ifdef FN_LightStyle
     7.7 -void FN_LightStyle(int style, char *val);
     7.8 +void FN_LightStyle(int style, const char *val);
     7.9  #endif // FN_LightStyle
    7.10  
    7.11  #ifdef FN_DecalIndex
    7.12 @@ -1218,7 +1218,7 @@
    7.13  #endif // FN_CrosshairAngle
    7.14  
    7.15  #ifdef FN_LoadFileForMe
    7.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
    7.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
    7.18  #endif // FN_LoadFileForMe
    7.19  
    7.20  #ifdef FN_FreeFile
    7.21 @@ -1354,7 +1354,7 @@
    7.22  #endif // FN_DeltaUnsetField
    7.23  
    7.24  #ifdef FN_DeltaAddEncoder
    7.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
    7.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
    7.27  #endif // FN_DeltaAddEncoder
    7.28  
    7.29  #ifdef FN_GetCurrentPlayer
    7.30 @@ -1386,7 +1386,7 @@
    7.31  #endif // FN_engCreateInstancedBaseline
    7.32  
    7.33  #ifdef FN_Cvar_DirectSet
    7.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
    7.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
    7.36  #endif // FN_Cvar_DirectSet
    7.37  
    7.38  #ifdef FN_ForceUnmodified
    7.39 @@ -1591,7 +1591,7 @@
    7.40  #endif // FN_ParticleEffect_Post
    7.41  
    7.42  #ifdef FN_LightStyle_Post
    7.43 -void FN_LightStyle_Post(int style, char *val);
    7.44 +void FN_LightStyle_Post(int style, const char *val);
    7.45  #endif // FN_LightStyle_Post
    7.46  
    7.47  #ifdef FN_DecalIndex_Post
    7.48 @@ -1799,7 +1799,7 @@
    7.49  #endif // FN_CrosshairAngle_Post
    7.50  
    7.51  #ifdef FN_LoadFileForMe_Post
    7.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
    7.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
    7.54  #endif // FN_LoadFileForMe_Post
    7.55  
    7.56  #ifdef FN_FreeFile_Post
    7.57 @@ -1935,7 +1935,7 @@
    7.58  #endif // FN_DeltaUnsetField_Post
    7.59  
    7.60  #ifdef FN_DeltaAddEncoder_Post
    7.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
    7.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
    7.63  #endif // FN_DeltaAddEncoder_Post
    7.64  
    7.65  #ifdef FN_GetCurrentPlayer_Post
    7.66 @@ -1967,7 +1967,7 @@
    7.67  #endif // FN_engCreateInstancedBaseline_Post
    7.68  
    7.69  #ifdef FN_Cvar_DirectSet_Post
    7.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
    7.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
    7.72  #endif // FN_Cvar_DirectSet_Post
    7.73  
    7.74  #ifdef FN_ForceUnmodified_Post
     8.1 --- a/dlls/cstrike/csx/Makefile	Tue Sep 03 17:56:27 2013 -0500
     8.2 +++ b/dlls/cstrike/csx/Makefile	Thu Sep 05 19:51:52 2013 -0500
     8.3 @@ -5,7 +5,7 @@
     8.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
     8.5  ###########################################
     8.6  
     8.7 -HLSDK = ../../../../hlsdk/multiplayer
     8.8 +HLSDK = ../../../../hlsdk
     8.9  MM_ROOT = ../../../../metamod/metamod
    8.10  
    8.11  #####################################
    8.12 @@ -30,7 +30,7 @@
    8.13  LINK =
    8.14  
    8.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
    8.16 -	  -I$(MM_ROOT) -Isdk
    8.17 +	  -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
    8.18  
    8.19  ################################################
    8.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
     9.1 --- a/dlls/cstrike/csx/msvc10/csx.vcxproj	Tue Sep 03 17:56:27 2013 -0500
     9.2 +++ b/dlls/cstrike/csx/msvc10/csx.vcxproj	Thu Sep 05 19:51:52 2013 -0500
     9.3 @@ -63,7 +63,7 @@
     9.4      <ClCompile>
     9.5        <Optimization>MaxSpeed</Optimization>
     9.6        <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
     9.7 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     9.8 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     9.9        <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;csx_EXPORTS;JIT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    9.10        <StringPooling>true</StringPooling>
    9.11        <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
    9.12 @@ -104,7 +104,7 @@
    9.13      </Midl>
    9.14      <ClCompile>
    9.15        <Optimization>Disabled</Optimization>
    9.16 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    9.17 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    9.18        <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;csx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    9.19        <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
    9.20        <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
    10.1 --- a/dlls/cstrike/csx/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    10.2 +++ b/dlls/cstrike/csx/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    10.3 @@ -1010,7 +1010,7 @@
    10.4  #endif // FN_ParticleEffect
    10.5  
    10.6  #ifdef FN_LightStyle
    10.7 -void FN_LightStyle(int style, char *val);
    10.8 +void FN_LightStyle(int style, const char *val);
    10.9  #endif // FN_LightStyle
   10.10  
   10.11  #ifdef FN_DecalIndex
   10.12 @@ -1218,7 +1218,7 @@
   10.13  #endif // FN_CrosshairAngle
   10.14  
   10.15  #ifdef FN_LoadFileForMe
   10.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   10.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   10.18  #endif // FN_LoadFileForMe
   10.19  
   10.20  #ifdef FN_FreeFile
   10.21 @@ -1354,7 +1354,7 @@
   10.22  #endif // FN_DeltaUnsetField
   10.23  
   10.24  #ifdef FN_DeltaAddEncoder
   10.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   10.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   10.27  #endif // FN_DeltaAddEncoder
   10.28  
   10.29  #ifdef FN_GetCurrentPlayer
   10.30 @@ -1386,7 +1386,7 @@
   10.31  #endif // FN_engCreateInstancedBaseline
   10.32  
   10.33  #ifdef FN_Cvar_DirectSet
   10.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   10.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   10.36  #endif // FN_Cvar_DirectSet
   10.37  
   10.38  #ifdef FN_ForceUnmodified
   10.39 @@ -1591,7 +1591,7 @@
   10.40  #endif // FN_ParticleEffect_Post
   10.41  
   10.42  #ifdef FN_LightStyle_Post
   10.43 -void FN_LightStyle_Post(int style, char *val);
   10.44 +void FN_LightStyle_Post(int style, const char *val);
   10.45  #endif // FN_LightStyle_Post
   10.46  
   10.47  #ifdef FN_DecalIndex_Post
   10.48 @@ -1799,7 +1799,7 @@
   10.49  #endif // FN_CrosshairAngle_Post
   10.50  
   10.51  #ifdef FN_LoadFileForMe_Post
   10.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   10.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   10.54  #endif // FN_LoadFileForMe_Post
   10.55  
   10.56  #ifdef FN_FreeFile_Post
   10.57 @@ -1935,7 +1935,7 @@
   10.58  #endif // FN_DeltaUnsetField_Post
   10.59  
   10.60  #ifdef FN_DeltaAddEncoder_Post
   10.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   10.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   10.63  #endif // FN_DeltaAddEncoder_Post
   10.64  
   10.65  #ifdef FN_GetCurrentPlayer_Post
   10.66 @@ -1967,7 +1967,7 @@
   10.67  #endif // FN_engCreateInstancedBaseline_Post
   10.68  
   10.69  #ifdef FN_Cvar_DirectSet_Post
   10.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   10.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   10.72  #endif // FN_Cvar_DirectSet_Post
   10.73  
   10.74  #ifdef FN_ForceUnmodified_Post
    11.1 --- a/dlls/dod/dodfun/Makefile	Tue Sep 03 17:56:27 2013 -0500
    11.2 +++ b/dlls/dod/dodfun/Makefile	Thu Sep 05 19:51:52 2013 -0500
    11.3 @@ -5,7 +5,7 @@
    11.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
    11.5  ###########################################
    11.6  
    11.7 -HLSDK = ../../../../hlsdk/multiplayer
    11.8 +HLSDK = ../../../../hlsdk
    11.9  MM_ROOT = ../../../../metamod/metamod
   11.10  
   11.11  #####################################
   11.12 @@ -30,7 +30,7 @@
   11.13  LINK =
   11.14  
   11.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
   11.16 -	  -I$(MM_ROOT) -Isdk
   11.17 +	  -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
   11.18  
   11.19  ################################################
   11.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
    12.1 --- a/dlls/dod/dodfun/msvc10/dodfun.vcxproj	Tue Sep 03 17:56:27 2013 -0500
    12.2 +++ b/dlls/dod/dodfun/msvc10/dodfun.vcxproj	Thu Sep 05 19:51:52 2013 -0500
    12.3 @@ -62,7 +62,7 @@
    12.4      <ClCompile>
    12.5        <Optimization>MaxSpeed</Optimization>
    12.6        <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
    12.7 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    12.8 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    12.9        <PreprocessorDefinitions>dodfun_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   12.10        <StringPooling>true</StringPooling>
   12.11        <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
   12.12 @@ -103,7 +103,7 @@
   12.13      </Midl>
   12.14      <ClCompile>
   12.15        <Optimization>Disabled</Optimization>
   12.16 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   12.17 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   12.18        <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;dodfun_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   12.19        <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
   12.20        <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
    13.1 --- a/dlls/dod/dodfun/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    13.2 +++ b/dlls/dod/dodfun/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    13.3 @@ -1010,7 +1010,7 @@
    13.4  #endif // FN_ParticleEffect
    13.5  
    13.6  #ifdef FN_LightStyle
    13.7 -void FN_LightStyle(int style, char *val);
    13.8 +void FN_LightStyle(int style, const char *val);
    13.9  #endif // FN_LightStyle
   13.10  
   13.11  #ifdef FN_DecalIndex
   13.12 @@ -1218,7 +1218,7 @@
   13.13  #endif // FN_CrosshairAngle
   13.14  
   13.15  #ifdef FN_LoadFileForMe
   13.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   13.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   13.18  #endif // FN_LoadFileForMe
   13.19  
   13.20  #ifdef FN_FreeFile
   13.21 @@ -1354,7 +1354,7 @@
   13.22  #endif // FN_DeltaUnsetField
   13.23  
   13.24  #ifdef FN_DeltaAddEncoder
   13.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   13.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   13.27  #endif // FN_DeltaAddEncoder
   13.28  
   13.29  #ifdef FN_GetCurrentPlayer
   13.30 @@ -1386,7 +1386,7 @@
   13.31  #endif // FN_engCreateInstancedBaseline
   13.32  
   13.33  #ifdef FN_Cvar_DirectSet
   13.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   13.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   13.36  #endif // FN_Cvar_DirectSet
   13.37  
   13.38  #ifdef FN_ForceUnmodified
   13.39 @@ -1591,7 +1591,7 @@
   13.40  #endif // FN_ParticleEffect_Post
   13.41  
   13.42  #ifdef FN_LightStyle_Post
   13.43 -void FN_LightStyle_Post(int style, char *val);
   13.44 +void FN_LightStyle_Post(int style, const char *val);
   13.45  #endif // FN_LightStyle_Post
   13.46  
   13.47  #ifdef FN_DecalIndex_Post
   13.48 @@ -1799,7 +1799,7 @@
   13.49  #endif // FN_CrosshairAngle_Post
   13.50  
   13.51  #ifdef FN_LoadFileForMe_Post
   13.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   13.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   13.54  #endif // FN_LoadFileForMe_Post
   13.55  
   13.56  #ifdef FN_FreeFile_Post
   13.57 @@ -1935,7 +1935,7 @@
   13.58  #endif // FN_DeltaUnsetField_Post
   13.59  
   13.60  #ifdef FN_DeltaAddEncoder_Post
   13.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   13.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   13.63  #endif // FN_DeltaAddEncoder_Post
   13.64  
   13.65  #ifdef FN_GetCurrentPlayer_Post
   13.66 @@ -1967,7 +1967,7 @@
   13.67  #endif // FN_engCreateInstancedBaseline_Post
   13.68  
   13.69  #ifdef FN_Cvar_DirectSet_Post
   13.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   13.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   13.72  #endif // FN_Cvar_DirectSet_Post
   13.73  
   13.74  #ifdef FN_ForceUnmodified_Post
    14.1 --- a/dlls/dod/dodx/Makefile	Tue Sep 03 17:56:27 2013 -0500
    14.2 +++ b/dlls/dod/dodx/Makefile	Thu Sep 05 19:51:52 2013 -0500
    14.3 @@ -5,7 +5,7 @@
    14.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
    14.5  ###########################################
    14.6  
    14.7 -HLSDK = ../../../../hlsdk/multiplayer
    14.8 +HLSDK = ../../../../hlsdk
    14.9  MM_ROOT = ../../../../metamod/metamod
   14.10  
   14.11  #####################################
   14.12 @@ -30,7 +30,7 @@
   14.13  LINK =
   14.14  
   14.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
   14.16 -	  -I$(MM_ROOT) -Isdk
   14.17 +	  -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
   14.18  
   14.19  ################################################
   14.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
    15.1 --- a/dlls/dod/dodx/msvc10/dodx.vcxproj	Tue Sep 03 17:56:27 2013 -0500
    15.2 +++ b/dlls/dod/dodx/msvc10/dodx.vcxproj	Thu Sep 05 19:51:52 2013 -0500
    15.3 @@ -62,7 +62,7 @@
    15.4      <ClCompile>
    15.5        <Optimization>MaxSpeed</Optimization>
    15.6        <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
    15.7 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    15.8 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    15.9        <PreprocessorDefinitions>dodx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   15.10        <StringPooling>true</StringPooling>
   15.11        <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
   15.12 @@ -103,7 +103,7 @@
   15.13      </Midl>
   15.14      <ClCompile>
   15.15        <Optimization>Disabled</Optimization>
   15.16 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   15.17 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   15.18        <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;dodx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   15.19        <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
   15.20        <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
    16.1 --- a/dlls/dod/dodx/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    16.2 +++ b/dlls/dod/dodx/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    16.3 @@ -1010,7 +1010,7 @@
    16.4  #endif // FN_ParticleEffect
    16.5  
    16.6  #ifdef FN_LightStyle
    16.7 -void FN_LightStyle(int style, char *val);
    16.8 +void FN_LightStyle(int style, const char *val);
    16.9  #endif // FN_LightStyle
   16.10  
   16.11  #ifdef FN_DecalIndex
   16.12 @@ -1218,7 +1218,7 @@
   16.13  #endif // FN_CrosshairAngle
   16.14  
   16.15  #ifdef FN_LoadFileForMe
   16.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   16.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   16.18  #endif // FN_LoadFileForMe
   16.19  
   16.20  #ifdef FN_FreeFile
   16.21 @@ -1354,7 +1354,7 @@
   16.22  #endif // FN_DeltaUnsetField
   16.23  
   16.24  #ifdef FN_DeltaAddEncoder
   16.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   16.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   16.27  #endif // FN_DeltaAddEncoder
   16.28  
   16.29  #ifdef FN_GetCurrentPlayer
   16.30 @@ -1386,7 +1386,7 @@
   16.31  #endif // FN_engCreateInstancedBaseline
   16.32  
   16.33  #ifdef FN_Cvar_DirectSet
   16.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   16.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   16.36  #endif // FN_Cvar_DirectSet
   16.37  
   16.38  #ifdef FN_ForceUnmodified
   16.39 @@ -1591,7 +1591,7 @@
   16.40  #endif // FN_ParticleEffect_Post
   16.41  
   16.42  #ifdef FN_LightStyle_Post
   16.43 -void FN_LightStyle_Post(int style, char *val);
   16.44 +void FN_LightStyle_Post(int style, const char *val);
   16.45  #endif // FN_LightStyle_Post
   16.46  
   16.47  #ifdef FN_DecalIndex_Post
   16.48 @@ -1799,7 +1799,7 @@
   16.49  #endif // FN_CrosshairAngle_Post
   16.50  
   16.51  #ifdef FN_LoadFileForMe_Post
   16.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   16.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   16.54  #endif // FN_LoadFileForMe_Post
   16.55  
   16.56  #ifdef FN_FreeFile_Post
   16.57 @@ -1935,7 +1935,7 @@
   16.58  #endif // FN_DeltaUnsetField_Post
   16.59  
   16.60  #ifdef FN_DeltaAddEncoder_Post
   16.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   16.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   16.63  #endif // FN_DeltaAddEncoder_Post
   16.64  
   16.65  #ifdef FN_GetCurrentPlayer_Post
   16.66 @@ -1967,7 +1967,7 @@
   16.67  #endif // FN_engCreateInstancedBaseline_Post
   16.68  
   16.69  #ifdef FN_Cvar_DirectSet_Post
   16.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   16.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   16.72  #endif // FN_Cvar_DirectSet_Post
   16.73  
   16.74  #ifdef FN_ForceUnmodified_Post
    17.1 --- a/dlls/engine/Makefile	Tue Sep 03 17:56:27 2013 -0500
    17.2 +++ b/dlls/engine/Makefile	Thu Sep 05 19:51:52 2013 -0500
    17.3 @@ -5,7 +5,7 @@
    17.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
    17.5  ###########################################
    17.6  
    17.7 -HLSDK = ../../../hlsdk/multiplayer
    17.8 +HLSDK = ../../../hlsdk
    17.9  MM_ROOT = ../../../metamod/metamod
   17.10  
   17.11  #####################################
   17.12 @@ -31,7 +31,7 @@
   17.13  LINK =
   17.14  
   17.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
   17.16 -	  -I$(HLSDK)/pm_shared -I$(MM_ROOT) -Isdk
   17.17 +	  -I$(HLSDK)/pm_shared -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
   17.18  
   17.19  ################################################
   17.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
    18.1 --- a/dlls/engine/amxxapi.cpp	Tue Sep 03 17:56:27 2013 -0500
    18.2 +++ b/dlls/engine/amxxapi.cpp	Thu Sep 05 19:51:52 2013 -0500
    18.3 @@ -213,7 +213,7 @@
    18.4  	RETURN_META(MRES_IGNORED);
    18.5  }
    18.6  
    18.7 -void LightStyle(int style, char *val) {
    18.8 +void LightStyle(int style, const char *val) {
    18.9  	if (!style) {
   18.10  		memset(glinfo.szRealLights, 0x0, 128);
   18.11  		memcpy(glinfo.szRealLights, val, strlen(val));
    19.1 --- a/dlls/engine/engine.cpp	Tue Sep 03 17:56:27 2013 -0500
    19.2 +++ b/dlls/engine/engine.cpp	Thu Sep 05 19:51:52 2013 -0500
    19.3 @@ -522,7 +522,7 @@
    19.4  		glinfo.bCheckLights = false;
    19.5  		g_pFunctionTable_Post->pfnStartFrame = NULL;
    19.6  		memset(glinfo.szLastLights, 0x0, 128);
    19.7 -		(g_engfuncs.pfnLightStyle)(0, (char *)glinfo.szRealLights);
    19.8 +		(g_engfuncs.pfnLightStyle)(0, glinfo.szRealLights);
    19.9  		return 1;
   19.10  	}
   19.11  	
    20.1 --- a/dlls/engine/engine.h	Tue Sep 03 17:56:27 2013 -0500
    20.2 +++ b/dlls/engine/engine.h	Thu Sep 05 19:51:52 2013 -0500
    20.3 @@ -106,8 +106,8 @@
    20.4  
    20.5  struct GlobalInfo {
    20.6  	float fNextLights;
    20.7 -	char *szLastLights[128];
    20.8 -	char *szRealLights[128];
    20.9 +	char szLastLights[128];
   20.10 +	char szRealLights[128];
   20.11  	bool bCheckLights;
   20.12  };
   20.13  
    21.1 --- a/dlls/engine/forwards.cpp	Tue Sep 03 17:56:27 2013 -0500
    21.2 +++ b/dlls/engine/forwards.cpp	Thu Sep 05 19:51:52 2013 -0500
    21.3 @@ -111,7 +111,7 @@
    21.4  	{
    21.5  		if (glinfo.fNextLights < gpGlobals->time)
    21.6  		{
    21.7 -			(g_engfuncs.pfnLightStyle)(0, (char *)glinfo.szLastLights);
    21.8 +			(g_engfuncs.pfnLightStyle)(0, glinfo.szLastLights);
    21.9  			glinfo.fNextLights = gpGlobals->time + 1;
   21.10  		}
   21.11  	}
    22.1 --- a/dlls/engine/msvc10/engine.vcxproj	Tue Sep 03 17:56:27 2013 -0500
    22.2 +++ b/dlls/engine/msvc10/engine.vcxproj	Thu Sep 05 19:51:52 2013 -0500
    22.3 @@ -52,7 +52,7 @@
    22.4    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    22.5      <ClCompile>
    22.6        <Optimization>Disabled</Optimization>
    22.7 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    22.8 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    22.9        <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;ENGINE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   22.10        <MinimalRebuild>true</MinimalRebuild>
   22.11        <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
   22.12 @@ -74,7 +74,7 @@
   22.13    </ItemDefinitionGroup>
   22.14    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   22.15      <ClCompile>
   22.16 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   22.17 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   22.18        <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;ENGINE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   22.19        <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
   22.20        <StructMemberAlignment>4Bytes</StructMemberAlignment>
    23.1 --- a/dlls/engine/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    23.2 +++ b/dlls/engine/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    23.3 @@ -1010,7 +1010,7 @@
    23.4  #endif // FN_ParticleEffect
    23.5  
    23.6  #ifdef FN_LightStyle
    23.7 -void FN_LightStyle(int style, char *val);
    23.8 +void FN_LightStyle(int style, const char *val);
    23.9  #endif // FN_LightStyle
   23.10  
   23.11  #ifdef FN_DecalIndex
   23.12 @@ -1218,7 +1218,7 @@
   23.13  #endif // FN_CrosshairAngle
   23.14  
   23.15  #ifdef FN_LoadFileForMe
   23.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   23.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   23.18  #endif // FN_LoadFileForMe
   23.19  
   23.20  #ifdef FN_FreeFile
   23.21 @@ -1354,7 +1354,7 @@
   23.22  #endif // FN_DeltaUnsetField
   23.23  
   23.24  #ifdef FN_DeltaAddEncoder
   23.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   23.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   23.27  #endif // FN_DeltaAddEncoder
   23.28  
   23.29  #ifdef FN_GetCurrentPlayer
   23.30 @@ -1386,7 +1386,7 @@
   23.31  #endif // FN_engCreateInstancedBaseline
   23.32  
   23.33  #ifdef FN_Cvar_DirectSet
   23.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   23.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   23.36  #endif // FN_Cvar_DirectSet
   23.37  
   23.38  #ifdef FN_ForceUnmodified
   23.39 @@ -1591,7 +1591,7 @@
   23.40  #endif // FN_ParticleEffect_Post
   23.41  
   23.42  #ifdef FN_LightStyle_Post
   23.43 -void FN_LightStyle_Post(int style, char *val);
   23.44 +void FN_LightStyle_Post(int style, const char *val);
   23.45  #endif // FN_LightStyle_Post
   23.46  
   23.47  #ifdef FN_DecalIndex_Post
   23.48 @@ -1799,7 +1799,7 @@
   23.49  #endif // FN_CrosshairAngle_Post
   23.50  
   23.51  #ifdef FN_LoadFileForMe_Post
   23.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   23.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   23.54  #endif // FN_LoadFileForMe_Post
   23.55  
   23.56  #ifdef FN_FreeFile_Post
   23.57 @@ -1935,7 +1935,7 @@
   23.58  #endif // FN_DeltaUnsetField_Post
   23.59  
   23.60  #ifdef FN_DeltaAddEncoder_Post
   23.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   23.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   23.63  #endif // FN_DeltaAddEncoder_Post
   23.64  
   23.65  #ifdef FN_GetCurrentPlayer_Post
   23.66 @@ -1967,7 +1967,7 @@
   23.67  #endif // FN_engCreateInstancedBaseline_Post
   23.68  
   23.69  #ifdef FN_Cvar_DirectSet_Post
   23.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   23.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   23.72  #endif // FN_Cvar_DirectSet_Post
   23.73  
   23.74  #ifdef FN_ForceUnmodified_Post
    24.1 --- a/dlls/fakemeta/Makefile	Tue Sep 03 17:56:27 2013 -0500
    24.2 +++ b/dlls/fakemeta/Makefile	Thu Sep 05 19:51:52 2013 -0500
    24.3 @@ -5,7 +5,7 @@
    24.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
    24.5  ###########################################
    24.6  
    24.7 -HLSDK = ../../../hlsdk/multiplayer
    24.8 +HLSDK = ../../../hlsdk
    24.9  MM_ROOT = ../../../metamod/metamod
   24.10  
   24.11  #####################################
   24.12 @@ -31,7 +31,7 @@
   24.13  LINK =
   24.14  
   24.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
   24.16 -          -I$(HLSDK)/pm_shared -I$(MM_ROOT) -Isdk
   24.17 +          -I$(HLSDK)/pm_shared -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
   24.18  
   24.19  ################################################
   24.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
    25.1 --- a/dlls/fakemeta/engfunc.cpp	Tue Sep 03 17:56:27 2013 -0500
    25.2 +++ b/dlls/fakemeta/engfunc.cpp	Thu Sep 05 19:51:52 2013 -0500
    25.3 @@ -579,7 +579,7 @@
    25.4  
    25.5  		
    25.6  		// pfnLightStyle
    25.7 -	case	EngFunc_LightStyle:			// void )			(int style, char* val);
    25.8 +	case	EngFunc_LightStyle:			// void )			(int style, const char* val);
    25.9  		cRet = MF_GetAmxAddr(amx,params[2]);
   25.10  		iparam1=cRet[0];
   25.11  		temp = MF_GetAmxString(amx,params[3],0,&len);
    26.1 --- a/dlls/fakemeta/engfunc.h	Tue Sep 03 17:56:27 2013 -0500
    26.2 +++ b/dlls/fakemeta/engfunc.h	Thu Sep 05 19:51:52 2013 -0500
    26.3 @@ -40,7 +40,7 @@
    26.4  	EngFunc_TraceSphere,				// void )			(const float *v1, const float *v2, int fNoMonsters, float radius, edict_t *pentToSkip, TraceResult *ptr);
    26.5  	EngFunc_GetAimVector,				// void )			(edict_t *ent, float speed, float *rgflReturn);
    26.6  	EngFunc_ParticleEffect,				// void )			(const float *org, const float *dir, float color, float count);
    26.7 -	EngFunc_LightStyle,					// void )			(int style, char *val);
    26.8 +	EngFunc_LightStyle,					// void )			(int style, const char *val);
    26.9  	EngFunc_DecalIndex,					// int  )			(const char *name);
   26.10  	EngFunc_PointContents,				// int  )			(const float *rgflVector);
   26.11  	EngFunc_FreeEntPrivateData,			// void )			(edict_t *pEdict);
    27.1 --- a/dlls/fakemeta/forward.cpp	Tue Sep 03 17:56:27 2013 -0500
    27.2 +++ b/dlls/fakemeta/forward.cpp	Thu Sep 05 19:51:52 2013 -0500
    27.3 @@ -400,7 +400,7 @@
    27.4  SIMPLE_VOID_HOOK_CONSTVECT_CONSTVECT_FLOAT_FLOAT(ParticleEffect);
    27.5  
    27.6  // pfnLightStyle
    27.7 -SIMPLE_VOID_HOOK_INT_STRING(LightStyle);
    27.8 +SIMPLE_VOID_HOOK_INT_CONSTSTRING(LightStyle);
    27.9  
   27.10  // pfnDecalIndex
   27.11  SIMPLE_INT_HOOK_CONSTSTRING(DecalIndex);
    28.1 --- a/dlls/fakemeta/msvc10/fakemeta.vcxproj	Tue Sep 03 17:56:27 2013 -0500
    28.2 +++ b/dlls/fakemeta/msvc10/fakemeta.vcxproj	Thu Sep 05 19:51:52 2013 -0500
    28.3 @@ -52,7 +52,7 @@
    28.4    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    28.5      <ClCompile>
    28.6        <Optimization>Disabled</Optimization>
    28.7 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    28.8 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    28.9        <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;FAKEMETA_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   28.10        <MinimalRebuild>true</MinimalRebuild>
   28.11        <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
   28.12 @@ -73,7 +73,7 @@
   28.13    </ItemDefinitionGroup>
   28.14    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   28.15      <ClCompile>
   28.16 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   28.17 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   28.18        <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;FAKEMETA_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   28.19        <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
   28.20        <RuntimeTypeInfo>false</RuntimeTypeInfo>
    29.1 --- a/dlls/fakemeta/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    29.2 +++ b/dlls/fakemeta/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    29.3 @@ -1010,7 +1010,7 @@
    29.4  #endif // FN_ParticleEffect
    29.5  
    29.6  #ifdef FN_LightStyle
    29.7 -void FN_LightStyle(int style, char *val);
    29.8 +void FN_LightStyle(int style, const char *val);
    29.9  #endif // FN_LightStyle
   29.10  
   29.11  #ifdef FN_DecalIndex
   29.12 @@ -1218,7 +1218,7 @@
   29.13  #endif // FN_CrosshairAngle
   29.14  
   29.15  #ifdef FN_LoadFileForMe
   29.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   29.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   29.18  #endif // FN_LoadFileForMe
   29.19  
   29.20  #ifdef FN_FreeFile
   29.21 @@ -1354,7 +1354,7 @@
   29.22  #endif // FN_DeltaUnsetField
   29.23  
   29.24  #ifdef FN_DeltaAddEncoder
   29.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   29.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   29.27  #endif // FN_DeltaAddEncoder
   29.28  
   29.29  #ifdef FN_GetCurrentPlayer
   29.30 @@ -1386,7 +1386,7 @@
   29.31  #endif // FN_engCreateInstancedBaseline
   29.32  
   29.33  #ifdef FN_Cvar_DirectSet
   29.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   29.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   29.36  #endif // FN_Cvar_DirectSet
   29.37  
   29.38  #ifdef FN_ForceUnmodified
   29.39 @@ -1591,7 +1591,7 @@
   29.40  #endif // FN_ParticleEffect_Post
   29.41  
   29.42  #ifdef FN_LightStyle_Post
   29.43 -void FN_LightStyle_Post(int style, char *val);
   29.44 +void FN_LightStyle_Post(int style, const char *val);
   29.45  #endif // FN_LightStyle_Post
   29.46  
   29.47  #ifdef FN_DecalIndex_Post
   29.48 @@ -1799,7 +1799,7 @@
   29.49  #endif // FN_CrosshairAngle_Post
   29.50  
   29.51  #ifdef FN_LoadFileForMe_Post
   29.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   29.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   29.54  #endif // FN_LoadFileForMe_Post
   29.55  
   29.56  #ifdef FN_FreeFile_Post
   29.57 @@ -1935,7 +1935,7 @@
   29.58  #endif // FN_DeltaUnsetField_Post
   29.59  
   29.60  #ifdef FN_DeltaAddEncoder_Post
   29.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   29.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   29.63  #endif // FN_DeltaAddEncoder_Post
   29.64  
   29.65  #ifdef FN_GetCurrentPlayer_Post
   29.66 @@ -1967,7 +1967,7 @@
   29.67  #endif // FN_engCreateInstancedBaseline_Post
   29.68  
   29.69  #ifdef FN_Cvar_DirectSet_Post
   29.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   29.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   29.72  #endif // FN_Cvar_DirectSet_Post
   29.73  
   29.74  #ifdef FN_ForceUnmodified_Post
    30.1 --- a/dlls/fun/Makefile	Tue Sep 03 17:56:27 2013 -0500
    30.2 +++ b/dlls/fun/Makefile	Thu Sep 05 19:51:52 2013 -0500
    30.3 @@ -5,7 +5,7 @@
    30.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
    30.5  ###########################################
    30.6  
    30.7 -HLSDK = ../../../hlsdk/multiplayer
    30.8 +HLSDK = ../../../hlsdk
    30.9  MM_ROOT = ../../../metamod/metamod
   30.10  
   30.11  #####################################
   30.12 @@ -30,7 +30,7 @@
   30.13  LINK =
   30.14  
   30.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
   30.16 -          -I$(MM_ROOT) -Isdk
   30.17 +          -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
   30.18  
   30.19  ################################################
   30.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
    31.1 --- a/dlls/fun/msvc10/fun.vcxproj	Tue Sep 03 17:56:27 2013 -0500
    31.2 +++ b/dlls/fun/msvc10/fun.vcxproj	Thu Sep 05 19:51:52 2013 -0500
    31.3 @@ -63,7 +63,7 @@
    31.4      <ClCompile>
    31.5        <Optimization>MaxSpeed</Optimization>
    31.6        <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
    31.7 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    31.8 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    31.9        <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;FUN_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   31.10        <StringPooling>true</StringPooling>
   31.11        <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
   31.12 @@ -104,7 +104,7 @@
   31.13      </Midl>
   31.14      <ClCompile>
   31.15        <Optimization>Disabled</Optimization>
   31.16 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   31.17 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   31.18        <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;FUN_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   31.19        <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
   31.20        <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
    32.1 --- a/dlls/fun/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    32.2 +++ b/dlls/fun/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    32.3 @@ -1010,7 +1010,7 @@
    32.4  #endif // FN_ParticleEffect
    32.5  
    32.6  #ifdef FN_LightStyle
    32.7 -void FN_LightStyle(int style, char *val);
    32.8 +void FN_LightStyle(int style, const char *val);
    32.9  #endif // FN_LightStyle
   32.10  
   32.11  #ifdef FN_DecalIndex
   32.12 @@ -1218,7 +1218,7 @@
   32.13  #endif // FN_CrosshairAngle
   32.14  
   32.15  #ifdef FN_LoadFileForMe
   32.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   32.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   32.18  #endif // FN_LoadFileForMe
   32.19  
   32.20  #ifdef FN_FreeFile
   32.21 @@ -1354,7 +1354,7 @@
   32.22  #endif // FN_DeltaUnsetField
   32.23  
   32.24  #ifdef FN_DeltaAddEncoder
   32.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   32.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   32.27  #endif // FN_DeltaAddEncoder
   32.28  
   32.29  #ifdef FN_GetCurrentPlayer
   32.30 @@ -1386,7 +1386,7 @@
   32.31  #endif // FN_engCreateInstancedBaseline
   32.32  
   32.33  #ifdef FN_Cvar_DirectSet
   32.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   32.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   32.36  #endif // FN_Cvar_DirectSet
   32.37  
   32.38  #ifdef FN_ForceUnmodified
   32.39 @@ -1591,7 +1591,7 @@
   32.40  #endif // FN_ParticleEffect_Post
   32.41  
   32.42  #ifdef FN_LightStyle_Post
   32.43 -void FN_LightStyle_Post(int style, char *val);
   32.44 +void FN_LightStyle_Post(int style, const char *val);
   32.45  #endif // FN_LightStyle_Post
   32.46  
   32.47  #ifdef FN_DecalIndex_Post
   32.48 @@ -1799,7 +1799,7 @@
   32.49  #endif // FN_CrosshairAngle_Post
   32.50  
   32.51  #ifdef FN_LoadFileForMe_Post
   32.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   32.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   32.54  #endif // FN_LoadFileForMe_Post
   32.55  
   32.56  #ifdef FN_FreeFile_Post
   32.57 @@ -1935,7 +1935,7 @@
   32.58  #endif // FN_DeltaUnsetField_Post
   32.59  
   32.60  #ifdef FN_DeltaAddEncoder_Post
   32.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   32.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   32.63  #endif // FN_DeltaAddEncoder_Post
   32.64  
   32.65  #ifdef FN_GetCurrentPlayer_Post
   32.66 @@ -1967,7 +1967,7 @@
   32.67  #endif // FN_engCreateInstancedBaseline_Post
   32.68  
   32.69  #ifdef FN_Cvar_DirectSet_Post
   32.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   32.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   32.72  #endif // FN_Cvar_DirectSet_Post
   32.73  
   32.74  #ifdef FN_ForceUnmodified_Post
    33.1 --- a/dlls/geoip/Makefile	Tue Sep 03 17:56:27 2013 -0500
    33.2 +++ b/dlls/geoip/Makefile	Thu Sep 05 19:51:52 2013 -0500
    33.3 @@ -5,7 +5,7 @@
    33.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
    33.5  ###########################################
    33.6  
    33.7 -HLSDK = ../../../hlsdk/multiplayer
    33.8 +HLSDK = ../../../hlsdk
    33.9  MM_ROOT = ../../../metamod/metamod
   33.10  
   33.11  #####################################
   33.12 @@ -30,7 +30,7 @@
   33.13  LINK =
   33.14  
   33.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
   33.16 -          -I$(MM_ROOT) -Isdk
   33.17 +          -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
   33.18  
   33.19  ################################################
   33.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
    34.1 --- a/dlls/geoip/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    34.2 +++ b/dlls/geoip/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    34.3 @@ -1010,7 +1010,7 @@
    34.4  #endif // FN_ParticleEffect
    34.5  
    34.6  #ifdef FN_LightStyle
    34.7 -void FN_LightStyle(int style, char *val);
    34.8 +void FN_LightStyle(int style, const char *val);
    34.9  #endif // FN_LightStyle
   34.10  
   34.11  #ifdef FN_DecalIndex
   34.12 @@ -1218,7 +1218,7 @@
   34.13  #endif // FN_CrosshairAngle
   34.14  
   34.15  #ifdef FN_LoadFileForMe
   34.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   34.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   34.18  #endif // FN_LoadFileForMe
   34.19  
   34.20  #ifdef FN_FreeFile
   34.21 @@ -1354,7 +1354,7 @@
   34.22  #endif // FN_DeltaUnsetField
   34.23  
   34.24  #ifdef FN_DeltaAddEncoder
   34.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   34.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   34.27  #endif // FN_DeltaAddEncoder
   34.28  
   34.29  #ifdef FN_GetCurrentPlayer
   34.30 @@ -1386,7 +1386,7 @@
   34.31  #endif // FN_engCreateInstancedBaseline
   34.32  
   34.33  #ifdef FN_Cvar_DirectSet
   34.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   34.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   34.36  #endif // FN_Cvar_DirectSet
   34.37  
   34.38  #ifdef FN_ForceUnmodified
   34.39 @@ -1591,7 +1591,7 @@
   34.40  #endif // FN_ParticleEffect_Post
   34.41  
   34.42  #ifdef FN_LightStyle_Post
   34.43 -void FN_LightStyle_Post(int style, char *val);
   34.44 +void FN_LightStyle_Post(int style, const char *val);
   34.45  #endif // FN_LightStyle_Post
   34.46  
   34.47  #ifdef FN_DecalIndex_Post
   34.48 @@ -1799,7 +1799,7 @@
   34.49  #endif // FN_CrosshairAngle_Post
   34.50  
   34.51  #ifdef FN_LoadFileForMe_Post
   34.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   34.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   34.54  #endif // FN_LoadFileForMe_Post
   34.55  
   34.56  #ifdef FN_FreeFile_Post
   34.57 @@ -1935,7 +1935,7 @@
   34.58  #endif // FN_DeltaUnsetField_Post
   34.59  
   34.60  #ifdef FN_DeltaAddEncoder_Post
   34.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   34.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   34.63  #endif // FN_DeltaAddEncoder_Post
   34.64  
   34.65  #ifdef FN_GetCurrentPlayer_Post
   34.66 @@ -1967,7 +1967,7 @@
   34.67  #endif // FN_engCreateInstancedBaseline_Post
   34.68  
   34.69  #ifdef FN_Cvar_DirectSet_Post
   34.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   34.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   34.72  #endif // FN_Cvar_DirectSet_Post
   34.73  
   34.74  #ifdef FN_ForceUnmodified_Post
    35.1 --- a/dlls/hamsandwich/Makefile	Tue Sep 03 17:56:27 2013 -0500
    35.2 +++ b/dlls/hamsandwich/Makefile	Thu Sep 05 19:51:52 2013 -0500
    35.3 @@ -5,7 +5,7 @@
    35.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
    35.5  ###########################################
    35.6  
    35.7 -HLSDK = ../../../hlsdk/multiplayer
    35.8 +HLSDK = ../../../hlsdk
    35.9  MM_ROOT = ../../../metamod/metamod
   35.10  
   35.11  #####################################
   35.12 @@ -31,7 +31,7 @@
   35.13  LINK =
   35.14  
   35.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
   35.16 -          -I$(HLSDK)/pm_shared -I$(MM_ROOT) -Isdk
   35.17 +          -I$(HLSDK)/pm_shared -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
   35.18  
   35.19  ################################################
   35.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
    36.1 --- a/dlls/hamsandwich/msvc10/hamsandwich.vcxproj	Tue Sep 03 17:56:27 2013 -0500
    36.2 +++ b/dlls/hamsandwich/msvc10/hamsandwich.vcxproj	Thu Sep 05 19:51:52 2013 -0500
    36.3 @@ -52,7 +52,7 @@
    36.4    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    36.5      <ClCompile>
    36.6        <Optimization>Disabled</Optimization>
    36.7 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    36.8 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    36.9        <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   36.10        <MinimalRebuild>true</MinimalRebuild>
   36.11        <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
   36.12 @@ -76,7 +76,7 @@
   36.13    </ItemDefinitionGroup>
   36.14    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   36.15      <ClCompile>
   36.16 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   36.17 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   36.18        <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   36.19        <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
   36.20        <RuntimeTypeInfo>false</RuntimeTypeInfo>
    37.1 --- a/dlls/hamsandwich/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    37.2 +++ b/dlls/hamsandwich/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    37.3 @@ -1010,7 +1010,7 @@
    37.4  #endif // FN_ParticleEffect
    37.5  
    37.6  #ifdef FN_LightStyle
    37.7 -void FN_LightStyle(int style, char *val);
    37.8 +void FN_LightStyle(int style, const char *val);
    37.9  #endif // FN_LightStyle
   37.10  
   37.11  #ifdef FN_DecalIndex
   37.12 @@ -1218,7 +1218,7 @@
   37.13  #endif // FN_CrosshairAngle
   37.14  
   37.15  #ifdef FN_LoadFileForMe
   37.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   37.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   37.18  #endif // FN_LoadFileForMe
   37.19  
   37.20  #ifdef FN_FreeFile
   37.21 @@ -1354,7 +1354,7 @@
   37.22  #endif // FN_DeltaUnsetField
   37.23  
   37.24  #ifdef FN_DeltaAddEncoder
   37.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   37.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   37.27  #endif // FN_DeltaAddEncoder
   37.28  
   37.29  #ifdef FN_GetCurrentPlayer
   37.30 @@ -1386,7 +1386,7 @@
   37.31  #endif // FN_engCreateInstancedBaseline
   37.32  
   37.33  #ifdef FN_Cvar_DirectSet
   37.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   37.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   37.36  #endif // FN_Cvar_DirectSet
   37.37  
   37.38  #ifdef FN_ForceUnmodified
   37.39 @@ -1591,7 +1591,7 @@
   37.40  #endif // FN_ParticleEffect_Post
   37.41  
   37.42  #ifdef FN_LightStyle_Post
   37.43 -void FN_LightStyle_Post(int style, char *val);
   37.44 +void FN_LightStyle_Post(int style, const char *val);
   37.45  #endif // FN_LightStyle_Post
   37.46  
   37.47  #ifdef FN_DecalIndex_Post
   37.48 @@ -1799,7 +1799,7 @@
   37.49  #endif // FN_CrosshairAngle_Post
   37.50  
   37.51  #ifdef FN_LoadFileForMe_Post
   37.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   37.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   37.54  #endif // FN_LoadFileForMe_Post
   37.55  
   37.56  #ifdef FN_FreeFile_Post
   37.57 @@ -1935,7 +1935,7 @@
   37.58  #endif // FN_DeltaUnsetField_Post
   37.59  
   37.60  #ifdef FN_DeltaAddEncoder_Post
   37.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   37.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   37.63  #endif // FN_DeltaAddEncoder_Post
   37.64  
   37.65  #ifdef FN_GetCurrentPlayer_Post
   37.66 @@ -1967,7 +1967,7 @@
   37.67  #endif // FN_engCreateInstancedBaseline_Post
   37.68  
   37.69  #ifdef FN_Cvar_DirectSet_Post
   37.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   37.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   37.72  #endif // FN_Cvar_DirectSet_Post
   37.73  
   37.74  #ifdef FN_ForceUnmodified_Post
    38.1 --- a/dlls/mysqlx/Makefile	Tue Sep 03 17:56:27 2013 -0500
    38.2 +++ b/dlls/mysqlx/Makefile	Thu Sep 05 19:51:52 2013 -0500
    38.3 @@ -5,7 +5,7 @@
    38.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
    38.5  ###########################################
    38.6  
    38.7 -HLSDK = ../../../hlsdk/multiplayer
    38.8 +HLSDK = ../../../hlsdk
    38.9  MM_ROOT = ../../../metamod/metamod
   38.10  MYSQL_DIR = ../../../mysql-5.0
   38.11  
   38.12 @@ -33,7 +33,7 @@
   38.13  LINK = $(MYSQL_DIR)/lib/libmysqlclient_r.a -lz -lpthread -L$(MYSQL_DIR)/lib
   38.14  
   38.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
   38.16 -          -I$(MM_ROOT) -I$(MYSQL_DIR)/include -Ithread -Imysql -Isdk
   38.17 +          -I$(HLSDK)/public -I$(MM_ROOT) -I$(MYSQL_DIR)/include -Ithread -Imysql -Isdk
   38.18  
   38.19  ################################################
   38.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
    39.1 --- a/dlls/mysqlx/msvc10/mysqlx.vcxproj	Tue Sep 03 17:56:27 2013 -0500
    39.2 +++ b/dlls/mysqlx/msvc10/mysqlx.vcxproj	Thu Sep 05 19:51:52 2013 -0500
    39.3 @@ -52,7 +52,7 @@
    39.4    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    39.5      <ClCompile>
    39.6        <Optimization>Disabled</Optimization>
    39.7 -      <AdditionalIncludeDirectories>..\;..\mysql;..\sdk;..\thread;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(MYSQL5)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    39.8 +      <AdditionalIncludeDirectories>..\;..\mysql;..\sdk;..\thread;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\public;$(MYSQL5)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    39.9        <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MYSQL2_EXPORTS;SM_DEFAULT_THREADER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   39.10        <MinimalRebuild>true</MinimalRebuild>
   39.11        <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
   39.12 @@ -75,7 +75,7 @@
   39.13    </ItemDefinitionGroup>
   39.14    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   39.15      <ClCompile>
   39.16 -      <AdditionalIncludeDirectories>..\;..\mysql;..\sdk;..\thread;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(MYSQL5)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   39.17 +      <AdditionalIncludeDirectories>..\;..\mysql;..\sdk;..\thread;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\public;$(MYSQL5)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   39.18        <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;MYSQL2_EXPORTS;SM_DEFAULT_THREADER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   39.19        <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
   39.20        <RuntimeTypeInfo>false</RuntimeTypeInfo>
    40.1 --- a/dlls/mysqlx/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    40.2 +++ b/dlls/mysqlx/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    40.3 @@ -1010,7 +1010,7 @@
    40.4  #endif // FN_ParticleEffect
    40.5  
    40.6  #ifdef FN_LightStyle
    40.7 -void FN_LightStyle(int style, char *val);
    40.8 +void FN_LightStyle(int style, const char *val);
    40.9  #endif // FN_LightStyle
   40.10  
   40.11  #ifdef FN_DecalIndex
   40.12 @@ -1218,7 +1218,7 @@
   40.13  #endif // FN_CrosshairAngle
   40.14  
   40.15  #ifdef FN_LoadFileForMe
   40.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   40.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   40.18  #endif // FN_LoadFileForMe
   40.19  
   40.20  #ifdef FN_FreeFile
   40.21 @@ -1354,7 +1354,7 @@
   40.22  #endif // FN_DeltaUnsetField
   40.23  
   40.24  #ifdef FN_DeltaAddEncoder
   40.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   40.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   40.27  #endif // FN_DeltaAddEncoder
   40.28  
   40.29  #ifdef FN_GetCurrentPlayer
   40.30 @@ -1386,7 +1386,7 @@
   40.31  #endif // FN_engCreateInstancedBaseline
   40.32  
   40.33  #ifdef FN_Cvar_DirectSet
   40.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   40.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   40.36  #endif // FN_Cvar_DirectSet
   40.37  
   40.38  #ifdef FN_ForceUnmodified
   40.39 @@ -1591,7 +1591,7 @@
   40.40  #endif // FN_ParticleEffect_Post
   40.41  
   40.42  #ifdef FN_LightStyle_Post
   40.43 -void FN_LightStyle_Post(int style, char *val);
   40.44 +void FN_LightStyle_Post(int style, const char *val);
   40.45  #endif // FN_LightStyle_Post
   40.46  
   40.47  #ifdef FN_DecalIndex_Post
   40.48 @@ -1799,7 +1799,7 @@
   40.49  #endif // FN_CrosshairAngle_Post
   40.50  
   40.51  #ifdef FN_LoadFileForMe_Post
   40.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   40.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   40.54  #endif // FN_LoadFileForMe_Post
   40.55  
   40.56  #ifdef FN_FreeFile_Post
   40.57 @@ -1935,7 +1935,7 @@
   40.58  #endif // FN_DeltaUnsetField_Post
   40.59  
   40.60  #ifdef FN_DeltaAddEncoder_Post
   40.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   40.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   40.63  #endif // FN_DeltaAddEncoder_Post
   40.64  
   40.65  #ifdef FN_GetCurrentPlayer_Post
   40.66 @@ -1967,7 +1967,7 @@
   40.67  #endif // FN_engCreateInstancedBaseline_Post
   40.68  
   40.69  #ifdef FN_Cvar_DirectSet_Post
   40.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   40.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   40.72  #endif // FN_Cvar_DirectSet_Post
   40.73  
   40.74  #ifdef FN_ForceUnmodified_Post
    41.1 --- a/dlls/ns/Makefile	Tue Sep 03 17:56:27 2013 -0500
    41.2 +++ b/dlls/ns/Makefile	Thu Sep 05 19:51:52 2013 -0500
    41.3 @@ -5,7 +5,7 @@
    41.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
    41.5  ###########################################
    41.6  
    41.7 -HLSDK = ../../../hlsdk/multiplayer
    41.8 +HLSDK = ../../../hlsdk
    41.9  MM_ROOT = ../../../metamod/metamod
   41.10  
   41.11  #####################################
   41.12 @@ -33,7 +33,7 @@
   41.13  LINK =
   41.14  
   41.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
   41.16 -          -I$(HLSDK)/pm_shared -I$(MM_ROOT) -Isdk
   41.17 +          -I$(HLSDK)/pm_shared -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
   41.18  
   41.19  ################################################
   41.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
   41.21 @@ -91,6 +91,11 @@
   41.22  	CPPFLAGS += -Wno-delete-non-virtual-dtor
   41.23  endif
   41.24  
   41.25 +# GCC >= 4.8
   41.26 +ifeq "$(shell expr $(IS_CLANG) \= 0 \& \( \( $(CPP_MAJOR) \= 4 \& $(CPP_MINOR) \>= 8 \) \| $(CPP_MAJOR) \> 4 \))" "1"
   41.27 +	CFLAGS += -Wno-unused-local-typedefs
   41.28 +endif
   41.29 +
   41.30  # OS is Linux and not using clang
   41.31  ifeq "$(shell expr $(OS) \= Linux \& $(IS_CLANG) \= 0)" "1"
   41.32  	LINK += -static-libgcc
    42.1 --- a/dlls/ns/msvc10/ns.vcxproj	Tue Sep 03 17:56:27 2013 -0500
    42.2 +++ b/dlls/ns/msvc10/ns.vcxproj	Thu Sep 05 19:51:52 2013 -0500
    42.3 @@ -63,7 +63,7 @@
    42.4      <ClCompile>
    42.5        <Optimization>MaxSpeed</Optimization>
    42.6        <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
    42.7 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    42.8 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    42.9        <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;ns_amxx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   42.10        <StringPooling>true</StringPooling>
   42.11        <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
   42.12 @@ -102,7 +102,7 @@
   42.13      </Midl>
   42.14      <ClCompile>
   42.15        <Optimization>Disabled</Optimization>
   42.16 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   42.17 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   42.18        <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;ns_amxx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   42.19        <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
   42.20        <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
    43.1 --- a/dlls/ns/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    43.2 +++ b/dlls/ns/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    43.3 @@ -1010,7 +1010,7 @@
    43.4  #endif // FN_ParticleEffect
    43.5  
    43.6  #ifdef FN_LightStyle
    43.7 -void FN_LightStyle(int style, char *val);
    43.8 +void FN_LightStyle(int style, const char *val);
    43.9  #endif // FN_LightStyle
   43.10  
   43.11  #ifdef FN_DecalIndex
   43.12 @@ -1218,7 +1218,7 @@
   43.13  #endif // FN_CrosshairAngle
   43.14  
   43.15  #ifdef FN_LoadFileForMe
   43.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   43.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   43.18  #endif // FN_LoadFileForMe
   43.19  
   43.20  #ifdef FN_FreeFile
   43.21 @@ -1354,7 +1354,7 @@
   43.22  #endif // FN_DeltaUnsetField
   43.23  
   43.24  #ifdef FN_DeltaAddEncoder
   43.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   43.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   43.27  #endif // FN_DeltaAddEncoder
   43.28  
   43.29  #ifdef FN_GetCurrentPlayer
   43.30 @@ -1386,7 +1386,7 @@
   43.31  #endif // FN_engCreateInstancedBaseline
   43.32  
   43.33  #ifdef FN_Cvar_DirectSet
   43.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   43.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   43.36  #endif // FN_Cvar_DirectSet
   43.37  
   43.38  #ifdef FN_ForceUnmodified
   43.39 @@ -1591,7 +1591,7 @@
   43.40  #endif // FN_ParticleEffect_Post
   43.41  
   43.42  #ifdef FN_LightStyle_Post
   43.43 -void FN_LightStyle_Post(int style, char *val);
   43.44 +void FN_LightStyle_Post(int style, const char *val);
   43.45  #endif // FN_LightStyle_Post
   43.46  
   43.47  #ifdef FN_DecalIndex_Post
   43.48 @@ -1799,7 +1799,7 @@
   43.49  #endif // FN_CrosshairAngle_Post
   43.50  
   43.51  #ifdef FN_LoadFileForMe_Post
   43.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   43.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   43.54  #endif // FN_LoadFileForMe_Post
   43.55  
   43.56  #ifdef FN_FreeFile_Post
   43.57 @@ -1935,7 +1935,7 @@
   43.58  #endif // FN_DeltaUnsetField_Post
   43.59  
   43.60  #ifdef FN_DeltaAddEncoder_Post
   43.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   43.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   43.63  #endif // FN_DeltaAddEncoder_Post
   43.64  
   43.65  #ifdef FN_GetCurrentPlayer_Post
   43.66 @@ -1967,7 +1967,7 @@
   43.67  #endif // FN_engCreateInstancedBaseline_Post
   43.68  
   43.69  #ifdef FN_Cvar_DirectSet_Post
   43.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   43.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   43.72  #endif // FN_Cvar_DirectSet_Post
   43.73  
   43.74  #ifdef FN_ForceUnmodified_Post
    44.1 --- a/dlls/nvault/Makefile	Tue Sep 03 17:56:27 2013 -0500
    44.2 +++ b/dlls/nvault/Makefile	Thu Sep 05 19:51:52 2013 -0500
    44.3 @@ -5,7 +5,7 @@
    44.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
    44.5  ###########################################
    44.6  
    44.7 -HLSDK = ../../../hlsdk/multiplayer
    44.8 +HLSDK = ../../../hlsdk
    44.9  MM_ROOT = ../../../metamod/metamod
   44.10  
   44.11  #####################################
   44.12 @@ -30,7 +30,7 @@
   44.13  LINK =
   44.14  
   44.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
   44.16 -          -I$(MM_ROOT) -Isdk
   44.17 +          -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
   44.18  
   44.19  ################################################
   44.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
    45.1 --- a/dlls/nvault/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    45.2 +++ b/dlls/nvault/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    45.3 @@ -1010,7 +1010,7 @@
    45.4  #endif // FN_ParticleEffect
    45.5  
    45.6  #ifdef FN_LightStyle
    45.7 -void FN_LightStyle(int style, char *val);
    45.8 +void FN_LightStyle(int style, const char *val);
    45.9  #endif // FN_LightStyle
   45.10  
   45.11  #ifdef FN_DecalIndex
   45.12 @@ -1218,7 +1218,7 @@
   45.13  #endif // FN_CrosshairAngle
   45.14  
   45.15  #ifdef FN_LoadFileForMe
   45.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   45.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   45.18  #endif // FN_LoadFileForMe
   45.19  
   45.20  #ifdef FN_FreeFile
   45.21 @@ -1354,7 +1354,7 @@
   45.22  #endif // FN_DeltaUnsetField
   45.23  
   45.24  #ifdef FN_DeltaAddEncoder
   45.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   45.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   45.27  #endif // FN_DeltaAddEncoder
   45.28  
   45.29  #ifdef FN_GetCurrentPlayer
   45.30 @@ -1386,7 +1386,7 @@
   45.31  #endif // FN_engCreateInstancedBaseline
   45.32  
   45.33  #ifdef FN_Cvar_DirectSet
   45.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   45.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   45.36  #endif // FN_Cvar_DirectSet
   45.37  
   45.38  #ifdef FN_ForceUnmodified
   45.39 @@ -1591,7 +1591,7 @@
   45.40  #endif // FN_ParticleEffect_Post
   45.41  
   45.42  #ifdef FN_LightStyle_Post
   45.43 -void FN_LightStyle_Post(int style, char *val);
   45.44 +void FN_LightStyle_Post(int style, const char *val);
   45.45  #endif // FN_LightStyle_Post
   45.46  
   45.47  #ifdef FN_DecalIndex_Post
   45.48 @@ -1799,7 +1799,7 @@
   45.49  #endif // FN_CrosshairAngle_Post
   45.50  
   45.51  #ifdef FN_LoadFileForMe_Post
   45.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   45.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   45.54  #endif // FN_LoadFileForMe_Post
   45.55  
   45.56  #ifdef FN_FreeFile_Post
   45.57 @@ -1935,7 +1935,7 @@
   45.58  #endif // FN_DeltaUnsetField_Post
   45.59  
   45.60  #ifdef FN_DeltaAddEncoder_Post
   45.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   45.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   45.63  #endif // FN_DeltaAddEncoder_Post
   45.64  
   45.65  #ifdef FN_GetCurrentPlayer_Post
   45.66 @@ -1967,7 +1967,7 @@
   45.67  #endif // FN_engCreateInstancedBaseline_Post
   45.68  
   45.69  #ifdef FN_Cvar_DirectSet_Post
   45.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   45.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   45.72  #endif // FN_Cvar_DirectSet_Post
   45.73  
   45.74  #ifdef FN_ForceUnmodified_Post
    46.1 --- a/dlls/regex/Makefile	Tue Sep 03 17:56:27 2013 -0500
    46.2 +++ b/dlls/regex/Makefile	Thu Sep 05 19:51:52 2013 -0500
    46.3 @@ -5,7 +5,7 @@
    46.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
    46.5  ###########################################
    46.6  
    46.7 -HLSDK = ../../../hlsdk/multiplayer
    46.8 +HLSDK = ../../../hlsdk
    46.9  MM_ROOT = ../../../metamod/metamod
   46.10  
   46.11  #####################################
   46.12 @@ -30,7 +30,7 @@
   46.13  LINK = -lpcre
   46.14  
   46.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
   46.16 -          -I$(MM_ROOT) -Isdk
   46.17 +          -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
   46.18  
   46.19  ################################################
   46.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
    47.1 --- a/dlls/regex/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    47.2 +++ b/dlls/regex/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    47.3 @@ -1010,7 +1010,7 @@
    47.4  #endif // FN_ParticleEffect
    47.5  
    47.6  #ifdef FN_LightStyle
    47.7 -void FN_LightStyle(int style, char *val);
    47.8 +void FN_LightStyle(int style, const char *val);
    47.9  #endif // FN_LightStyle
   47.10  
   47.11  #ifdef FN_DecalIndex
   47.12 @@ -1218,7 +1218,7 @@
   47.13  #endif // FN_CrosshairAngle
   47.14  
   47.15  #ifdef FN_LoadFileForMe
   47.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   47.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   47.18  #endif // FN_LoadFileForMe
   47.19  
   47.20  #ifdef FN_FreeFile
   47.21 @@ -1354,7 +1354,7 @@
   47.22  #endif // FN_DeltaUnsetField
   47.23  
   47.24  #ifdef FN_DeltaAddEncoder
   47.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   47.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   47.27  #endif // FN_DeltaAddEncoder
   47.28  
   47.29  #ifdef FN_GetCurrentPlayer
   47.30 @@ -1386,7 +1386,7 @@
   47.31  #endif // FN_engCreateInstancedBaseline
   47.32  
   47.33  #ifdef FN_Cvar_DirectSet
   47.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   47.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   47.36  #endif // FN_Cvar_DirectSet
   47.37  
   47.38  #ifdef FN_ForceUnmodified
   47.39 @@ -1591,7 +1591,7 @@
   47.40  #endif // FN_ParticleEffect_Post
   47.41  
   47.42  #ifdef FN_LightStyle_Post
   47.43 -void FN_LightStyle_Post(int style, char *val);
   47.44 +void FN_LightStyle_Post(int style, const char *val);
   47.45  #endif // FN_LightStyle_Post
   47.46  
   47.47  #ifdef FN_DecalIndex_Post
   47.48 @@ -1799,7 +1799,7 @@
   47.49  #endif // FN_CrosshairAngle_Post
   47.50  
   47.51  #ifdef FN_LoadFileForMe_Post
   47.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   47.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   47.54  #endif // FN_LoadFileForMe_Post
   47.55  
   47.56  #ifdef FN_FreeFile_Post
   47.57 @@ -1935,7 +1935,7 @@
   47.58  #endif // FN_DeltaUnsetField_Post
   47.59  
   47.60  #ifdef FN_DeltaAddEncoder_Post
   47.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   47.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   47.63  #endif // FN_DeltaAddEncoder_Post
   47.64  
   47.65  #ifdef FN_GetCurrentPlayer_Post
   47.66 @@ -1967,7 +1967,7 @@
   47.67  #endif // FN_engCreateInstancedBaseline_Post
   47.68  
   47.69  #ifdef FN_Cvar_DirectSet_Post
   47.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   47.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   47.72  #endif // FN_Cvar_DirectSet_Post
   47.73  
   47.74  #ifdef FN_ForceUnmodified_Post
    48.1 --- a/dlls/sockets/Makefile	Tue Sep 03 17:56:27 2013 -0500
    48.2 +++ b/dlls/sockets/Makefile	Thu Sep 05 19:51:52 2013 -0500
    48.3 @@ -5,7 +5,7 @@
    48.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
    48.5  ###########################################
    48.6  
    48.7 -HLSDK = ../../../hlsdk/multiplayer
    48.8 +HLSDK = ../../../hlsdk
    48.9  MM_ROOT = ../../../metamod/metamod
   48.10  
   48.11  #####################################
   48.12 @@ -30,7 +30,7 @@
   48.13  LINK =
   48.14  
   48.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
   48.16 -          -I$(MM_ROOT) -Isdk
   48.17 +          -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
   48.18  
   48.19  ################################################
   48.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
    49.1 --- a/dlls/sockets/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    49.2 +++ b/dlls/sockets/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    49.3 @@ -1010,7 +1010,7 @@
    49.4  #endif // FN_ParticleEffect
    49.5  
    49.6  #ifdef FN_LightStyle
    49.7 -void FN_LightStyle(int style, char *val);
    49.8 +void FN_LightStyle(int style, const char *val);
    49.9  #endif // FN_LightStyle
   49.10  
   49.11  #ifdef FN_DecalIndex
   49.12 @@ -1218,7 +1218,7 @@
   49.13  #endif // FN_CrosshairAngle
   49.14  
   49.15  #ifdef FN_LoadFileForMe
   49.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   49.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   49.18  #endif // FN_LoadFileForMe
   49.19  
   49.20  #ifdef FN_FreeFile
   49.21 @@ -1354,7 +1354,7 @@
   49.22  #endif // FN_DeltaUnsetField
   49.23  
   49.24  #ifdef FN_DeltaAddEncoder
   49.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   49.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   49.27  #endif // FN_DeltaAddEncoder
   49.28  
   49.29  #ifdef FN_GetCurrentPlayer
   49.30 @@ -1386,7 +1386,7 @@
   49.31  #endif // FN_engCreateInstancedBaseline
   49.32  
   49.33  #ifdef FN_Cvar_DirectSet
   49.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   49.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   49.36  #endif // FN_Cvar_DirectSet
   49.37  
   49.38  #ifdef FN_ForceUnmodified
   49.39 @@ -1591,7 +1591,7 @@
   49.40  #endif // FN_ParticleEffect_Post
   49.41  
   49.42  #ifdef FN_LightStyle_Post
   49.43 -void FN_LightStyle_Post(int style, char *val);
   49.44 +void FN_LightStyle_Post(int style, const char *val);
   49.45  #endif // FN_LightStyle_Post
   49.46  
   49.47  #ifdef FN_DecalIndex_Post
   49.48 @@ -1799,7 +1799,7 @@
   49.49  #endif // FN_CrosshairAngle_Post
   49.50  
   49.51  #ifdef FN_LoadFileForMe_Post
   49.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   49.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   49.54  #endif // FN_LoadFileForMe_Post
   49.55  
   49.56  #ifdef FN_FreeFile_Post
   49.57 @@ -1935,7 +1935,7 @@
   49.58  #endif // FN_DeltaUnsetField_Post
   49.59  
   49.60  #ifdef FN_DeltaAddEncoder_Post
   49.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   49.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   49.63  #endif // FN_DeltaAddEncoder_Post
   49.64  
   49.65  #ifdef FN_GetCurrentPlayer_Post
   49.66 @@ -1967,7 +1967,7 @@
   49.67  #endif // FN_engCreateInstancedBaseline_Post
   49.68  
   49.69  #ifdef FN_Cvar_DirectSet_Post
   49.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   49.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   49.72  #endif // FN_Cvar_DirectSet_Post
   49.73  
   49.74  #ifdef FN_ForceUnmodified_Post
    50.1 --- a/dlls/sqlite/Makefile	Tue Sep 03 17:56:27 2013 -0500
    50.2 +++ b/dlls/sqlite/Makefile	Thu Sep 05 19:51:52 2013 -0500
    50.3 @@ -5,7 +5,7 @@
    50.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
    50.5  ###########################################
    50.6  
    50.7 -HLSDK = ../../../hlsdk/multiplayer
    50.8 +HLSDK = ../../../hlsdk
    50.9  MM_ROOT = ../../../metamod/metamod
   50.10  SQL = sqlite-source
   50.11  
   50.12 @@ -42,7 +42,7 @@
   50.13  LINK =
   50.14  
   50.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
   50.16 -          -I$(MM_ROOT) -I$(SQL) -Isqlitepp -Ithread -Isdk
   50.17 +          -I$(HLSDK)/public -I$(MM_ROOT) -I$(SQL) -Isqlitepp -Ithread -Isdk
   50.18  
   50.19  ################################################
   50.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
   50.21 @@ -96,6 +96,11 @@
   50.22  	CPPFLAGS += $(CPP_GCC4_FLAGS)
   50.23  endif
   50.24  
   50.25 +# GCC >= 4.6
   50.26 +ifeq "$(shell expr $(IS_CLANG) \= 0 \& \( \( $(CPP_MAJOR) \= 4 \& $(CPP_MINOR) \>= 6 \) \| $(CPP_MAJOR) \> 4 \))" "1"
   50.27 +	CFLAGS += -Wno-unused-but-set-variable
   50.28 +endif
   50.29 +
   50.30  # Clang >= 3 || GCC >= 4.7
   50.31  ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
   50.32  	CPPFLAGS += -Wno-delete-non-virtual-dtor
    51.1 --- a/dlls/sqlite/msvc10/sqlite.vcxproj	Tue Sep 03 17:56:27 2013 -0500
    51.2 +++ b/dlls/sqlite/msvc10/sqlite.vcxproj	Thu Sep 05 19:51:52 2013 -0500
    51.3 @@ -53,7 +53,7 @@
    51.4      <ClCompile>
    51.5        <AdditionalOptions>/D "NO_TCL" %(AdditionalOptions)</AdditionalOptions>
    51.6        <Optimization>Disabled</Optimization>
    51.7 -      <AdditionalIncludeDirectories>..\;..\sdk;..\sqlite-source;..\sqlitepp;..\thread;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    51.8 +      <AdditionalIncludeDirectories>..\;..\sdk;..\sqlite-source;..\sqlitepp;..\thread;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    51.9        <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;sqlite_EXPORTS;SM_DEFAULT_THREADER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   51.10        <MinimalRebuild>true</MinimalRebuild>
   51.11        <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
   51.12 @@ -82,7 +82,7 @@
   51.13        <Optimization>MaxSpeed</Optimization>
   51.14        <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   51.15        <OmitFramePointers>true</OmitFramePointers>
   51.16 -      <AdditionalIncludeDirectories>..\;..\sdk;..\sqlite-source;..\sqlitepp;..\thread;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   51.17 +      <AdditionalIncludeDirectories>..\;..\sdk;..\sqlite-source;..\sqlitepp;..\thread;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   51.18        <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;sqlite_EXPORTS;SM_DEFAULT_THREADER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   51.19        <StringPooling>true</StringPooling>
   51.20        <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
    52.1 --- a/dlls/sqlite/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    52.2 +++ b/dlls/sqlite/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    52.3 @@ -1010,7 +1010,7 @@
    52.4  #endif // FN_ParticleEffect
    52.5  
    52.6  #ifdef FN_LightStyle
    52.7 -void FN_LightStyle(int style, char *val);
    52.8 +void FN_LightStyle(int style, const char *val);
    52.9  #endif // FN_LightStyle
   52.10  
   52.11  #ifdef FN_DecalIndex
   52.12 @@ -1218,7 +1218,7 @@
   52.13  #endif // FN_CrosshairAngle
   52.14  
   52.15  #ifdef FN_LoadFileForMe
   52.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   52.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   52.18  #endif // FN_LoadFileForMe
   52.19  
   52.20  #ifdef FN_FreeFile
   52.21 @@ -1354,7 +1354,7 @@
   52.22  #endif // FN_DeltaUnsetField
   52.23  
   52.24  #ifdef FN_DeltaAddEncoder
   52.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   52.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   52.27  #endif // FN_DeltaAddEncoder
   52.28  
   52.29  #ifdef FN_GetCurrentPlayer
   52.30 @@ -1386,7 +1386,7 @@
   52.31  #endif // FN_engCreateInstancedBaseline
   52.32  
   52.33  #ifdef FN_Cvar_DirectSet
   52.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   52.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   52.36  #endif // FN_Cvar_DirectSet
   52.37  
   52.38  #ifdef FN_ForceUnmodified
   52.39 @@ -1591,7 +1591,7 @@
   52.40  #endif // FN_ParticleEffect_Post
   52.41  
   52.42  #ifdef FN_LightStyle_Post
   52.43 -void FN_LightStyle_Post(int style, char *val);
   52.44 +void FN_LightStyle_Post(int style, const char *val);
   52.45  #endif // FN_LightStyle_Post
   52.46  
   52.47  #ifdef FN_DecalIndex_Post
   52.48 @@ -1799,7 +1799,7 @@
   52.49  #endif // FN_CrosshairAngle_Post
   52.50  
   52.51  #ifdef FN_LoadFileForMe_Post
   52.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   52.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   52.54  #endif // FN_LoadFileForMe_Post
   52.55  
   52.56  #ifdef FN_FreeFile_Post
   52.57 @@ -1935,7 +1935,7 @@
   52.58  #endif // FN_DeltaUnsetField_Post
   52.59  
   52.60  #ifdef FN_DeltaAddEncoder_Post
   52.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   52.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   52.63  #endif // FN_DeltaAddEncoder_Post
   52.64  
   52.65  #ifdef FN_GetCurrentPlayer_Post
   52.66 @@ -1967,7 +1967,7 @@
   52.67  #endif // FN_engCreateInstancedBaseline_Post
   52.68  
   52.69  #ifdef FN_Cvar_DirectSet_Post
   52.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   52.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   52.72  #endif // FN_Cvar_DirectSet_Post
   52.73  
   52.74  #ifdef FN_ForceUnmodified_Post
    53.1 --- a/dlls/tfcx/Makefile	Tue Sep 03 17:56:27 2013 -0500
    53.2 +++ b/dlls/tfcx/Makefile	Thu Sep 05 19:51:52 2013 -0500
    53.3 @@ -5,7 +5,7 @@
    53.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
    53.5  ###########################################
    53.6  
    53.7 -HLSDK = ../../../hlsdk/multiplayer
    53.8 +HLSDK = ../../../hlsdk
    53.9  MM_ROOT = ../../../metamod/metamod
   53.10  
   53.11  #####################################
   53.12 @@ -31,7 +31,7 @@
   53.13  LINK =
   53.14  
   53.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
   53.16 -          -I$(MM_ROOT) -Isdk
   53.17 +          -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
   53.18  
   53.19  ################################################
   53.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
    54.1 --- a/dlls/tfcx/msvc10/tfcx.vcxproj	Tue Sep 03 17:56:27 2013 -0500
    54.2 +++ b/dlls/tfcx/msvc10/tfcx.vcxproj	Thu Sep 05 19:51:52 2013 -0500
    54.3 @@ -61,7 +61,7 @@
    54.4      </Midl>
    54.5      <ClCompile>
    54.6        <Optimization>Disabled</Optimization>
    54.7 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    54.8 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    54.9        <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;tfcx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   54.10        <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
   54.11        <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
   54.12 @@ -103,7 +103,7 @@
   54.13      <ClCompile>
   54.14        <Optimization>MaxSpeed</Optimization>
   54.15        <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   54.16 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   54.17 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   54.18        <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;tfcx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   54.19        <StringPooling>true</StringPooling>
   54.20        <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
    55.1 --- a/dlls/tfcx/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    55.2 +++ b/dlls/tfcx/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    55.3 @@ -1010,7 +1010,7 @@
    55.4  #endif // FN_ParticleEffect
    55.5  
    55.6  #ifdef FN_LightStyle
    55.7 -void FN_LightStyle(int style, char *val);
    55.8 +void FN_LightStyle(int style, const char *val);
    55.9  #endif // FN_LightStyle
   55.10  
   55.11  #ifdef FN_DecalIndex
   55.12 @@ -1218,7 +1218,7 @@
   55.13  #endif // FN_CrosshairAngle
   55.14  
   55.15  #ifdef FN_LoadFileForMe
   55.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   55.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   55.18  #endif // FN_LoadFileForMe
   55.19  
   55.20  #ifdef FN_FreeFile
   55.21 @@ -1354,7 +1354,7 @@
   55.22  #endif // FN_DeltaUnsetField
   55.23  
   55.24  #ifdef FN_DeltaAddEncoder
   55.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   55.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   55.27  #endif // FN_DeltaAddEncoder
   55.28  
   55.29  #ifdef FN_GetCurrentPlayer
   55.30 @@ -1386,7 +1386,7 @@
   55.31  #endif // FN_engCreateInstancedBaseline
   55.32  
   55.33  #ifdef FN_Cvar_DirectSet
   55.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   55.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   55.36  #endif // FN_Cvar_DirectSet
   55.37  
   55.38  #ifdef FN_ForceUnmodified
   55.39 @@ -1591,7 +1591,7 @@
   55.40  #endif // FN_ParticleEffect_Post
   55.41  
   55.42  #ifdef FN_LightStyle_Post
   55.43 -void FN_LightStyle_Post(int style, char *val);
   55.44 +void FN_LightStyle_Post(int style, const char *val);
   55.45  #endif // FN_LightStyle_Post
   55.46  
   55.47  #ifdef FN_DecalIndex_Post
   55.48 @@ -1799,7 +1799,7 @@
   55.49  #endif // FN_CrosshairAngle_Post
   55.50  
   55.51  #ifdef FN_LoadFileForMe_Post
   55.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   55.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   55.54  #endif // FN_LoadFileForMe_Post
   55.55  
   55.56  #ifdef FN_FreeFile_Post
   55.57 @@ -1935,7 +1935,7 @@
   55.58  #endif // FN_DeltaUnsetField_Post
   55.59  
   55.60  #ifdef FN_DeltaAddEncoder_Post
   55.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   55.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   55.63  #endif // FN_DeltaAddEncoder_Post
   55.64  
   55.65  #ifdef FN_GetCurrentPlayer_Post
   55.66 @@ -1967,7 +1967,7 @@
   55.67  #endif // FN_engCreateInstancedBaseline_Post
   55.68  
   55.69  #ifdef FN_Cvar_DirectSet_Post
   55.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   55.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   55.72  #endif // FN_Cvar_DirectSet_Post
   55.73  
   55.74  #ifdef FN_ForceUnmodified_Post
    56.1 --- a/dlls/ts/tsfun/Makefile	Tue Sep 03 17:56:27 2013 -0500
    56.2 +++ b/dlls/ts/tsfun/Makefile	Thu Sep 05 19:51:52 2013 -0500
    56.3 @@ -5,7 +5,7 @@
    56.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
    56.5  ###########################################
    56.6  
    56.7 -HLSDK = ../../../../hlsdk/multiplayer
    56.8 +HLSDK = ../../../../hlsdk
    56.9  MM_ROOT = ../../../../metamod/metamod
   56.10  
   56.11  #####################################
   56.12 @@ -30,7 +30,7 @@
   56.13  LINK =
   56.14  
   56.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
   56.16 -	  -I$(MM_ROOT) -Isdk
   56.17 +	  -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
   56.18  
   56.19  ################################################
   56.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
    57.1 --- a/dlls/ts/tsfun/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    57.2 +++ b/dlls/ts/tsfun/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    57.3 @@ -1010,7 +1010,7 @@
    57.4  #endif // FN_ParticleEffect
    57.5  
    57.6  #ifdef FN_LightStyle
    57.7 -void FN_LightStyle(int style, char *val);
    57.8 +void FN_LightStyle(int style, const char *val);
    57.9  #endif // FN_LightStyle
   57.10  
   57.11  #ifdef FN_DecalIndex
   57.12 @@ -1218,7 +1218,7 @@
   57.13  #endif // FN_CrosshairAngle
   57.14  
   57.15  #ifdef FN_LoadFileForMe
   57.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   57.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   57.18  #endif // FN_LoadFileForMe
   57.19  
   57.20  #ifdef FN_FreeFile
   57.21 @@ -1354,7 +1354,7 @@
   57.22  #endif // FN_DeltaUnsetField
   57.23  
   57.24  #ifdef FN_DeltaAddEncoder
   57.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   57.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   57.27  #endif // FN_DeltaAddEncoder
   57.28  
   57.29  #ifdef FN_GetCurrentPlayer
   57.30 @@ -1386,7 +1386,7 @@
   57.31  #endif // FN_engCreateInstancedBaseline
   57.32  
   57.33  #ifdef FN_Cvar_DirectSet
   57.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   57.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   57.36  #endif // FN_Cvar_DirectSet
   57.37  
   57.38  #ifdef FN_ForceUnmodified
   57.39 @@ -1591,7 +1591,7 @@
   57.40  #endif // FN_ParticleEffect_Post
   57.41  
   57.42  #ifdef FN_LightStyle_Post
   57.43 -void FN_LightStyle_Post(int style, char *val);
   57.44 +void FN_LightStyle_Post(int style, const char *val);
   57.45  #endif // FN_LightStyle_Post
   57.46  
   57.47  #ifdef FN_DecalIndex_Post
   57.48 @@ -1799,7 +1799,7 @@
   57.49  #endif // FN_CrosshairAngle_Post
   57.50  
   57.51  #ifdef FN_LoadFileForMe_Post
   57.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   57.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   57.54  #endif // FN_LoadFileForMe_Post
   57.55  
   57.56  #ifdef FN_FreeFile_Post
   57.57 @@ -1935,7 +1935,7 @@
   57.58  #endif // FN_DeltaUnsetField_Post
   57.59  
   57.60  #ifdef FN_DeltaAddEncoder_Post
   57.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   57.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   57.63  #endif // FN_DeltaAddEncoder_Post
   57.64  
   57.65  #ifdef FN_GetCurrentPlayer_Post
   57.66 @@ -1967,7 +1967,7 @@
   57.67  #endif // FN_engCreateInstancedBaseline_Post
   57.68  
   57.69  #ifdef FN_Cvar_DirectSet_Post
   57.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   57.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   57.72  #endif // FN_Cvar_DirectSet_Post
   57.73  
   57.74  #ifdef FN_ForceUnmodified_Post
    58.1 --- a/dlls/ts/tsx/Makefile	Tue Sep 03 17:56:27 2013 -0500
    58.2 +++ b/dlls/ts/tsx/Makefile	Thu Sep 05 19:51:52 2013 -0500
    58.3 @@ -5,7 +5,7 @@
    58.4  ### EDIT THESE PATHS FOR YOUR OWN SETUP ###
    58.5  ###########################################
    58.6  
    58.7 -HLSDK = ../../../../hlsdk/multiplayer
    58.8 +HLSDK = ../../../../hlsdk
    58.9  MM_ROOT = ../../../../metamod/metamod
   58.10  
   58.11  #####################################
   58.12 @@ -31,7 +31,7 @@
   58.13  LINK =
   58.14  
   58.15  INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
   58.16 -	  -I$(MM_ROOT) -Isdk
   58.17 +	  -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
   58.18  
   58.19  ################################################
   58.20  ### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
    59.1 --- a/dlls/ts/tsx/msvc10/tsx.vcxproj	Tue Sep 03 17:56:27 2013 -0500
    59.2 +++ b/dlls/ts/tsx/msvc10/tsx.vcxproj	Thu Sep 05 19:51:52 2013 -0500
    59.3 @@ -61,7 +61,7 @@
    59.4      </Midl>
    59.5      <ClCompile>
    59.6        <Optimization>Disabled</Optimization>
    59.7 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    59.8 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    59.9        <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;tsx_amxx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   59.10        <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
   59.11        <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
   59.12 @@ -103,7 +103,7 @@
   59.13      <ClCompile>
   59.14        <Optimization>MaxSpeed</Optimization>
   59.15        <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
   59.16 -      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   59.17 +      <AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
   59.18        <PreprocessorDefinitions>tsx_amxx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   59.19        <StringPooling>true</StringPooling>
   59.20        <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
    60.1 --- a/dlls/ts/tsx/sdk/amxxmodule.h	Tue Sep 03 17:56:27 2013 -0500
    60.2 +++ b/dlls/ts/tsx/sdk/amxxmodule.h	Thu Sep 05 19:51:52 2013 -0500
    60.3 @@ -1010,7 +1010,7 @@
    60.4  #endif // FN_ParticleEffect
    60.5  
    60.6  #ifdef FN_LightStyle
    60.7 -void FN_LightStyle(int style, char *val);
    60.8 +void FN_LightStyle(int style, const char *val);
    60.9  #endif // FN_LightStyle
   60.10  
   60.11  #ifdef FN_DecalIndex
   60.12 @@ -1218,7 +1218,7 @@
   60.13  #endif // FN_CrosshairAngle
   60.14  
   60.15  #ifdef FN_LoadFileForMe
   60.16 -byte *FN_LoadFileForMe(char *filename, int *pLength);
   60.17 +byte *FN_LoadFileForMe(const char *filename, int *pLength);
   60.18  #endif // FN_LoadFileForMe
   60.19  
   60.20  #ifdef FN_FreeFile
   60.21 @@ -1354,7 +1354,7 @@
   60.22  #endif // FN_DeltaUnsetField
   60.23  
   60.24  #ifdef FN_DeltaAddEncoder
   60.25 -void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   60.26 +void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   60.27  #endif // FN_DeltaAddEncoder
   60.28  
   60.29  #ifdef FN_GetCurrentPlayer
   60.30 @@ -1386,7 +1386,7 @@
   60.31  #endif // FN_engCreateInstancedBaseline
   60.32  
   60.33  #ifdef FN_Cvar_DirectSet
   60.34 -void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
   60.35 +void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
   60.36  #endif // FN_Cvar_DirectSet
   60.37  
   60.38  #ifdef FN_ForceUnmodified
   60.39 @@ -1591,7 +1591,7 @@
   60.40  #endif // FN_ParticleEffect_Post
   60.41  
   60.42  #ifdef FN_LightStyle_Post
   60.43 -void FN_LightStyle_Post(int style, char *val);
   60.44 +void FN_LightStyle_Post(int style, const char *val);
   60.45  #endif // FN_LightStyle_Post
   60.46  
   60.47  #ifdef FN_DecalIndex_Post
   60.48 @@ -1799,7 +1799,7 @@
   60.49  #endif // FN_CrosshairAngle_Post
   60.50  
   60.51  #ifdef FN_LoadFileForMe_Post
   60.52 -byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
   60.53 +byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
   60.54  #endif // FN_LoadFileForMe_Post
   60.55  
   60.56  #ifdef FN_FreeFile_Post
   60.57 @@ -1935,7 +1935,7 @@
   60.58  #endif // FN_DeltaUnsetField_Post
   60.59  
   60.60  #ifdef FN_DeltaAddEncoder_Post
   60.61 -void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   60.62 +void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
   60.63  #endif // FN_DeltaAddEncoder_Post
   60.64  
   60.65  #ifdef FN_GetCurrentPlayer_Post
   60.66 @@ -1967,7 +1967,7 @@
   60.67  #endif // FN_engCreateInstancedBaseline_Post
   60.68  
   60.69  #ifdef FN_Cvar_DirectSet_Post
   60.70 -void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
   60.71 +void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
   60.72  #endif // FN_Cvar_DirectSet_Post
   60.73  
   60.74  #ifdef FN_ForceUnmodified_Post