-struct alignment fix (both dll's now loadable by the game) and some cleanup

-added redalert project back into sln
This commit is contained in:
Nemo 2020-06-06 13:00:19 +02:00
parent 158d7a890d
commit ed517f250f
5 changed files with 1253 additions and 57 deletions

View file

@ -49,7 +49,7 @@
<LinkIncremental>false</LinkIncremental>
<OutDir>..\bin\$(PlatformName)\</OutDir>
<IntDir>$(PlatformName)\$(Configuration)\</IntDir>
<TargetName>$(ProjectName)I</TargetName>
<TargetName>$(ProjectName)</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
@ -62,16 +62,17 @@
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>TRUE_FALSE_DEFINED;WIN32;_DEBUG;_WINDOWS;_USRDLL;TIBERIANDAWN_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WINDOWS_IGNORE_PACKING_MISMATCH;TRUE_FALSE_DEFINED;WIN32;_DEBUG;_WINDOWS;_USRDLL;TIBERIANDAWN_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>./win32lib</AdditionalIncludeDirectories>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<ExceptionHandling>false</ExceptionHandling>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<DisableSpecificWarnings>4800;4244;4996</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<StructMemberAlignment>Default</StructMemberAlignment>
<StructMemberAlignment>1Byte</StructMemberAlignment>
<SupportJustMyCode>false</SupportJustMyCode>
<TreatWarningAsError>true</TreatWarningAsError>
<FunctionLevelLinking>true</FunctionLevelLinking>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@ -96,14 +97,14 @@
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>TRUE_FALSE_DEFINED;WIN32;NDEBUG;_WINDOWS;_USRDLL;TIBERIANDAWN_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WINDOWS_IGNORE_PACKING_MISMATCH;TRUE_FALSE_DEFINED;WIN32;NDEBUG;_WINDOWS;_USRDLL;TIBERIANDAWN_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>./win32lib</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4800;4244;4996</DisableSpecificWarnings>
<ExceptionHandling>false</ExceptionHandling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<WholeProgramOptimization>false</WholeProgramOptimization>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<StructMemberAlignment>Default</StructMemberAlignment>
<StructMemberAlignment>1Byte</StructMemberAlignment>
<TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>