Fixed building with newly updated SDK.
Former-commit-id: bf0455aea7c54493b2b921a2fef52120163e0959
This commit is contained in:
parent
2a458530b7
commit
568bec17fc
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../hlsdk/multiplayer
|
HLSDK = ../../hlsdk
|
||||||
MM_ROOT = ../../metamod/metamod
|
MM_ROOT = ../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -37,7 +37,7 @@ CPP_OSX = clang
|
||||||
LINK = -Lzlib
|
LINK = -Lzlib
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(MM_ROOT)
|
-I$(HLSDK)/public -I$(MM_ROOT)
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -92,7 +92,7 @@
|
||||||
</Midl>
|
</Midl>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;amxmodx_EXPORTS;PAWN_CELL_SIZE=32;ASM32;JIT;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;amxmodx_EXPORTS;PAWN_CELL_SIZE=32;ASM32;JIT;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
@ -143,7 +143,7 @@
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
<OmitFramePointers>true</OmitFramePointers>
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
<AdditionalIncludeDirectories>$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;amxmodx_EXPORTS;JIT;ASM32;PAWN_CELL_SIZE=32;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;amxmodx_EXPORTS;JIT;ASM32;PAWN_CELL_SIZE=32;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<IgnoreStandardIncludePath>false</IgnoreStandardIncludePath>
|
<IgnoreStandardIncludePath>false</IgnoreStandardIncludePath>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -52,13 +52,13 @@ void CtrlDetour_ClientCommand(bool set)
|
||||||
#endif
|
#endif
|
||||||
static unsigned char DetourOps[] =
|
static unsigned char DetourOps[] =
|
||||||
{
|
{
|
||||||
'\x50', /* push eax ; just for safety */
|
0x50, /* push eax ; just for safety */
|
||||||
'\xff', '\x74', '\x24', '\x08', /* push [esp+0x8] ; push the edict pointer */
|
0xff, 0x74, 0x24, 0x08, /* push [esp+0x8] ; push the edict pointer */
|
||||||
'\xe8', '\x00', '\x00', '\x00', '\x00', /* call <gate> ; call our function */
|
0xe8, 0x00, 0x00, 0x00, 0x00, /* call <gate> ; call our function */
|
||||||
'\x83', '\xc4', '\x08', /* add esp, 8 ; correct stack */
|
0x83, 0xc4, 0x08, /* add esp, 8 ; correct stack */
|
||||||
'\x85', '\xc0', /* test eax, eax ; do != 0 test */
|
0x85, 0xc0, /* test eax, eax ; do != 0 test */
|
||||||
'\x74', '\x01', /* je <cont> ; if == 0, jump to where old func is saved */
|
0x74, 0x01, /* je <cont> ; if == 0, jump to where old func is saved */
|
||||||
'\xc3' /* ret ; return otherwise */
|
0xc3 /* ret ; return otherwise */
|
||||||
};
|
};
|
||||||
static unsigned char DetourJmp = '\xE9';
|
static unsigned char DetourJmp = '\xE9';
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../../hlsdk/multiplayer
|
HLSDK = ../../../../hlsdk
|
||||||
MM_ROOT = ../../../../metamod/metamod
|
MM_ROOT = ../../../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -30,7 +30,7 @@ CPP_OSX = clang
|
||||||
LINK =
|
LINK =
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(MM_ROOT) -Isdk
|
-I$(HLSDK)/public -I$(MM_ROOT) -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -62,7 +62,7 @@
|
||||||
</Midl>
|
</Midl>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;CSTRIKE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;CSTRIKE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
@ -105,7 +105,7 @@
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;CSTRIKE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;CSTRIKE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../../hlsdk/multiplayer
|
HLSDK = ../../../../hlsdk
|
||||||
MM_ROOT = ../../../../metamod/metamod
|
MM_ROOT = ../../../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -30,7 +30,7 @@ CPP_OSX = clang
|
||||||
LINK =
|
LINK =
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(MM_ROOT) -Isdk
|
-I$(HLSDK)/public -I$(MM_ROOT) -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;csx_EXPORTS;JIT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;csx_EXPORTS;JIT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
</Midl>
|
</Midl>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;csx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;csx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../../hlsdk/multiplayer
|
HLSDK = ../../../../hlsdk
|
||||||
MM_ROOT = ../../../../metamod/metamod
|
MM_ROOT = ../../../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -30,7 +30,7 @@ CPP_OSX = clang
|
||||||
LINK =
|
LINK =
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(MM_ROOT) -Isdk
|
-I$(HLSDK)/public -I$(MM_ROOT) -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -62,7 +62,7 @@
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>dodfun_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>dodfun_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
</Midl>
|
</Midl>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;dodfun_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;dodfun_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../../hlsdk/multiplayer
|
HLSDK = ../../../../hlsdk
|
||||||
MM_ROOT = ../../../../metamod/metamod
|
MM_ROOT = ../../../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -30,7 +30,7 @@ CPP_OSX = clang
|
||||||
LINK =
|
LINK =
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(MM_ROOT) -Isdk
|
-I$(HLSDK)/public -I$(MM_ROOT) -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -62,7 +62,7 @@
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>dodx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>dodx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
</Midl>
|
</Midl>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;dodx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;dodx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../hlsdk/multiplayer
|
HLSDK = ../../../hlsdk
|
||||||
MM_ROOT = ../../../metamod/metamod
|
MM_ROOT = ../../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -31,7 +31,7 @@ CPP_OSX = clang
|
||||||
LINK =
|
LINK =
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(HLSDK)/pm_shared -I$(MM_ROOT) -Isdk
|
-I$(HLSDK)/pm_shared -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -213,7 +213,7 @@ void ServerActivate(edict_t *pEdictList, int edictCount, int clientMax)
|
||||||
RETURN_META(MRES_IGNORED);
|
RETURN_META(MRES_IGNORED);
|
||||||
}
|
}
|
||||||
|
|
||||||
void LightStyle(int style, char *val) {
|
void LightStyle(int style, const char *val) {
|
||||||
if (!style) {
|
if (!style) {
|
||||||
memset(glinfo.szRealLights, 0x0, 128);
|
memset(glinfo.szRealLights, 0x0, 128);
|
||||||
memcpy(glinfo.szRealLights, val, strlen(val));
|
memcpy(glinfo.szRealLights, val, strlen(val));
|
||||||
|
|
|
@ -522,7 +522,7 @@ static cell AMX_NATIVE_CALL set_lights(AMX *amx, cell *params) {
|
||||||
glinfo.bCheckLights = false;
|
glinfo.bCheckLights = false;
|
||||||
g_pFunctionTable_Post->pfnStartFrame = NULL;
|
g_pFunctionTable_Post->pfnStartFrame = NULL;
|
||||||
memset(glinfo.szLastLights, 0x0, 128);
|
memset(glinfo.szLastLights, 0x0, 128);
|
||||||
(g_engfuncs.pfnLightStyle)(0, (char *)glinfo.szRealLights);
|
(g_engfuncs.pfnLightStyle)(0, glinfo.szRealLights);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -106,8 +106,8 @@ struct PlayerInfo {
|
||||||
|
|
||||||
struct GlobalInfo {
|
struct GlobalInfo {
|
||||||
float fNextLights;
|
float fNextLights;
|
||||||
char *szLastLights[128];
|
char szLastLights[128];
|
||||||
char *szRealLights[128];
|
char szRealLights[128];
|
||||||
bool bCheckLights;
|
bool bCheckLights;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -111,7 +111,7 @@ void StartFrame_Post()
|
||||||
{
|
{
|
||||||
if (glinfo.fNextLights < gpGlobals->time)
|
if (glinfo.fNextLights < gpGlobals->time)
|
||||||
{
|
{
|
||||||
(g_engfuncs.pfnLightStyle)(0, (char *)glinfo.szLastLights);
|
(g_engfuncs.pfnLightStyle)(0, glinfo.szLastLights);
|
||||||
glinfo.fNextLights = gpGlobals->time + 1;
|
glinfo.fNextLights = gpGlobals->time + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;ENGINE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;ENGINE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<MinimalRebuild>true</MinimalRebuild>
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;ENGINE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;ENGINE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
<StructMemberAlignment>4Bytes</StructMemberAlignment>
|
<StructMemberAlignment>4Bytes</StructMemberAlignment>
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../hlsdk/multiplayer
|
HLSDK = ../../../hlsdk
|
||||||
MM_ROOT = ../../../metamod/metamod
|
MM_ROOT = ../../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -31,7 +31,7 @@ CPP_OSX = clang
|
||||||
LINK =
|
LINK =
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(HLSDK)/pm_shared -I$(MM_ROOT) -Isdk
|
-I$(HLSDK)/pm_shared -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -579,7 +579,7 @@ static cell AMX_NATIVE_CALL engfunc(AMX *amx, cell *params)
|
||||||
|
|
||||||
|
|
||||||
// pfnLightStyle
|
// pfnLightStyle
|
||||||
case EngFunc_LightStyle: // void ) (int style, char* val);
|
case EngFunc_LightStyle: // void ) (int style, const char* val);
|
||||||
cRet = MF_GetAmxAddr(amx,params[2]);
|
cRet = MF_GetAmxAddr(amx,params[2]);
|
||||||
iparam1=cRet[0];
|
iparam1=cRet[0];
|
||||||
temp = MF_GetAmxString(amx,params[3],0,&len);
|
temp = MF_GetAmxString(amx,params[3],0,&len);
|
||||||
|
|
|
@ -40,7 +40,7 @@ enum {
|
||||||
EngFunc_TraceSphere, // void ) (const float *v1, const float *v2, int fNoMonsters, float radius, edict_t *pentToSkip, TraceResult *ptr);
|
EngFunc_TraceSphere, // void ) (const float *v1, const float *v2, int fNoMonsters, float radius, edict_t *pentToSkip, TraceResult *ptr);
|
||||||
EngFunc_GetAimVector, // void ) (edict_t *ent, float speed, float *rgflReturn);
|
EngFunc_GetAimVector, // void ) (edict_t *ent, float speed, float *rgflReturn);
|
||||||
EngFunc_ParticleEffect, // void ) (const float *org, const float *dir, float color, float count);
|
EngFunc_ParticleEffect, // void ) (const float *org, const float *dir, float color, float count);
|
||||||
EngFunc_LightStyle, // void ) (int style, char *val);
|
EngFunc_LightStyle, // void ) (int style, const char *val);
|
||||||
EngFunc_DecalIndex, // int ) (const char *name);
|
EngFunc_DecalIndex, // int ) (const char *name);
|
||||||
EngFunc_PointContents, // int ) (const float *rgflVector);
|
EngFunc_PointContents, // int ) (const float *rgflVector);
|
||||||
EngFunc_FreeEntPrivateData, // void ) (edict_t *pEdict);
|
EngFunc_FreeEntPrivateData, // void ) (edict_t *pEdict);
|
||||||
|
|
|
@ -400,7 +400,7 @@ SIMPLE_VOID_HOOK_EDICT_FLOAT_VECT(GetAimVector);
|
||||||
SIMPLE_VOID_HOOK_CONSTVECT_CONSTVECT_FLOAT_FLOAT(ParticleEffect);
|
SIMPLE_VOID_HOOK_CONSTVECT_CONSTVECT_FLOAT_FLOAT(ParticleEffect);
|
||||||
|
|
||||||
// pfnLightStyle
|
// pfnLightStyle
|
||||||
SIMPLE_VOID_HOOK_INT_STRING(LightStyle);
|
SIMPLE_VOID_HOOK_INT_CONSTSTRING(LightStyle);
|
||||||
|
|
||||||
// pfnDecalIndex
|
// pfnDecalIndex
|
||||||
SIMPLE_INT_HOOK_CONSTSTRING(DecalIndex);
|
SIMPLE_INT_HOOK_CONSTSTRING(DecalIndex);
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;FAKEMETA_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;FAKEMETA_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<MinimalRebuild>true</MinimalRebuild>
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;FAKEMETA_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;FAKEMETA_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../hlsdk/multiplayer
|
HLSDK = ../../../hlsdk
|
||||||
MM_ROOT = ../../../metamod/metamod
|
MM_ROOT = ../../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -30,7 +30,7 @@ CPP_OSX = clang
|
||||||
LINK =
|
LINK =
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(MM_ROOT) -Isdk
|
-I$(HLSDK)/public -I$(MM_ROOT) -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;FUN_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;FUN_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
</Midl>
|
</Midl>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;FUN_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;FUN_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../hlsdk/multiplayer
|
HLSDK = ../../../hlsdk
|
||||||
MM_ROOT = ../../../metamod/metamod
|
MM_ROOT = ../../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -30,7 +30,7 @@ CPP_OSX = clang
|
||||||
LINK =
|
LINK =
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(MM_ROOT) -Isdk
|
-I$(HLSDK)/public -I$(MM_ROOT) -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../hlsdk/multiplayer
|
HLSDK = ../../../hlsdk
|
||||||
MM_ROOT = ../../../metamod/metamod
|
MM_ROOT = ../../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -31,7 +31,7 @@ CPP_OSX = clang
|
||||||
LINK =
|
LINK =
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(HLSDK)/pm_shared -I$(MM_ROOT) -Isdk
|
-I$(HLSDK)/pm_shared -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<MinimalRebuild>true</MinimalRebuild>
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../hlsdk/multiplayer
|
HLSDK = ../../../hlsdk
|
||||||
MM_ROOT = ../../../metamod/metamod
|
MM_ROOT = ../../../metamod/metamod
|
||||||
MYSQL_DIR = ../../../mysql-5.0
|
MYSQL_DIR = ../../../mysql-5.0
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ CPP_OSX = clang
|
||||||
LINK = $(MYSQL_DIR)/lib/libmysqlclient_r.a -lz -lpthread -L$(MYSQL_DIR)/lib
|
LINK = $(MYSQL_DIR)/lib/libmysqlclient_r.a -lz -lpthread -L$(MYSQL_DIR)/lib
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(MM_ROOT) -I$(MYSQL_DIR)/include -Ithread -Imysql -Isdk
|
-I$(HLSDK)/public -I$(MM_ROOT) -I$(MYSQL_DIR)/include -Ithread -Imysql -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\;..\mysql;..\sdk;..\thread;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(MYSQL5)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\mysql;..\sdk;..\thread;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\public;$(MYSQL5)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MYSQL2_EXPORTS;SM_DEFAULT_THREADER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MYSQL2_EXPORTS;SM_DEFAULT_THREADER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<MinimalRebuild>true</MinimalRebuild>
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<AdditionalIncludeDirectories>..\;..\mysql;..\sdk;..\thread;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(MYSQL5)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\mysql;..\sdk;..\thread;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\public;$(MYSQL5)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;MYSQL2_EXPORTS;SM_DEFAULT_THREADER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;MYSQL2_EXPORTS;SM_DEFAULT_THREADER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../hlsdk/multiplayer
|
HLSDK = ../../../hlsdk
|
||||||
MM_ROOT = ../../../metamod/metamod
|
MM_ROOT = ../../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -33,7 +33,7 @@ CPP_OSX = clang
|
||||||
LINK =
|
LINK =
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(HLSDK)/pm_shared -I$(MM_ROOT) -Isdk
|
-I$(HLSDK)/pm_shared -I$(HLSDK)/public -I$(MM_ROOT) -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
@ -91,6 +91,11 @@ ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(
|
||||||
CPPFLAGS += -Wno-delete-non-virtual-dtor
|
CPPFLAGS += -Wno-delete-non-virtual-dtor
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# GCC >= 4.8
|
||||||
|
ifeq "$(shell expr $(IS_CLANG) \= 0 \& \( \( $(CPP_MAJOR) \= 4 \& $(CPP_MINOR) \>= 8 \) \| $(CPP_MAJOR) \> 4 \))" "1"
|
||||||
|
CFLAGS += -Wno-unused-local-typedefs
|
||||||
|
endif
|
||||||
|
|
||||||
# OS is Linux and not using clang
|
# OS is Linux and not using clang
|
||||||
ifeq "$(shell expr $(OS) \= Linux \& $(IS_CLANG) \= 0)" "1"
|
ifeq "$(shell expr $(OS) \= Linux \& $(IS_CLANG) \= 0)" "1"
|
||||||
LINK += -static-libgcc
|
LINK += -static-libgcc
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;ns_amxx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;ns_amxx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
</Midl>
|
</Midl>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;ns_amxx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;ns_amxx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../hlsdk/multiplayer
|
HLSDK = ../../../hlsdk
|
||||||
MM_ROOT = ../../../metamod/metamod
|
MM_ROOT = ../../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -30,7 +30,7 @@ CPP_OSX = clang
|
||||||
LINK =
|
LINK =
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(MM_ROOT) -Isdk
|
-I$(HLSDK)/public -I$(MM_ROOT) -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../hlsdk/multiplayer
|
HLSDK = ../../../hlsdk
|
||||||
MM_ROOT = ../../../metamod/metamod
|
MM_ROOT = ../../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -30,7 +30,7 @@ CPP_OSX = clang
|
||||||
LINK = -lpcre
|
LINK = -lpcre
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(MM_ROOT) -Isdk
|
-I$(HLSDK)/public -I$(MM_ROOT) -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../hlsdk/multiplayer
|
HLSDK = ../../../hlsdk
|
||||||
MM_ROOT = ../../../metamod/metamod
|
MM_ROOT = ../../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -30,7 +30,7 @@ CPP_OSX = clang
|
||||||
LINK =
|
LINK =
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(MM_ROOT) -Isdk
|
-I$(HLSDK)/public -I$(MM_ROOT) -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../hlsdk/multiplayer
|
HLSDK = ../../../hlsdk
|
||||||
MM_ROOT = ../../../metamod/metamod
|
MM_ROOT = ../../../metamod/metamod
|
||||||
SQL = sqlite-source
|
SQL = sqlite-source
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ CPP_OSX = clang
|
||||||
LINK =
|
LINK =
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(MM_ROOT) -I$(SQL) -Isqlitepp -Ithread -Isdk
|
-I$(HLSDK)/public -I$(MM_ROOT) -I$(SQL) -Isqlitepp -Ithread -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
@ -96,6 +96,11 @@ ifeq "$(shell expr $(IS_CLANG) \| $(CPP_MAJOR) \>= 4)" "1"
|
||||||
CPPFLAGS += $(CPP_GCC4_FLAGS)
|
CPPFLAGS += $(CPP_GCC4_FLAGS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# GCC >= 4.6
|
||||||
|
ifeq "$(shell expr $(IS_CLANG) \= 0 \& \( \( $(CPP_MAJOR) \= 4 \& $(CPP_MINOR) \>= 6 \) \| $(CPP_MAJOR) \> 4 \))" "1"
|
||||||
|
CFLAGS += -Wno-unused-but-set-variable
|
||||||
|
endif
|
||||||
|
|
||||||
# Clang >= 3 || GCC >= 4.7
|
# Clang >= 3 || GCC >= 4.7
|
||||||
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
|
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
|
||||||
CPPFLAGS += -Wno-delete-non-virtual-dtor
|
CPPFLAGS += -Wno-delete-non-virtual-dtor
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<AdditionalOptions>/D "NO_TCL" %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/D "NO_TCL" %(AdditionalOptions)</AdditionalOptions>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;..\sqlite-source;..\sqlitepp;..\thread;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;..\sqlite-source;..\sqlitepp;..\thread;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;sqlite_EXPORTS;SM_DEFAULT_THREADER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;sqlite_EXPORTS;SM_DEFAULT_THREADER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<MinimalRebuild>true</MinimalRebuild>
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<OmitFramePointers>true</OmitFramePointers>
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;..\sqlite-source;..\sqlitepp;..\thread;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;..\sqlite-source;..\sqlitepp;..\thread;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;sqlite_EXPORTS;SM_DEFAULT_THREADER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;sqlite_EXPORTS;SM_DEFAULT_THREADER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../hlsdk/multiplayer
|
HLSDK = ../../../hlsdk
|
||||||
MM_ROOT = ../../../metamod/metamod
|
MM_ROOT = ../../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -31,7 +31,7 @@ CPP_OSX = clang
|
||||||
LINK =
|
LINK =
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(MM_ROOT) -Isdk
|
-I$(HLSDK)/public -I$(MM_ROOT) -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
</Midl>
|
</Midl>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;tfcx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;tfcx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;tfcx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;tfcx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../../hlsdk/multiplayer
|
HLSDK = ../../../../hlsdk
|
||||||
MM_ROOT = ../../../../metamod/metamod
|
MM_ROOT = ../../../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -30,7 +30,7 @@ CPP_OSX = clang
|
||||||
LINK =
|
LINK =
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(MM_ROOT) -Isdk
|
-I$(HLSDK)/public -I$(MM_ROOT) -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
### EDIT THESE PATHS FOR YOUR OWN SETUP ###
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
HLSDK = ../../../../hlsdk/multiplayer
|
HLSDK = ../../../../hlsdk
|
||||||
MM_ROOT = ../../../../metamod/metamod
|
MM_ROOT = ../../../../metamod/metamod
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -31,7 +31,7 @@ CPP_OSX = clang
|
||||||
LINK =
|
LINK =
|
||||||
|
|
||||||
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
INCLUDE = -I. -I$(HLSDK) -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine -I$(HLSDK)/game_shared \
|
||||||
-I$(MM_ROOT) -Isdk
|
-I$(HLSDK)/public -I$(MM_ROOT) -Isdk
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
### DO NOT EDIT BELOW HERE FOR MOST PROJECTS ###
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
</Midl>
|
</Midl>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;tsx_amxx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;tsx_amxx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\multiplayer\common;$(HLSDK)\multiplayer\engine;$(HLSDK)\multiplayer\dlls;$(HLSDK)\multiplayer\pm_shared;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>tsx_amxx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>tsx_amxx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ void FN_ParticleEffect(const float *org, const float *dir, float color, float co
|
||||||
#endif // FN_ParticleEffect
|
#endif // FN_ParticleEffect
|
||||||
|
|
||||||
#ifdef FN_LightStyle
|
#ifdef FN_LightStyle
|
||||||
void FN_LightStyle(int style, char *val);
|
void FN_LightStyle(int style, const char *val);
|
||||||
#endif // FN_LightStyle
|
#endif // FN_LightStyle
|
||||||
|
|
||||||
#ifdef FN_DecalIndex
|
#ifdef FN_DecalIndex
|
||||||
|
@ -1218,7 +1218,7 @@ void FN_CrosshairAngle(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle
|
#endif // FN_CrosshairAngle
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe
|
#ifdef FN_LoadFileForMe
|
||||||
byte *FN_LoadFileForMe(char *filename, int *pLength);
|
byte *FN_LoadFileForMe(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe
|
#endif // FN_LoadFileForMe
|
||||||
|
|
||||||
#ifdef FN_FreeFile
|
#ifdef FN_FreeFile
|
||||||
|
@ -1354,7 +1354,7 @@ void FN_DeltaUnsetField(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField
|
#endif // FN_DeltaUnsetField
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder
|
#ifdef FN_DeltaAddEncoder
|
||||||
void FN_DeltaAddEncoder(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder
|
#endif // FN_DeltaAddEncoder
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer
|
#ifdef FN_GetCurrentPlayer
|
||||||
|
@ -1386,7 +1386,7 @@ int FN_engCreateInstancedBaseline(int classname, struct entity_state_s *baseline
|
||||||
#endif // FN_engCreateInstancedBaseline
|
#endif // FN_engCreateInstancedBaseline
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet
|
#ifdef FN_Cvar_DirectSet
|
||||||
void FN_Cvar_DirectSet(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet
|
#endif // FN_Cvar_DirectSet
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified
|
#ifdef FN_ForceUnmodified
|
||||||
|
@ -1591,7 +1591,7 @@ void FN_ParticleEffect_Post(const float *org, const float *dir, float color, flo
|
||||||
#endif // FN_ParticleEffect_Post
|
#endif // FN_ParticleEffect_Post
|
||||||
|
|
||||||
#ifdef FN_LightStyle_Post
|
#ifdef FN_LightStyle_Post
|
||||||
void FN_LightStyle_Post(int style, char *val);
|
void FN_LightStyle_Post(int style, const char *val);
|
||||||
#endif // FN_LightStyle_Post
|
#endif // FN_LightStyle_Post
|
||||||
|
|
||||||
#ifdef FN_DecalIndex_Post
|
#ifdef FN_DecalIndex_Post
|
||||||
|
@ -1799,7 +1799,7 @@ void FN_CrosshairAngle_Post(const edict_t *pClient, float pitch, float yaw);
|
||||||
#endif // FN_CrosshairAngle_Post
|
#endif // FN_CrosshairAngle_Post
|
||||||
|
|
||||||
#ifdef FN_LoadFileForMe_Post
|
#ifdef FN_LoadFileForMe_Post
|
||||||
byte *FN_LoadFileForMe_Post(char *filename, int *pLength);
|
byte *FN_LoadFileForMe_Post(const char *filename, int *pLength);
|
||||||
#endif // FN_LoadFileForMe_Post
|
#endif // FN_LoadFileForMe_Post
|
||||||
|
|
||||||
#ifdef FN_FreeFile_Post
|
#ifdef FN_FreeFile_Post
|
||||||
|
@ -1935,7 +1935,7 @@ void FN_DeltaUnsetField_Post(struct delta_s *pFields, const char *fieldname);
|
||||||
#endif // FN_DeltaUnsetField_Post
|
#endif // FN_DeltaUnsetField_Post
|
||||||
|
|
||||||
#ifdef FN_DeltaAddEncoder_Post
|
#ifdef FN_DeltaAddEncoder_Post
|
||||||
void FN_DeltaAddEncoder_Post(char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
void FN_DeltaAddEncoder_Post(const char *name, void (*conditionalencode)( struct delta_s *pFields, const unsigned char *from, const unsigned char *to ) );
|
||||||
#endif // FN_DeltaAddEncoder_Post
|
#endif // FN_DeltaAddEncoder_Post
|
||||||
|
|
||||||
#ifdef FN_GetCurrentPlayer_Post
|
#ifdef FN_GetCurrentPlayer_Post
|
||||||
|
@ -1967,7 +1967,7 @@ int FN_engCreateInstancedBaseline_Post(int classname, struct entity_state_s *bas
|
||||||
#endif // FN_engCreateInstancedBaseline_Post
|
#endif // FN_engCreateInstancedBaseline_Post
|
||||||
|
|
||||||
#ifdef FN_Cvar_DirectSet_Post
|
#ifdef FN_Cvar_DirectSet_Post
|
||||||
void FN_Cvar_DirectSet_Post(struct cvar_s *var, char *value);
|
void FN_Cvar_DirectSet_Post(struct cvar_s *var, const char *value);
|
||||||
#endif // FN_Cvar_DirectSet_Post
|
#endif // FN_Cvar_DirectSet_Post
|
||||||
|
|
||||||
#ifdef FN_ForceUnmodified_Post
|
#ifdef FN_ForceUnmodified_Post
|
||||||
|
|
Loading…
Reference in New Issue
Block a user