d6e71c8f4f
* Remove FAKEMETA leftovers * Move "require_module" native to where it belongs * Remove broken AMX module support * Remove useless natives * Remove "alloc_amxmemory" and "free_amxmemory" functions * Remove "strip_name" function * Clean engine a bit * Export "GiveFnptrsToDll" (Windows) (Core) * memcpy -> ke::SafeStrcpy * Export GiveFnptrsToDll in modules * Update msvc project files
191 lines
11 KiB
XML
191 lines
11 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{5B5DEFD0-28ED-4D0E-A1B0-50F9304A65DF}</ProjectGuid>
|
|
<RootNamespace>ns</RootNamespace>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseOfMfc>false</UseOfMfc>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
<PlatformToolset>v120_xp</PlatformToolset>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseOfMfc>false</UseOfMfc>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
<PlatformToolset>v120_xp</PlatformToolset>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings">
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<PropertyGroup>
|
|
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
|
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
|
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
|
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)_amxx</TargetName>
|
|
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectName)_amxx</TargetName>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<Midl>
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<MkTypLibCompatible>true</MkTypLibCompatible>
|
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
<TargetEnvironment>Win32</TargetEnvironment>
|
|
<TypeLibraryName>.\Release/ns_amxx.tlb</TypeLibraryName>
|
|
<HeaderFileName>
|
|
</HeaderFileName>
|
|
</Midl>
|
|
<ClCompile>
|
|
<Optimization>MaxSpeed</Optimization>
|
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
|
<AdditionalIncludeDirectories>..\;..\..\..\public;..\..\..\public\sdk;..\..\..\public\amtl;..\..\third_party;..\..\third_party\hashing;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>HAVE_STDINT_H;WIN32;NDEBUG;_WINDOWS;_USRDLL;ns_amxx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<StringPooling>true</StringPooling>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<PrecompiledHeaderOutputFile>.\Release/ns_amxx.pch</PrecompiledHeaderOutputFile>
|
|
<AssemblerListingLocation>.\Release/</AssemblerListingLocation>
|
|
<ObjectFileName>.\Release/</ObjectFileName>
|
|
<ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
<CompileAs>Default</CompileAs>
|
|
</ClCompile>
|
|
<ResourceCompile>
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<Culture>0x0409</Culture>
|
|
</ResourceCompile>
|
|
<Link>
|
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
<ProgramDatabaseFile>.\Release/ns_amxx.pdb</ProgramDatabaseFile>
|
|
<ImportLibrary>.\Release/ns_amxx.lib</ImportLibrary>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
<SubSystem>Windows</SubSystem>
|
|
<AdditionalOptions>/EXPORT:GiveFnptrsToDll=_GiveFnptrsToDll@8,@1 %(AdditionalOptions)</AdditionalOptions>
|
|
<SpecifySectionAttributes>.data,RW</SpecifySectionAttributes>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<Midl>
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<MkTypLibCompatible>true</MkTypLibCompatible>
|
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
<TargetEnvironment>Win32</TargetEnvironment>
|
|
<TypeLibraryName>.\Debug/ns_amxx.tlb</TypeLibraryName>
|
|
<HeaderFileName>
|
|
</HeaderFileName>
|
|
</Midl>
|
|
<ClCompile>
|
|
<Optimization>Disabled</Optimization>
|
|
<AdditionalIncludeDirectories>..\;..\..\..\public;..\..\..\public\sdk;..\..\..\public\amtl;..\..\third_party;..\..\third_party\hashing;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>HAVE_STDINT_H;WIN32;_DEBUG;_WINDOWS;_USRDLL;ns_amxx_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<PrecompiledHeaderOutputFile>.\Debug/ns_amxx.pch</PrecompiledHeaderOutputFile>
|
|
<AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
|
|
<ObjectFileName>.\Debug/</ObjectFileName>
|
|
<ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
<CompileAs>Default</CompileAs>
|
|
</ClCompile>
|
|
<ResourceCompile>
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<Culture>0x0409</Culture>
|
|
</ResourceCompile>
|
|
<Link>
|
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<ProgramDatabaseFile>.\Debug/ns_amxx.pdb</ProgramDatabaseFile>
|
|
<ImportLibrary>.\Debug/ns_amxx.lib</ImportLibrary>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
<SubSystem>Windows</SubSystem>
|
|
<IgnoreSpecificDefaultLibraries>LIBCMT;</IgnoreSpecificDefaultLibraries>
|
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
|
<AdditionalOptions>/EXPORT:GiveFnptrsToDll=_GiveFnptrsToDll@8,@1 %(AdditionalOptions)</AdditionalOptions>
|
|
<SpecifySectionAttributes>.data,RW</SpecifySectionAttributes>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="..\amxxapi.cpp" />
|
|
<ClCompile Include="..\dllapi.cpp">
|
|
<Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Disabled</Optimization>
|
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">WIN32;_DEBUG;_WINDOWS;_MBCS;_USRDLL;ns_amxx_EXPORTS</PreprocessorDefinitions>
|
|
<BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">EnableFastChecks</BasicRuntimeChecks>
|
|
<Optimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MaxSpeed</Optimization>
|
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;ns_amxx_EXPORTS</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
<ClCompile Include="..\engineapi.cpp" />
|
|
<ClCompile Include="..\GameManager.cpp" />
|
|
<ClCompile Include="..\MessageHandler.cpp" />
|
|
<ClCompile Include="..\ParticleManager.cpp" />
|
|
<ClCompile Include="..\TitleManager.cpp" />
|
|
<ClCompile Include="..\utils.cpp" />
|
|
<ClCompile Include="..\natives\general.cpp" />
|
|
<ClCompile Include="..\natives\memberfuncs.cpp" />
|
|
<ClCompile Include="..\natives\particles.cpp" />
|
|
<ClCompile Include="..\natives\player.cpp" />
|
|
<ClCompile Include="..\natives\player_memory.cpp" />
|
|
<ClCompile Include="..\natives\structure.cpp" />
|
|
<ClCompile Include="..\natives\weapons.cpp" />
|
|
<ClCompile Include="..\..\..\public\sdk\amxxmodule.cpp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="..\AllocString.h" />
|
|
<ClInclude Include="..\CPlayer.h" />
|
|
<ClInclude Include="..\FastDelegate.h" />
|
|
<ClInclude Include="..\GameManager.h" />
|
|
<ClInclude Include="..\Hash.h" />
|
|
<ClInclude Include="..\LocationManager.h" />
|
|
<ClInclude Include="..\MessageHandler.h" />
|
|
<ClInclude Include="..\NEW_Util.h" />
|
|
<ClInclude Include="..\ns.h" />
|
|
<ClInclude Include="..\ns_const.h" />
|
|
<ClInclude Include="..\ParticleManager.h" />
|
|
<ClInclude Include="..\SpawnManager.h" />
|
|
<ClInclude Include="..\TitleManager.h" />
|
|
<ClInclude Include="..\utilfunctions.h" />
|
|
<ClInclude Include="..\..\..\public\sdk\amxxmodule.h" />
|
|
<ClInclude Include="..\moduleconfig.h" />
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project>
|