Commit MetaInfo

Revision826e69b4b33076f12bcb3936eee88c2c9898bca6 (tree)
Time2009-08-16 01:22:56
AuthorFace
CommiterFace

Log Message

Added UMmuBase vessel.

Change Summary

Incremental Difference

diff -r 1fbd0bb9b7ba -r 826e69b4b330 Orbitersdk/samples/UMMUFB/UMMUFB.sln
--- a/Orbitersdk/samples/UMMUFB/UMMUFB.sln Sat Aug 15 18:02:49 2009 +0200
+++ b/Orbitersdk/samples/UMMUFB/UMMUFB.sln Sat Aug 15 18:22:56 2009 +0200
@@ -3,6 +3,8 @@
33 # Visual Studio 2008
44 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UMMUFB", "UMMUFB.vcproj", "{D9F1F391-3CA9-4979-84BE-FAF8FAC1F950}"
55 EndProject
6+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UMMUBase", "UMMUBase.vcproj", "{E3203BBC-E85D-4D83-9022-677665003194}"
7+EndProject
68 Global
79 GlobalSection(SolutionConfigurationPlatforms) = preSolution
810 Debug|Win32 = Debug|Win32
@@ -13,6 +15,10 @@
1315 {D9F1F391-3CA9-4979-84BE-FAF8FAC1F950}.Debug|Win32.Build.0 = Debug|Win32
1416 {D9F1F391-3CA9-4979-84BE-FAF8FAC1F950}.Release|Win32.ActiveCfg = Release|Win32
1517 {D9F1F391-3CA9-4979-84BE-FAF8FAC1F950}.Release|Win32.Build.0 = Release|Win32
18+ {E3203BBC-E85D-4D83-9022-677665003194}.Debug|Win32.ActiveCfg = Debug|Win32
19+ {E3203BBC-E85D-4D83-9022-677665003194}.Debug|Win32.Build.0 = Debug|Win32
20+ {E3203BBC-E85D-4D83-9022-677665003194}.Release|Win32.ActiveCfg = Release|Win32
21+ {E3203BBC-E85D-4D83-9022-677665003194}.Release|Win32.Build.0 = Release|Win32
1622 EndGlobalSection
1723 GlobalSection(SolutionProperties) = preSolution
1824 HideSolutionNode = FALSE
diff -r 1fbd0bb9b7ba -r 826e69b4b330 Orbitersdk/samples/UMMUFB/UMmuBase.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/UMMUFB/UMmuBase.cpp Sat Aug 15 18:22:56 2009 +0200
@@ -0,0 +1,27 @@
1+#define STRICT
2+#define ORBITER_MODULE
3+
4+#include "orbitersdk.h"
5+#include "UMmuBase.h"
6+
7+void UMmuBase::clbkSetClassCaps (FILEHANDLE cfg)
8+{
9+ // physical specs
10+ SetSize (0);
11+ SetEmptyMass (0);
12+ SetCameraOffset (_V(0,0.8,0));
13+ SetTouchdownPoints (_V(0,0,1), _V(-1,0,-1), _V(1,0,-1));
14+}
15+
16+DLLCLBK VESSEL *ovcInit (OBJHANDLE hvessel, int flightmodel)
17+{
18+ return new UMmuBase (hvessel, flightmodel);
19+}
20+
21+// --------------------------------------------------------------
22+// Vessel cleanup
23+// --------------------------------------------------------------
24+DLLCLBK void ovcExit (VESSEL *vessel)
25+{
26+ if (vessel) delete (UMmuBase*)vessel;
27+}
\ No newline at end of file
diff -r 1fbd0bb9b7ba -r 826e69b4b330 Orbitersdk/samples/UMMUFB/UMmuBase.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/UMMUFB/UMmuBase.h Sat Aug 15 18:22:56 2009 +0200
@@ -0,0 +1,8 @@
1+#pragma once
2+
3+class UMmuBase: public VESSEL2 {
4+public:
5+ UMmuBase (OBJHANDLE hVessel, int flightmodel)
6+ : VESSEL2 (hVessel, flightmodel) {}
7+ void clbkSetClassCaps (FILEHANDLE cfg);
8+};
diff -r 1fbd0bb9b7ba -r 826e69b4b330 Orbitersdk/samples/UMMUFB/UMmuBase.vcproj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/UMMUFB/UMmuBase.vcproj Sat Aug 15 18:22:56 2009 +0200
@@ -0,0 +1,250 @@
1+<?xml version="1.0" encoding="Windows-1252"?>
2+<VisualStudioProject
3+ ProjectType="Visual C++"
4+ Version="9,00"
5+ Name="UMmuBase"
6+ ProjectGUID="{E3203BBC-E85D-4D83-9022-677665003194}"
7+ RootNamespace="UMmuBase"
8+ TargetFrameworkVersion="131072"
9+ >
10+ <Platforms>
11+ <Platform
12+ Name="Win32"
13+ />
14+ </Platforms>
15+ <ToolFiles>
16+ </ToolFiles>
17+ <Configurations>
18+ <Configuration
19+ Name="Debug|Win32"
20+ OutputDirectory=".\Debug"
21+ IntermediateDirectory=".\Debug"
22+ ConfigurationType="2"
23+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
24+ UseOfMFC="0"
25+ UseOfATL="0"
26+ ATLMinimizesCRunTimeLibraryUsage="false"
27+ >
28+ <Tool
29+ Name="VCPreBuildEventTool"
30+ />
31+ <Tool
32+ Name="VCCustomBuildTool"
33+ />
34+ <Tool
35+ Name="VCXMLDataGeneratorTool"
36+ />
37+ <Tool
38+ Name="VCWebServiceProxyGeneratorTool"
39+ />
40+ <Tool
41+ Name="VCMIDLTool"
42+ PreprocessorDefinitions="_DEBUG"
43+ MkTypLibCompatible="true"
44+ SuppressStartupBanner="true"
45+ TargetEnvironment="1"
46+ TypeLibraryName=".\Debug/UMmuBase.tlb"
47+ HeaderFileName=""
48+ />
49+ <Tool
50+ Name="VCCLCompilerTool"
51+ Optimization="0"
52+ AdditionalIncludeDirectories="..\..\..\Doc\UMmu_SDK\UMmu_ShuttlePB_Example;..\..\include"
53+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
54+ MinimalRebuild="true"
55+ RuntimeLibrary="3"
56+ PrecompiledHeaderFile=".\Debug/UMmuBase.pch"
57+ AssemblerListingLocation=".\Debug/"
58+ ObjectFile=".\Debug/"
59+ ProgramDataBaseFileName=".\Debug/"
60+ WarningLevel="3"
61+ SuppressStartupBanner="true"
62+ DebugInformationFormat="4"
63+ />
64+ <Tool
65+ Name="VCManagedResourceCompilerTool"
66+ />
67+ <Tool
68+ Name="VCResourceCompilerTool"
69+ PreprocessorDefinitions="_DEBUG"
70+ Culture="2057"
71+ />
72+ <Tool
73+ Name="VCPreLinkEventTool"
74+ />
75+ <Tool
76+ Name="VCLinkerTool"
77+ OutputFile="../../../Modules/UMmuBase.dll"
78+ LinkIncremental="2"
79+ SuppressStartupBanner="true"
80+ IgnoreAllDefaultLibraries="false"
81+ IgnoreDefaultLibraryNames="msvcirt.lib;msvcrt.lib"
82+ GenerateDebugInformation="true"
83+ ProgramDatabaseFile=".\Debug/UMmuBase.pdb"
84+ SubSystem="2"
85+ RandomizedBaseAddress="1"
86+ DataExecutionPrevention="0"
87+ ImportLibrary=".\Debug/UMmuBase.lib"
88+ TargetMachine="1"
89+ />
90+ <Tool
91+ Name="VCALinkTool"
92+ />
93+ <Tool
94+ Name="VCManifestTool"
95+ />
96+ <Tool
97+ Name="VCXDCMakeTool"
98+ />
99+ <Tool
100+ Name="VCBscMakeTool"
101+ SuppressStartupBanner="true"
102+ OutputFile=".\Debug/UMmuBase.bsc"
103+ />
104+ <Tool
105+ Name="VCFxCopTool"
106+ />
107+ <Tool
108+ Name="VCAppVerifierTool"
109+ />
110+ <Tool
111+ Name="VCPostBuildEventTool"
112+ />
113+ </Configuration>
114+ <Configuration
115+ Name="Release|Win32"
116+ OutputDirectory=".\Release"
117+ IntermediateDirectory=".\Release"
118+ ConfigurationType="2"
119+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
120+ UseOfMFC="0"
121+ ATLMinimizesCRunTimeLibraryUsage="false"
122+ >
123+ <Tool
124+ Name="VCPreBuildEventTool"
125+ />
126+ <Tool
127+ Name="VCCustomBuildTool"
128+ />
129+ <Tool
130+ Name="VCXMLDataGeneratorTool"
131+ />
132+ <Tool
133+ Name="VCWebServiceProxyGeneratorTool"
134+ />
135+ <Tool
136+ Name="VCMIDLTool"
137+ PreprocessorDefinitions="NDEBUG"
138+ MkTypLibCompatible="true"
139+ SuppressStartupBanner="true"
140+ TargetEnvironment="1"
141+ TypeLibraryName=".\Release/UMmuBase.tlb"
142+ HeaderFileName=""
143+ />
144+ <Tool
145+ Name="VCCLCompilerTool"
146+ Optimization="2"
147+ InlineFunctionExpansion="1"
148+ AdditionalIncludeDirectories="..\..\include"
149+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
150+ StringPooling="true"
151+ RuntimeLibrary="2"
152+ EnableFunctionLevelLinking="true"
153+ PrecompiledHeaderFile=".\Release/UMmuBase.pch"
154+ AssemblerListingLocation=".\Release/"
155+ ObjectFile=".\Release/"
156+ ProgramDataBaseFileName=".\Release/"
157+ BrowseInformation="1"
158+ WarningLevel="3"
159+ SuppressStartupBanner="true"
160+ />
161+ <Tool
162+ Name="VCManagedResourceCompilerTool"
163+ />
164+ <Tool
165+ Name="VCResourceCompilerTool"
166+ PreprocessorDefinitions="NDEBUG"
167+ Culture="2057"
168+ />
169+ <Tool
170+ Name="VCPreLinkEventTool"
171+ />
172+ <Tool
173+ Name="VCLinkerTool"
174+ OutputFile=".\Release/UMmuBase.dll"
175+ LinkIncremental="1"
176+ SuppressStartupBanner="true"
177+ IgnoreDefaultLibraryNames="msvcirt.lib"
178+ ProgramDatabaseFile=".\Release/UMmuBase.pdb"
179+ SubSystem="2"
180+ RandomizedBaseAddress="1"
181+ DataExecutionPrevention="0"
182+ ImportLibrary=".\Release/UMmuBase.lib"
183+ TargetMachine="1"
184+ />
185+ <Tool
186+ Name="VCALinkTool"
187+ />
188+ <Tool
189+ Name="VCManifestTool"
190+ />
191+ <Tool
192+ Name="VCXDCMakeTool"
193+ />
194+ <Tool
195+ Name="VCBscMakeTool"
196+ SuppressStartupBanner="true"
197+ OutputFile=".\Release/UMmuBase.bsc"
198+ />
199+ <Tool
200+ Name="VCFxCopTool"
201+ />
202+ <Tool
203+ Name="VCAppVerifierTool"
204+ />
205+ <Tool
206+ Name="VCPostBuildEventTool"
207+ Description="Installing binaries"
208+ CommandLine="move Release\*.dll ..\..\..\Modules\Plugin"
209+ />
210+ </Configuration>
211+ </Configurations>
212+ <References>
213+ </References>
214+ <Files>
215+ <Filter
216+ Name="SDK"
217+ >
218+ <File
219+ RelativePath="..\..\lib\orbiter.lib"
220+ >
221+ </File>
222+ <File
223+ RelativePath="..\..\include\Orbitersdk.h"
224+ >
225+ </File>
226+ <File
227+ RelativePath="..\..\lib\Orbitersdk.lib"
228+ >
229+ </File>
230+ <File
231+ RelativePath="..\..\..\Doc\UMmu_SDK\UMmu_ShuttlePB_Example\UMmuSDK.h"
232+ >
233+ </File>
234+ <File
235+ RelativePath="..\..\..\Doc\UMmu_SDK\UMmu_ShuttlePB_Example\UMmuSDK.lib"
236+ >
237+ </File>
238+ </Filter>
239+ <File
240+ RelativePath=".\UMmuBase.cpp"
241+ >
242+ </File>
243+ <File
244+ RelativePath=".\UMmuBase.h"
245+ >
246+ </File>
247+ </Files>
248+ <Globals>
249+ </Globals>
250+</VisualStudioProject>
Show on old repository browser