Commit MetaInfo

Revision3f3c765b0c0e158f3a6ad6840a07c71dc900d180 (tree)
Time2008-11-18 05:24:49
Authorat0fk
Commiterat0fk

Log Message

Changed some binaries.
Added ReleaseMeMFD and InterCom projects.

Change Summary

Incremental Difference

diff -r 2783da92d533 -r 3f3c765b0c0e Orbiter.Interfaces.dll
Binary file Orbiter.Interfaces.dll has changed
diff -r 2783da92d533 -r 3f3c765b0c0e Orbiter.Wrapper.dll
Binary file Orbiter.Wrapper.dll has changed
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/InterCom/InterCom.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/InterCom/InterCom.cpp Mon Nov 17 21:24:49 2008 +0100
@@ -0,0 +1,146 @@
1+// ==============================================================
2+// ORBITER MODULE: DialogTemplate
3+// Part of the ORBITER SDK
4+// Copyright (C) 2003 Martin Schweiger
5+// All rights reserved
6+//
7+// DialogTemplate.cpp
8+//
9+// This module demonstrates how to build an Orbiter plugin which
10+// opens a Windows dialog box. This is a good starting point for
11+// your own dialog-based addons.
12+// ==============================================================
13+
14+#define STRICT
15+#define ORBITER_MODULE
16+#include "windows.h"
17+#include "orbitersdk.h"
18+#include "resource.h"
19+#include <stdio.h>
20+
21+// ==============================================================
22+// Global variables
23+// ==============================================================
24+
25+HINSTANCE g_hInst; // module instance handle
26+DWORD g_dwCmd; // custom function identifier
27+int myprm = 0;
28+
29+// ==============================================================
30+// Local prototypes
31+// ==============================================================
32+
33+void OpenDlgClbk (void *context);
34+BOOL CALLBACK MsgProc (HWND, UINT, WPARAM, LPARAM);
35+
36+// ==============================================================
37+// API interface
38+// ==============================================================
39+
40+// ==============================================================
41+// This function is called when Orbiter starts or when the module
42+// is activated.
43+
44+DLLCLBK void opcDLLInit (HINSTANCE hDLL)
45+{
46+ g_hInst = hDLL; // remember the instance handle
47+
48+ // To allow the user to open our new dialog box, we create
49+ // an entry in the "Custom Functions" list which is accessed
50+ // in Orbiter via Ctrl-F4.
51+ g_dwCmd = oapiRegisterCustomCmd ("My dialog",
52+ "Opens a test dialog box which doesn't do much.",
53+ OpenDlgClbk, NULL);
54+}
55+
56+// ==============================================================
57+// This function is called when Orbiter shuts down or when the
58+// module is deactivated
59+
60+DLLCLBK void opcDLLExit (HINSTANCE hDLL)
61+{
62+ // Unregister the custom function in Orbiter
63+ oapiUnregisterCustomCmd (g_dwCmd);
64+}
65+
66+
67+// ==============================================================
68+// Write some parameters to the scenario file
69+
70+DLLCLBK void opcSaveState (FILEHANDLE scn)
71+{
72+ oapiWriteScenario_int (scn, "Param", myprm);
73+}
74+
75+// ==============================================================
76+// Read custom parameters from scenario
77+
78+DLLCLBK void opcLoadState (FILEHANDLE scn)
79+{
80+ char *line;
81+ while (oapiReadScenario_nextline (scn, line)) {
82+ if (!strnicmp (line, "Param", 5)) {
83+ sscanf (line+5, "%d", &myprm);
84+ }
85+ }
86+}
87+
88+// ==============================================================
89+// Open the dialog window
90+
91+void OpenDlgClbk (void *context)
92+{
93+ HWND hDlg = oapiOpenDialog (g_hInst, IDD_MYDIALOG, MsgProc);
94+ // Don't use a standard Windows function like CreateWindow to
95+ // open the dialog box, because it won't work in fullscreen mode
96+}
97+
98+// ==============================================================
99+// Close the dialog
100+
101+void CloseDlg (HWND hDlg)
102+{
103+ oapiCloseDialog (hDlg);
104+}
105+
106+// ==============================================================
107+// Windows message handler for the dialog box
108+
109+BOOL CALLBACK MsgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
110+{
111+ char name[256];
112+
113+ switch (uMsg) {
114+ case WM_INITDIALOG:
115+ sprintf (name, "%d", myprm);
116+ SetWindowText (GetDlgItem (hDlg, IDC_REMEMBER), name);
117+ return TRUE;
118+
119+ case WM_DESTROY:
120+ GetWindowText (GetDlgItem (hDlg, IDC_REMEMBER), name, 256);
121+ sscanf (name, "%d", &myprm);
122+ return TRUE;
123+
124+ case WM_COMMAND:
125+ char* name=oapiGetFocusInterface()->GetClassName();
126+ switch (LOWORD (wParam)) {
127+
128+ case IDC_WHOAMI: // user pressed dialog button
129+ // display the focus vessel name
130+ oapiGetObjectName (oapiGetFocusObject(), name, 256);
131+ SetWindowText (GetDlgItem (hDlg, IDC_IAM), name);
132+ return TRUE;
133+
134+ case IDCANCEL: // dialog closed by user
135+ CloseDlg (hDlg);
136+ return TRUE;
137+ }
138+ break;
139+ }
140+ return oapiDefDialogProc (hDlg, uMsg, wParam, lParam);
141+}
142+
143+DLLEXPORT void *GetInterVesselCommunicator()
144+{
145+ return 0;
146+}
\ No newline at end of file
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/InterCom/InterCom.def
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/InterCom/InterCom.def Mon Nov 17 21:24:49 2008 +0100
@@ -0,0 +1,4 @@
1+LIBRARY "InterCom"
2+
3+EXPORTS
4+ GetInterComManager
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/InterCom/InterCom.dsp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/InterCom/InterCom.dsp Mon Nov 17 21:24:49 2008 +0100
@@ -0,0 +1,114 @@
1+# Microsoft Developer Studio Project File - Name="InterCom" - Package Owner=<4>
2+# Microsoft Developer Studio Generated Build File, Format Version 6.00
3+# ** DO NOT EDIT **
4+
5+# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
6+
7+CFG=InterCom - Win32 Debug
8+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
9+!MESSAGE use the Export Makefile command and run
10+!MESSAGE
11+!MESSAGE NMAKE /f "InterCom.mak".
12+!MESSAGE
13+!MESSAGE You can specify a configuration when running NMAKE
14+!MESSAGE by defining the macro CFG on the command line. For example:
15+!MESSAGE
16+!MESSAGE NMAKE /f "InterCom.mak" CFG="InterCom - Win32 Debug"
17+!MESSAGE
18+!MESSAGE Possible choices for configuration are:
19+!MESSAGE
20+!MESSAGE "InterCom - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
21+!MESSAGE "InterCom - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
22+!MESSAGE
23+
24+# Begin Project
25+# PROP AllowPerConfigDependencies 0
26+# PROP Scc_ProjName ""
27+# PROP Scc_LocalPath ""
28+CPP=cl.exe
29+MTL=midl.exe
30+RSC=rc.exe
31+
32+!IF "$(CFG)" == "InterCom - Win32 Release"
33+
34+# PROP BASE Use_MFC 0
35+# PROP BASE Use_Debug_Libraries 0
36+# PROP BASE Output_Dir "Release"
37+# PROP BASE Intermediate_Dir "Release"
38+# PROP BASE Target_Dir ""
39+# PROP Use_MFC 0
40+# PROP Use_Debug_Libraries 0
41+# PROP Output_Dir "Release"
42+# PROP Intermediate_Dir "Release"
43+# PROP Ignore_Export_Lib 0
44+# PROP Target_Dir ""
45+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
46+# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c
47+# SUBTRACT CPP /YX
48+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
49+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
50+# ADD BASE RSC /l 0x809 /d "NDEBUG"
51+# ADD RSC /l 0x809 /d "NDEBUG"
52+BSC32=bscmake.exe
53+# ADD BASE BSC32 /nologo
54+# ADD BSC32 /nologo
55+LINK32=link.exe
56+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
57+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /pdb:none /machine:I386
58+# Begin Special Build Tool
59+SOURCE="$(InputPath)"
60+PostBuild_Desc=Installing binaries
61+PostBuild_Cmds=move Release\*.dll ..\..\..\Modules\Plugin
62+# End Special Build Tool
63+
64+!ELSEIF "$(CFG)" == "InterCom - Win32 Debug"
65+
66+# PROP BASE Use_MFC 0
67+# PROP BASE Use_Debug_Libraries 1
68+# PROP BASE Output_Dir "Debug"
69+# PROP BASE Intermediate_Dir "Debug"
70+# PROP BASE Target_Dir ""
71+# PROP Use_MFC 0
72+# PROP Use_Debug_Libraries 1
73+# PROP Output_Dir "..\..\..\Modules\Plugin"
74+# PROP Intermediate_Dir "Debug"
75+# PROP Ignore_Export_Lib 0
76+# PROP Target_Dir ""
77+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
78+# ADD CPP /nologo /MDd /W3 /GX /ZI /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c
79+# SUBTRACT CPP /Fr /YX
80+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
81+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
82+# ADD BASE RSC /l 0x809 /d "_DEBUG"
83+# ADD RSC /l 0x809 /d "_DEBUG"
84+BSC32=bscmake.exe
85+# ADD BASE BSC32 /nologo
86+# ADD BSC32 /nologo
87+LINK32=link.exe
88+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
89+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /pdb:none /map /debug /machine:I386
90+
91+!ENDIF
92+
93+# Begin Target
94+
95+# Name "InterCom - Win32 Release"
96+# Name "InterCom - Win32 Debug"
97+# Begin Source File
98+
99+SOURCE=.\InterCom.cpp
100+# End Source File
101+# Begin Source File
102+
103+SOURCE=.\InterCom.rc
104+# End Source File
105+# Begin Source File
106+
107+SOURCE=..\..\lib\orbiter.lib
108+# End Source File
109+# Begin Source File
110+
111+SOURCE=..\..\lib\Orbitersdk.lib
112+# End Source File
113+# End Target
114+# End Project
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/InterCom/InterCom.dsw
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/InterCom/InterCom.dsw Mon Nov 17 21:24:49 2008 +0100
@@ -0,0 +1,29 @@
1+Microsoft Developer Studio Workspace File, Format Version 6.00
2+# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
3+
4+###############################################################################
5+
6+Project: "InterCom"=.\InterCom.dsp - Package Owner=<4>
7+
8+Package=<5>
9+{{{
10+}}}
11+
12+Package=<4>
13+{{{
14+}}}
15+
16+###############################################################################
17+
18+Global:
19+
20+Package=<5>
21+{{{
22+}}}
23+
24+Package=<3>
25+{{{
26+}}}
27+
28+###############################################################################
29+
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/InterCom/InterCom.rc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/InterCom/InterCom.rc Mon Nov 17 21:24:49 2008 +0100
@@ -0,0 +1,101 @@
1+//Microsoft Developer Studio generated resource script.
2+//
3+#include "resource.h"
4+
5+#define APSTUDIO_READONLY_SYMBOLS
6+/////////////////////////////////////////////////////////////////////////////
7+//
8+// Generated from the TEXTINCLUDE 2 resource.
9+//
10+#include "afxres.h"
11+
12+/////////////////////////////////////////////////////////////////////////////
13+#undef APSTUDIO_READONLY_SYMBOLS
14+
15+/////////////////////////////////////////////////////////////////////////////
16+// English (U.K.) resources
17+
18+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
19+#ifdef _WIN32
20+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
21+#pragma code_page(1252)
22+#endif //_WIN32
23+
24+/////////////////////////////////////////////////////////////////////////////
25+//
26+// Dialog
27+//
28+
29+IDD_MYDIALOG DIALOGEX 0, 0, 186, 105
30+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
31+EXSTYLE WS_EX_TOOLWINDOW
32+CAPTION "Orbiter Dialog Template"
33+FONT 8, "MS Sans Serif"
34+BEGIN
35+ PUSHBUTTON "Close",IDCANCEL,129,84,50,14
36+ PUSHBUTTON "Who am I?",IDC_WHOAMI,7,7,50,14
37+ CTEXT "",IDC_IAM,7,28,172,22,SS_CENTERIMAGE | SS_SUNKEN
38+ LTEXT "Remember this:",IDC_STATIC,7,60,50,8
39+ EDITTEXT IDC_REMEMBER,62,59,54,14,ES_AUTOHSCROLL | ES_NUMBER
40+END
41+
42+
43+/////////////////////////////////////////////////////////////////////////////
44+//
45+// DESIGNINFO
46+//
47+
48+#ifdef APSTUDIO_INVOKED
49+GUIDELINES DESIGNINFO DISCARDABLE
50+BEGIN
51+ IDD_MYDIALOG, DIALOG
52+ BEGIN
53+ LEFTMARGIN, 7
54+ RIGHTMARGIN, 179
55+ TOPMARGIN, 7
56+ BOTTOMMARGIN, 98
57+ END
58+END
59+#endif // APSTUDIO_INVOKED
60+
61+
62+#ifdef APSTUDIO_INVOKED
63+/////////////////////////////////////////////////////////////////////////////
64+//
65+// TEXTINCLUDE
66+//
67+
68+1 TEXTINCLUDE DISCARDABLE
69+BEGIN
70+ "resource.h\0"
71+END
72+
73+2 TEXTINCLUDE DISCARDABLE
74+BEGIN
75+ "#include ""afxres.h""\r\n"
76+ "\0"
77+END
78+
79+3 TEXTINCLUDE DISCARDABLE
80+BEGIN
81+ "\r\n"
82+ "\0"
83+END
84+
85+#endif // APSTUDIO_INVOKED
86+
87+#endif // English (U.K.) resources
88+/////////////////////////////////////////////////////////////////////////////
89+
90+
91+
92+#ifndef APSTUDIO_INVOKED
93+/////////////////////////////////////////////////////////////////////////////
94+//
95+// Generated from the TEXTINCLUDE 3 resource.
96+//
97+
98+
99+/////////////////////////////////////////////////////////////////////////////
100+#endif // not APSTUDIO_INVOKED
101+
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/InterCom/InterCom.sln
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/InterCom/InterCom.sln Mon Nov 17 21:24:49 2008 +0100
@@ -0,0 +1,20 @@
1+
2+Microsoft Visual Studio Solution File, Format Version 9.00
3+# Visual Studio 2005
4+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "InterCom", "InterCom.vcproj", "{290E359C-3257-42E6-81AD-FB1188731683}"
5+EndProject
6+Global
7+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+ Debug|Win32 = Debug|Win32
9+ Release|Win32 = Release|Win32
10+ EndGlobalSection
11+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
12+ {290E359C-3257-42E6-81AD-FB1188731683}.Debug|Win32.ActiveCfg = Debug|Win32
13+ {290E359C-3257-42E6-81AD-FB1188731683}.Debug|Win32.Build.0 = Debug|Win32
14+ {290E359C-3257-42E6-81AD-FB1188731683}.Release|Win32.ActiveCfg = Release|Win32
15+ {290E359C-3257-42E6-81AD-FB1188731683}.Release|Win32.Build.0 = Release|Win32
16+ EndGlobalSection
17+ GlobalSection(SolutionProperties) = preSolution
18+ HideSolutionNode = FALSE
19+ EndGlobalSection
20+EndGlobal
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/InterCom/InterCom.vcproj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/InterCom/InterCom.vcproj Mon Nov 17 21:24:49 2008 +0100
@@ -0,0 +1,266 @@
1+<?xml version="1.0" encoding="Windows-1252"?>
2+<VisualStudioProject
3+ ProjectType="Visual C++"
4+ Version="8,00"
5+ Name="InterCom"
6+ ProjectGUID="{290E359C-3257-42E6-81AD-FB1188731683}"
7+ RootNamespace="InterCom"
8+ >
9+ <Platforms>
10+ <Platform
11+ Name="Win32"
12+ />
13+ </Platforms>
14+ <ToolFiles>
15+ </ToolFiles>
16+ <Configurations>
17+ <Configuration
18+ Name="Release|Win32"
19+ OutputDirectory=".\Release"
20+ IntermediateDirectory=".\Release"
21+ ConfigurationType="2"
22+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
23+ UseOfMFC="0"
24+ ATLMinimizesCRunTimeLibraryUsage="false"
25+ >
26+ <Tool
27+ Name="VCPreBuildEventTool"
28+ />
29+ <Tool
30+ Name="VCCustomBuildTool"
31+ />
32+ <Tool
33+ Name="VCXMLDataGeneratorTool"
34+ />
35+ <Tool
36+ Name="VCWebServiceProxyGeneratorTool"
37+ />
38+ <Tool
39+ Name="VCMIDLTool"
40+ PreprocessorDefinitions="NDEBUG"
41+ MkTypLibCompatible="true"
42+ SuppressStartupBanner="true"
43+ TargetEnvironment="1"
44+ TypeLibraryName=".\Release/InterCom.tlb"
45+ HeaderFileName=""
46+ />
47+ <Tool
48+ Name="VCCLCompilerTool"
49+ Optimization="2"
50+ InlineFunctionExpansion="1"
51+ AdditionalIncludeDirectories="..\..\include"
52+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
53+ StringPooling="true"
54+ RuntimeLibrary="2"
55+ EnableFunctionLevelLinking="true"
56+ PrecompiledHeaderFile=".\Release/InterCom.pch"
57+ AssemblerListingLocation=".\Release/"
58+ ObjectFile=".\Release/"
59+ ProgramDataBaseFileName=".\Release/"
60+ WarningLevel="3"
61+ SuppressStartupBanner="true"
62+ />
63+ <Tool
64+ Name="VCManagedResourceCompilerTool"
65+ />
66+ <Tool
67+ Name="VCResourceCompilerTool"
68+ PreprocessorDefinitions="NDEBUG"
69+ Culture="2057"
70+ />
71+ <Tool
72+ Name="VCPreLinkEventTool"
73+ />
74+ <Tool
75+ Name="VCLinkerTool"
76+ OutputFile=".\Release/InterCom.dll"
77+ LinkIncremental="1"
78+ SuppressStartupBanner="true"
79+ IgnoreDefaultLibraryNames="msvcirt.lib"
80+ SubSystem="2"
81+ ImportLibrary=".\Release/InterCom.lib"
82+ TargetMachine="1"
83+ />
84+ <Tool
85+ Name="VCALinkTool"
86+ />
87+ <Tool
88+ Name="VCManifestTool"
89+ />
90+ <Tool
91+ Name="VCXDCMakeTool"
92+ />
93+ <Tool
94+ Name="VCBscMakeTool"
95+ SuppressStartupBanner="true"
96+ OutputFile=".\Release/InterCom.bsc"
97+ />
98+ <Tool
99+ Name="VCFxCopTool"
100+ />
101+ <Tool
102+ Name="VCAppVerifierTool"
103+ />
104+ <Tool
105+ Name="VCWebDeploymentTool"
106+ />
107+ <Tool
108+ Name="VCPostBuildEventTool"
109+ Description="Installing binaries"
110+ CommandLine="move Release\*.dll ..\..\..\Modules\Plugin"
111+ />
112+ </Configuration>
113+ <Configuration
114+ Name="Debug|Win32"
115+ OutputDirectory=".\..\..\..\Modules\Plugin"
116+ IntermediateDirectory=".\Debug"
117+ ConfigurationType="2"
118+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
119+ UseOfMFC="0"
120+ ATLMinimizesCRunTimeLibraryUsage="false"
121+ >
122+ <Tool
123+ Name="VCPreBuildEventTool"
124+ />
125+ <Tool
126+ Name="VCCustomBuildTool"
127+ />
128+ <Tool
129+ Name="VCXMLDataGeneratorTool"
130+ />
131+ <Tool
132+ Name="VCWebServiceProxyGeneratorTool"
133+ />
134+ <Tool
135+ Name="VCMIDLTool"
136+ PreprocessorDefinitions="_DEBUG"
137+ MkTypLibCompatible="true"
138+ SuppressStartupBanner="true"
139+ TargetEnvironment="1"
140+ TypeLibraryName=".\..\..\..\Modules\Plugin/InterCom.tlb"
141+ HeaderFileName=""
142+ />
143+ <Tool
144+ Name="VCCLCompilerTool"
145+ Optimization="0"
146+ AdditionalIncludeDirectories="..\..\include"
147+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
148+ RuntimeLibrary="3"
149+ PrecompiledHeaderFile=".\Debug/InterCom.pch"
150+ AssemblerListingLocation=".\Debug/"
151+ ObjectFile=".\Debug/"
152+ ProgramDataBaseFileName=".\Debug/"
153+ WarningLevel="3"
154+ SuppressStartupBanner="true"
155+ DebugInformationFormat="4"
156+ />
157+ <Tool
158+ Name="VCManagedResourceCompilerTool"
159+ />
160+ <Tool
161+ Name="VCResourceCompilerTool"
162+ PreprocessorDefinitions="_DEBUG"
163+ Culture="2057"
164+ />
165+ <Tool
166+ Name="VCPreLinkEventTool"
167+ />
168+ <Tool
169+ Name="VCLinkerTool"
170+ OutputFile=".\..\..\..\Modules\Plugin/InterCom.dll"
171+ LinkIncremental="2"
172+ SuppressStartupBanner="true"
173+ IgnoreAllDefaultLibraries="false"
174+ IgnoreDefaultLibraryNames="msvcirt.lib;msvcrt.lib"
175+ GenerateDebugInformation="true"
176+ GenerateMapFile="true"
177+ MapFileName=".\Debug/InterCom.map"
178+ SubSystem="2"
179+ ImportLibrary=".\..\..\..\Modules\Plugin/InterCom.lib"
180+ TargetMachine="1"
181+ />
182+ <Tool
183+ Name="VCALinkTool"
184+ />
185+ <Tool
186+ Name="VCManifestTool"
187+ />
188+ <Tool
189+ Name="VCXDCMakeTool"
190+ />
191+ <Tool
192+ Name="VCBscMakeTool"
193+ SuppressStartupBanner="true"
194+ OutputFile=".\..\..\..\Modules\Plugin/InterCom.bsc"
195+ />
196+ <Tool
197+ Name="VCFxCopTool"
198+ />
199+ <Tool
200+ Name="VCAppVerifierTool"
201+ />
202+ <Tool
203+ Name="VCWebDeploymentTool"
204+ />
205+ <Tool
206+ Name="VCPostBuildEventTool"
207+ />
208+ </Configuration>
209+ </Configurations>
210+ <References>
211+ </References>
212+ <Files>
213+ <File
214+ RelativePath="InterCom.cpp"
215+ >
216+ <FileConfiguration
217+ Name="Release|Win32"
218+ >
219+ <Tool
220+ Name="VCCLCompilerTool"
221+ AdditionalIncludeDirectories=""
222+ PreprocessorDefinitions=""
223+ />
224+ </FileConfiguration>
225+ <FileConfiguration
226+ Name="Debug|Win32"
227+ >
228+ <Tool
229+ Name="VCCLCompilerTool"
230+ AdditionalIncludeDirectories=""
231+ PreprocessorDefinitions=""
232+ />
233+ </FileConfiguration>
234+ </File>
235+ <File
236+ RelativePath="InterCom.rc"
237+ >
238+ <FileConfiguration
239+ Name="Release|Win32"
240+ >
241+ <Tool
242+ Name="VCResourceCompilerTool"
243+ PreprocessorDefinitions=""
244+ />
245+ </FileConfiguration>
246+ <FileConfiguration
247+ Name="Debug|Win32"
248+ >
249+ <Tool
250+ Name="VCResourceCompilerTool"
251+ PreprocessorDefinitions=""
252+ />
253+ </FileConfiguration>
254+ </File>
255+ <File
256+ RelativePath="..\..\lib\orbiter.lib"
257+ >
258+ </File>
259+ <File
260+ RelativePath="..\..\lib\Orbitersdk.lib"
261+ >
262+ </File>
263+ </Files>
264+ <Globals>
265+ </Globals>
266+</VisualStudioProject>
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/InterCom/resource.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/InterCom/resource.h Mon Nov 17 21:24:49 2008 +0100
@@ -0,0 +1,19 @@
1+//{{NO_DEPENDENCIES}}
2+// Microsoft Developer Studio generated include file.
3+// Used by DialogTemplate.rc
4+//
5+#define IDD_MYDIALOG 101
6+#define IDC_WHOAMI 1000
7+#define IDC_IAM 1001
8+#define IDC_REMEMBER 1002
9+
10+// Next default values for new objects
11+//
12+#ifdef APSTUDIO_INVOKED
13+#ifndef APSTUDIO_READONLY_SYMBOLS
14+#define _APS_NEXT_RESOURCE_VALUE 102
15+#define _APS_NEXT_COMMAND_VALUE 40001
16+#define _APS_NEXT_CONTROL_VALUE 1003
17+#define _APS_NEXT_SYMED_VALUE 101
18+#endif
19+#endif
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/Orbiter.NET/Orbiter.StockVessels/ShuttlePB.cs
--- a/Orbitersdk/samples/Orbiter.NET/Orbiter.StockVessels/ShuttlePB.cs Tue Sep 02 20:02:30 2008 +0200
+++ b/Orbitersdk/samples/Orbiter.NET/Orbiter.StockVessels/ShuttlePB.cs Mon Nov 17 21:24:49 2008 +0100
@@ -224,10 +224,10 @@
224224 public void DrawHUD(int mode, HudPaintSpecification hps, IntPtr hDC)
225225 {
226226 //Uncomment and recompile this for demonstration of managed HUD painting
227- //Graphics MyHUD = Graphics.FromHdc(hDC);
228- //Font MyFont = new Font("Arial", 10.0F, FontStyle.Regular, GraphicsUnit.Pixel, (byte)(0));
229- //Brush MyBrush = Brushes.Red;
230- //MyHUD.DrawString(".NET Graphics Test (GDI+)", MyFont, MyBrush, 10, 250);
227+ Graphics MyHUD = Graphics.FromHdc(hDC);
228+ Font MyFont = new Font("Arial", 10.0F, FontStyle.Regular, GraphicsUnit.Pixel, (byte)(0));
229+ Brush MyBrush = Brushes.Red;
230+ MyHUD.DrawString(".NET Graphics Test (GDI+)", MyFont, MyBrush, 10, 250);
231231 Base.DrawHUD(mode, hps, hDC);
232232 }
233233
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/Orbiter.NET/ShuttlePBdotNET/ShuttlePBdotNETModule.cs
--- a/Orbitersdk/samples/Orbiter.NET/ShuttlePBdotNET/ShuttlePBdotNETModule.cs Tue Sep 02 20:02:30 2008 +0200
+++ b/Orbitersdk/samples/Orbiter.NET/ShuttlePBdotNET/ShuttlePBdotNETModule.cs Mon Nov 17 21:24:49 2008 +0100
@@ -12,7 +12,7 @@
1212
1313 public IntPtr InitVessel(IntPtr vessel, int flightModel)
1414 {
15- return Vessel.Init(vessel, flightModel, new Orbiter.StockVessels.DeltaGlider(flightModel));//.ShuttlePB());
15+ return Vessel.Init(vessel, flightModel, new Orbiter.StockVessels.ShuttlePB());//.ShuttlePB());
1616 }
1717
1818 public void ExitVessel(IntPtr vessel)
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/ReleaseMeMFD/ReleaseMeMFD.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/ReleaseMeMFD/ReleaseMeMFD.cpp Mon Nov 17 21:24:49 2008 +0100
@@ -0,0 +1,167 @@
1+#define STRICT
2+#define ORBITER_MODULE
3+#include <stdio.h>
4+#include "orbitersdk.h"
5+#include "ReleaseMeMFD.h"
6+
7+// ==============================================================
8+// Global variables
9+
10+int g_MFDmode; // identifier for new MFD mode
11+
12+// ==============================================================
13+// API interface
14+
15+DLLCLBK void InitModule (HINSTANCE hDLL)
16+{
17+ static char *name = "Release";
18+ MFDMODESPEC spec;
19+ spec.name = name;
20+ spec.key = OAPI_KEY_R;
21+ spec.msgproc = ReleaseMeMFD::MsgProc;
22+
23+ // Register the new MFD mode with Orbiter
24+ g_MFDmode = oapiRegisterMFDMode (spec);
25+}
26+
27+DLLCLBK void ExitModule (HINSTANCE hDLL)
28+{
29+ // Unregister the custom MFD mode when the module is unloaded
30+ oapiUnregisterMFDMode (g_MFDmode);
31+}
32+
33+// ==============================================================
34+// MFD class implementation
35+
36+// Constructor
37+ReleaseMeMFD::ReleaseMeMFD (DWORD w, DWORD h, VESSEL *vessel)
38+: MFD (w, h, vessel)
39+{
40+ this->vessel=vessel;
41+ this->object=vessel->GetHandle();
42+ this->width=(int)w/35;
43+ this->heigth=(int)h/28;
44+}
45+
46+// Destructor
47+ReleaseMeMFD::~ReleaseMeMFD ()
48+{
49+ // Add MFD cleanup code here
50+}
51+
52+// Return button labels
53+char *ReleaseMeMFD::ButtonLabel (int bt)
54+{
55+ // The labels for the two buttons used by our MFD mode
56+ static char *label[1] = {"REL"};
57+ return (bt < 1 ? label[bt] : 0);
58+}
59+
60+// Return button menus
61+int ReleaseMeMFD::ButtonMenu (const MFDBUTTONMENU **menu) const
62+{
63+ // The menu descriptions for the two buttons
64+ static const MFDBUTTONMENU mnu[2] = {
65+ {"Release from parents", 0, 'D'}
66+ };
67+ if (menu) *menu = mnu;
68+ return 1; // return the number of buttons used
69+}
70+
71+
72+// Repaint the MFD
73+void ReleaseMeMFD::Update (HDC hDC)
74+{
75+ ATTACHMENTHANDLE point;
76+ DWORD i, j=vessel->AttachmentCount(true);
77+ char buffer[20];
78+ strcpy(buffer, "F R E E");
79+ for(i=0;i<j;i++)
80+ {
81+ point=vessel->GetAttachmentHandle(true, i);
82+ if (point!=0)
83+ if (vessel->GetAttachmentStatus(point)!=0)
84+ {
85+ strcpy(buffer, "A T T A C H E D");
86+ break;
87+ }
88+ }
89+ int l=strlen(buffer);
90+ SelectDefaultFont (hDC, 0);
91+ SelectDefaultPen (hDC, 4);
92+ TextOut(hDC, (35-l)/2*this->width, 13*this->heigth, buffer, l);
93+}
94+
95+// MFD message parser
96+int ReleaseMeMFD::MsgProc (UINT msg, UINT mfd, WPARAM wparam, LPARAM lparam)
97+{
98+ switch (msg) {
99+ case OAPI_MSG_MFD_OPENED:
100+ // Our new MFD mode has been selected, so we create the MFD and
101+ // return a pointer to it.
102+ return (int)(new ReleaseMeMFD (LOWORD(wparam), HIWORD(wparam), (VESSEL*)lparam));
103+ }
104+ return 0;
105+}
106+
107+bool ReleaseMeMFD::ConsumeKeyBuffered(DWORD key)
108+{
109+ switch(key)
110+ {
111+ case OAPI_KEY_D:
112+ ReleaseFromAllParents();
113+ return true;
114+ default:
115+ return false;
116+ }
117+}
118+
119+bool ReleaseMeMFD::ConsumeButton(int bt, int event)
120+{
121+ if (event==PANEL_MOUSE_LBPRESSED)
122+ {
123+ switch(bt)
124+ {
125+ case 0:
126+ return ConsumeKeyBuffered(OAPI_KEY_D);
127+ }
128+ }
129+ return false;
130+}
131+
132+void ReleaseMeMFD::ReleaseFromAllParents()
133+{
134+ ATTACHMENTHANDLE point;
135+ OBJHANDLE parentObject;
136+ VESSEL *parent;
137+ DWORD i;
138+ DWORD j=vessel->AttachmentCount(true);
139+ for(i=0;i<j;i++)
140+ {
141+ point=vessel->GetAttachmentHandle(true, i);
142+ parentObject=vessel->GetAttachmentStatus(point);
143+ if (parentObject!=0)
144+ {
145+ parent=oapiGetVesselInterface(parentObject);
146+ if (parent!=0)
147+ {
148+ ReleaseFromParent(parent);
149+ }
150+ }
151+ }
152+}
153+
154+void ReleaseMeMFD::ReleaseFromParent(VESSEL *vessel)
155+{
156+ ATTACHMENTHANDLE point;
157+ DWORD i;
158+ DWORD j=vessel->AttachmentCount(false);
159+ for(i=0;i<j;i++)
160+ {
161+ point=vessel->GetAttachmentHandle(false, i);
162+ if (this->object==vessel->GetAttachmentStatus(point))
163+ {
164+ vessel->DetachChild(point);
165+ }
166+ }
167+}
\ No newline at end of file
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/ReleaseMeMFD/ReleaseMeMFD.dsp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/ReleaseMeMFD/ReleaseMeMFD.dsp Mon Nov 17 21:24:49 2008 +0100
@@ -0,0 +1,121 @@
1+# Microsoft Developer Studio Project File - Name="ReleaseMeMFD" - Package Owner=<4>
2+# Microsoft Developer Studio Generated Build File, Format Version 6.00
3+# ** DO NOT EDIT **
4+
5+# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
6+
7+CFG=ReleaseMeMFD - Win32 Release
8+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
9+!MESSAGE use the Export Makefile command and run
10+!MESSAGE
11+!MESSAGE NMAKE /f "ReleaseMeMFD.mak".
12+!MESSAGE
13+!MESSAGE You can specify a configuration when running NMAKE
14+!MESSAGE by defining the macro CFG on the command line. For example:
15+!MESSAGE
16+!MESSAGE NMAKE /f "ReleaseMeMFD.mak" CFG="ReleaseMeMFD - Win32 Release"
17+!MESSAGE
18+!MESSAGE Possible choices for configuration are:
19+!MESSAGE
20+!MESSAGE "ReleaseMeMFD - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
21+!MESSAGE "ReleaseMeMFD - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
22+!MESSAGE
23+
24+# Begin Project
25+# PROP AllowPerConfigDependencies 0
26+# PROP Scc_ProjName ""
27+# PROP Scc_LocalPath ""
28+CPP=cl.exe
29+MTL=midl.exe
30+RSC=rc.exe
31+
32+!IF "$(CFG)" == "ReleaseMeMFD - Win32 Release"
33+
34+# PROP BASE Use_MFC 0
35+# PROP BASE Use_Debug_Libraries 0
36+# PROP BASE Output_Dir "Release"
37+# PROP BASE Intermediate_Dir "Release"
38+# PROP BASE Target_Dir ""
39+# PROP Use_MFC 0
40+# PROP Use_Debug_Libraries 0
41+# PROP Output_Dir "Release"
42+# PROP Intermediate_Dir "Release"
43+# PROP Ignore_Export_Lib 0
44+# PROP Target_Dir ""
45+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
46+# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FR /FD /c
47+# SUBTRACT CPP /YX
48+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
49+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
50+# ADD BASE RSC /l 0x809 /d "NDEBUG"
51+# ADD RSC /l 0x809 /d "NDEBUG"
52+BSC32=bscmake.exe
53+# ADD BASE BSC32 /nologo
54+# ADD BSC32 /nologo
55+LINK32=link.exe
56+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
57+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
58+# Begin Special Build Tool
59+SOURCE="$(InputPath)"
60+PostBuild_Desc=Installing binaries
61+PostBuild_Cmds=move Release\*.dll ..\..\..\Modules\Plugin
62+# End Special Build Tool
63+
64+!ELSEIF "$(CFG)" == "ReleaseMeMFD - Win32 Debug"
65+
66+# PROP BASE Use_MFC 0
67+# PROP BASE Use_Debug_Libraries 1
68+# PROP BASE Output_Dir "Debug"
69+# PROP BASE Intermediate_Dir "Debug"
70+# PROP BASE Target_Dir ""
71+# PROP Use_MFC 0
72+# PROP Use_Debug_Libraries 1
73+# PROP Output_Dir "Debug"
74+# PROP Intermediate_Dir "Debug"
75+# PROP Ignore_Export_Lib 0
76+# PROP Target_Dir ""
77+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
78+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
79+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
80+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
81+# ADD BASE RSC /l 0x809 /d "_DEBUG"
82+# ADD RSC /l 0x809 /d "_DEBUG"
83+BSC32=bscmake.exe
84+# ADD BASE BSC32 /nologo
85+# ADD BSC32 /nologo
86+LINK32=link.exe
87+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
88+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"../../../Modules/Plugin/ReleaseMeMFD.dll" /pdbtype:sept
89+
90+!ENDIF
91+
92+# Begin Target
93+
94+# Name "ReleaseMeMFD - Win32 Release"
95+# Name "ReleaseMeMFD - Win32 Debug"
96+# Begin Group "SDK"
97+
98+# PROP Default_Filter ""
99+# Begin Source File
100+
101+SOURCE=..\..\include\Orbitersdk.h
102+# End Source File
103+# Begin Source File
104+
105+SOURCE=..\..\lib\orbiter.lib
106+# End Source File
107+# Begin Source File
108+
109+SOURCE=..\..\lib\Orbitersdk.lib
110+# End Source File
111+# End Group
112+# Begin Source File
113+
114+SOURCE=.\ReleaseMeMFD.cpp
115+# End Source File
116+# Begin Source File
117+
118+SOURCE=.\ReleaseMeMFD.h
119+# End Source File
120+# End Target
121+# End Project
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/ReleaseMeMFD/ReleaseMeMFD.dsw
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/ReleaseMeMFD/ReleaseMeMFD.dsw Mon Nov 17 21:24:49 2008 +0100
@@ -0,0 +1,29 @@
1+Microsoft Developer Studio Workspace File, Format Version 6.00
2+# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
3+
4+###############################################################################
5+
6+Project: "ReleaseMeMFD"=.\ReleaseMeMFD.dsp - Package Owner=<4>
7+
8+Package=<5>
9+{{{
10+}}}
11+
12+Package=<4>
13+{{{
14+}}}
15+
16+###############################################################################
17+
18+Global:
19+
20+Package=<5>
21+{{{
22+}}}
23+
24+Package=<3>
25+{{{
26+}}}
27+
28+###############################################################################
29+
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/ReleaseMeMFD/ReleaseMeMFD.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/ReleaseMeMFD/ReleaseMeMFD.h Mon Nov 17 21:24:49 2008 +0100
@@ -0,0 +1,23 @@
1+#ifndef __RELEASEMEMFD_H
2+#define __RELEASEMEMFD_H
3+
4+class ReleaseMeMFD: public MFD {
5+public:
6+ ReleaseMeMFD (DWORD w, DWORD h, VESSEL *vessel);
7+ ~ReleaseMeMFD ();
8+ char *ButtonLabel (int bt);
9+ int ButtonMenu (const MFDBUTTONMENU **menu) const;
10+ bool ConsumeKeyBuffered (DWORD key);
11+ bool ConsumeButton (int bt, int event);
12+ void Update (HDC hDC);
13+ static int MsgProc (UINT msg, UINT mfd, WPARAM wparam, LPARAM lparam);
14+private:
15+ VESSEL *vessel;
16+ OBJHANDLE object;
17+ void ReleaseFromAllParents();
18+ void ReleaseFromParent(VESSEL *vessel);
19+ int width;
20+ int heigth;
21+};
22+
23+#endif // !__RELEASEMEMFD_H
\ No newline at end of file
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/ReleaseMeMFD/ReleaseMeMFD.sln
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/ReleaseMeMFD/ReleaseMeMFD.sln Mon Nov 17 21:24:49 2008 +0100
@@ -0,0 +1,20 @@
1+
2+Microsoft Visual Studio Solution File, Format Version 9.00
3+# Visual Studio 2005
4+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ReleaseMeMFD", "ReleaseMeMFD.vcproj", "{D9F1F391-3CA9-4979-84BE-FAF8FAC1F950}"
5+EndProject
6+Global
7+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+ Debug|Win32 = Debug|Win32
9+ Release|Win32 = Release|Win32
10+ EndGlobalSection
11+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
12+ {D9F1F391-3CA9-4979-84BE-FAF8FAC1F950}.Debug|Win32.ActiveCfg = Debug|Win32
13+ {D9F1F391-3CA9-4979-84BE-FAF8FAC1F950}.Debug|Win32.Build.0 = Debug|Win32
14+ {D9F1F391-3CA9-4979-84BE-FAF8FAC1F950}.Release|Win32.ActiveCfg = Release|Win32
15+ {D9F1F391-3CA9-4979-84BE-FAF8FAC1F950}.Release|Win32.Build.0 = Release|Win32
16+ EndGlobalSection
17+ GlobalSection(SolutionProperties) = preSolution
18+ HideSolutionNode = FALSE
19+ EndGlobalSection
20+EndGlobal
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/ReleaseMeMFD/ReleaseMeMFD.vcproj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/ReleaseMeMFD/ReleaseMeMFD.vcproj Mon Nov 17 21:24:49 2008 +0100
@@ -0,0 +1,260 @@
1+<?xml version="1.0" encoding="Windows-1252"?>
2+<VisualStudioProject
3+ ProjectType="Visual C++"
4+ Version="8,00"
5+ Name="ReleaseMeMFD"
6+ ProjectGUID="{D9F1F391-3CA9-4979-84BE-FAF8FAC1F950}"
7+ RootNamespace="ReleaseMeMFD"
8+ >
9+ <Platforms>
10+ <Platform
11+ Name="Win32"
12+ />
13+ </Platforms>
14+ <ToolFiles>
15+ </ToolFiles>
16+ <Configurations>
17+ <Configuration
18+ Name="Debug|Win32"
19+ OutputDirectory=".\Debug"
20+ IntermediateDirectory=".\Debug"
21+ ConfigurationType="2"
22+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
23+ UseOfMFC="0"
24+ ATLMinimizesCRunTimeLibraryUsage="false"
25+ >
26+ <Tool
27+ Name="VCPreBuildEventTool"
28+ />
29+ <Tool
30+ Name="VCCustomBuildTool"
31+ />
32+ <Tool
33+ Name="VCXMLDataGeneratorTool"
34+ />
35+ <Tool
36+ Name="VCWebServiceProxyGeneratorTool"
37+ />
38+ <Tool
39+ Name="VCMIDLTool"
40+ PreprocessorDefinitions="_DEBUG"
41+ MkTypLibCompatible="true"
42+ SuppressStartupBanner="true"
43+ TargetEnvironment="1"
44+ TypeLibraryName=".\Debug/ReleaseMeMFD.tlb"
45+ HeaderFileName=""
46+ />
47+ <Tool
48+ Name="VCCLCompilerTool"
49+ Optimization="0"
50+ AdditionalIncludeDirectories="..\..\include"
51+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
52+ MinimalRebuild="true"
53+ RuntimeLibrary="3"
54+ PrecompiledHeaderFile=".\Debug/ReleaseMeMFD.pch"
55+ AssemblerListingLocation=".\Debug/"
56+ ObjectFile=".\Debug/"
57+ ProgramDataBaseFileName=".\Debug/"
58+ WarningLevel="3"
59+ SuppressStartupBanner="true"
60+ DebugInformationFormat="4"
61+ />
62+ <Tool
63+ Name="VCManagedResourceCompilerTool"
64+ />
65+ <Tool
66+ Name="VCResourceCompilerTool"
67+ PreprocessorDefinitions="_DEBUG"
68+ Culture="2057"
69+ />
70+ <Tool
71+ Name="VCPreLinkEventTool"
72+ />
73+ <Tool
74+ Name="VCLinkerTool"
75+ OutputFile="../../../Modules/Plugin/ReleaseMeMFD.dll"
76+ LinkIncremental="2"
77+ SuppressStartupBanner="true"
78+ IgnoreAllDefaultLibraries="false"
79+ IgnoreDefaultLibraryNames="msvcirt.lib;msvcrt.lib"
80+ GenerateDebugInformation="true"
81+ ProgramDatabaseFile=".\Debug/ReleaseMeMFD.pdb"
82+ SubSystem="2"
83+ ImportLibrary=".\Debug/ReleaseMeMFD.lib"
84+ TargetMachine="1"
85+ />
86+ <Tool
87+ Name="VCALinkTool"
88+ />
89+ <Tool
90+ Name="VCManifestTool"
91+ />
92+ <Tool
93+ Name="VCXDCMakeTool"
94+ />
95+ <Tool
96+ Name="VCBscMakeTool"
97+ SuppressStartupBanner="true"
98+ OutputFile=".\Debug/ReleaseMeMFD.bsc"
99+ />
100+ <Tool
101+ Name="VCFxCopTool"
102+ />
103+ <Tool
104+ Name="VCAppVerifierTool"
105+ />
106+ <Tool
107+ Name="VCWebDeploymentTool"
108+ />
109+ <Tool
110+ Name="VCPostBuildEventTool"
111+ />
112+ </Configuration>
113+ <Configuration
114+ Name="Release|Win32"
115+ OutputDirectory=".\Release"
116+ IntermediateDirectory=".\Release"
117+ ConfigurationType="2"
118+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
119+ UseOfMFC="0"
120+ ATLMinimizesCRunTimeLibraryUsage="false"
121+ >
122+ <Tool
123+ Name="VCPreBuildEventTool"
124+ />
125+ <Tool
126+ Name="VCCustomBuildTool"
127+ />
128+ <Tool
129+ Name="VCXMLDataGeneratorTool"
130+ />
131+ <Tool
132+ Name="VCWebServiceProxyGeneratorTool"
133+ />
134+ <Tool
135+ Name="VCMIDLTool"
136+ PreprocessorDefinitions="NDEBUG"
137+ MkTypLibCompatible="true"
138+ SuppressStartupBanner="true"
139+ TargetEnvironment="1"
140+ TypeLibraryName=".\Release/ReleaseMeMFD.tlb"
141+ HeaderFileName=""
142+ />
143+ <Tool
144+ Name="VCCLCompilerTool"
145+ Optimization="2"
146+ InlineFunctionExpansion="1"
147+ AdditionalIncludeDirectories="..\..\include"
148+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
149+ StringPooling="true"
150+ RuntimeLibrary="2"
151+ EnableFunctionLevelLinking="true"
152+ PrecompiledHeaderFile=".\Release/ReleaseMeMFD.pch"
153+ AssemblerListingLocation=".\Release/"
154+ ObjectFile=".\Release/"
155+ ProgramDataBaseFileName=".\Release/"
156+ BrowseInformation="1"
157+ WarningLevel="3"
158+ SuppressStartupBanner="true"
159+ />
160+ <Tool
161+ Name="VCManagedResourceCompilerTool"
162+ />
163+ <Tool
164+ Name="VCResourceCompilerTool"
165+ PreprocessorDefinitions="NDEBUG"
166+ Culture="2057"
167+ />
168+ <Tool
169+ Name="VCPreLinkEventTool"
170+ />
171+ <Tool
172+ Name="VCLinkerTool"
173+ OutputFile=".\Release/ReleaseMeMFD.dll"
174+ LinkIncremental="1"
175+ SuppressStartupBanner="true"
176+ IgnoreDefaultLibraryNames="msvcirt.lib"
177+ ProgramDatabaseFile=".\Release/ReleaseMeMFD.pdb"
178+ SubSystem="2"
179+ ImportLibrary=".\Release/ReleaseMeMFD.lib"
180+ TargetMachine="1"
181+ />
182+ <Tool
183+ Name="VCALinkTool"
184+ />
185+ <Tool
186+ Name="VCManifestTool"
187+ />
188+ <Tool
189+ Name="VCXDCMakeTool"
190+ />
191+ <Tool
192+ Name="VCBscMakeTool"
193+ SuppressStartupBanner="true"
194+ OutputFile=".\Release/ReleaseMeMFD.bsc"
195+ />
196+ <Tool
197+ Name="VCFxCopTool"
198+ />
199+ <Tool
200+ Name="VCAppVerifierTool"
201+ />
202+ <Tool
203+ Name="VCWebDeploymentTool"
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+ </Filter>
231+ <File
232+ RelativePath="ReleaseMeMFD.cpp"
233+ >
234+ <FileConfiguration
235+ Name="Debug|Win32"
236+ >
237+ <Tool
238+ Name="VCCLCompilerTool"
239+ AdditionalIncludeDirectories=""
240+ PreprocessorDefinitions=""
241+ />
242+ </FileConfiguration>
243+ <FileConfiguration
244+ Name="Release|Win32"
245+ >
246+ <Tool
247+ Name="VCCLCompilerTool"
248+ AdditionalIncludeDirectories=""
249+ PreprocessorDefinitions=""
250+ />
251+ </FileConfiguration>
252+ </File>
253+ <File
254+ RelativePath="ReleaseMeMFD.h"
255+ >
256+ </File>
257+ </Files>
258+ <Globals>
259+ </Globals>
260+</VisualStudioProject>
diff -r 2783da92d533 -r 3f3c765b0c0e Orbitersdk/samples/ReleaseMeMFD/copyright
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Orbitersdk/samples/ReleaseMeMFD/copyright Mon Nov 17 21:24:49 2008 +0100
@@ -0,0 +1,7 @@
1+Copyright (c) 2006 Friedrich Kastner-Masilko, M.Sc.
2+
3+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
diff -r 2783da92d533 -r 3f3c765b0c0e modules/DotNET/Orbiter.StockVessels.dll
Binary file modules/DotNET/Orbiter.StockVessels.dll has changed
diff -r 2783da92d533 -r 3f3c765b0c0e modules/DotNET/ShuttlePBdotNET.dll
Binary file modules/DotNET/ShuttlePBdotNET.dll has changed
diff -r 2783da92d533 -r 3f3c765b0c0e modules/DotNET/ShuttleVBOverloaded.dll
Binary file modules/DotNET/ShuttleVBOverloaded.dll has changed
diff -r 2783da92d533 -r 3f3c765b0c0e modules/DotNET/ShuttleVBdotNET.dll
Binary file modules/DotNET/ShuttleVBdotNET.dll has changed
diff -r 2783da92d533 -r 3f3c765b0c0e modules/ShuttlePBdotNET.dll
Binary file modules/ShuttlePBdotNET.dll has changed
diff -r 2783da92d533 -r 3f3c765b0c0e modules/ShuttleVBOverloaded.dll
Binary file modules/ShuttleVBOverloaded.dll has changed
diff -r 2783da92d533 -r 3f3c765b0c0e modules/ShuttleVBdotNET.dll
Binary file modules/ShuttleVBdotNET.dll has changed
Show on old repository browser