Changeset - r21109:b9fde9f27123
[Not reviewed]
master
0 9 0
rubidium - 11 years ago 2014-01-02 08:35:45
rubidium@openttd.org
(svn r26194) -Change: add SSE detection to the configure script with the possibility to disable it (based on patch by MJP)
9 files changed with 84 insertions and 25 deletions:
0 comments (0 inline, 0 general)
Makefile.src.in
Show inline comments
 
@@ -220,28 +220,40 @@ endif
 
#  being updated. Now the Makefile continues, the deps are recreated
 
#  and all will be fine.
 
%.h %.hpp %.hpp.sq:
 
	@true
 

	
 

	
 
# Compile all the files according to the targets
 

	
 
$(OBJS_C): %.o: $(SRC_DIR)/%.c $(DEP_MASK) $(FILE_DEP)
 
	$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.c=%.c)'
 
	$(Q)$(CC_HOST) $(CFLAGS) -c -o $@ $<
 

	
 
$(OBJS_CPP): %.o: $(SRC_DIR)/%.cpp $(DEP_MASK) $(FILE_DEP)
 
$(filter-out %sse2.o, $(filter-out %ssse3.o, $(filter-out %sse4.o, $(OBJS_CPP)))): %.o: $(SRC_DIR)/%.cpp $(DEP_MASK) $(FILE_DEP)
 
	$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
 
	$(Q)$(CXX_HOST) $(CFLAGS) $(CXXFLAGS) -c -o $@ $<
 

	
 
$(filter %sse2.o, $(OBJS_CPP)): %.o: $(SRC_DIR)/%.cpp $(DEP_MASK) $(FILE_DEP)
 
	$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
 
	$(Q)$(CXX_HOST) $(CFLAGS) $(CXXFLAGS) -c -msse2 -o $@ $<
 

	
 
$(filter %ssse3.o, $(OBJS_CPP)): %.o: $(SRC_DIR)/%.cpp $(DEP_MASK) $(FILE_DEP)
 
	$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
 
	$(Q)$(CXX_HOST) $(CFLAGS) $(CXXFLAGS) -c -mssse3 -o $@ $<
 

	
 
$(filter %sse4.o, $(OBJS_CPP)): %.o: $(SRC_DIR)/%.cpp $(DEP_MASK) $(FILE_DEP)
 
	$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
 
	$(Q)$(CXX_HOST) $(CFLAGS) $(CXXFLAGS) -c -msse4.1 -o $@ $<
 

	
 
$(OBJS_MM): %.o: $(SRC_DIR)/%.mm $(DEP_MASK) $(FILE_DEP)
 
	$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.mm=%.mm)'
 
	$(Q)$(CC_HOST) $(CFLAGS) -c -o $@ $<
 

	
 
$(OBJS_RC): %.o: $(SRC_DIR)/%.rc $(FILE_DEP)
 
	$(E) '$(STAGE) Compiling resource $(<:$(SRC_DIR)/%.rc=%.rc)'
 
	$(Q)$(WINDRES) -o $@ -I `basename $<` $<
 

	
 
$(BIN_DIR)/$(TTD): $(TTD)
 
	$(Q)cp $(TTD) $(BIN_DIR)/$(TTD)
 
ifeq ($(OS), UNIX)
 
	$(Q)cp $(MEDIA_DIR)/openttd.32.bmp $(BIN_DIR)/baseset/
config.lib
Show inline comments
 
@@ -83,24 +83,25 @@ set_default() {
 
	with_midi_arg=""
 
	with_libtimidity="1"
 
	with_freetype="1"
 
	with_fontconfig="1"
 
	with_icu="1"
 
	static_icu="0"
 
	with_psp_config="1"
 
	with_threads="1"
 
	with_distcc="1"
 
	with_ccache="1"
 
	with_nforenum="1"
 
	with_grfcodec="1"
 
	with_sse="1"
 

	
 
	save_params_array="
 
		build
 
		host
 
		cc_build
 
		cc_host
 
		cxx_build
 
		cxx_host
 
		windres
 
		strip
 
		lipo
 
		awk
 
@@ -157,24 +158,25 @@ set_default() {
 
		with_midi_arg
 
		with_libtimidity
 
		with_freetype
 
		with_fontconfig
 
		with_icu
 
		static_icu
 
		with_psp_config
 
		with_threads
 
		with_distcc
 
		with_ccache
 
		with_grfcodec
 
		with_nforenum
 
		with_sse
 
	CC CXX CFLAGS CXXFLAGS LDFLAGS CFLAGS_BUILD CXXFLAGS_BUILD LDFLAGS_BUILD"
 
}
 

	
 
detect_params() {
 
	# Walk over all params from the user and override any default settings if
 
	#  needed. This also handles any invalid option.
 
	for p in "$@"; do
 
		if [ -n "$prev_p" ]; then
 
			eval "$prev_p=\$p"
 
			prev_p=
 
			continue
 
		fi
 
@@ -438,24 +440,28 @@ detect_params() {
 
			--without-osx-sysroot)        with_osx_sysroot="0";;
 
			--with-osx-sysroot)           with_osx_sysroot="2";;
 
			--with-osx-sysroot=*)         with_osx_sysroot="$optarg";;
 

	
 
			--without-application-bundle) with_application_bundle="0";;
 
			--with-application-bundle)    with_application_bundle="1";;
 
			--with-application-bundle=*)  with_application_bundle="$optarg";;
 

	
 
			--without-threads)            with_threads="0";;
 
			--with-threads)               with_threads="1";;
 
			--with-threads=*)             with_threads="$optarg";;
 

	
 
			--without-sse)                with_sse="0";;
 
			--with-sse)                   with_sse="1";;
 
			--with-sse=*)                 with_sse="$optarg";;
 

	
 
			CC=* | --CC=*)                CC="$optarg";;
 
			CXX=* | --CXX=*)              CXX="$optarg";;
 
			CFLAGS=* | --CFLAGS=*)        CFLAGS="$optarg";;
 
			CXXFLAGS=* | --CXXFLAGS=*)    CXXFLAGS="$optarg";;
 
			LDFLAGS=* | --LDFLAGS=*)      LDFLAGS="$optarg";;
 
			CFLAGS_BUILD=* | --CFLAGS_BUILD=* | --CFLAGS-BUILD=*)     CFLAGS_BUILD="$optarg";;
 
			CXXFLAGS_BUILD=* | --CXXFLAGS_BUILD=* | --CXXFLAGS-BUILD=*) CXXFLAGS_BUILD="$optarg";;
 
			LDFLAGS_BUILD=* | --LDFLAGS_BUILD=* | --LDFLAGS-BUILD=*)   LDFLAGS_BUILD="$optarg";;
 

	
 
			--ignore-extra-parameters)    ignore_extra_parameters="1";;
 

	
 
			--* | -*)
 
@@ -578,24 +584,25 @@ check_params() {
 
	fi
 
	check_lipo
 

	
 
	if [ "$enable_builtin_depend" != "0" ]; then
 
		log 1 "checking builtin depend... yes"
 
		makedepend="\$(SRC_OBJS_DIR)/\$(DEPEND)"
 
	else
 
		log 1 "checking builtin depend... no"
 
	fi
 

	
 
	check_makedepend
 
	detect_cputype
 
	detect_sse_capable_architecture
 

	
 
	if [ "$enable_static" = "1" ]; then
 
		if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "MORPHOS" ] || [ "$os" = "DOS" ]; then
 
			enable_static="2"
 
		else
 
			enable_static="0"
 
		fi
 
	fi
 

	
 
	if [ "$enable_static" != "0" ]; then
 
		log 1 "checking static... yes"
 

	
 
@@ -1485,24 +1492,27 @@ make_cflags_and_ldflags() {
 
		# wrongly optimizing ^= in loops. This disables the failing optimisation.
 
		CFLAGS="$CFLAGS -fno-expensive-optimizations"
 
	fi
 

	
 
	if [ "$enable_profiling" != "0" ]; then
 
		CFLAGS="$CFLAGS -p"
 
		LDFLAGS="$LDFLAGS -pg"
 
	fi
 

	
 
	if [ "$with_threads" = "0" ]; then
 
		CFLAGS="$CFLAGS -DNO_THREADS"
 
	fi
 
	if [ "$with_sse" = "1" ]; then
 
		CFLAGS="$CFLAGS -DWITH_SSE"
 
	fi
 

	
 
	if [ "`echo $1 | cut -c 1-3`" != "icc" ]; then
 
		if [ "$os" = "CYGWIN" ]; then
 
			flags="$flags -mwin32"
 
			LDFLAGS="$LDFLAGS -mwin32"
 
		fi
 
		if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ]; then
 
			if [ $cc_version -lt 46 ]; then
 
				flags="$flags -mno-cygwin"
 
				LDFLAGS="$LDFLAGS -mno-cygwin"
 
			fi
 

	
 
@@ -3315,24 +3325,58 @@ detect_cputype() {
 
	echo "int main() { return 0; }" >> tmp.64bit.cpp
 
	execute="$cxx_host $CFLAGS tmp.64bit.cpp -o tmp.64bit -DTESTING 2>&1"
 
	cpu_type="`eval $execute 2>/dev/null`"
 
	ret=$?
 
	log 2 "executing $execute"
 
	log 2 "  returned $cpu_type"
 
	log 2 "  exit code $ret"
 
	if [ "$ret" = "0" ]; then cpu_type="64"; else cpu_type="32"; fi
 
	log 1 "detecting cpu-type... $cpu_type bits"
 
	rm -f tmp.64bit tmp.64bit.cpp
 
}
 

	
 
detect_sse_capable_architecture() {
 
	# 0 means no, 1 is auto-detect, 2 is force
 
	if [ "$with_sse" = "0" ]; then
 
		log 1 "checking SSE... disabled"
 
		return
 
	fi
 

	
 
	echo "#define _SQ64 1" > tmp.sse.cpp
 
	echo "#include <xmmintrin.h>" >> tmp.sse.cpp
 
	echo "#include <smmintrin.h>" >> tmp.sse.cpp
 
	echo "#include <tmmintrin.h>" >> tmp.sse.cpp
 
	echo "int main() { return 0; }" >> tmp.sse.cpp
 
	execute="$cxx_host -msse4.1 $CFLAGS tmp.sse.cpp -o tmp.sse 2>&1"
 
	sse="`eval $execute 2>/dev/null`"
 
	ret=$?
 
	log 2 "executing $execute"
 
	log 2 "  returned $sse"
 
	log 2 "  exit code $ret"
 
	if [ "$ret" = "0" ]; then
 
		log 1 "detecting SSE... found"
 
	else
 
		# It was forced, so it should be found.
 
		if [ "$with_sse" != "1" ]; then
 
			log 1 "configure: error: SSE couln't be found"
 
			log 1 "configure: error: you force enabled SSE, but it seems unavailable"
 
			exit 1
 
		fi
 

	
 
		log 1 "detecting SSE... not found"
 
		with_sse="0"
 
	fi
 
	rm -f tmp.sse tmp.sse.cpp
 
}
 

	
 
make_sed() {
 
	T_CFLAGS="$CFLAGS"
 
	T_CXXFLAGS="$CXXFLAGS"
 
	T_LDFLAGS="$LDFLAGS"
 

	
 
	SRC_OBJS_DIR="$BASE_SRC_OBJS_DIR/$OBJS_SUBDIR"
 

	
 
	# All the data needed to compile a single target
 
	#  Make sure if you compile multiple targets to
 
	#  use multiple OBJS_DIR, because all in-between
 
	#  binaries are stored in there, and nowhere else.
 
	SRC_REPLACE="
 
@@ -3705,24 +3749,26 @@ showhelp() {
 
	echo "  --with-xdg-basedir[=\"pkg-config libxdg-basedir\"]"
 
	echo "                                 enables XDG base directory support"
 
	echo "  --with-icu[=icu-config]        enables icu (used for right-to-left support)"
 
	echo "  --static-icu                   try to link statically (libsicu instead of"
 
	echo "                                 libicu; can fail as the new name is guessed)"
 
	echo "  --with-iconv[=iconv-path]      enables iconv support"
 
	echo "  --with-psp-config[=psp-config] enables psp-config support (PSP ONLY)"
 
	echo "  --disable-builtin-depend       disable use of builtin deps finder"
 
	echo "  --with-makedepend[=makedepend] enables makedepend support"
 
	echo "  --with-ccache                  enables ccache support"
 
	echo "  --with-distcc                  enables distcc support"
 
	echo "  --without-grfcodec             disable usage of grfcodec and re-generation of base sets"
 
	echo "  --without-threads              disable threading support"
 
	echo "  --without-sse                  disable SSE support (x86/x86_64 only)"
 
	echo ""
 
	echo "Some influential environment variables:"
 
	echo "  CC                             C compiler command"
 
	echo "  CXX                            C++ compiler command"
 
	echo "  CFLAGS                         C compiler flags"
 
	echo "  CXXFLAGS                       C++ compiler flags"
 
	echo "  WINDRES                        windres command"
 
	echo "  LDFLAGS                        linker flags, e.g. -L<lib dir> if you"
 
	echo "                                 have libraries in a nonstandard"
 
	echo "                                 directory <lib dir>"
 
	echo "  CFLAGS_BUILD                   C compiler flags for build time tool generation"
 
	echo "  CXXFLAGS_BUILD                 C++ compiler flags for build time tool generation"
configure
Show inline comments
 
@@ -120,24 +120,25 @@ AWKCOMMAND='
 
		if ($0 == "COCOA"       && "'$with_cocoa'" == "0")         { next; }
 
		if ($0 == "DOS"         && "'$os'" != "DOS")               { next; }
 
		if ($0 == "BEOS"        && "'$os'" != "BEOS" &&
 
		                                       "'$os'" != "HAIKU") { next; }
 
		if ($0 == "WIN32"       && "'$os'" != "MINGW" &&
 
		                 "'$os'" != "CYGWIN" && "'$os'" != "MSVC") { next; }
 
		if ($0 == "MORPHOS"     && "'$os'" != "MORPHOS")           { next; }
 
		if ($0 == "WINCE"       && "'$os'" != "WINCE")             { next; }
 
		if ($0 == "MSVC"        && "'$os'" != "MSVC")              { next; }
 
		if ($0 == "DIRECTMUSIC" && "'$with_direct_music'" == "0")  { next; }
 
		if ($0 == "LIBTIMIDITY" && "'$libtimidity'" == "" )        { next; }
 
		if ($0 == "HAVE_THREAD" && "'$with_threads'" == "0")       { next; }
 
		if ($0 == "SSE"         && "'$with_sse'" != "1")           { next; }
 

	
 
		skip += 1;
 

	
 
		next;
 
	}
 
	/^(	*)#/ { next }
 
	/^$/ { next }
 
	/\.h$/ { next }
 
	/\.hpp$/ { next }
 
	{
 
		if (deep == skip) {
 
			gsub("	", "", $0);
projects/openttd_vs100.vcxproj
Show inline comments
 
@@ -93,25 +93,25 @@
 
      <TypeLibraryName>.\Release/openttd.tlb</TypeLibraryName>
 
      <HeaderFileName>
 
      </HeaderFileName>
 
    </Midl>
 
    <ClCompile>
 
      <AdditionalOptions>/MP /J %(AdditionalOptions)</AdditionalOptions>
 
      <Optimization>Full</Optimization>
 
      <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
 
      <IntrinsicFunctions>true</IntrinsicFunctions>
 
      <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
 
      <OmitFramePointers>true</OmitFramePointers>
 
      <AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 
      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 
      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 
      <StringPooling>true</StringPooling>
 
      <ExceptionHandling>Sync</ExceptionHandling>
 
      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
 
      <StructMemberAlignment>4Bytes</StructMemberAlignment>
 
      <BufferSecurityCheck>false</BufferSecurityCheck>
 
      <FunctionLevelLinking>true</FunctionLevelLinking>
 
      <PrecompiledHeader>
 
      </PrecompiledHeader>
 
      <PrecompiledHeaderFile>
 
      </PrecompiledHeaderFile>
 
      <PrecompiledHeaderOutputFile>
 
      </PrecompiledHeaderOutputFile>
 
@@ -147,25 +147,25 @@
 
    </Link>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
 
    <Midl>
 
      <TypeLibraryName>.\Debug/openttd.tlb</TypeLibraryName>
 
      <HeaderFileName>
 
      </HeaderFileName>
 
    </Midl>
 
    <ClCompile>
 
      <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
 
      <Optimization>Disabled</Optimization>
 
      <AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 
      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
 
      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
 
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
 
      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
 
      <PrecompiledHeader>
 
      </PrecompiledHeader>
 
      <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
 
      <ObjectFileName>$(IntDir)</ObjectFileName>
 
      <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
 
      <WarningLevel>Level3</WarningLevel>
 
      <TreatWarningAsError>false</TreatWarningAsError>
 
      <SuppressStartupBanner>true</SuppressStartupBanner>
 
      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
 
      <CallingConvention>FastCall</CallingConvention>
 
@@ -195,25 +195,25 @@
 
      <TypeLibraryName>.\Release/openttd.tlb</TypeLibraryName>
 
      <HeaderFileName>
 
      </HeaderFileName>
 
    </Midl>
 
    <ClCompile>
 
      <AdditionalOptions>/MP /J %(AdditionalOptions)</AdditionalOptions>
 
      <Optimization>Full</Optimization>
 
      <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
 
      <IntrinsicFunctions>true</IntrinsicFunctions>
 
      <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
 
      <OmitFramePointers>true</OmitFramePointers>
 
      <AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 
      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 
      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 
      <StringPooling>true</StringPooling>
 
      <ExceptionHandling>Sync</ExceptionHandling>
 
      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
 
      <StructMemberAlignment>Default</StructMemberAlignment>
 
      <BufferSecurityCheck>false</BufferSecurityCheck>
 
      <FunctionLevelLinking>true</FunctionLevelLinking>
 
      <PrecompiledHeader>
 
      </PrecompiledHeader>
 
      <PrecompiledHeaderFile>
 
      </PrecompiledHeaderFile>
 
      <PrecompiledHeaderOutputFile>
 
      </PrecompiledHeaderOutputFile>
 
@@ -247,25 +247,25 @@
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
 
    <Midl>
 
      <TargetEnvironment>X64</TargetEnvironment>
 
      <TypeLibraryName>.\Debug/openttd.tlb</TypeLibraryName>
 
      <HeaderFileName>
 
      </HeaderFileName>
 
    </Midl>
 
    <ClCompile>
 
      <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
 
      <Optimization>Disabled</Optimization>
 
      <AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 
      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 
      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
 
      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
 
      <PrecompiledHeader>
 
      </PrecompiledHeader>
 
      <PrecompiledHeaderFile>
 
      </PrecompiledHeaderFile>
 
      <PrecompiledHeaderOutputFile>
 
      </PrecompiledHeaderOutputFile>
 
      <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
 
      <ObjectFileName>$(IntDir)</ObjectFileName>
 
      <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
 
      <WarningLevel>Level3</WarningLevel>
projects/openttd_vs100.vcxproj.in
Show inline comments
 
@@ -93,25 +93,25 @@
 
      <TypeLibraryName>.\Release/openttd.tlb</TypeLibraryName>
 
      <HeaderFileName>
 
      </HeaderFileName>
 
    </Midl>
 
    <ClCompile>
 
      <AdditionalOptions>/MP /J %(AdditionalOptions)</AdditionalOptions>
 
      <Optimization>Full</Optimization>
 
      <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
 
      <IntrinsicFunctions>true</IntrinsicFunctions>
 
      <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
 
      <OmitFramePointers>true</OmitFramePointers>
 
      <AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 
      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 
      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 
      <StringPooling>true</StringPooling>
 
      <ExceptionHandling>Sync</ExceptionHandling>
 
      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
 
      <StructMemberAlignment>4Bytes</StructMemberAlignment>
 
      <BufferSecurityCheck>false</BufferSecurityCheck>
 
      <FunctionLevelLinking>true</FunctionLevelLinking>
 
      <PrecompiledHeader>
 
      </PrecompiledHeader>
 
      <PrecompiledHeaderFile>
 
      </PrecompiledHeaderFile>
 
      <PrecompiledHeaderOutputFile>
 
      </PrecompiledHeaderOutputFile>
 
@@ -147,25 +147,25 @@
 
    </Link>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
 
    <Midl>
 
      <TypeLibraryName>.\Debug/openttd.tlb</TypeLibraryName>
 
      <HeaderFileName>
 
      </HeaderFileName>
 
    </Midl>
 
    <ClCompile>
 
      <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
 
      <Optimization>Disabled</Optimization>
 
      <AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 
      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
 
      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
 
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
 
      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
 
      <PrecompiledHeader>
 
      </PrecompiledHeader>
 
      <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
 
      <ObjectFileName>$(IntDir)</ObjectFileName>
 
      <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
 
      <WarningLevel>Level3</WarningLevel>
 
      <TreatWarningAsError>false</TreatWarningAsError>
 
      <SuppressStartupBanner>true</SuppressStartupBanner>
 
      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
 
      <CallingConvention>FastCall</CallingConvention>
 
@@ -195,25 +195,25 @@
 
      <TypeLibraryName>.\Release/openttd.tlb</TypeLibraryName>
 
      <HeaderFileName>
 
      </HeaderFileName>
 
    </Midl>
 
    <ClCompile>
 
      <AdditionalOptions>/MP /J %(AdditionalOptions)</AdditionalOptions>
 
      <Optimization>Full</Optimization>
 
      <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
 
      <IntrinsicFunctions>true</IntrinsicFunctions>
 
      <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
 
      <OmitFramePointers>true</OmitFramePointers>
 
      <AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 
      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 
      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 
      <StringPooling>true</StringPooling>
 
      <ExceptionHandling>Sync</ExceptionHandling>
 
      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
 
      <StructMemberAlignment>Default</StructMemberAlignment>
 
      <BufferSecurityCheck>false</BufferSecurityCheck>
 
      <FunctionLevelLinking>true</FunctionLevelLinking>
 
      <PrecompiledHeader>
 
      </PrecompiledHeader>
 
      <PrecompiledHeaderFile>
 
      </PrecompiledHeaderFile>
 
      <PrecompiledHeaderOutputFile>
 
      </PrecompiledHeaderOutputFile>
 
@@ -247,25 +247,25 @@
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
 
    <Midl>
 
      <TargetEnvironment>X64</TargetEnvironment>
 
      <TypeLibraryName>.\Debug/openttd.tlb</TypeLibraryName>
 
      <HeaderFileName>
 
      </HeaderFileName>
 
    </Midl>
 
    <ClCompile>
 
      <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
 
      <Optimization>Disabled</Optimization>
 
      <AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 
      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 
      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
 
      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
 
      <PrecompiledHeader>
 
      </PrecompiledHeader>
 
      <PrecompiledHeaderFile>
 
      </PrecompiledHeaderFile>
 
      <PrecompiledHeaderOutputFile>
 
      </PrecompiledHeaderOutputFile>
 
      <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
 
      <ObjectFileName>$(IntDir)</ObjectFileName>
 
      <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
 
      <WarningLevel>Level3</WarningLevel>
projects/openttd_vs80.vcproj
Show inline comments
 
@@ -43,25 +43,25 @@
 
				TypeLibraryName=".\Release/openttd.tlb"
 
				HeaderFileName=""
 
			/>
 
			<Tool
 
				Name="VCCLCompilerTool"
 
				AdditionalOptions="/MP"
 
				Optimization="3"
 
				InlineFunctionExpansion="2"
 
				EnableIntrinsicFunctions="true"
 
				FavorSizeOrSpeed="2"
 
				OmitFramePointers="true"
 
				AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
 
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;WITH_ASSERT"
 
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;WITH_ASSERT"
 
				StringPooling="true"
 
				ExceptionHandling="1"
 
				RuntimeLibrary="0"
 
				StructMemberAlignment="3"
 
				BufferSecurityCheck="false"
 
				EnableFunctionLevelLinking="true"
 
				DefaultCharIsUnsigned="true"
 
				UsePrecompiledHeader="0"
 
				PrecompiledHeaderThrough=""
 
				PrecompiledHeaderFile=""
 
				AssemblerOutput="2"
 
				AssemblerListingLocation="$(IntDir)/"
 
@@ -147,25 +147,25 @@
 
				Name="VCWebServiceProxyGeneratorTool"
 
			/>
 
			<Tool
 
				Name="VCMIDLTool"
 
				TypeLibraryName=".\Debug/openttd.tlb"
 
				HeaderFileName=""
 
			/>
 
			<Tool
 
				Name="VCCLCompilerTool"
 
				AdditionalOptions="/MP"
 
				Optimization="0"
 
				AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
 
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;"
 
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;"
 
				BasicRuntimeChecks="3"
 
				RuntimeLibrary="1"
 
				UsePrecompiledHeader="0"
 
				AssemblerListingLocation="$(IntDir)/"
 
				ObjectFile="$(IntDir)/"
 
				ProgramDataBaseFileName="$(IntDir)/$(TargetName).pdb"
 
				WarningLevel="3"
 
				WarnAsError="false"
 
				SuppressStartupBanner="true"
 
				Detect64BitPortabilityProblems="false"
 
				DebugInformationFormat="4"
 
				CallingConvention="1"
 
@@ -248,25 +248,25 @@
 
				TypeLibraryName=".\Release/openttd.tlb"
 
				HeaderFileName=""
 
			/>
 
			<Tool
 
				Name="VCCLCompilerTool"
 
				AdditionalOptions="/MP"
 
				Optimization="3"
 
				InlineFunctionExpansion="2"
 
				EnableIntrinsicFunctions="true"
 
				FavorSizeOrSpeed="2"
 
				OmitFramePointers="true"
 
				AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
 
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64;WITH_ASSERT"
 
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64;WITH_ASSERT"
 
				StringPooling="true"
 
				ExceptionHandling="1"
 
				RuntimeLibrary="0"
 
				StructMemberAlignment="0"
 
				BufferSecurityCheck="false"
 
				EnableFunctionLevelLinking="true"
 
				DefaultCharIsUnsigned="true"
 
				UsePrecompiledHeader="0"
 
				PrecompiledHeaderThrough=""
 
				PrecompiledHeaderFile=""
 
				AssemblerOutput="2"
 
				AssemblerListingLocation="$(IntDir)/"
 
@@ -353,25 +353,25 @@
 
			/>
 
			<Tool
 
				Name="VCMIDLTool"
 
				TargetEnvironment="3"
 
				TypeLibraryName=".\Debug/openttd.tlb"
 
				HeaderFileName=""
 
			/>
 
			<Tool
 
				Name="VCCLCompilerTool"
 
				AdditionalOptions="/MP"
 
				Optimization="0"
 
				AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
 
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64"
 
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64"
 
				BasicRuntimeChecks="3"
 
				RuntimeLibrary="1"
 
				UsePrecompiledHeader="0"
 
				PrecompiledHeaderThrough=""
 
				PrecompiledHeaderFile=""
 
				AssemblerListingLocation="$(IntDir)/"
 
				ObjectFile="$(IntDir)/"
 
				ProgramDataBaseFileName="$(IntDir)/$(TargetName).pdb"
 
				WarningLevel="3"
 
				WarnAsError="false"
 
				SuppressStartupBanner="true"
 
				Detect64BitPortabilityProblems="false"
projects/openttd_vs80.vcproj.in
Show inline comments
 
@@ -43,25 +43,25 @@
 
				TypeLibraryName=".\Release/openttd.tlb"
 
				HeaderFileName=""
 
			/>
 
			<Tool
 
				Name="VCCLCompilerTool"
 
				AdditionalOptions="/MP"
 
				Optimization="3"
 
				InlineFunctionExpansion="2"
 
				EnableIntrinsicFunctions="true"
 
				FavorSizeOrSpeed="2"
 
				OmitFramePointers="true"
 
				AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
 
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;WITH_ASSERT"
 
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;WITH_ASSERT"
 
				StringPooling="true"
 
				ExceptionHandling="1"
 
				RuntimeLibrary="0"
 
				StructMemberAlignment="3"
 
				BufferSecurityCheck="false"
 
				EnableFunctionLevelLinking="true"
 
				DefaultCharIsUnsigned="true"
 
				UsePrecompiledHeader="0"
 
				PrecompiledHeaderThrough=""
 
				PrecompiledHeaderFile=""
 
				AssemblerOutput="2"
 
				AssemblerListingLocation="$(IntDir)/"
 
@@ -147,25 +147,25 @@
 
				Name="VCWebServiceProxyGeneratorTool"
 
			/>
 
			<Tool
 
				Name="VCMIDLTool"
 
				TypeLibraryName=".\Debug/openttd.tlb"
 
				HeaderFileName=""
 
			/>
 
			<Tool
 
				Name="VCCLCompilerTool"
 
				AdditionalOptions="/MP"
 
				Optimization="0"
 
				AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
 
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;"
 
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;"
 
				BasicRuntimeChecks="3"
 
				RuntimeLibrary="1"
 
				UsePrecompiledHeader="0"
 
				AssemblerListingLocation="$(IntDir)/"
 
				ObjectFile="$(IntDir)/"
 
				ProgramDataBaseFileName="$(IntDir)/$(TargetName).pdb"
 
				WarningLevel="3"
 
				WarnAsError="false"
 
				SuppressStartupBanner="true"
 
				Detect64BitPortabilityProblems="false"
 
				DebugInformationFormat="4"
 
				CallingConvention="1"
 
@@ -248,25 +248,25 @@
 
				TypeLibraryName=".\Release/openttd.tlb"
 
				HeaderFileName=""
 
			/>
 
			<Tool
 
				Name="VCCLCompilerTool"
 
				AdditionalOptions="/MP"
 
				Optimization="3"
 
				InlineFunctionExpansion="2"
 
				EnableIntrinsicFunctions="true"
 
				FavorSizeOrSpeed="2"
 
				OmitFramePointers="true"
 
				AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
 
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64;WITH_ASSERT"
 
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64;WITH_ASSERT"
 
				StringPooling="true"
 
				ExceptionHandling="1"
 
				RuntimeLibrary="0"
 
				StructMemberAlignment="0"
 
				BufferSecurityCheck="false"
 
				EnableFunctionLevelLinking="true"
 
				DefaultCharIsUnsigned="true"
 
				UsePrecompiledHeader="0"
 
				PrecompiledHeaderThrough=""
 
				PrecompiledHeaderFile=""
 
				AssemblerOutput="2"
 
				AssemblerListingLocation="$(IntDir)/"
 
@@ -353,25 +353,25 @@
 
			/>
 
			<Tool
 
				Name="VCMIDLTool"
 
				TargetEnvironment="3"
 
				TypeLibraryName=".\Debug/openttd.tlb"
 
				HeaderFileName=""
 
			/>
 
			<Tool
 
				Name="VCCLCompilerTool"
 
				AdditionalOptions="/MP"
 
				Optimization="0"
 
				AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
 
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64"
 
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64"
 
				BasicRuntimeChecks="3"
 
				RuntimeLibrary="1"
 
				UsePrecompiledHeader="0"
 
				PrecompiledHeaderThrough=""
 
				PrecompiledHeaderFile=""
 
				AssemblerListingLocation="$(IntDir)/"
 
				ObjectFile="$(IntDir)/"
 
				ProgramDataBaseFileName="$(IntDir)/$(TargetName).pdb"
 
				WarningLevel="3"
 
				WarnAsError="false"
 
				SuppressStartupBanner="true"
 
				Detect64BitPortabilityProblems="false"
projects/openttd_vs90.vcproj
Show inline comments
 
@@ -44,25 +44,25 @@
 
				TypeLibraryName=".\Release/openttd.tlb"
 
				HeaderFileName=""
 
			/>
 
			<Tool
 
				Name="VCCLCompilerTool"
 
				AdditionalOptions="/MP"
 
				Optimization="3"
 
				InlineFunctionExpansion="2"
 
				EnableIntrinsicFunctions="true"
 
				FavorSizeOrSpeed="2"
 
				OmitFramePointers="true"
 
				AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
 
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;WITH_ASSERT"
 
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;WITH_ASSERT"
 
				StringPooling="true"
 
				ExceptionHandling="1"
 
				RuntimeLibrary="0"
 
				StructMemberAlignment="3"
 
				BufferSecurityCheck="false"
 
				EnableFunctionLevelLinking="true"
 
				DefaultCharIsUnsigned="true"
 
				UsePrecompiledHeader="0"
 
				PrecompiledHeaderThrough=""
 
				PrecompiledHeaderFile=""
 
				AssemblerOutput="2"
 
				AssemblerListingLocation="$(IntDir)/"
 
@@ -146,25 +146,25 @@
 
				Name="VCWebServiceProxyGeneratorTool"
 
			/>
 
			<Tool
 
				Name="VCMIDLTool"
 
				TypeLibraryName=".\Debug/openttd.tlb"
 
				HeaderFileName=""
 
			/>
 
			<Tool
 
				Name="VCCLCompilerTool"
 
				AdditionalOptions="/MP"
 
				Optimization="0"
 
				AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
 
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;"
 
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;"
 
				BasicRuntimeChecks="3"
 
				RuntimeLibrary="1"
 
				UsePrecompiledHeader="0"
 
				AssemblerListingLocation="$(IntDir)/"
 
				ObjectFile="$(IntDir)/"
 
				ProgramDataBaseFileName="$(IntDir)/$(TargetName).pdb"
 
				WarningLevel="3"
 
				WarnAsError="false"
 
				SuppressStartupBanner="true"
 
				Detect64BitPortabilityProblems="false"
 
				DebugInformationFormat="4"
 
				CallingConvention="1"
 
@@ -246,25 +246,25 @@
 
				TypeLibraryName=".\Release/openttd.tlb"
 
				HeaderFileName=""
 
			/>
 
			<Tool
 
				Name="VCCLCompilerTool"
 
				AdditionalOptions="/MP"
 
				Optimization="3"
 
				InlineFunctionExpansion="2"
 
				EnableIntrinsicFunctions="true"
 
				FavorSizeOrSpeed="2"
 
				OmitFramePointers="true"
 
				AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
 
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64;WITH_ASSERT"
 
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64;WITH_ASSERT"
 
				StringPooling="true"
 
				ExceptionHandling="1"
 
				RuntimeLibrary="0"
 
				StructMemberAlignment="0"
 
				BufferSecurityCheck="false"
 
				EnableFunctionLevelLinking="true"
 
				DefaultCharIsUnsigned="true"
 
				UsePrecompiledHeader="0"
 
				PrecompiledHeaderThrough=""
 
				PrecompiledHeaderFile=""
 
				AssemblerOutput="2"
 
				AssemblerListingLocation="$(IntDir)/"
 
@@ -350,25 +350,25 @@
 
			/>
 
			<Tool
 
				Name="VCMIDLTool"
 
				TargetEnvironment="3"
 
				TypeLibraryName=".\Debug/openttd.tlb"
 
				HeaderFileName=""
 
			/>
 
			<Tool
 
				Name="VCCLCompilerTool"
 
				AdditionalOptions="/MP"
 
				Optimization="0"
 
				AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
 
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64"
 
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64"
 
				BasicRuntimeChecks="3"
 
				RuntimeLibrary="1"
 
				UsePrecompiledHeader="0"
 
				PrecompiledHeaderThrough=""
 
				PrecompiledHeaderFile=""
 
				AssemblerListingLocation="$(IntDir)/"
 
				ObjectFile="$(IntDir)/"
 
				ProgramDataBaseFileName="$(IntDir)/$(TargetName).pdb"
 
				WarningLevel="3"
 
				WarnAsError="false"
 
				SuppressStartupBanner="true"
 
				Detect64BitPortabilityProblems="false"
projects/openttd_vs90.vcproj.in
Show inline comments
 
@@ -44,25 +44,25 @@
 
				TypeLibraryName=".\Release/openttd.tlb"
 
				HeaderFileName=""
 
			/>
 
			<Tool
 
				Name="VCCLCompilerTool"
 
				AdditionalOptions="/MP"
 
				Optimization="3"
 
				InlineFunctionExpansion="2"
 
				EnableIntrinsicFunctions="true"
 
				FavorSizeOrSpeed="2"
 
				OmitFramePointers="true"
 
				AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
 
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;WITH_ASSERT"
 
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;WITH_ASSERT"
 
				StringPooling="true"
 
				ExceptionHandling="1"
 
				RuntimeLibrary="0"
 
				StructMemberAlignment="3"
 
				BufferSecurityCheck="false"
 
				EnableFunctionLevelLinking="true"
 
				DefaultCharIsUnsigned="true"
 
				UsePrecompiledHeader="0"
 
				PrecompiledHeaderThrough=""
 
				PrecompiledHeaderFile=""
 
				AssemblerOutput="2"
 
				AssemblerListingLocation="$(IntDir)/"
 
@@ -146,25 +146,25 @@
 
				Name="VCWebServiceProxyGeneratorTool"
 
			/>
 
			<Tool
 
				Name="VCMIDLTool"
 
				TypeLibraryName=".\Debug/openttd.tlb"
 
				HeaderFileName=""
 
			/>
 
			<Tool
 
				Name="VCCLCompilerTool"
 
				AdditionalOptions="/MP"
 
				Optimization="0"
 
				AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
 
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;"
 
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;"
 
				BasicRuntimeChecks="3"
 
				RuntimeLibrary="1"
 
				UsePrecompiledHeader="0"
 
				AssemblerListingLocation="$(IntDir)/"
 
				ObjectFile="$(IntDir)/"
 
				ProgramDataBaseFileName="$(IntDir)/$(TargetName).pdb"
 
				WarningLevel="3"
 
				WarnAsError="false"
 
				SuppressStartupBanner="true"
 
				Detect64BitPortabilityProblems="false"
 
				DebugInformationFormat="4"
 
				CallingConvention="1"
 
@@ -246,25 +246,25 @@
 
				TypeLibraryName=".\Release/openttd.tlb"
 
				HeaderFileName=""
 
			/>
 
			<Tool
 
				Name="VCCLCompilerTool"
 
				AdditionalOptions="/MP"
 
				Optimization="3"
 
				InlineFunctionExpansion="2"
 
				EnableIntrinsicFunctions="true"
 
				FavorSizeOrSpeed="2"
 
				OmitFramePointers="true"
 
				AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
 
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64;WITH_ASSERT"
 
				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64;WITH_ASSERT"
 
				StringPooling="true"
 
				ExceptionHandling="1"
 
				RuntimeLibrary="0"
 
				StructMemberAlignment="0"
 
				BufferSecurityCheck="false"
 
				EnableFunctionLevelLinking="true"
 
				DefaultCharIsUnsigned="true"
 
				UsePrecompiledHeader="0"
 
				PrecompiledHeaderThrough=""
 
				PrecompiledHeaderFile=""
 
				AssemblerOutput="2"
 
				AssemblerListingLocation="$(IntDir)/"
 
@@ -350,25 +350,25 @@
 
			/>
 
			<Tool
 
				Name="VCMIDLTool"
 
				TargetEnvironment="3"
 
				TypeLibraryName=".\Debug/openttd.tlb"
 
				HeaderFileName=""
 
			/>
 
			<Tool
 
				Name="VCCLCompilerTool"
 
				AdditionalOptions="/MP"
 
				Optimization="0"
 
				AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
 
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64"
 
				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_SSE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64"
 
				BasicRuntimeChecks="3"
 
				RuntimeLibrary="1"
 
				UsePrecompiledHeader="0"
 
				PrecompiledHeaderThrough=""
 
				PrecompiledHeaderFile=""
 
				AssemblerListingLocation="$(IntDir)/"
 
				ObjectFile="$(IntDir)/"
 
				ProgramDataBaseFileName="$(IntDir)/$(TargetName).pdb"
 
				WarningLevel="3"
 
				WarnAsError="false"
 
				SuppressStartupBanner="true"
 
				Detect64BitPortabilityProblems="false"
0 comments (0 inline, 0 general)