1
0
Fork 0

MSVC 7.1 project files and use simgear to create directories

This commit is contained in:
Frederic Bouvier 2009-01-18 10:35:59 +01:00 committed by Ralf Gerlich
parent 781c8eda1b
commit 8050d209b4
35 changed files with 476 additions and 164 deletions

View file

@ -19,7 +19,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib;..\..\..\src\BuildTiles;..\..\..\..\gpc232"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NOMINMAX"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"

View file

@ -19,7 +19,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib;..\..\..\src\BuildTiles;..\..\..\..\gpc232"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NOMINMAX"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"

View file

@ -19,7 +19,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib;..\..\..\src\BuildTiles;..\..\..\..\gpc232"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NOMINMAX"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"

View file

@ -19,7 +19,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib;..\..\..\src\BuildTiles;..\..\..\..\gpc232"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NOMINMAX"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"

View file

@ -19,7 +19,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib;..\..\..\src\BuildTiles;..\..\..\..\gpc232"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NOMINMAX"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"

View file

@ -19,7 +19,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib;..\..\..\src\BuildTiles;..\..\..\..\gpc232"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NOMINMAX"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"

View file

@ -19,7 +19,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib;..\..\..\src\BuildTiles;..\..\..\..\gpc232"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NOMINMAX"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"

View file

@ -117,9 +117,6 @@
<File
RelativePath="..\..\..\src\Prep\Terra\cmdline.cc">
</File>
<File
RelativePath=".\dummy.cpp">
</File>
<File
RelativePath="..\..\..\src\Prep\Terra\greedy.cc">
</File>

View file

@ -19,8 +19,8 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NOMINMAX"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib;..\..\..\src\BuildTiles;..\..\..\..\gpc232"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NOMINMAX;NO_TIMER"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -62,7 +62,7 @@
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;NOMINMAX"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;NOMINMAX;NO_TIMER"
RuntimeLibrary="2"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"

View file

@ -19,7 +19,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib;..\..\..\src\BuildTiles"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib;..\..\..\src\BuildTiles;..\..\..\..\gpc232"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NOMINAX"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"

View file

@ -19,7 +19,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib;..\..\..\src\BuildTiles;..\..\..\..\gpc232"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NOMINMAX"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"

View file

@ -19,7 +19,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib;..\..\..\src\BuildTiles;..\..\..\..\gpc232"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NOMINMAX"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"

View file

@ -19,7 +19,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib;..\..\..\src\BuildTiles;..\..\..\..\gpc232"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NOMINMAX"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"

View file

@ -19,7 +19,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib;..\..\..\src\BuildTiles;..\..\..\..\gpc232"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NOMINMAX"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
@ -107,9 +107,6 @@
<File
RelativePath="..\..\..\src\Lib\shapelib\dbfcreate.c">
</File>
<File
RelativePath="..\..\..\src\Lib\shapelib\dbfdump.c">
</File>
<File
RelativePath="..\..\..\src\Lib\shapelib\dbfopen.c">
</File>
@ -125,9 +122,6 @@
<File
RelativePath="..\..\..\src\Lib\shapelib\shpopen.c">
</File>
<File
RelativePath="..\..\..\src\Lib\shapelib\shptest.c">
</File>
<File
RelativePath="..\..\..\src\Lib\shapelib\shputils.c">
</File>

View file

@ -7,6 +7,151 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SimGear", "..\..\..\SimGear
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DEM", "DEM\DEM.vcproj", "{A6540D7A-D95D-48E8-87BD-659DA42BF9FD}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "e00", "e00\e00.vcproj", "{49DBA05A-A752-4D59-817E-A80B7C96A060}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Geometry", "Geometry\Geometry.vcproj", "{B1FB93BB-ED1D-40A1-9B35-FCC232F473FD}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HGT", "HGT\HGT.vcproj", "{322E9356-2E79-49A6-A7B6-643B35DEB67D}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "landcover", "landcover\landcover.vcproj", "{7405A25C-8A2B-44FA-9C9A-A028AF2AB61A}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Optimize", "Optimize\Optimize.vcproj", "{DC950200-4824-4EEC-8F81-1FEAC31C8206}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Output", "Output\Output.vcproj", "{28FAE0C4-AC7A-42D0-A383-4CB01802AF79}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Polygon", "Polygon\Polygon.vcproj", "{610D5DAE-45EC-446E-86F2-73FDD24449C9}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "poly2tri", "poly2tri\poly2tri.vcproj", "{5FF453C8-0B3C-4013-87C4-AEACA01B92F0}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "shapelib", "shapelib\shapelib.vcproj", "{14F9D9F0-C8A5-4906-BE7C-CBB755E3BB87}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TriangleJRS", "TriangleJRS\TriangleJRS.vcproj", "{19722E03-D871-4719-A075-D763EE7E272D}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vpf", "vpf\vpf.vcproj", "{0CEE29DA-8A0D-4786-8A0F-5A346AB92C0D}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Triangulate", "Triangulate\Triangulate.vcproj", "{C581C8C9-1DD4-4684-9FAB-CF229AC20A4E}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "newmat11", "newmat11\newmat11.vcproj", "{BAAE2014-7AB0-4AE7-BA70-AFD26E7EB15A}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gpc232", "gpc232\gpc232.vcproj", "{9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DemChop", "DemChop\DemChop.vcproj", "{2F7B6115-0589-4767-A442-52864C5C2EA2}"
ProjectSection(ProjectDependencies) = postProject
{A6540D7A-D95D-48E8-87BD-659DA42BF9FD} = {A6540D7A-D95D-48E8-87BD-659DA42BF9FD}
{2871F3BA-ADCC-4440-8078-FC76C5983FCE} = {2871F3BA-ADCC-4440-8078-FC76C5983FCE}
{22540CD3-D3CA-4C86-A773-80AEEE3ACDED} = {22540CD3-D3CA-4C86-A773-80AEEE3ACDED}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hgtchop", "hgtchop\hgtchop.vcproj", "{F52F1887-15FB-4E7A-B851-18715C8A6AB4}"
ProjectSection(ProjectDependencies) = postProject
{322E9356-2E79-49A6-A7B6-643B35DEB67D} = {322E9356-2E79-49A6-A7B6-643B35DEB67D}
{22540CD3-D3CA-4C86-A773-80AEEE3ACDED} = {22540CD3-D3CA-4C86-A773-80AEEE3ACDED}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fillvoids", "fillvoids\fillvoids.vcproj", "{294D1AD8-F7B0-46F5-9E6D-309DDA1F68CC}"
ProjectSection(ProjectDependencies) = postProject
{2871F3BA-ADCC-4440-8078-FC76C5983FCE} = {2871F3BA-ADCC-4440-8078-FC76C5983FCE}
{22540CD3-D3CA-4C86-A773-80AEEE3ACDED} = {22540CD3-D3CA-4C86-A773-80AEEE3ACDED}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "deminfo", "deminfo\deminfo.vcproj", "{BBEC91FE-1220-4BD5-A797-A3EEF0439E93}"
ProjectSection(ProjectDependencies) = postProject
{A6540D7A-D95D-48E8-87BD-659DA42BF9FD} = {A6540D7A-D95D-48E8-87BD-659DA42BF9FD}
{22540CD3-D3CA-4C86-A773-80AEEE3ACDED} = {22540CD3-D3CA-4C86-A773-80AEEE3ACDED}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "raw2ascii", "raw2ascii\raw2ascii.vcproj", "{080B4F9D-642C-4C28-BB99-EADC29994BEB}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "e00lines", "e00lines\e00lines.vcproj", "{0D683293-D662-4752-A6C7-211AEDB19FD3}"
ProjectSection(ProjectDependencies) = postProject
{9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93} = {9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93}
{49DBA05A-A752-4D59-817E-A80B7C96A060} = {49DBA05A-A752-4D59-817E-A80B7C96A060}
{610D5DAE-45EC-446E-86F2-73FDD24449C9} = {610D5DAE-45EC-446E-86F2-73FDD24449C9}
{B1FB93BB-ED1D-40A1-9B35-FCC232F473FD} = {B1FB93BB-ED1D-40A1-9B35-FCC232F473FD}
{22540CD3-D3CA-4C86-A773-80AEEE3ACDED} = {22540CD3-D3CA-4C86-A773-80AEEE3ACDED}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gshhs", "gshhs\gshhs.vcproj", "{86D017D6-AE64-43B7-9C77-37E6D40FADF7}"
ProjectSection(ProjectDependencies) = postProject
{9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93} = {9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93}
{610D5DAE-45EC-446E-86F2-73FDD24449C9} = {610D5DAE-45EC-446E-86F2-73FDD24449C9}
{B1FB93BB-ED1D-40A1-9B35-FCC232F473FD} = {B1FB93BB-ED1D-40A1-9B35-FCC232F473FD}
{22540CD3-D3CA-4C86-A773-80AEEE3ACDED} = {22540CD3-D3CA-4C86-A773-80AEEE3ACDED}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "shape-decode", "shape-decode\shape-decode.vcproj", "{8B09D639-9E6B-4A4C-8D13-E60B6326DCBA}"
ProjectSection(ProjectDependencies) = postProject
{9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93} = {9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93}
{610D5DAE-45EC-446E-86F2-73FDD24449C9} = {610D5DAE-45EC-446E-86F2-73FDD24449C9}
{B1FB93BB-ED1D-40A1-9B35-FCC232F473FD} = {B1FB93BB-ED1D-40A1-9B35-FCC232F473FD}
{22540CD3-D3CA-4C86-A773-80AEEE3ACDED} = {22540CD3-D3CA-4C86-A773-80AEEE3ACDED}
{14F9D9F0-C8A5-4906-BE7C-CBB755E3BB87} = {14F9D9F0-C8A5-4906-BE7C-CBB755E3BB87}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "noaa-decode", "noaa-decode\noaa-decode.vcproj", "{09ADF9FF-1968-4CE2-8DD6-C807263709E0}"
ProjectSection(ProjectDependencies) = postProject
{9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93} = {9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93}
{610D5DAE-45EC-446E-86F2-73FDD24449C9} = {610D5DAE-45EC-446E-86F2-73FDD24449C9}
{B1FB93BB-ED1D-40A1-9B35-FCC232F473FD} = {B1FB93BB-ED1D-40A1-9B35-FCC232F473FD}
{22540CD3-D3CA-4C86-A773-80AEEE3ACDED} = {22540CD3-D3CA-4C86-A773-80AEEE3ACDED}
{14F9D9F0-C8A5-4906-BE7C-CBB755E3BB87} = {14F9D9F0-C8A5-4906-BE7C-CBB755E3BB87}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tgvpf", "tgvpf\tgvpf.vcproj", "{E78E2BB5-6D86-4F06-92FF-9ACD399A323B}"
ProjectSection(ProjectDependencies) = postProject
{9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93} = {9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93}
{610D5DAE-45EC-446E-86F2-73FDD24449C9} = {610D5DAE-45EC-446E-86F2-73FDD24449C9}
{B1FB93BB-ED1D-40A1-9B35-FCC232F473FD} = {B1FB93BB-ED1D-40A1-9B35-FCC232F473FD}
{22540CD3-D3CA-4C86-A773-80AEEE3ACDED} = {22540CD3-D3CA-4C86-A773-80AEEE3ACDED}
{0CEE29DA-8A0D-4786-8A0F-5A346AB92C0D} = {0CEE29DA-8A0D-4786-8A0F-5A346AB92C0D}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Terra", "Terra\Terra.vcproj", "{2B547224-A995-4FE9-B38F-14A20C8562A8}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tguserdef", "tguserdef\tguserdef.vcproj", "{1D187A71-BB8A-4127-AC7E-9211A208B6B0}"
ProjectSection(ProjectDependencies) = postProject
{9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93} = {9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93}
{610D5DAE-45EC-446E-86F2-73FDD24449C9} = {610D5DAE-45EC-446E-86F2-73FDD24449C9}
{B1FB93BB-ED1D-40A1-9B35-FCC232F473FD} = {B1FB93BB-ED1D-40A1-9B35-FCC232F473FD}
{22540CD3-D3CA-4C86-A773-80AEEE3ACDED} = {22540CD3-D3CA-4C86-A773-80AEEE3ACDED}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfiguration) = preSolution
Debug = Debug
@ -21,6 +166,114 @@ Global
{22540CD3-D3CA-4C86-A773-80AEEE3ACDED}.Debug.Build.0 = Debug|Win32
{22540CD3-D3CA-4C86-A773-80AEEE3ACDED}.Release.ActiveCfg = Release|Win32
{22540CD3-D3CA-4C86-A773-80AEEE3ACDED}.Release.Build.0 = Release|Win32
{A6540D7A-D95D-48E8-87BD-659DA42BF9FD}.Debug.ActiveCfg = Debug|Win32
{A6540D7A-D95D-48E8-87BD-659DA42BF9FD}.Debug.Build.0 = Debug|Win32
{A6540D7A-D95D-48E8-87BD-659DA42BF9FD}.Release.ActiveCfg = Release|Win32
{A6540D7A-D95D-48E8-87BD-659DA42BF9FD}.Release.Build.0 = Release|Win32
{49DBA05A-A752-4D59-817E-A80B7C96A060}.Debug.ActiveCfg = Debug|Win32
{49DBA05A-A752-4D59-817E-A80B7C96A060}.Debug.Build.0 = Debug|Win32
{49DBA05A-A752-4D59-817E-A80B7C96A060}.Release.ActiveCfg = Release|Win32
{49DBA05A-A752-4D59-817E-A80B7C96A060}.Release.Build.0 = Release|Win32
{B1FB93BB-ED1D-40A1-9B35-FCC232F473FD}.Debug.ActiveCfg = Debug|Win32
{B1FB93BB-ED1D-40A1-9B35-FCC232F473FD}.Debug.Build.0 = Debug|Win32
{B1FB93BB-ED1D-40A1-9B35-FCC232F473FD}.Release.ActiveCfg = Release|Win32
{B1FB93BB-ED1D-40A1-9B35-FCC232F473FD}.Release.Build.0 = Release|Win32
{322E9356-2E79-49A6-A7B6-643B35DEB67D}.Debug.ActiveCfg = Debug|Win32
{322E9356-2E79-49A6-A7B6-643B35DEB67D}.Debug.Build.0 = Debug|Win32
{322E9356-2E79-49A6-A7B6-643B35DEB67D}.Release.ActiveCfg = Release|Win32
{322E9356-2E79-49A6-A7B6-643B35DEB67D}.Release.Build.0 = Release|Win32
{7405A25C-8A2B-44FA-9C9A-A028AF2AB61A}.Debug.ActiveCfg = Debug|Win32
{7405A25C-8A2B-44FA-9C9A-A028AF2AB61A}.Debug.Build.0 = Debug|Win32
{7405A25C-8A2B-44FA-9C9A-A028AF2AB61A}.Release.ActiveCfg = Release|Win32
{7405A25C-8A2B-44FA-9C9A-A028AF2AB61A}.Release.Build.0 = Release|Win32
{DC950200-4824-4EEC-8F81-1FEAC31C8206}.Debug.ActiveCfg = Debug|Win32
{DC950200-4824-4EEC-8F81-1FEAC31C8206}.Debug.Build.0 = Debug|Win32
{DC950200-4824-4EEC-8F81-1FEAC31C8206}.Release.ActiveCfg = Release|Win32
{DC950200-4824-4EEC-8F81-1FEAC31C8206}.Release.Build.0 = Release|Win32
{28FAE0C4-AC7A-42D0-A383-4CB01802AF79}.Debug.ActiveCfg = Debug|Win32
{28FAE0C4-AC7A-42D0-A383-4CB01802AF79}.Debug.Build.0 = Debug|Win32
{28FAE0C4-AC7A-42D0-A383-4CB01802AF79}.Release.ActiveCfg = Release|Win32
{28FAE0C4-AC7A-42D0-A383-4CB01802AF79}.Release.Build.0 = Release|Win32
{610D5DAE-45EC-446E-86F2-73FDD24449C9}.Debug.ActiveCfg = Debug|Win32
{610D5DAE-45EC-446E-86F2-73FDD24449C9}.Debug.Build.0 = Debug|Win32
{610D5DAE-45EC-446E-86F2-73FDD24449C9}.Release.ActiveCfg = Release|Win32
{610D5DAE-45EC-446E-86F2-73FDD24449C9}.Release.Build.0 = Release|Win32
{5FF453C8-0B3C-4013-87C4-AEACA01B92F0}.Debug.ActiveCfg = Debug|Win32
{5FF453C8-0B3C-4013-87C4-AEACA01B92F0}.Debug.Build.0 = Debug|Win32
{5FF453C8-0B3C-4013-87C4-AEACA01B92F0}.Release.ActiveCfg = Release|Win32
{5FF453C8-0B3C-4013-87C4-AEACA01B92F0}.Release.Build.0 = Release|Win32
{14F9D9F0-C8A5-4906-BE7C-CBB755E3BB87}.Debug.ActiveCfg = Debug|Win32
{14F9D9F0-C8A5-4906-BE7C-CBB755E3BB87}.Debug.Build.0 = Debug|Win32
{14F9D9F0-C8A5-4906-BE7C-CBB755E3BB87}.Release.ActiveCfg = Release|Win32
{14F9D9F0-C8A5-4906-BE7C-CBB755E3BB87}.Release.Build.0 = Release|Win32
{19722E03-D871-4719-A075-D763EE7E272D}.Debug.ActiveCfg = Debug|Win32
{19722E03-D871-4719-A075-D763EE7E272D}.Debug.Build.0 = Debug|Win32
{19722E03-D871-4719-A075-D763EE7E272D}.Release.ActiveCfg = Release|Win32
{19722E03-D871-4719-A075-D763EE7E272D}.Release.Build.0 = Release|Win32
{0CEE29DA-8A0D-4786-8A0F-5A346AB92C0D}.Debug.ActiveCfg = Debug|Win32
{0CEE29DA-8A0D-4786-8A0F-5A346AB92C0D}.Debug.Build.0 = Debug|Win32
{0CEE29DA-8A0D-4786-8A0F-5A346AB92C0D}.Release.ActiveCfg = Release|Win32
{0CEE29DA-8A0D-4786-8A0F-5A346AB92C0D}.Release.Build.0 = Release|Win32
{C581C8C9-1DD4-4684-9FAB-CF229AC20A4E}.Debug.ActiveCfg = Debug|Win32
{C581C8C9-1DD4-4684-9FAB-CF229AC20A4E}.Debug.Build.0 = Debug|Win32
{C581C8C9-1DD4-4684-9FAB-CF229AC20A4E}.Release.ActiveCfg = Release|Win32
{C581C8C9-1DD4-4684-9FAB-CF229AC20A4E}.Release.Build.0 = Release|Win32
{BAAE2014-7AB0-4AE7-BA70-AFD26E7EB15A}.Debug.ActiveCfg = Debug|Win32
{BAAE2014-7AB0-4AE7-BA70-AFD26E7EB15A}.Debug.Build.0 = Debug|Win32
{BAAE2014-7AB0-4AE7-BA70-AFD26E7EB15A}.Release.ActiveCfg = Release|Win32
{BAAE2014-7AB0-4AE7-BA70-AFD26E7EB15A}.Release.Build.0 = Release|Win32
{9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93}.Debug.ActiveCfg = Debug|Win32
{9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93}.Debug.Build.0 = Debug|Win32
{9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93}.Release.ActiveCfg = Release|Win32
{9AABEE2B-19BC-4479-ADBE-58CA0A8BBC93}.Release.Build.0 = Release|Win32
{2F7B6115-0589-4767-A442-52864C5C2EA2}.Debug.ActiveCfg = Debug|Win32
{2F7B6115-0589-4767-A442-52864C5C2EA2}.Debug.Build.0 = Debug|Win32
{2F7B6115-0589-4767-A442-52864C5C2EA2}.Release.ActiveCfg = Release|Win32
{2F7B6115-0589-4767-A442-52864C5C2EA2}.Release.Build.0 = Release|Win32
{F52F1887-15FB-4E7A-B851-18715C8A6AB4}.Debug.ActiveCfg = Debug|Win32
{F52F1887-15FB-4E7A-B851-18715C8A6AB4}.Debug.Build.0 = Debug|Win32
{F52F1887-15FB-4E7A-B851-18715C8A6AB4}.Release.ActiveCfg = Release|Win32
{F52F1887-15FB-4E7A-B851-18715C8A6AB4}.Release.Build.0 = Release|Win32
{294D1AD8-F7B0-46F5-9E6D-309DDA1F68CC}.Debug.ActiveCfg = Debug|Win32
{294D1AD8-F7B0-46F5-9E6D-309DDA1F68CC}.Debug.Build.0 = Debug|Win32
{294D1AD8-F7B0-46F5-9E6D-309DDA1F68CC}.Release.ActiveCfg = Release|Win32
{294D1AD8-F7B0-46F5-9E6D-309DDA1F68CC}.Release.Build.0 = Release|Win32
{BBEC91FE-1220-4BD5-A797-A3EEF0439E93}.Debug.ActiveCfg = Debug|Win32
{BBEC91FE-1220-4BD5-A797-A3EEF0439E93}.Debug.Build.0 = Debug|Win32
{BBEC91FE-1220-4BD5-A797-A3EEF0439E93}.Release.ActiveCfg = Release|Win32
{BBEC91FE-1220-4BD5-A797-A3EEF0439E93}.Release.Build.0 = Release|Win32
{080B4F9D-642C-4C28-BB99-EADC29994BEB}.Debug.ActiveCfg = Debug|Win32
{080B4F9D-642C-4C28-BB99-EADC29994BEB}.Debug.Build.0 = Debug|Win32
{080B4F9D-642C-4C28-BB99-EADC29994BEB}.Release.ActiveCfg = Release|Win32
{080B4F9D-642C-4C28-BB99-EADC29994BEB}.Release.Build.0 = Release|Win32
{0D683293-D662-4752-A6C7-211AEDB19FD3}.Debug.ActiveCfg = Debug|Win32
{0D683293-D662-4752-A6C7-211AEDB19FD3}.Debug.Build.0 = Debug|Win32
{0D683293-D662-4752-A6C7-211AEDB19FD3}.Release.ActiveCfg = Release|Win32
{0D683293-D662-4752-A6C7-211AEDB19FD3}.Release.Build.0 = Release|Win32
{86D017D6-AE64-43B7-9C77-37E6D40FADF7}.Debug.ActiveCfg = Debug|Win32
{86D017D6-AE64-43B7-9C77-37E6D40FADF7}.Debug.Build.0 = Debug|Win32
{86D017D6-AE64-43B7-9C77-37E6D40FADF7}.Release.ActiveCfg = Release|Win32
{86D017D6-AE64-43B7-9C77-37E6D40FADF7}.Release.Build.0 = Release|Win32
{8B09D639-9E6B-4A4C-8D13-E60B6326DCBA}.Debug.ActiveCfg = Debug|Win32
{8B09D639-9E6B-4A4C-8D13-E60B6326DCBA}.Debug.Build.0 = Debug|Win32
{8B09D639-9E6B-4A4C-8D13-E60B6326DCBA}.Release.ActiveCfg = Release|Win32
{8B09D639-9E6B-4A4C-8D13-E60B6326DCBA}.Release.Build.0 = Release|Win32
{09ADF9FF-1968-4CE2-8DD6-C807263709E0}.Debug.ActiveCfg = Debug|Win32
{09ADF9FF-1968-4CE2-8DD6-C807263709E0}.Debug.Build.0 = Debug|Win32
{09ADF9FF-1968-4CE2-8DD6-C807263709E0}.Release.ActiveCfg = Release|Win32
{09ADF9FF-1968-4CE2-8DD6-C807263709E0}.Release.Build.0 = Release|Win32
{E78E2BB5-6D86-4F06-92FF-9ACD399A323B}.Debug.ActiveCfg = Debug|Win32
{E78E2BB5-6D86-4F06-92FF-9ACD399A323B}.Debug.Build.0 = Debug|Win32
{E78E2BB5-6D86-4F06-92FF-9ACD399A323B}.Release.ActiveCfg = Release|Win32
{E78E2BB5-6D86-4F06-92FF-9ACD399A323B}.Release.Build.0 = Release|Win32
{2B547224-A995-4FE9-B38F-14A20C8562A8}.Debug.ActiveCfg = Debug|Win32
{2B547224-A995-4FE9-B38F-14A20C8562A8}.Debug.Build.0 = Debug|Win32
{2B547224-A995-4FE9-B38F-14A20C8562A8}.Release.ActiveCfg = Release|Win32
{2B547224-A995-4FE9-B38F-14A20C8562A8}.Release.Build.0 = Release|Win32
{1D187A71-BB8A-4127-AC7E-9211A208B6B0}.Debug.ActiveCfg = Debug|Win32
{1D187A71-BB8A-4127-AC7E-9211A208B6B0}.Debug.Build.0 = Debug|Win32
{1D187A71-BB8A-4127-AC7E-9211A208B6B0}.Release.ActiveCfg = Release|Win32
{1D187A71-BB8A-4127-AC7E-9211A208B6B0}.Release.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection

2
projects/VC7.1/tguserdef/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
Debug
Release

View file

@ -0,0 +1,136 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.10"
Name="tguserdef"
ProjectGUID="{1D187A71-BB8A-4127-AC7E-9211A208B6B0}"
Keyword="Win32Proj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="Debug"
IntermediateDirectory="Debug"
ConfigurationType="1"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib;..\..\..\src\BuildTiles;..\..\..\..\gpc232"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;NOMINMAX"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
RuntimeTypeInfo="TRUE"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="4"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="ul_d.lib sg_d.lib zlibd.lib"
OutputFile="$(OutDir)/tguserdef.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="..\..\..\..\plib;..\..\..\..\3rdParty\lib"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile="$(OutDir)/tguserdef.pdb"
SubSystem="1"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="Release"
IntermediateDirectory="Release"
ConfigurationType="1"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
RuntimeLibrary="4"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)/tguserdef.exe"
LinkIncremental="1"
GenerateDebugInformation="TRUE"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
<File
RelativePath="..\..\..\src\Prep\UserDef\tguserdef.cxx">
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View file

@ -19,7 +19,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib"
AdditionalIncludeDirectories="..\..\..\..\SimGear.cs;..\..\..\..;..\..\..\..\3rdParty\include;..\..\..\..\install\msvc71\OpenSceneGraph\include;..\..\..\src\Lib;..\..\..\src\BuildTiles;..\..\..\..\gpc232"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NOMINMAX"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"

View file

@ -33,12 +33,9 @@
#include <simgear/constants.h>
#include <simgear/misc/sgstream.hxx>
#include <simgear/misc/strutils.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/math/leastsqs.hxx>
#ifdef _MSC_VER
# include <win32/mkdir.hpp>
#endif
#include "array.hxx"
using std::string;
@ -183,12 +180,9 @@ bool TGArray::write( const string root_dir, SGBucket& b ) {
// generate output file name
string base = b.gen_base_path();
string path = root_dir + "/" + base;
#ifdef _MSC_VER
fg_mkdir( path.c_str() );
#else
string command = "mkdir -p " + path;
system( command.c_str() );
#endif
SGPath sgp( path );
sgp.append( "dummy" );
sgp.create_dir( 0755 );
string array_file = path + "/" + b.gen_index_str() + ".arr.new.gz";
cout << "array_file = " << array_file << endl;

View file

@ -51,12 +51,9 @@
#include <simgear/constants.h>
#include <simgear/misc/sgstream.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/misc/strutils.hxx>
#ifdef _MSC_VER
# include <win32/mkdir.hpp>
#endif
#include "dem.hxx"
using std::cout;
@ -458,12 +455,9 @@ TGDem::write_area( const string& root, SGBucket& b, bool compress ) {
// generate output file name
string base = b.gen_base_path();
string path = root + "/" + base;
#ifdef _MSC_VER
fg_mkdir( path.c_str() );
#else
string command = "mkdir -p " + path;
system( command.c_str() );
#endif
SGPath sgp( path );
sgp.append( "dummy" );
sgp.create_dir( 0755 );
string array_file = path + "/" + b.gen_index_str() + ".arr";
cout << "array_file = " << array_file << endl;

View file

@ -39,10 +39,6 @@
#include <simgear/constants.h>
#include <simgear/io/lowlevel.hxx>
#ifdef _MSC_VER
# include <win32/mkdir.hpp>
#endif
#include "hgt.hxx"
using std::cout;
@ -79,7 +75,7 @@ TGHgt::open ( const SGPath &f ) {
// open input file (or read from stdin)
if ( file_name.str() == "-" ) {
cout << "Loading HGT data file: stdin" << endl;
if ( (fd = gzdopen(STDIN_FILENO, "r")) == NULL ) {
if ( (fd = gzdopen(0, "r")) == NULL ) { // 0 == STDIN_FILENO
cout << "ERROR: opening stdin" << endl;
return false;
}
@ -228,12 +224,9 @@ TGHgt::write_area( const string& root, SGBucket& b ) {
// generate output file name
string base = b.gen_base_path();
string path = root + "/" + base;
#ifdef _MSC_VER
fg_mkdir( path.c_str() );
#else
string command = "mkdir -p " + path;
system( command.c_str() );
#endif
SGPath sgp( path );
sgp.append( "dummy" );
sgp.create_dir( 0755 );
string array_file = path + "/" + b.gen_index_str() + ".arr.gz";
cout << "array_file = " << array_file << endl;

View file

@ -36,15 +36,12 @@
#include <string>
#include <simgear/bucket/newbucket.hxx>
#include <simgear/misc/sg_path.hxx>
#include <Polygon/polygon.hxx>
#include "output.hxx"
#ifdef _MSC_VER
# include <Win32/mkdir.hpp>
#endif
using std:: cout ;
using std:: endl ;
@ -71,12 +68,9 @@ void write_polygon( const TGPolygon& poly, const string& base ) {
void write_index( const string& base, const SGBucket& b, const string& name )
{
string dir = base + "/" + b.gen_base_path();
#ifdef _MSC_VER
fg_mkdir( dir.c_str() );
#else
string command = "mkdir -p " + dir;
system(command.c_str());
#endif
SGPath sgp( dir );
sgp.append( "dummy" );
sgp.create_dir( 0755 );
string file = dir + "/" + b.gen_index_str() + ".ind";
// string file = dir + "/" + name;
@ -100,12 +94,9 @@ void write_index_shared( const string &base, const SGBucket &b,
const double &heading )
{
string dir = base + "/" + b.gen_base_path();
#ifdef _MSC_VER
fg_mkdir( dir.c_str() );
#else
string command = "mkdir -p " + dir;
system(command.c_str());
#endif
SGPath sgp( dir );
sgp.append( "dummy" );
sgp.create_dir( 0755 );
string file = dir + "/" + b.gen_index_str() + ".ind";
// string file = dir + "/" + name;
@ -129,12 +120,9 @@ void write_boundary( const string& base, const SGBucket& b,
Point3D p;
string dir = base + "/" + b.gen_base_path();
#ifdef _MSC_VER
fg_mkdir( dir.c_str() );
#else
string command = "mkdir -p " + dir;
system(command.c_str());
#endif
SGPath sgp( dir );
sgp.append( "dummy" );
sgp.create_dir( 0755 );
string file = dir + "/" + b.gen_index_str();

View file

@ -35,10 +35,7 @@
#include <simgear/bucket/newbucket.hxx>
#include <simgear/debug/logstream.hxx>
#include <simgear/structure/exception.hxx>
#ifdef _MSC_VER
# include <win32/mkdir.hpp>
#endif
#include <simgear/misc/sg_path.hxx>
#include <Output/output.hxx>
@ -126,12 +123,9 @@ static void clip_and_write_poly( string root, long int p_index,
long int t_index = b.gen_index();
string path = root + "/" + b.gen_base_path();
#ifdef _MSC_VER
fg_mkdir( path.c_str() );
#else
string command = "mkdir -p " + path;
system( command.c_str() );
#endif
SGPath sgp( path );
sgp.append( "dummy" );
sgp.create_dir( 0755 );
sprintf( tile_name, "%ld", t_index );
string polyfile = path + "/" + tile_name;

View file

@ -9,7 +9,7 @@
#include <vector>
class VpfTable;
class VpfPoint;
struct VpfPoint;
class VpfContour : public VpfComponent
{

View file

@ -32,13 +32,10 @@
#include <simgear/bucket/newbucket.hxx>
#include <simgear/debug/logstream.hxx>
#include <simgear/misc/sg_path.hxx>
#include <DEM/dem.hxx>
#ifdef _MSC_VER
# include <Win32/mkdir.hpp>
#endif
#include "point2d.hxx"
using std::endl;
@ -58,12 +55,9 @@ int main(int argc, char **argv) {
string dem_name = argv[1];
string work_dir = argv[2];
#ifdef _MSC_VER
fg_mkdir( work_dir.c_str() );
#else
string command = "mkdir -p " + work_dir;
system( command.c_str() );
#endif
SGPath sgp( work_dir );
sgp.append( "dummy" );
sgp.create_dir( 0755 );
TGDem dem(dem_name);
dem.parse();

View file

@ -32,14 +32,11 @@
#include <simgear/bucket/newbucket.hxx>
#include <simgear/debug/logstream.hxx>
#include <simgear/misc/sg_path.hxx>
#include <HGT/hgt.hxx>
#include <Polygon/point2d.hxx>
#ifdef _MSC_VER
# include <Win32/mkdir.hpp>
#endif
using std::cout;
using std::endl;
using std::string;
@ -67,12 +64,9 @@ int main(int argc, char **argv) {
exit( -1 );
}
#ifdef _MSC_VER
fg_mkdir( work_dir.c_str() );
#else
string command = "mkdir -p " + work_dir;
system( command.c_str() );
#endif
SGPath sgp( work_dir );
sgp.append( "dummy" );
sgp.create_dir( 0755 );
TGHgt hgt(resolution, hgt_name);
hgt.load();

View file

@ -32,6 +32,7 @@
#include <simgear/math/sg_geodesy.hxx>
#include <simgear/debug/logstream.hxx>
#include <simgear/misc/sgstream.hxx>
#include <simgear/misc/sg_path.hxx>
#include <iostream>
#include <string>
@ -44,10 +45,6 @@
#include <Polygon/polygon.hxx>
#include <e00/e00.hxx>
#ifdef _MSC_VER
# include <Win32/mkdir.hpp>
#endif
using std::cerr;
using std::cout;
using std::endl;
@ -545,12 +542,9 @@ main (int argc, const char **argv)
// Make sure the destination
// directory exists.
#ifdef _MSC_VER
fg_mkdir(workDir.c_str());
#else
string command = "mkdir -p " + workDir;
system(command.c_str());
#endif
SGPath sgp( workDir );
sgp.append( "dummy" );
sgp.create_dir( 0755 );
// Process all of the e00 files
// on the command line.

View file

@ -30,7 +30,7 @@ struct GSHHS { /* Global Self-consistant Hierarchical High-resolution Shorelines
short int source; /* 0 = CIA WDBII, 1 = WVS */
};
struct POINT {
struct GSHHS_POINT {
int x;
int y;
};

View file

@ -35,14 +35,11 @@
#include <zlib.h>
#include <simgear/debug/logstream.hxx>
#include <simgear/misc/sg_path.hxx>
#include <Polygon/index.hxx>
#include <Polygon/polygon.hxx>
#ifdef _MSC_VER
# include <Win32/mkdir.hpp>
#endif
#include "gshhs.h"
#include "gshhs_split.hxx"
@ -58,7 +55,7 @@ using std:: endl ;
int main( int argc, char **argv ) {
struct GSHHS h;
struct POINT p;
struct GSHHS_POINT p;
TGPolygon shape;
double w, e, s, n, area, lon, lat, last_lon, last_lat;
int k, max_east = 270000000;
@ -75,12 +72,9 @@ int main( int argc, char **argv ) {
// make work directory
string work_dir = argv[2];
#ifdef _MSC_VER
fg_mkdir( work_dir.c_str() );
#else
string command = "mkdir -p " + work_dir;
system( command.c_str() );
#endif
SGPath sgp( work_dir );
sgp.append( "dummy" );
sgp.create_dir( 0755 );
// get the specified data level
int target_level = atoi(argv[3]);
@ -146,8 +140,8 @@ int main( int argc, char **argv ) {
last_lon = last_lat = -2000.0;
for ( k = 0; k < h.n; k++ ) {
if ( gzread(fp, (void *)&p, (unsigned)sizeof(struct POINT)) !=
(unsigned)sizeof(struct POINT) )
if ( gzread(fp, (void *)&p, (unsigned)sizeof(struct GSHHS_POINT)) !=
(unsigned)sizeof(struct GSHHS_POINT) )
{
SG_LOG( SG_GENERAL, SG_ALERT, "Error reading file for polygon "
<< h.id << " point " << k );

View file

@ -28,18 +28,17 @@
#include <string>
#include <simgear/debug/logstream.hxx>
#include <simgear/misc/sg_path.hxx>
#include <Polygon/chop.hxx>
#include <Polygon/index.hxx>
#include <Polygon/polygon.hxx>
#include <Polygon/names.hxx>
#include <shapelib/shapefil.h>
#ifdef _MSC_VER
# include <Win32/mkdir.hpp>
#endif
using std:: cout ;
using std:: string ;
using std:: endl ;
// return the type of the shapefile record
std::string get_shapefile_type(DBFHandle& hDBF, int rec) {
@ -269,12 +268,9 @@ int main( int argc, char **argv ) {
// make work directory
string work_dir = argv[2];
#ifdef _MSC_VER
fg_mkdir( work_dir.c_str() );
#else
string command = "mkdir -p " + work_dir;
system( command.c_str() );
#endif
SGPath sgp( work_dir );
sgp.append( "dummy" );
sgp.create_dir( 0755 );
// allow us to override the area type from the command line. All
// polygons in the processed shape file will be assigned this area

View file

@ -45,10 +45,6 @@
#include <Polygon/names.hxx>
#include <shapelib/shapefil.h>
#ifdef _MSC_VER
# include <Win32/mkdir.hpp>
#endif
using std:: cout ;
using std:: endl ;
using std:: string ;
@ -710,12 +706,9 @@ int main( int argc, char **argv ) {
// make work directory
string work_dir = argv[2];
#ifdef _MSC_VER
fg_mkdir( work_dir.c_str() );
#else
string command = "mkdir -p " + work_dir;
system( command.c_str() );
#endif
SGPath sgp( work_dir );
sgp.append( "dummy" );
sgp.create_dir( 0755 );
// allow us to override the area type from the command line. All
// polygons in the processed shape file will be assigned this area

View file

@ -33,6 +33,7 @@
#include <simgear/math/sg_geodesy.hxx>
#include <simgear/misc/sgstream.hxx>
#include <simgear/timing/timestamp.hxx>
#include <simgear/misc/sg_path.hxx>
#include <iostream>
#include <string>
@ -45,10 +46,6 @@
#include <Polygon/polygon.hxx>
#include <vpf/vpf.hxx>
#ifdef _MSC_VER
# include <Win32/mkdir.hpp>
#endif
using std::cerr;
using std::cout;
using std::endl;
@ -413,12 +410,9 @@ main (int argc, const char **argv)
// Make sure the destination
// directory exists.
#ifdef _MSC_VER
fg_mkdir(work_dir.c_str());
#else
string command = "mkdir -p " + work_dir;
system(command.c_str());
#endif
SGPath sgp( work_dir );
sgp.append( "dummy" );
sgp.create_dir( 0755 );
//
// Make the TerraGear polygon for the bounds.

View file

@ -240,7 +240,7 @@ Edge *Subdivision::locate(const Vec2& x, Edge *start)
if (t==0 && !leftOf(eo->Dest(), e))
// x on e but subdiv. is to right
e = e->Sym();
else if (random()&1) { // x is on or above ed and
else if (rand()&1) { // x is on or above ed and
t = to; // on or below eo; step randomly
e = eo;
}

View file

@ -1,4 +1,8 @@
#ifndef _MSC_VER
#include <unistd.h>
#else
#include "XGetopt.h"
#endif
#include <stdlib.h>
#include <fstream>
#include <string>

View file

@ -7,6 +7,10 @@
#include <iostream>
#ifdef _MSC_VER
#define rint(x) floor((x) + 0.5)
#endif
namespace Terra {
extern GreedySubdivision *mesh;