(svn r20032) -Add: MSVC 2010 project files
This commit is contained in:
		| @@ -22,15 +22,28 @@ then | |||||||
| 	exit 1 | 	exit 1 | ||||||
| fi | fi | ||||||
|  |  | ||||||
|  | # openttd_vs100.sln             is for MSVC 2010 | ||||||
|  | # openttd_vs100.vcxproj         is for MSVC 2010 | ||||||
|  | # openttd_vs100.vcxproj.filters is for MSVC 2010 | ||||||
|  | # langs_vs100.vcxproj           is for MSVC 2010 | ||||||
|  | # strgen_vs100.vcxproj          is for MSVC 2010 | ||||||
|  | # strgen_vs100.vcxproj.filters  is for MSVC 2010 | ||||||
|  | # generate_vs100.vcxproj        is for MSVC 2010 | ||||||
|  | # version_vs100.vcxproj         is for MSVC 2010 | ||||||
|  |  | ||||||
| # openttd_vs90.sln              is for MSVC 2008 | # openttd_vs90.sln              is for MSVC 2008 | ||||||
| # openttd_vs90.vcproj           is for MSVC 2008 | # openttd_vs90.vcproj           is for MSVC 2008 | ||||||
| # langs_vs90.vcproj             is for MSVC 2008 | # langs_vs90.vcproj             is for MSVC 2008 | ||||||
| # strgen_vs90.vcproj            is for MSVC 2008 | # strgen_vs90.vcproj            is for MSVC 2008 | ||||||
|  | # generate_vs90.vcproj          is for MSVC 2008 | ||||||
|  | # version_vs90.vcproj           is for MSVC 2008 | ||||||
|  |  | ||||||
| # openttd_vs80.sln              is for MSVC 2005 | # openttd_vs80.sln              is for MSVC 2005 | ||||||
| # openttd_vs80.vcproj           is for MSVC 2005 | # openttd_vs80.vcproj           is for MSVC 2005 | ||||||
| # langs_vs80.vcproj             is for MSVC 2005 | # langs_vs80.vcproj             is for MSVC 2005 | ||||||
| # strgen_vs80.vcproj            is for MSVC 2005 | # strgen_vs80.vcproj            is for MSVC 2005 | ||||||
|  | # generate_vs80.vcproj          is for MSVC 2005 | ||||||
|  | # version_vs80.vcproj           is for MSVC 2005 | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -117,14 +130,19 @@ load_main_data() { | |||||||
| 				gsub("^ ", "", $0); | 				gsub("^ ", "", $0); | ||||||
|  |  | ||||||
| 				if (first_time != 0) { | 				if (first_time != 0) { | ||||||
| 					print "		</Filter>"; | 					print "#1		</Filter>"; | ||||||
| 				} else { | 				} else { | ||||||
| 					first_time = 1; | 					first_time = 1; | ||||||
| 				} | 				} | ||||||
|  |  | ||||||
| 				print "		<Filter"; | 				filter = $0; | ||||||
| 				print "			Name=\\""$0"\\""; | 				print "#1		<Filter"; | ||||||
| 				print "			>"; | 				print "#1			Name=\\""filter"\\""; | ||||||
|  | 				print "#1			>"; | ||||||
|  | 				print "#3    <Filter Include=\\""filter"\\">"; | ||||||
|  | 				printf "#3      <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-%012d}</UniqueIdentifier>\n", i; | ||||||
|  | 				print "#3    </Filter>"; | ||||||
|  | 				i += 1; | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
| 			next; | 			next; | ||||||
| @@ -134,13 +152,21 @@ load_main_data() { | |||||||
| 			if (deep == skip) { | 			if (deep == skip) { | ||||||
| 				gsub("	", "", $0); | 				gsub("	", "", $0); | ||||||
| 				gsub("/", "\\\\", $0); | 				gsub("/", "\\\\", $0); | ||||||
| 				print "			<File"; | 				print "#1			<File"; | ||||||
| 				print "				RelativePath=\\".\\\\'$file_prefix'"$0"\\""; | 				print "#1				RelativePath=\\".\\\\'$file_prefix'"$0"\\""; | ||||||
| 				print "				>"; | 				print "#1				>"; | ||||||
| 				print "			</File>"; | 				print "#1			</File>"; | ||||||
|  | 				split($0, file, "."); | ||||||
|  | 				cltype = "ClInclude" | ||||||
|  | 				if (file[2] == "cpp") cltype = "ClCompile"; | ||||||
|  | 				if (file[2] == "rc") cltype = "ResourceCompile"; | ||||||
|  | 				print "#2    <"cltype" Include=\\"'$file_prefix'"$0"\\" />"; | ||||||
|  | 				print "#4    <"cltype" Include=\\"'$file_prefix'"$0"\\">"; | ||||||
|  | 				print "#4      <Filter>"filter"</Filter>"; | ||||||
|  | 				print "#4    </"cltype">"; | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 		END { print "		</Filter>"; } | 		END { print "#1		</Filter>"; } | ||||||
| 	'`" | 	'`" | ||||||
|  |  | ||||||
| 	eval "$2=\"\$RES\"" | 	eval "$2=\"\$RES\"" | ||||||
| @@ -152,21 +178,27 @@ load_lang_data() { | |||||||
| 	do | 	do | ||||||
| 		i=`basename $i | sed s~.txt$~~g` | 		i=`basename $i | sed s~.txt$~~g` | ||||||
| 		RES="$RES | 		RES="$RES | ||||||
| 		<File | #1		<File | ||||||
| 			RelativePath=\"..\\src\\lang\\"$i".txt\" | #1			RelativePath=\"..\\src\\lang\\"$i".txt\" | ||||||
| 			> | #1			> | ||||||
| 			<FileConfiguration | #1			<FileConfiguration | ||||||
| 				Name=\"Debug|Win32\" | #1				Name=\"Debug|Win32\" | ||||||
| 				> | #1				> | ||||||
| 				<Tool | #1				<Tool | ||||||
| 					Name=\"VCCustomBuildTool\" | #1					Name=\"VCCustomBuildTool\" | ||||||
| 					Description=\"Generating "$i" language file\" | #1					Description=\"Generating "$i" language file\" | ||||||
| 					CommandLine=\"..\\objs\\strgen\\strgen.exe -s ..\\src\\lang -d ..\\bin\\lang "\$(InputPath)"
exit 0
\" | #1					CommandLine=\"..\\objs\\strgen\\strgen.exe -s ..\\src\\lang -d ..\\bin\\lang "\$(InputPath)"
exit 0
\" | ||||||
| 					AdditionalDependencies=\"..\\src\\lang\\english.txt;..\\objs\\strgen\\strgen.exe\" | #1					AdditionalDependencies=\"..\\src\\lang\\english.txt;..\\objs\\strgen\\strgen.exe\" | ||||||
| 					Outputs=\"..\\bin\\lang\\"$i".lng\" | #1					Outputs=\"..\\bin\\lang\\"$i".lng\" | ||||||
| 				/> | #1				/> | ||||||
| 			</FileConfiguration> | #1			</FileConfiguration> | ||||||
| 		</File>" | #1		</File> | ||||||
|  | #2    <CustomBuild Include=\"..\\src\\lang\\"$i".txt\"> | ||||||
|  | #2      <Message Condition=\"'\$(Configuration)|\$(Platform)'=='Debug|Win32'\">Generating "$i" language file</Message> | ||||||
|  | #2      <Command Condition=\"'\$(Configuration)|\$(Platform)'=='Debug|Win32'\">..\\objs\\strgen\\strgen.exe -s ..\\src\\lang -d ..\\bin\\lang \"%(FullPath)\"</Command> | ||||||
|  | #2      <AdditionalInputs Condition=\"'\$(Configuration)|\$(Platform)'=='Debug|Win32'\">..\\src\\lang\\english.txt;..\\objs\\strgen\\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  | #2      <Outputs Condition=\"'\$(Configuration)|\$(Platform)'=='Debug|Win32'\">..\\bin\\lang\\"$i".lng;%(Outputs)</Outputs> | ||||||
|  | #2    </CustomBuild>" | ||||||
| 	done | 	done | ||||||
|  |  | ||||||
| 	eval "$2=\"\$RES\"" | 	eval "$2=\"\$RES\"" | ||||||
| @@ -174,6 +206,30 @@ load_lang_data() { | |||||||
|  |  | ||||||
| generate() { | generate() { | ||||||
| 	echo "Generating $2..." | 	echo "Generating $2..." | ||||||
|  | 	if [ $# -eq 3 ]; then | ||||||
|  | 		# Everything above the !!FILTERS!! marker | ||||||
|  | 		cat "$ROOT_DIR/projects/$2".in | tr '\r' '\n' | awk ' | ||||||
|  | 			/^$/ { next } | ||||||
|  | 			/!!FILTERS!!/ { stop = 1; } | ||||||
|  | 			{ | ||||||
|  | 				if (stop == 0) { print $0 } | ||||||
|  | 			} | ||||||
|  | 		' > "$ROOT_DIR/projects/$2" | ||||||
|  |  | ||||||
|  | 		echo "$3" >> "$ROOT_DIR/projects/$2" | ||||||
|  |  | ||||||
|  | 		# Everything below the !!FILTERS!! marker and above the !!FILES!! marker | ||||||
|  | 		cat "$ROOT_DIR/projects/$2".in | tr '\r' '\n' | awk ' | ||||||
|  | 			BEGIN { stop = 1; } | ||||||
|  | 			/^$/ { next } | ||||||
|  | 			/!!FILTERS!!/ { stop = 2; } | ||||||
|  | 			/!!FILES!!/ { stop = 1; } | ||||||
|  | 			{ | ||||||
|  | 				if (stop == 0) { print $0 } | ||||||
|  | 				if (stop == 2) { stop = 0 } | ||||||
|  | 			} | ||||||
|  | 		' >> "$ROOT_DIR/projects/$2" | ||||||
|  | 	else | ||||||
| 		# Everything above the !!FILES!! marker | 		# Everything above the !!FILES!! marker | ||||||
| 		cat "$ROOT_DIR/projects/$2".in | tr '\r' '\n' | awk ' | 		cat "$ROOT_DIR/projects/$2".in | tr '\r' '\n' | awk ' | ||||||
| 			/^$/ { next } | 			/^$/ { next } | ||||||
| @@ -182,6 +238,7 @@ generate() { | |||||||
| 				if (stop == 0) { print $0 } | 				if (stop == 0) { print $0 } | ||||||
| 			} | 			} | ||||||
| 		' > "$ROOT_DIR/projects/$2" | 		' > "$ROOT_DIR/projects/$2" | ||||||
|  | 	fi | ||||||
|  |  | ||||||
| 	echo "$1" >> "$ROOT_DIR/projects/$2" | 	echo "$1" >> "$ROOT_DIR/projects/$2" | ||||||
|  |  | ||||||
| @@ -200,9 +257,19 @@ generate() { | |||||||
| safety_check "$ROOT_DIR/source.list" | safety_check "$ROOT_DIR/source.list" | ||||||
|  |  | ||||||
| load_main_data "$ROOT_DIR/source.list" openttd | load_main_data "$ROOT_DIR/source.list" openttd | ||||||
|  | openttdfiles=`echo "$openttd" | grep "^#4" | sed "s~#4~~g"` | ||||||
|  | openttdfilters=`echo "$openttd" | grep "^#3" | sed "s~#3~~g"` | ||||||
|  | openttdvcxproj=`echo "$openttd" | grep "^#2" | sed "s~#2~~g"` | ||||||
|  | openttd=`echo "$openttd" | grep "^#1" | sed "s~#1~~g"` | ||||||
|  |  | ||||||
| load_lang_data "$ROOT_DIR/src/lang/*.txt" lang | load_lang_data "$ROOT_DIR/src/lang/*.txt" lang | ||||||
|  | langvcxproj=`echo "$lang" | grep "^#2" | sed "s~#2~~g"` | ||||||
|  | lang=`echo "$lang" | grep "^#1" | sed "s~#1~~g"` | ||||||
|  |  | ||||||
| generate "$openttd" "openttd_vs80.vcproj" | generate "$openttd" "openttd_vs80.vcproj" | ||||||
| generate "$openttd" "openttd_vs90.vcproj" | generate "$openttd" "openttd_vs90.vcproj" | ||||||
|  | generate "$openttdvcxproj" "openttd_vs100.vcxproj" | ||||||
|  | generate "$openttdfiles" "openttd_vs100.vcxproj.filters" "$openttdfilters" | ||||||
| generate "$lang" "langs_vs80.vcproj" | generate "$lang" "langs_vs80.vcproj" | ||||||
| generate "$lang" "langs_vs90.vcproj" | generate "$lang" "langs_vs90.vcproj" | ||||||
|  | generate "$langvcxproj" "langs_vs100.vcxproj" | ||||||
|   | |||||||
| @@ -10,15 +10,28 @@ Option Explicit | |||||||
| Dim FSO | Dim FSO | ||||||
| Set FSO = CreateObject("Scripting.FileSystemObject") | Set FSO = CreateObject("Scripting.FileSystemObject") | ||||||
|  |  | ||||||
|  | ' openttd_vs100.sln             is for MSVC 2010 | ||||||
|  | ' openttd_vs100.vcxproj         is for MSVC 2010 | ||||||
|  | ' openttd_vs100.vcxproj.filters is for MSVC 2010 | ||||||
|  | ' langs_vs100.vcxproj           is for MSVC 2010 | ||||||
|  | ' strgen_vs100.vcxproj          is for MSVC 2010 | ||||||
|  | ' strgen_vs100.vcxproj.filters  is for MSVC 2010 | ||||||
|  | ' generate_vs100.vcxproj        is for MSVC 2010 | ||||||
|  | ' version_vs100.vcxproj         is for MSVC 2010 | ||||||
|  |  | ||||||
| ' openttd_vs90.sln              is for MSVC 2008 | ' openttd_vs90.sln              is for MSVC 2008 | ||||||
| ' openttd_vs90.vcproj           is for MSVC 2008 | ' openttd_vs90.vcproj           is for MSVC 2008 | ||||||
| ' langs_vs90.vcproj             is for MSVC 2008 | ' langs_vs90.vcproj             is for MSVC 2008 | ||||||
| ' strgen_vs90.vcproj            is for MSVC 2008 | ' strgen_vs90.vcproj            is for MSVC 2008 | ||||||
|  | ' generate_vs90.vcproj          is for MSVC 2008 | ||||||
|  | ' version_vs90.vcproj           is for MSVC 2008 | ||||||
|  |  | ||||||
| ' openttd_vs80.sln              is for MSVC 2005 | ' openttd_vs80.sln              is for MSVC 2005 | ||||||
| ' openttd_vs80.vcproj           is for MSVC 2005 | ' openttd_vs80.vcproj           is for MSVC 2005 | ||||||
| ' langs_vs80.vcproj             is for MSVC 2005 | ' langs_vs80.vcproj             is for MSVC 2005 | ||||||
| ' strgen_vs80.vcproj            is for MSVC 2005 | ' strgen_vs80.vcproj            is for MSVC 2005 | ||||||
|  | ' generate_vs80.vcproj          is for MSVC 2005 | ||||||
|  | ' version_vs80.vcproj           is for MSVC 2005 | ||||||
|  |  | ||||||
| Sub safety_check(filename) | Sub safety_check(filename) | ||||||
| 	Dim file, line, regexp, list | 	Dim file, line, regexp, list | ||||||
| @@ -132,9 +145,10 @@ Sub headers_check(filename, dir) | |||||||
| 	End If | 	End If | ||||||
| End Sub | End Sub | ||||||
|  |  | ||||||
| Function load_main_data(filename) | Function load_main_data(filename, ByRef vcxproj, ByRef filters, ByRef files) | ||||||
| 	Dim res, file, line, deep, skip, first_time | 	Dim res, file, line, deep, skip, first_filter, first_file, filter, cltype, index | ||||||
| 	res = "" | 	res = "" | ||||||
|  | 	index = 0 | ||||||
| 	' Read the source.list and process it | 	' Read the source.list and process it | ||||||
| 	Set file = FSO.OpenTextFile(filename, 1, 0, 0) | 	Set file = FSO.OpenTextFile(filename, 1, 0, 0) | ||||||
| 	While Not file.AtEndOfStream | 	While Not file.AtEndOfStream | ||||||
| @@ -165,24 +179,50 @@ Function load_main_data(filename) | |||||||
| 				Case "#" | 				Case "#" | ||||||
| 					if deep = skip Then | 					if deep = skip Then | ||||||
| 						line = Replace(line, "# ", "") | 						line = Replace(line, "# ", "") | ||||||
| 						if first_time <> 0 Then | 						if first_filter <> 0 Then | ||||||
| 							res = res & "		</Filter>" & vbCrLf | 							res = res & "		</Filter>" & vbCrLf | ||||||
|  | 							filters = filters & vbCrLf | ||||||
| 						Else | 						Else | ||||||
| 							first_time = 1 | 							first_filter = 1 | ||||||
| 						End If | 						End If | ||||||
|  | 						filter = line | ||||||
| 						res = res & _ | 						res = res & _ | ||||||
| 						"		<Filter" & vbCrLf & _ | 						"		<Filter" & vbCrLf & _ | ||||||
| 						"			Name=" & Chr(34) & line & Chr(34) & vbCrLf & _ | 						"			Name=" & Chr(34) & filter & Chr(34) & vbCrLf & _ | ||||||
| 						"			>" & vbCrLf | 						"			>" & vbCrLf | ||||||
|  | 						filters = filters & _ | ||||||
|  | 						"    <Filter Include="& Chr(34) & filter & Chr(34) & ">" & vbCrLf & _ | ||||||
|  | 						"      <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-" & String(12 - Len(CStr(index)), "0") & index & "}</UniqueIdentifier>" & vbCrLf & _ | ||||||
|  | 						"    </Filter>" | ||||||
|  | 						index = index + 1 | ||||||
| 					End If | 					End If | ||||||
| 				Case Else | 				Case Else | ||||||
| 					If deep = skip Then | 					If deep = skip Then | ||||||
| 						line = Replace(line, "/" ,"\") | 						line = Replace(line, "/" ,"\") | ||||||
|  | 						if first_file <> 0 Then | ||||||
|  | 							vcxproj = vcxproj & vbCrLf | ||||||
|  | 							files = files & vbCrLf | ||||||
|  | 						Else | ||||||
|  | 							first_file = 1 | ||||||
|  | 						End If | ||||||
| 						res = res & _ | 						res = res & _ | ||||||
| 						"			<File" & vbCrLf & _ | 						"			<File" & vbCrLf & _ | ||||||
| 						"				RelativePath=" & Chr(34) & ".\..\src\" & line & Chr(34) & vbCrLf & _ | 						"				RelativePath=" & Chr(34) & ".\..\src\" & line & Chr(34) & vbCrLf & _ | ||||||
| 						"				>" & vbCrLf & _ | 						"				>" & vbCrLf & _ | ||||||
| 						"			</File>" & vbCrLf | 						"			</File>" & vbCrLf | ||||||
|  | 						Select Case Split(Line, ".")(1) | ||||||
|  | 							Case "cpp" | ||||||
|  | 								cltype = "ClCompile" | ||||||
|  | 							Case "rc" | ||||||
|  | 								cltype = "ResourceCompile" | ||||||
|  | 							Case Else | ||||||
|  | 								cltype = "ClInclude" | ||||||
|  | 						End Select | ||||||
|  | 						vcxproj = vcxproj & "    <" & cltype & " Include="& Chr(34) & "..\src\" & line & Chr(34) & " />" | ||||||
|  | 						files = files & _ | ||||||
|  | 						"    <" & cltype & " Include="& Chr(34) & "..\src\" & line & Chr(34) & ">" & vbCrLf & _ | ||||||
|  | 						"      <Filter>" & filter & "</Filter>" & vbCrLf & _ | ||||||
|  | 						"    </" & cltype & ">" | ||||||
| 					End If | 					End If | ||||||
| 			End Select | 			End Select | ||||||
| 		End If | 		End If | ||||||
| @@ -192,41 +232,66 @@ Function load_main_data(filename) | |||||||
| 	load_main_data = res | 	load_main_data = res | ||||||
| End Function | End Function | ||||||
|  |  | ||||||
| Function load_lang_data(dir) | Function load_lang_data(dir, ByRef vcxproj) | ||||||
| 	Dim res, folder, file | 	Dim res, folder, file, first_time | ||||||
| 	res = "" | 	res = "" | ||||||
| 	Set folder = FSO.GetFolder(dir) | 	Set folder = FSO.GetFolder(dir) | ||||||
| 	For Each file In folder.Files | 	For Each file In folder.Files | ||||||
| 		file = FSO.GetFileName(file) | 		file = FSO.GetFileName(file) | ||||||
| 		If FSO.GetExtensionName(file) = "txt" Then | 		If FSO.GetExtensionName(file) = "txt" Then | ||||||
| 			file = Left(file, Len(file) - 4) | 			file = Left(file, Len(file) - 4) | ||||||
| 			res = res _ | 			if first_time <> 0 Then | ||||||
| 			& vbCrLf & "		<File" _ | 				res = res & vbCrLf | ||||||
| 			& vbCrLf & "			RelativePath=" & Chr(34) & "..\src\lang\" & file & ".txt" & Chr(34) _ | 				vcxproj = vcxproj & vbCrLf | ||||||
| 			& vbCrLf & "			>" _ | 			Else | ||||||
| 			& vbCrLf & "			<FileConfiguration" _ | 				first_time = 1 | ||||||
| 			& vbCrLf & "				Name=" & Chr(34) & "Debug|Win32" & Chr(34) _ | 			End If | ||||||
| 			& vbCrLf & "				>" _ | 			res = res & _ | ||||||
| 			& vbCrLf & "				<Tool" _ | 			"		<File" & vbCrLf & _ | ||||||
| 			& vbCrLf & "					Name=" & Chr(34) & "VCCustomBuildTool" & Chr(34) _ | 			"			RelativePath=" & Chr(34) & "..\src\lang\" & file & ".txt" & Chr(34) & vbCrLf & _ | ||||||
| 			& vbCrLf & "					Description=" & Chr(34) & "Generating " & file & " language file" & Chr(34) _ | 			"			>" & vbCrLf & _ | ||||||
| 			& vbCrLf & "					CommandLine=" & Chr(34) & "..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "$(InputPath)"
exit 0
" & Chr(34) _ | 			"			<FileConfiguration" & vbCrLf & _ | ||||||
| 			& vbCrLf & "					AdditionalDependencies=" & Chr(34) & "..\src\lang\english.txt;..\objs\strgen\strgen.exe" & Chr(34) _ | 			"				Name=" & Chr(34) & "Debug|Win32" & Chr(34) & vbCrLf & _ | ||||||
| 			& vbCrLf & "					Outputs=" & Chr(34) & "..\bin\lang\" & file & ".lng" & Chr(34) _ | 			"				>" & vbCrLf & _ | ||||||
| 			& vbCrLf & "				/>" _ | 			"				<Tool" & vbCrLf & _ | ||||||
| 			& vbCrLf & "			</FileConfiguration>" _ | 			"					Name=" & Chr(34) & "VCCustomBuildTool" & Chr(34) & vbCrLf & _ | ||||||
| 			& vbCrLf & "		</File>" | 			"					Description=" & Chr(34) & "Generating " & file & " language file" & Chr(34) & vbCrLf & _ | ||||||
|  | 			"					CommandLine=" & Chr(34) & "..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "$(InputPath)"
exit 0
" & Chr(34) & vbCrLf & _ | ||||||
|  | 			"					AdditionalDependencies=" & Chr(34) & "..\src\lang\english.txt;..\objs\strgen\strgen.exe" & Chr(34) & vbCrLf & _ | ||||||
|  | 			"					Outputs=" & Chr(34) & "..\bin\lang\" & file & ".lng" & Chr(34) & vbCrLf & _ | ||||||
|  | 			"				/>" & vbCrLf & _ | ||||||
|  | 			"			</FileConfiguration>" & vbCrLf & _ | ||||||
|  | 			"		</File>" | ||||||
|  | 			vcxproj = vcxproj & _ | ||||||
|  | 			"    <CustomBuild Include=" & Chr(34) & "..\src\lang\" & file & ".txt" & Chr(34) & ">" & vbCrLf & _ | ||||||
|  | 			"      <Message Condition=" & Chr(34) & "'$(Configuration)|$(Platform)'=='Debug|Win32'" & Chr(34) & ">Generating " & file & " language file</Message>" & vbCrLf & _ | ||||||
|  | 			"      <Command Condition=" & Chr(34) & "'$(Configuration)|$(Platform)'=='Debug|Win32'" & Chr(34) & ">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang " & Chr(34) & "%(FullPath)" & Chr(34) & "</Command>" & vbCrLf & _ | ||||||
|  | 			"      <AdditionalInputs Condition=" & Chr(34) & "'$(Configuration)|$(Platform)'=='Debug|Win32'" & Chr(34) & ">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>" & vbCrLf & _ | ||||||
|  | 			"      <Outputs Condition=" & Chr(34) & "'$(Configuration)|$(Platform)'=='Debug|Win32'" & Chr(34) & ">..\bin\lang\" & file & ".lng;%(Outputs)</Outputs>" & vbCrLf & _ | ||||||
|  | 			"    </CustomBuild>" | ||||||
| 		End If | 		End If | ||||||
| 	Next | 	Next | ||||||
| 	load_lang_data = res | 	load_lang_data = res | ||||||
| End Function | End Function | ||||||
|  |  | ||||||
| Sub generate(data, dest) | Sub generate(data, dest, data2) | ||||||
| 	Dim srcfile, destfile, line | 	Dim srcfile, destfile, line | ||||||
| 	WScript.Echo "Generating " & FSO.GetFileName(dest) & "..." | 	WScript.Echo "Generating " & FSO.GetFileName(dest) & "..." | ||||||
| 	Set srcfile = FSO.OpenTextFile(dest & ".in", 1, 0, 0) | 	Set srcfile = FSO.OpenTextFile(dest & ".in", 1, 0, 0) | ||||||
| 	Set destfile = FSO.CreateTextFile(dest, -1, 0) | 	Set destfile = FSO.CreateTextFile(dest, -1, 0) | ||||||
|  |  | ||||||
|  | 	If Not IsNull(data2) Then | ||||||
|  | 		' Everything above the !!FILTERS!! marker | ||||||
|  | 		line = srcfile.ReadLine() | ||||||
|  | 		While line <> "!!FILTERS!!" | ||||||
|  | 			If len(line) > 0 Then destfile.WriteLine(line) | ||||||
|  | 			line = srcfile.ReadLine() | ||||||
|  | 		Wend | ||||||
|  |  | ||||||
|  | 		' Our generated content | ||||||
|  | 		destfile.WriteLine(data2) | ||||||
|  | 	End If | ||||||
|  |  | ||||||
| 	' Everything above the !!FILES!! marker | 	' Everything above the !!FILES!! marker | ||||||
| 	line = srcfile.ReadLine() | 	line = srcfile.ReadLine() | ||||||
| 	While line <> "!!FILES!!" | 	While line <> "!!FILES!!" | ||||||
| @@ -260,12 +325,15 @@ End If | |||||||
| safety_check ROOT_DIR & "/source.list" | safety_check ROOT_DIR & "/source.list" | ||||||
| headers_check ROOT_DIR & "/source.list", ROOT_DIR & "\src\" ' Backslashes needed for DoFiles | headers_check ROOT_DIR & "/source.list", ROOT_DIR & "\src\" ' Backslashes needed for DoFiles | ||||||
|  |  | ||||||
| Dim openttd | Dim openttd, openttdvcxproj, openttdfilters, openttdfiles | ||||||
| openttd = load_main_data(ROOT_DIR &"/source.list") | openttd = load_main_data(ROOT_DIR & "/source.list", openttdvcxproj, openttdfilters, openttdfiles) | ||||||
| generate openttd, ROOT_DIR & "/projects/openttd_vs80.vcproj" | generate openttd, ROOT_DIR & "/projects/openttd_vs80.vcproj", Null | ||||||
| generate openttd, ROOT_DIR & "/projects/openttd_vs90.vcproj" | generate openttd, ROOT_DIR & "/projects/openttd_vs90.vcproj", Null | ||||||
|  | generate openttdvcxproj, ROOT_DIR & "/projects/openttd_vs100.vcxproj", Null | ||||||
|  | generate openttdfiles, ROOT_DIR & "/projects/openttd_vs100.vcxproj.filters", openttdfilters | ||||||
|  |  | ||||||
| Dim lang | Dim lang, langvcxproj | ||||||
| lang = load_lang_data(ROOT_DIR & "/src/lang") | lang = load_lang_data(ROOT_DIR & "/src/lang", langvcxproj) | ||||||
| generate lang, ROOT_DIR & "/projects/langs_vs80.vcproj" | generate lang, ROOT_DIR & "/projects/langs_vs80.vcproj", Null | ||||||
| generate lang, ROOT_DIR & "/projects/langs_vs90.vcproj" | generate lang, ROOT_DIR & "/projects/langs_vs90.vcproj", Null | ||||||
|  | generate langvcxproj, ROOT_DIR & "/projects/langs_vs100.vcxproj", Null | ||||||
|   | |||||||
							
								
								
									
										42
									
								
								projects/generate_vs100.vcxproj
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								projects/generate_vs100.vcxproj
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,42 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||||
|  |   <ItemGroup Label="ProjectConfigurations"> | ||||||
|  |     <ProjectConfiguration Include="Debug|Win32"> | ||||||
|  |       <Configuration>Debug</Configuration> | ||||||
|  |       <Platform>Win32</Platform> | ||||||
|  |     </ProjectConfiguration> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <PropertyGroup Label="Globals"> | ||||||
|  |     <ProjectName>generate</ProjectName> | ||||||
|  |     <ProjectGuid>{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}</ProjectGuid> | ||||||
|  |     <RootNamespace>generate</RootNamespace> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||||||
|  |   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | ||||||
|  |     <ConfigurationType>Utility</ConfigurationType> | ||||||
|  |   </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" /> | ||||||
|  |   </ImportGroup> | ||||||
|  |   <PropertyGroup Label="UserMacros" /> | ||||||
|  |   <PropertyGroup> | ||||||
|  |     <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <ItemDefinitionGroup> | ||||||
|  |   </ItemDefinitionGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <CustomBuild Include="..\source.list"> | ||||||
|  |       <FileType>Document</FileType> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Running %27generate.vbs%27 ...</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript "$(ProjectDir)generate.vbs"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(FullPath);%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)openttd_vs80.vcproj;$(SolutionDir)openttd_vs90.vcproj;$(SolutionDir)openttd_vs100.vcxproj;$(SolutionDir)openttd_vs100.vcxproj.filters;$(SolutionDir)langs_vs80.vcproj;$(SolutionDir)langs_vs90.vcproj;$(SolutionDir)langs_vs100.vcxproj;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||||||
|  |   <ImportGroup Label="ExtensionTargets"> | ||||||
|  |   </ImportGroup> | ||||||
|  | </Project> | ||||||
| @@ -14,8 +14,6 @@ | |||||||
| 	<Configurations> | 	<Configurations> | ||||||
| 		<Configuration | 		<Configuration | ||||||
| 			Name="Debug|Win32" | 			Name="Debug|Win32" | ||||||
| 			OutputDirectory="$(SolutionDir)" |  | ||||||
| 			IntermediateDirectory="..\objs\generate" |  | ||||||
| 			ConfigurationType="10" | 			ConfigurationType="10" | ||||||
| 			> | 			> | ||||||
| 		</Configuration> | 		</Configuration> | ||||||
| @@ -32,7 +30,7 @@ | |||||||
| 					Description="Running 'generate.vbs'..." | 					Description="Running 'generate.vbs'..." | ||||||
| 					CommandLine="cscript "$(ProjectDir)generate.vbs"" | 					CommandLine="cscript "$(ProjectDir)generate.vbs"" | ||||||
| 					AdditionalDependencies="$(InputPath)" | 					AdditionalDependencies="$(InputPath)" | ||||||
| 					Outputs="$(SolutionDir)openttd_vs80.vcproj;$(SolutionDir)openttd_vs90.vcproj" | 					Outputs="$(SolutionDir)openttd_vs80.vcproj;$(SolutionDir)openttd_vs90.vcproj;$(SolutionDir)openttd_vs100.vcxproj;$(SolutionDir)openttd_vs100.vcxproj.filters;$(SolutionDir)langs_vs80.vcproj;$(SolutionDir)langs_vs90.vcproj;$(SolutionDir)langs_vs100.vcxproj" | ||||||
| 				/> | 				/> | ||||||
| 			</FileConfiguration> | 			</FileConfiguration> | ||||||
| 		</File> | 		</File> | ||||||
|   | |||||||
| @@ -15,8 +15,6 @@ | |||||||
| 	<Configurations> | 	<Configurations> | ||||||
| 		<Configuration | 		<Configuration | ||||||
| 			Name="Debug|Win32" | 			Name="Debug|Win32" | ||||||
| 			OutputDirectory="$(SolutionDir)" |  | ||||||
| 			IntermediateDirectory="..\objs\generate" |  | ||||||
| 			ConfigurationType="10" | 			ConfigurationType="10" | ||||||
| 			> | 			> | ||||||
| 		</Configuration> | 		</Configuration> | ||||||
| @@ -33,7 +31,7 @@ | |||||||
| 					Description="Running 'generate.vbs' ..." | 					Description="Running 'generate.vbs' ..." | ||||||
| 					CommandLine="cscript "$(ProjectDir)generate.vbs"" | 					CommandLine="cscript "$(ProjectDir)generate.vbs"" | ||||||
| 					AdditionalDependencies="$(InputPath)" | 					AdditionalDependencies="$(InputPath)" | ||||||
| 					Outputs="$(SolutionDir)openttd_vs80.vcproj;$(SolutionDir)openttd_vs90.vcproj" | 					Outputs="$(SolutionDir)openttd_vs80.vcproj;$(SolutionDir)openttd_vs90.vcproj;$(SolutionDir)openttd_vs100.vcxproj;$(SolutionDir)openttd_vs100.vcxproj.filters;$(SolutionDir)langs_vs80.vcproj;$(SolutionDir)langs_vs90.vcproj;$(SolutionDir)langs_vs100.vcxproj" | ||||||
| 				/> | 				/> | ||||||
| 			</FileConfiguration> | 			</FileConfiguration> | ||||||
| 		</File> | 		</File> | ||||||
|   | |||||||
							
								
								
									
										336
									
								
								projects/langs_vs100.vcxproj
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										336
									
								
								projects/langs_vs100.vcxproj
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,336 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||||
|  |   <ItemGroup Label="ProjectConfigurations"> | ||||||
|  |     <ProjectConfiguration Include="Debug|Win32"> | ||||||
|  |       <Configuration>Debug</Configuration> | ||||||
|  |       <Platform>Win32</Platform> | ||||||
|  |     </ProjectConfiguration> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <PropertyGroup Label="Globals"> | ||||||
|  |     <ProjectName>langs</ProjectName> | ||||||
|  |     <ProjectGuid>{0F066B23-18DF-4284-8265-F4A5E7E3B966}</ProjectGuid> | ||||||
|  |     <RootNamespace>langs</RootNamespace> | ||||||
|  |     <Keyword>MakeFileProj</Keyword> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||||||
|  |   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | ||||||
|  |     <ConfigurationType>Utility</ConfigurationType> | ||||||
|  |     <UseOfMfc>false</UseOfMfc> | ||||||
|  |   </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" /> | ||||||
|  |   </ImportGroup> | ||||||
|  |   <PropertyGroup Label="UserMacros" /> | ||||||
|  |   <PropertyGroup> | ||||||
|  |     <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | ||||||
|  |     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\</OutDir> | ||||||
|  |     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\langs\</IntDir> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||||||
|  |     <PreBuildEvent> | ||||||
|  |       <Message>Generating strings.h</Message> | ||||||
|  |       <Command>..\objs\strgen\strgen.exe -s ..\src\lang -d ..\objs\langs\table</Command> | ||||||
|  |     </PreBuildEvent> | ||||||
|  |     <Midl> | ||||||
|  |       <TypeLibraryName>./langs.tlb</TypeLibraryName> | ||||||
|  |       <HeaderFileName> | ||||||
|  |       </HeaderFileName> | ||||||
|  |     </Midl> | ||||||
|  |   </ItemDefinitionGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <CustomBuild Include="..\src\lang\afrikaans.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating afrikaans language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\afrikaans.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\arabic_egypt.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating arabic_egypt language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\arabic_egypt.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\brazilian_portuguese.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating brazilian_portuguese language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\brazilian_portuguese.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\bulgarian.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating bulgarian language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\bulgarian.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\catalan.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating catalan language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\catalan.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\croatian.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating croatian language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\croatian.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\czech.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating czech language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\czech.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\danish.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating danish language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\danish.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\dutch.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating dutch language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\dutch.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\english.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating english language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\english.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\english_US.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating english_US language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\english_US.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\esperanto.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating esperanto language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\esperanto.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\estonian.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating estonian language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\estonian.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\finnish.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating finnish language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\finnish.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\french.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating french language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\french.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\galician.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating galician language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\galician.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\german.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating german language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\german.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\greek.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating greek language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\greek.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\hebrew.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating hebrew language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\hebrew.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\hungarian.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating hungarian language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\hungarian.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\icelandic.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating icelandic language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\icelandic.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\indonesian.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating indonesian language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\indonesian.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\irish.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating irish language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\irish.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\italian.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating italian language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\italian.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\japanese.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating japanese language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\japanese.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\korean.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating korean language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\korean.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\latvian.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating latvian language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\latvian.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\lithuanian.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating lithuanian language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\lithuanian.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\luxembourgish.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating luxembourgish language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\luxembourgish.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\malay.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating malay language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\malay.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\norwegian_bokmal.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating norwegian_bokmal language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\norwegian_bokmal.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\norwegian_nynorsk.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating norwegian_nynorsk language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\norwegian_nynorsk.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\polish.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating polish language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\polish.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\portuguese.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating portuguese language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\portuguese.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\romanian.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating romanian language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\romanian.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\russian.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating russian language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\russian.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\serbian.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating serbian language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\serbian.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\simplified_chinese.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating simplified_chinese language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\simplified_chinese.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\slovak.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating slovak language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\slovak.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\slovenian.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating slovenian language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\slovenian.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\spanish.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating spanish language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\spanish.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\swedish.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating swedish language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\swedish.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\traditional_chinese.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating traditional_chinese language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\traditional_chinese.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\turkish.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating turkish language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\turkish.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\ukrainian.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating ukrainian language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\ukrainian.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\vietnamese.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating vietnamese language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\vietnamese.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |     <CustomBuild Include="..\src\lang\welsh.txt"> | ||||||
|  |       <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating welsh language file</Message> | ||||||
|  |       <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command> | ||||||
|  |       <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs> | ||||||
|  |       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\welsh.lng;%(Outputs)</Outputs> | ||||||
|  |     </CustomBuild> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <ProjectReference Include="strgen_vs100.vcxproj"> | ||||||
|  |       <Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project> | ||||||
|  |       <ReferenceOutputAssembly>false</ReferenceOutputAssembly> | ||||||
|  |     </ProjectReference> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||||||
|  |   <ImportGroup Label="ExtensionTargets"> | ||||||
|  |   </ImportGroup> | ||||||
|  | </Project> | ||||||
							
								
								
									
										55
									
								
								projects/langs_vs100.vcxproj.in
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								projects/langs_vs100.vcxproj.in
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,55 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||||
|  |   <ItemGroup Label="ProjectConfigurations"> | ||||||
|  |     <ProjectConfiguration Include="Debug|Win32"> | ||||||
|  |       <Configuration>Debug</Configuration> | ||||||
|  |       <Platform>Win32</Platform> | ||||||
|  |     </ProjectConfiguration> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <PropertyGroup Label="Globals"> | ||||||
|  |     <ProjectName>langs</ProjectName> | ||||||
|  |     <ProjectGuid>{0F066B23-18DF-4284-8265-F4A5E7E3B966}</ProjectGuid> | ||||||
|  |     <RootNamespace>langs</RootNamespace> | ||||||
|  |     <Keyword>MakeFileProj</Keyword> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||||||
|  |   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | ||||||
|  |     <ConfigurationType>Utility</ConfigurationType> | ||||||
|  |     <UseOfMfc>false</UseOfMfc> | ||||||
|  |   </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" /> | ||||||
|  |   </ImportGroup> | ||||||
|  |   <PropertyGroup Label="UserMacros" /> | ||||||
|  |   <PropertyGroup> | ||||||
|  |     <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | ||||||
|  |     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\</OutDir> | ||||||
|  |     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\langs\</IntDir> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||||||
|  |     <PreBuildEvent> | ||||||
|  |       <Message>Generating strings.h</Message> | ||||||
|  |       <Command>..\objs\strgen\strgen.exe -s ..\src\lang -d ..\objs\langs\table</Command> | ||||||
|  |     </PreBuildEvent> | ||||||
|  |     <Midl> | ||||||
|  |       <TypeLibraryName>./langs.tlb</TypeLibraryName> | ||||||
|  |       <HeaderFileName> | ||||||
|  |       </HeaderFileName> | ||||||
|  |     </Midl> | ||||||
|  |   </ItemDefinitionGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  | !!FILES!! | ||||||
|  |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <ProjectReference Include="strgen_vs100.vcxproj"> | ||||||
|  |       <Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project> | ||||||
|  |       <ReferenceOutputAssembly>false</ReferenceOutputAssembly> | ||||||
|  |     </ProjectReference> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||||||
|  |   <ImportGroup Label="ExtensionTargets"> | ||||||
|  |   </ImportGroup> | ||||||
|  | </Project> | ||||||
| @@ -45,7 +45,6 @@ | |||||||
| 	<References> | 	<References> | ||||||
| 	</References> | 	</References> | ||||||
| 	<Files> | 	<Files> | ||||||
|  |  | ||||||
| 		<File | 		<File | ||||||
| 			RelativePath="..\src\lang\afrikaans.txt" | 			RelativePath="..\src\lang\afrikaans.txt" | ||||||
| 			> | 			> | ||||||
|   | |||||||
| @@ -46,7 +46,6 @@ | |||||||
| 	<References> | 	<References> | ||||||
| 	</References> | 	</References> | ||||||
| 	<Files> | 	<Files> | ||||||
|  |  | ||||||
| 		<File | 		<File | ||||||
| 			RelativePath="..\src\lang\afrikaans.txt" | 			RelativePath="..\src\lang\afrikaans.txt" | ||||||
| 			> | 			> | ||||||
|   | |||||||
							
								
								
									
										64
									
								
								projects/openttd_vs100.sln
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										64
									
								
								projects/openttd_vs100.sln
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,64 @@ | |||||||
|  | Microsoft Visual Studio Solution File, Format Version 11.00 | ||||||
|  | # Visual Studio 2010 | ||||||
|  | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "openttd", "openttd_vs100.vcxproj", "{668328A0-B40E-4CDB-BD72-D0064424414A}" | ||||||
|  | EndProject | ||||||
|  | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "strgen", "strgen_vs100.vcxproj", "{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}" | ||||||
|  | EndProject | ||||||
|  | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "langs", "langs_vs100.vcxproj", "{0F066B23-18DF-4284-8265-F4A5E7E3B966}" | ||||||
|  | EndProject | ||||||
|  | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "version", "version_vs100.vcxproj", "{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}" | ||||||
|  | EndProject | ||||||
|  | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generate", "generate_vs100.vcxproj", "{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}" | ||||||
|  | EndProject | ||||||
|  | Global | ||||||
|  | 	GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||||||
|  | 		Debug|Win32 = Debug|Win32 | ||||||
|  | 		Debug|x64 = Debug|x64 | ||||||
|  | 		Release|Win32 = Release|Win32 | ||||||
|  | 		Release|x64 = Release|x64 | ||||||
|  | 	EndGlobalSection | ||||||
|  | 	GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||||||
|  | 		{668328A0-B40E-4CDB-BD72-D0064424414A}.Debug|Win32.ActiveCfg = Debug|Win32 | ||||||
|  | 		{668328A0-B40E-4CDB-BD72-D0064424414A}.Debug|Win32.Build.0 = Debug|Win32 | ||||||
|  | 		{668328A0-B40E-4CDB-BD72-D0064424414A}.Debug|x64.ActiveCfg = Debug|x64 | ||||||
|  | 		{668328A0-B40E-4CDB-BD72-D0064424414A}.Debug|x64.Build.0 = Debug|x64 | ||||||
|  | 		{668328A0-B40E-4CDB-BD72-D0064424414A}.Release|Win32.ActiveCfg = Release|Win32 | ||||||
|  | 		{668328A0-B40E-4CDB-BD72-D0064424414A}.Release|Win32.Build.0 = Release|Win32 | ||||||
|  | 		{668328A0-B40E-4CDB-BD72-D0064424414A}.Release|x64.ActiveCfg = Release|x64 | ||||||
|  | 		{668328A0-B40E-4CDB-BD72-D0064424414A}.Release|x64.Build.0 = Release|x64 | ||||||
|  | 		{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Debug|Win32.ActiveCfg = Debug|Win32 | ||||||
|  | 		{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Debug|Win32.Build.0 = Debug|Win32 | ||||||
|  | 		{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Debug|x64.ActiveCfg = Debug|Win32 | ||||||
|  | 		{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Debug|x64.Build.0 = Debug|Win32 | ||||||
|  | 		{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Release|Win32.ActiveCfg = Debug|Win32 | ||||||
|  | 		{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Release|Win32.Build.0 = Debug|Win32 | ||||||
|  | 		{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Release|x64.ActiveCfg = Debug|Win32 | ||||||
|  | 		{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}.Release|x64.Build.0 = Debug|Win32 | ||||||
|  | 		{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Debug|Win32.ActiveCfg = Debug|Win32 | ||||||
|  | 		{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Debug|Win32.Build.0 = Debug|Win32 | ||||||
|  | 		{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Debug|x64.ActiveCfg = Debug|Win32 | ||||||
|  | 		{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Debug|x64.Build.0 = Debug|Win32 | ||||||
|  | 		{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Release|Win32.ActiveCfg = Debug|Win32 | ||||||
|  | 		{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Release|Win32.Build.0 = Debug|Win32 | ||||||
|  | 		{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Release|x64.ActiveCfg = Debug|Win32 | ||||||
|  | 		{0F066B23-18DF-4284-8265-F4A5E7E3B966}.Release|x64.Build.0 = Debug|Win32 | ||||||
|  | 		{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Debug|Win32.ActiveCfg = Debug|Win32 | ||||||
|  | 		{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Debug|Win32.Build.0 = Debug|Win32 | ||||||
|  | 		{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Debug|x64.ActiveCfg = Debug|Win32 | ||||||
|  | 		{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Debug|x64.Build.0 = Debug|Win32 | ||||||
|  | 		{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|Win32.ActiveCfg = Debug|Win32 | ||||||
|  | 		{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|Win32.Build.0 = Debug|Win32 | ||||||
|  | 		{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|x64.ActiveCfg = Debug|Win32 | ||||||
|  | 		{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|x64.Build.0 = Debug|Win32 | ||||||
|  | 		{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Debug|Win32.ActiveCfg = Debug|Win32 | ||||||
|  | 		{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Debug|x64.ActiveCfg = Debug|Win32 | ||||||
|  | 		{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Release|Win32.ActiveCfg = Debug|Win32 | ||||||
|  | 		{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Release|x64.ActiveCfg = Debug|Win32 | ||||||
|  | 	EndGlobalSection | ||||||
|  | 	GlobalSection(SolutionProperties) = preSolution | ||||||
|  | 		HideSolutionNode = FALSE | ||||||
|  | 	EndGlobalSection | ||||||
|  | 	GlobalSection(DPCodeReviewSolutionGUID) = preSolution | ||||||
|  | 		DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} | ||||||
|  | 	EndGlobalSection | ||||||
|  | EndGlobal | ||||||
							
								
								
									
										1119
									
								
								projects/openttd_vs100.vcxproj
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1119
									
								
								projects/openttd_vs100.vcxproj
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										2462
									
								
								projects/openttd_vs100.vcxproj.filters
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2462
									
								
								projects/openttd_vs100.vcxproj.filters
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										22
									
								
								projects/openttd_vs100.vcxproj.filters.in
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								projects/openttd_vs100.vcxproj.filters.in
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||||
|  |   <ItemGroup> | ||||||
|  | !!FILTERS!! | ||||||
|  |     <Filter Include="64-bit Specific Files"> | ||||||
|  |       <UniqueIdentifier>{d55d5f1f-aa07-4839-80d7-5ae158609e61}</UniqueIdentifier> | ||||||
|  |       <Extensions>asm</Extensions> | ||||||
|  |     </Filter> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  | !!FILES!! | ||||||
|  |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <None Include="..\media\openttd.ico" /> | ||||||
|  |     <None Include="..\readme.txt" /> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <MASM Include="..\src\os\windows\win64.asm"> | ||||||
|  |       <Filter>64-bit Specific Files</Filter> | ||||||
|  |     </MASM> | ||||||
|  |   </ItemGroup> | ||||||
|  | </Project> | ||||||
							
								
								
									
										336
									
								
								projects/openttd_vs100.vcxproj.in
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										336
									
								
								projects/openttd_vs100.vcxproj.in
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,336 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <Project DefaultTargets="Build" ToolsVersion="4.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="Debug|x64"> | ||||||
|  |       <Configuration>Debug</Configuration> | ||||||
|  |       <Platform>x64</Platform> | ||||||
|  |     </ProjectConfiguration> | ||||||
|  |     <ProjectConfiguration Include="Release|Win32"> | ||||||
|  |       <Configuration>Release</Configuration> | ||||||
|  |       <Platform>Win32</Platform> | ||||||
|  |     </ProjectConfiguration> | ||||||
|  |     <ProjectConfiguration Include="Release|x64"> | ||||||
|  |       <Configuration>Release</Configuration> | ||||||
|  |       <Platform>x64</Platform> | ||||||
|  |     </ProjectConfiguration> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <PropertyGroup Label="Globals"> | ||||||
|  |     <ProjectName>openttd</ProjectName> | ||||||
|  |     <ProjectGuid>{668328A0-B40E-4CDB-BD72-D0064424414A}</ProjectGuid> | ||||||
|  |     <RootNamespace>openttd</RootNamespace> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||||||
|  |   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | ||||||
|  |     <ConfigurationType>Application</ConfigurationType> | ||||||
|  |     <UseOfMfc>false</UseOfMfc> | ||||||
|  |     <CharacterSet>Unicode</CharacterSet> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | ||||||
|  |     <ConfigurationType>Application</ConfigurationType> | ||||||
|  |     <UseOfMfc>false</UseOfMfc> | ||||||
|  |     <CharacterSet>Unicode</CharacterSet> | ||||||
|  |     <WholeProgramOptimization>true</WholeProgramOptimization> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | ||||||
|  |     <ConfigurationType>Application</ConfigurationType> | ||||||
|  |     <UseOfMfc>false</UseOfMfc> | ||||||
|  |     <CharacterSet>Unicode</CharacterSet> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | ||||||
|  |     <ConfigurationType>Application</ConfigurationType> | ||||||
|  |     <UseOfMfc>false</UseOfMfc> | ||||||
|  |     <CharacterSet>Unicode</CharacterSet> | ||||||
|  |     <WholeProgramOptimization>true</WholeProgramOptimization> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||||||
|  |   <ImportGroup Label="ExtensionSettings"> | ||||||
|  |     <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" /> | ||||||
|  |   </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" /> | ||||||
|  |   </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" /> | ||||||
|  |   </ImportGroup> | ||||||
|  |   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> | ||||||
|  |     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||||||
|  |   </ImportGroup> | ||||||
|  |   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> | ||||||
|  |     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||||||
|  |   </ImportGroup> | ||||||
|  |   <PropertyGroup Label="UserMacros" /> | ||||||
|  |   <PropertyGroup> | ||||||
|  |     <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | ||||||
|  |     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</OutDir> | ||||||
|  |     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</IntDir> | ||||||
|  |     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> | ||||||
|  |     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</OutDir> | ||||||
|  |     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</IntDir> | ||||||
|  |     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | ||||||
|  |     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</IntDir> | ||||||
|  |     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> | ||||||
|  |     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</OutDir> | ||||||
|  |     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</IntDir> | ||||||
|  |     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | ||||||
|  |     <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)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | ||||||
|  |     <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | ||||||
|  |     <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | ||||||
|  |     <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | ||||||
|  |     <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | ||||||
|  |     <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | ||||||
|  |     <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | ||||||
|  |     <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | ||||||
|  |     <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | ||||||
|  |     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\objs\$(Platform)\$(Configuration)\</OutDir> | ||||||
|  |     <LocalDebuggerWorkingDirectory>$(ProjectDir)..\bin</LocalDebuggerWorkingDirectory> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||||||
|  |     <Midl> | ||||||
|  |       <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;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||||||
|  |       <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;ENABLE_AI;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> | ||||||
|  |       <AssemblerOutput>All</AssemblerOutput> | ||||||
|  |       <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation> | ||||||
|  |       <ObjectFileName>$(IntDir)</ObjectFileName> | ||||||
|  |       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||||||
|  |       <BrowseInformation>true</BrowseInformation> | ||||||
|  |       <BrowseInformationFile>$(IntDir)</BrowseInformationFile> | ||||||
|  |       <WarningLevel>Level3</WarningLevel> | ||||||
|  |       <TreatWarningAsError>false</TreatWarningAsError> | ||||||
|  |       <SuppressStartupBanner>true</SuppressStartupBanner> | ||||||
|  |       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||||||
|  |       <CallingConvention>FastCall</CallingConvention> | ||||||
|  |       <CompileAs>Default</CompileAs> | ||||||
|  |     </ClCompile> | ||||||
|  |     <ResourceCompile> | ||||||
|  |       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||||||
|  |       <Culture>0x0809</Culture> | ||||||
|  |     </ResourceCompile> | ||||||
|  |     <Link> | ||||||
|  |       <AdditionalDependencies>winmm.lib;ws2_32.lib;libpng.lib;zlibstat.lib;lzo2.lib;libfreetype2.lib;libicu.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||||||
|  |       <SuppressStartupBanner>true</SuppressStartupBanner> | ||||||
|  |       <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> | ||||||
|  |       <GenerateDebugInformation>true</GenerateDebugInformation> | ||||||
|  |       <SubSystem>Windows</SubSystem> | ||||||
|  |       <StackReserveSize>1048576</StackReserveSize> | ||||||
|  |       <StackCommitSize>1048576</StackCommitSize> | ||||||
|  |       <OptimizeReferences>true</OptimizeReferences> | ||||||
|  |       <RandomizedBaseAddress>false</RandomizedBaseAddress> | ||||||
|  |       <DataExecutionPrevention> | ||||||
|  |       </DataExecutionPrevention> | ||||||
|  |       <TargetMachine>MachineX86</TargetMachine> | ||||||
|  |       <EnableCOMDATFolding>true</EnableCOMDATFolding> | ||||||
|  |     </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;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||||||
|  |       <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;ENABLE_AI;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> | ||||||
|  |       <CompileAs>Default</CompileAs> | ||||||
|  |     </ClCompile> | ||||||
|  |     <ResourceCompile> | ||||||
|  |       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||||||
|  |       <Culture>0x0809</Culture> | ||||||
|  |     </ResourceCompile> | ||||||
|  |     <Link> | ||||||
|  |       <AdditionalDependencies>winmm.lib;ws2_32.lib;libpng.lib;zlibstat.lib;lzo2.lib;libfreetype2.lib;libicu.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||||||
|  |       <SuppressStartupBanner>true</SuppressStartupBanner> | ||||||
|  |       <IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> | ||||||
|  |       <GenerateDebugInformation>true</GenerateDebugInformation> | ||||||
|  |       <SubSystem>Windows</SubSystem> | ||||||
|  |       <StackReserveSize>1048576</StackReserveSize> | ||||||
|  |       <StackCommitSize>1048576</StackCommitSize> | ||||||
|  |       <RandomizedBaseAddress>false</RandomizedBaseAddress> | ||||||
|  |       <DataExecutionPrevention> | ||||||
|  |       </DataExecutionPrevention> | ||||||
|  |       <TargetMachine>MachineX86</TargetMachine> | ||||||
|  |     </Link> | ||||||
|  |   </ItemDefinitionGroup> | ||||||
|  |   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||||||
|  |     <Midl> | ||||||
|  |       <TargetEnvironment>X64</TargetEnvironment> | ||||||
|  |       <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;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||||||
|  |       <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;ENABLE_AI;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> | ||||||
|  |       <AssemblerOutput>All</AssemblerOutput> | ||||||
|  |       <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation> | ||||||
|  |       <ObjectFileName>$(IntDir)</ObjectFileName> | ||||||
|  |       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||||||
|  |       <BrowseInformation>true</BrowseInformation> | ||||||
|  |       <BrowseInformationFile>$(IntDir)</BrowseInformationFile> | ||||||
|  |       <WarningLevel>Level3</WarningLevel> | ||||||
|  |       <TreatWarningAsError>false</TreatWarningAsError> | ||||||
|  |       <SuppressStartupBanner>true</SuppressStartupBanner> | ||||||
|  |       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||||||
|  |       <CallingConvention>FastCall</CallingConvention> | ||||||
|  |       <CompileAs>Default</CompileAs> | ||||||
|  |     </ClCompile> | ||||||
|  |     <ResourceCompile> | ||||||
|  |       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||||||
|  |       <Culture>0x0809</Culture> | ||||||
|  |     </ResourceCompile> | ||||||
|  |     <Link> | ||||||
|  |       <AdditionalDependencies>winmm.lib;ws2_32.lib;libpng.lib;zlibstat.lib;lzo2.lib;libfreetype2.lib;libicu.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||||||
|  |       <SuppressStartupBanner>true</SuppressStartupBanner> | ||||||
|  |       <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> | ||||||
|  |       <GenerateDebugInformation>true</GenerateDebugInformation> | ||||||
|  |       <SubSystem>Windows</SubSystem> | ||||||
|  |       <StackReserveSize>1048576</StackReserveSize> | ||||||
|  |       <StackCommitSize>1048576</StackCommitSize> | ||||||
|  |       <OptimizeReferences>true</OptimizeReferences> | ||||||
|  |       <TargetMachine>MachineX64</TargetMachine> | ||||||
|  |       <EnableCOMDATFolding>true</EnableCOMDATFolding> | ||||||
|  |     </Link> | ||||||
|  |   </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;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||||||
|  |       <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_PNG;WITH_FREETYPE;WITH_ICU;ENABLE_NETWORK;ENABLE_AI;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> | ||||||
|  |       <TreatWarningAsError>false</TreatWarningAsError> | ||||||
|  |       <SuppressStartupBanner>true</SuppressStartupBanner> | ||||||
|  |       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||||||
|  |       <CallingConvention>Cdecl</CallingConvention> | ||||||
|  |       <CompileAs>Default</CompileAs> | ||||||
|  |     </ClCompile> | ||||||
|  |     <ResourceCompile> | ||||||
|  |       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||||||
|  |       <Culture>0x0809</Culture> | ||||||
|  |     </ResourceCompile> | ||||||
|  |     <Link> | ||||||
|  |       <AdditionalDependencies>winmm.lib;ws2_32.lib;libpng.lib;zlibstat.lib;lzo2.lib;libfreetype2.lib;libicu.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||||||
|  |       <SuppressStartupBanner>true</SuppressStartupBanner> | ||||||
|  |       <IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> | ||||||
|  |       <GenerateDebugInformation>true</GenerateDebugInformation> | ||||||
|  |       <SubSystem>Windows</SubSystem> | ||||||
|  |       <StackReserveSize>1048576</StackReserveSize> | ||||||
|  |       <StackCommitSize>1048576</StackCommitSize> | ||||||
|  |       <TargetMachine>MachineX64</TargetMachine> | ||||||
|  |     </Link> | ||||||
|  |   </ItemDefinitionGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  | !!FILES!! | ||||||
|  |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <MASM Include="..\src\os\windows\win64.asm"> | ||||||
|  |       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> | ||||||
|  |       <PreserveIdentifierCase Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">1</PreserveIdentifierCase> | ||||||
|  |       <PreservePublicAndExternSymbolCase Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</PreservePublicAndExternSymbolCase> | ||||||
|  |       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> | ||||||
|  |       <PreserveIdentifierCase Condition="'$(Configuration)|$(Platform)'=='Release|x64'">1</PreserveIdentifierCase> | ||||||
|  |       <PreservePublicAndExternSymbolCase Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</PreservePublicAndExternSymbolCase> | ||||||
|  |       <FileType>Document</FileType> | ||||||
|  |     </MASM> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <None Include="..\media\openttd.ico" /> | ||||||
|  |     <None Include="..\readme.txt" /> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <ProjectReference Include="langs_vs100.vcxproj"> | ||||||
|  |       <Project>{0f066b23-18df-4284-8265-f4a5e7e3b966}</Project> | ||||||
|  |       <ReferenceOutputAssembly>false</ReferenceOutputAssembly> | ||||||
|  |     </ProjectReference> | ||||||
|  |     <ProjectReference Include="strgen_vs100.vcxproj"> | ||||||
|  |       <Project>{a133a442-bd0a-4ade-b117-ad7545e4bdd1}</Project> | ||||||
|  |       <ReferenceOutputAssembly>false</ReferenceOutputAssembly> | ||||||
|  |     </ProjectReference> | ||||||
|  |     <ProjectReference Include="version_vs100.vcxproj"> | ||||||
|  |       <Project>{1a2b3c5e-1c23-41a5-9c9b-acba2aa75fec}</Project> | ||||||
|  |       <ReferenceOutputAssembly>false</ReferenceOutputAssembly> | ||||||
|  |     </ProjectReference> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||||||
|  |   <ImportGroup Label="ExtensionTargets"> | ||||||
|  |     <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" /> | ||||||
|  |   </ImportGroup> | ||||||
|  | </Project> | ||||||
							
								
								
									
										91
									
								
								projects/strgen_vs100.vcxproj
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										91
									
								
								projects/strgen_vs100.vcxproj
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,91 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||||
|  |   <ItemGroup Label="ProjectConfigurations"> | ||||||
|  |     <ProjectConfiguration Include="Debug|Win32"> | ||||||
|  |       <Configuration>Debug</Configuration> | ||||||
|  |       <Platform>Win32</Platform> | ||||||
|  |     </ProjectConfiguration> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <PropertyGroup Label="Globals"> | ||||||
|  |     <ProjectName>strgen</ProjectName> | ||||||
|  |     <ProjectGuid>{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}</ProjectGuid> | ||||||
|  |     <RootNamespace>strgen</RootNamespace> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||||||
|  |   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | ||||||
|  |     <ConfigurationType>Application</ConfigurationType> | ||||||
|  |     <UseOfMfc>false</UseOfMfc> | ||||||
|  |     <CharacterSet>MultiByte</CharacterSet> | ||||||
|  |   </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" /> | ||||||
|  |   </ImportGroup> | ||||||
|  |   <PropertyGroup Label="UserMacros" /> | ||||||
|  |   <PropertyGroup> | ||||||
|  |     <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | ||||||
|  |     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\objs\strgen\</OutDir> | ||||||
|  |     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\objs\strgen\</IntDir> | ||||||
|  |     <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'" /> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||||||
|  |     <Midl> | ||||||
|  |       <TypeLibraryName>.\Debug/strgen.tlb</TypeLibraryName> | ||||||
|  |       <HeaderFileName> | ||||||
|  |       </HeaderFileName> | ||||||
|  |     </Midl> | ||||||
|  |     <ClCompile> | ||||||
|  |       <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions> | ||||||
|  |       <Optimization>MinSpace</Optimization> | ||||||
|  |       <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> | ||||||
|  |       <PreprocessorDefinitions>STRGEN;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||||||
|  |       <BasicRuntimeChecks>Default</BasicRuntimeChecks> | ||||||
|  |       <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | ||||||
|  |       <PrecompiledHeaderOutputFile> | ||||||
|  |       </PrecompiledHeaderOutputFile> | ||||||
|  |       <AssemblerOutput>All</AssemblerOutput> | ||||||
|  |       <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation> | ||||||
|  |       <ObjectFileName>$(IntDir)</ObjectFileName> | ||||||
|  |       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||||||
|  |       <WarningLevel>Level3</WarningLevel> | ||||||
|  |       <TreatWarningAsError>true</TreatWarningAsError> | ||||||
|  |       <SuppressStartupBanner>true</SuppressStartupBanner> | ||||||
|  |       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||||||
|  |     </ClCompile> | ||||||
|  |     <ResourceCompile> | ||||||
|  |       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||||||
|  |       <Culture>0x041d</Culture> | ||||||
|  |     </ResourceCompile> | ||||||
|  |     <Link> | ||||||
|  |       <SuppressStartupBanner>true</SuppressStartupBanner> | ||||||
|  |       <GenerateDebugInformation>true</GenerateDebugInformation> | ||||||
|  |       <ProgramDatabaseFile>$(IntDir)strgen.pdb</ProgramDatabaseFile> | ||||||
|  |       <SubSystem>Console</SubSystem> | ||||||
|  |       <RandomizedBaseAddress>false</RandomizedBaseAddress> | ||||||
|  |       <DataExecutionPrevention> | ||||||
|  |       </DataExecutionPrevention> | ||||||
|  |       <TargetMachine>MachineX86</TargetMachine> | ||||||
|  |     </Link> | ||||||
|  |   </ItemDefinitionGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <ClCompile Include="..\src\core\alloc_func.cpp" /> | ||||||
|  |     <ClCompile Include="..\src\strgen\strgen.cpp" /> | ||||||
|  |     <ClCompile Include="..\src\string.cpp" /> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <ClInclude Include="..\src\core\alloc_func.hpp" /> | ||||||
|  |     <ClInclude Include="..\src\table\control_codes.h" /> | ||||||
|  |     <ClInclude Include="..\src\debug.h" /> | ||||||
|  |     <ClInclude Include="..\src\core\endian_func.hpp" /> | ||||||
|  |     <ClInclude Include="..\src\stdafx.h" /> | ||||||
|  |     <ClInclude Include="..\src\string.h" /> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||||||
|  |   <ImportGroup Label="ExtensionTargets"> | ||||||
|  |   </ImportGroup> | ||||||
|  | </Project> | ||||||
							
								
								
									
										28
									
								
								projects/strgen_vs100.vcxproj.filters
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								projects/strgen_vs100.vcxproj.filters
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <Filter Include="Source Files"> | ||||||
|  |       <UniqueIdentifier>{5894294c-d4dc-41f0-be31-e56cff4e0405}</UniqueIdentifier> | ||||||
|  |       <Extensions>cpp;c;cxx;rc;def;r;odl;idl;hpj;bat</Extensions> | ||||||
|  |     </Filter> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <ClCompile Include="..\src\core\alloc_func.cpp"> | ||||||
|  |       <Filter>Source Files</Filter> | ||||||
|  |     </ClCompile> | ||||||
|  |     <ClCompile Include="..\src\strgen\strgen.cpp"> | ||||||
|  |       <Filter>Source Files</Filter> | ||||||
|  |     </ClCompile> | ||||||
|  |     <ClCompile Include="..\src\string.cpp"> | ||||||
|  |       <Filter>Source Files</Filter> | ||||||
|  |     </ClCompile> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <ClInclude Include="..\src\core\alloc_func.hpp" /> | ||||||
|  |     <ClInclude Include="..\src\table\control_codes.h" /> | ||||||
|  |     <ClInclude Include="..\src\debug.h" /> | ||||||
|  |     <ClInclude Include="..\src\core\endian_func.hpp" /> | ||||||
|  |     <ClInclude Include="..\src\stdafx.h" /> | ||||||
|  |     <ClInclude Include="..\src\string.h" /> | ||||||
|  |   </ItemGroup> | ||||||
|  | </Project> | ||||||
							
								
								
									
										41
									
								
								projects/version_vs100.vcxproj
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								projects/version_vs100.vcxproj
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,41 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||||
|  |   <ItemGroup Label="ProjectConfigurations"> | ||||||
|  |     <ProjectConfiguration Include="Debug|Win32"> | ||||||
|  |       <Configuration>Debug</Configuration> | ||||||
|  |       <Platform>Win32</Platform> | ||||||
|  |     </ProjectConfiguration> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <PropertyGroup Label="Globals"> | ||||||
|  |     <ProjectName>version</ProjectName> | ||||||
|  |     <ProjectGuid>{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}</ProjectGuid> | ||||||
|  |     <RootNamespace>version</RootNamespace> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||||||
|  |   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | ||||||
|  |     <ConfigurationType>Makefile</ConfigurationType> | ||||||
|  |     <CharacterSet>MultiByte</CharacterSet> | ||||||
|  |   </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" /> | ||||||
|  |   </ImportGroup> | ||||||
|  |   <PropertyGroup Label="UserMacros" /> | ||||||
|  |   <PropertyGroup> | ||||||
|  |     <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | ||||||
|  |     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\objs\version\</OutDir> | ||||||
|  |     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\objs\version\</IntDir> | ||||||
|  |     <NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript "$(ProjectDir)/determineversion.vbs"</NMakeBuildCommandLine> | ||||||
|  |     <NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cscript "$(ProjectDir)/determineversion.vbs"</NMakeReBuildCommandLine> | ||||||
|  |     <NMakeOutput Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\rev.cpp</NMakeOutput> | ||||||
|  |   </PropertyGroup> | ||||||
|  |   <ItemGroup> | ||||||
|  |     <None Include="..\src\os\windows\ottdres.rc.in" /> | ||||||
|  |     <None Include="..\src\rev.cpp.in" /> | ||||||
|  |   </ItemGroup> | ||||||
|  |   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||||||
|  |   <ImportGroup Label="ExtensionTargets"> | ||||||
|  |   </ImportGroup> | ||||||
|  | </Project> | ||||||
		Reference in New Issue
	
	Block a user
	 glx
					glx