shithub: cstory

Download patch

ref: c7f5cb71e08bf81c1ac6c9c5523dcfb8683bfb00
parent: cecc3ce9669fcb6944717f643cf7b6793e2edde5
author: Clownacy <[email protected]>
date: Sun Mar 10 23:22:27 EDT 2019

Make MSVC2003 optimise Font.cpp, and enable more warnings

Font.cpp wasn't a part of the original source code, so we don't need to
leave it unoptimised for accuracy. The font renderer is pretty
performance-intensive right now, so the optimisation should help with
that a little.

--- a/msvc2003/CSE2.vcproj
+++ b/msvc2003/CSE2.vcproj
@@ -28,6 +28,7 @@
 				RuntimeLibrary="1"
 				AssemblerOutput="4"
 				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
 				DebugInformationFormat="3"/>
 			<Tool
 				Name="VCCustomBuildTool"/>
@@ -78,6 +79,7 @@
 				RuntimeLibrary="0"
 				AssemblerOutput="4"
 				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
 				DebugInformationFormat="3"/>
 			<Tool
 				Name="VCCustomBuildTool"/>
@@ -127,6 +129,7 @@
 				RuntimeLibrary="0"
 				AssemblerOutput="4"
 				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
 				DebugInformationFormat="3"/>
 			<Tool
 				Name="VCCustomBuildTool"/>
@@ -177,6 +180,7 @@
 				RuntimeLibrary="1"
 				AssemblerOutput="4"
 				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
 				DebugInformationFormat="3"/>
 			<Tool
 				Name="VCCustomBuildTool"/>
@@ -293,6 +297,18 @@
 			</File>
 			<File
 				RelativePath="..\src\Font.cpp">
+				<FileConfiguration
+					Name="Release|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="3"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release (Japanese)|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						Optimization="3"/>
+				</FileConfiguration>
 			</File>
 			<File
 				RelativePath="..\src\Frame.cpp">