Skip to content

Commit 875d04a

Browse files
committed
version 2.6.2 Windows build and updated manual
1 parent e63c2ee commit 875d04a

13 files changed

+93
-14
lines changed

FlyWithLua.cbp

Lines changed: 65 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@
6161
<Add after='xcopy /Y &quot;S:\X-Plane 11\Resources\plugins\FlyWithLua\Modules\*.*&quot; &quot;FlyWithLua\Modules\&quot;' />
6262
<Add after='xcopy /Y include64\lua51.dll &quot;S:\X-Plane 11\Resources\plugins\FlyWithLua\64&quot;' />
6363
<Add after="xcopy /Y include64\lua51.dll FlyWithLua\64" />
64-
<Add after="pandoc -N --epub-cover-image FlyWithLua_logo.JPG FlyWithLua_Manual_en.tex -o FlyWithLua\Documentation\FlyWithLua_Manual_en.epub" />
65-
<Add after="pandoc -N --epub-cover-image FlyWithLua_logo.JPG FlyWithLua\Documentation\First_Steps_Programming_FlyWithLua.md -o FlyWithLua\Documentation\First_Steps_Programming_FlyWithLua.epub" />
66-
<Add after="pandoc -N --epub-cover-image FlyWithLua_logo.JPG FlyWithLua\Documentation\First_Steps_Programming_FlyWithLua.md -o FlyWithLua\Documentation\First_Steps_Programming_FlyWithLua.pdf" />
67-
<Add after="pandoc -N --epub-cover-image FlyWithLua_logo.JPG FlyWithLua\Documentation\Ein_Arcaze_USB_ansteuern.md -o FlyWithLua\Documentation\Ein_Arcaze_USB_ansteuern.epub" />
6864
<Mode after="always" />
6965
</ExtraCommands>
7066
</Target>
@@ -118,6 +114,71 @@
118114
</Linker>
119115
<ExtraCommands>
120116
<Add after='xcopy /Y Replacement_for_Complete_Edition\64\win.xpl &quot;S:\X-Plane 11\Resources\plugins\FlyWithLua\64&quot;' />
117+
<Add after='xcopy /Y &quot;*.pdf&quot; &quot;FlyWithLua\Documentation&quot;' />
118+
<Add after='xcopy /Y &quot;..\FWL_Docs\*.pdf&quot; &quot;FlyWithLua\Documentation&quot;' />
119+
<Add after='xcopy /Y &quot;S:\X-Plane 11\Resources\plugins\FlyWithLua\Scripts\*.lua&quot; &quot;FlyWithLua\Scripts (disabled)\&quot;' />
120+
<Add after='xcopy /Y &quot;S:\X-Plane 11\Resources\plugins\FlyWithLua\Internals\*.*&quot; &quot;FlyWithLua\Internals\&quot;' />
121+
<Add after='xcopy /Y &quot;S:\X-Plane 11\Resources\plugins\FlyWithLua\Modules\*.*&quot; &quot;FlyWithLua\Modules\&quot;' />
122+
<Add after='xcopy /Y include64\lua51.dll &quot;S:\X-Plane 11\Resources\plugins\FlyWithLua\64&quot;' />
123+
<Add after="xcopy /Y include64\lua51.dll FlyWithLua\64" />
124+
<Mode after="always" />
125+
</ExtraCommands>
126+
</Target>
127+
<Target title="Full Complete Edition with manuals and scripts">
128+
<Option output="Replacement_for_Complete_Edition/64/win.xpl" prefix_auto="0" extension_auto="0" />
129+
<Option object_output="Release213_64" />
130+
<Option type="3" />
131+
<Option compiler="gnu_gcc_64_compiler" />
132+
<Compiler>
133+
<Add option="-O3" />
134+
<Add option="-Wshadow" />
135+
<Add option="-Wfloat-equal" />
136+
<Add option="-pedantic" />
137+
<Add option="-w" />
138+
<Add option="-std=c++11" />
139+
<Add option="-m64" />
140+
<Add option="-fexceptions" />
141+
<Add option="-fpermissive" />
142+
<Add option="-DWIN64" />
143+
<Add option="-DNDEBUG" />
144+
<Add option="-D_WINDOWS" />
145+
<Add option="-D_MBCS" />
146+
<Add option="-D_USRDLL" />
147+
<Add option="-DCustomCommands_EXPORTS" />
148+
<Add option="-DSIMDATA_EXPORTS" />
149+
<Add option="-DIBM=1" />
150+
<Add option="-DXPLM200=1" />
151+
<Add option="-DXPLM210=1" />
152+
<Add option="-DUSE_EXTERNAL_ALLOCATOR" />
153+
<Add option="-DCREATECOMPLETEEDITION" />
154+
<Add directory="include64" />
155+
<Add directory="../SDK213/SDK/CHeaders/XPLM" />
156+
<Add directory="../SDK213/SDK/CHeaders/Wrappers" />
157+
<Add directory="../SDK213/SDK/CHeaders/Widgets" />
158+
<Add directory="GLUT_for_Windows" />
159+
<Add directory="C:/Program Files/mingw-w64/x86_64-6.3.0-posix-seh-rt_v5-rev1/mingw64/bin" />
160+
</Compiler>
161+
<Linker>
162+
<Add option="-s" />
163+
<Add option="-m64" />
164+
<Add option="-static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic" />
165+
<Add library="Opengl32" />
166+
<Add library="XPLM_64" />
167+
<Add library="XPWidgets_64" />
168+
<Add library="GLUT_for_Windows/gl/glut64.lib" />
169+
<Add library="C:/Program Files (x86)/OpenAL 1.1 SDK/libs/Win64/OpenAL32.lib" />
170+
<Add directory="include64" />
171+
<Add directory="../SDK213/SDK/Libraries/Win" />
172+
<Add directory="GLUT_for_Windows" />
173+
<Add directory="C:/Program Files/mingw-w64/x86_64-6.3.0-posix-seh-rt_v5-rev1/mingw64/bin" />
174+
</Linker>
175+
<ExtraCommands>
176+
<Add after='xcopy /Y Replacement_for_Complete_Edition\64\win.xpl &quot;S:\X-Plane 11\Resources\plugins\FlyWithLua\64&quot;' />
177+
<Add after="pandoc -N --epub-cover-image FlyWithLua_logo.JPG FlyWithLua_Manual_en.tex -o FlyWithLua\Documentation\FlyWithLua_Manual_en.epub" />
178+
<Add after="pandoc -N --epub-cover-image FlyWithLua_logo.JPG FlyWithLua\Documentation\First_Steps_Programming_FlyWithLua.md -o FlyWithLua\Documentation\First_Steps_Programming_FlyWithLua.epub" />
179+
<Add after="pandoc -N --epub-cover-image FlyWithLua_logo.JPG FlyWithLua\Documentation\First_Steps_Programming_FlyWithLua.md -o FlyWithLua\Documentation\First_Steps_Programming_FlyWithLua.pdf" />
180+
<Add after="pandoc -N --epub-cover-image FlyWithLua_logo.JPG FlyWithLua\Documentation\Ein_Arcaze_USB_ansteuern.md -o FlyWithLua\Documentation\Ein_Arcaze_USB_ansteuern.epub" />
181+
<Mode after="always" />
121182
</ExtraCommands>
122183
</Target>
123184
</Build>

FlyWithLua.layout

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
22
<CodeBlocks_layout_file>
33
<FileVersion major="1" minor="0" />
4-
<ActiveTarget name="Complete Edition" />
4+
<ActiveTarget name="Full Complete Edition with manuals and scripts" />
55
<File name="include\hid.c" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
66
<Cursor>
77
<Cursor1 position="6849" topLine="96" />
88
</Cursor>
99
</File>
10-
<File name="include\luajit.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
11-
<Cursor>
12-
<Cursor1 position="1142" topLine="0" />
13-
</Cursor>
14-
</File>
1510
<File name="include\hidapi.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
1611
<Cursor>
1712
<Cursor1 position="4976" topLine="340" />
@@ -22,4 +17,9 @@
2217
<Cursor1 position="351" topLine="0" />
2318
</Cursor>
2419
</File>
20+
<File name="include\luajit.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
21+
<Cursor>
22+
<Cursor1 position="1142" topLine="0" />
23+
</Cursor>
24+
</File>
2525
</CodeBlocks_layout_file>

FlyWithLua/64/win.xpl

0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

FlyWithLua_Manual_en.pdf

4.42 KB
Binary file not shown.

FlyWithLua_Manual_en.synctex.gz

7.46 KB
Binary file not shown.

FlyWithLua_Manual_en.tex

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
\begin{document}
6565

66-
\title{FlyWithLua V2.2 Quick Reference Manual}
66+
\title{FlyWithLua V2.6 Core Reference Manual}
6767
\author{Carsten Lynker}
6868
\date{\today}
6969

@@ -93,6 +93,24 @@ \subsection{What's needed}
9393
\item Knowledge about \href{http://www.xsquawkbox.net/xpsdk/docs/DataRefs.html}{DataRefs}.
9494
\end{enumerate}
9595

96+
\subsection{Difference between Core, Complete and Source Edition}
97+
98+
FlyWithLua is originally published in three different flavors.
99+
100+
The first version is the \href{http://forums.x-plane.org/index.php?/files/file/35579-flywithlua-core-edition-for-x-plane-11-windows-linux-mac-os-x-version/}{Core Edition}. This is the right version to start your first steps in using Lua to customize your X-Plane installation. The Core Edition is fully supported by the FlyWithLua developer team and acts as the heart of the FlyWithLua economy. If you got an error with this version, check if you have the latest version installed and report your issue together with a \verb|Log.txt| and \verb|FlyWithLua_debug.txt| file at the official FlyWithLua support forum.
101+
102+
Please ask for support here: \href{http://forums.x-plane.org/index.php?/forums/forum/335-help-me-i-have-a-problem-with-flywithlua/}{HelpMe Forum of FlyWithLua}
103+
104+
The second edition was made for the user who know what they are doing. We call it the Complete Edition. \textbf{The Complete Edition is a ready to use binary version of FlyWithLua with additional libraries and no restrictions (access to private art control DataRefs is possible with this version).} Remember, Pandora keeps her box widely opened for you in the Complete Edition, but this has not only positive effects. The more possibilities you get to manipulate X-Plane, the more possible frustration may be the result, when Laminar Research updates X-Plane. If you do not know what the last sentence is about, you should not use the Complete Edition!
105+
106+
This version of FlyWithLua has a lower level of support. Please ask in the same \href{http://forums.x-plane.org/index.php?/forums/forum/335-help-me-i-have-a-problem-with-flywithlua/}{HelpMe Forum} to get some assistance.
107+
108+
For the real hackers we have the whole \href{https://github.com/X-Friese/FlyWithLua}{source code of FlyWithLua Core Edition} published on GitHub. Just grab the code and compile it for your own, to have the full control.
109+
110+
You want all menu entries blink in pink? If you are a C/C++ crack, just edit the source and compile your own flavor. FlyWithLua is published with the MIT license, so you can do everything you want to the source code without getting into trouble with us.
111+
112+
Years of hard work is our free gift to you. Use it with respect and honor.
113+
96114
\subsection{Installation}
97115

98116
To use the plugin, just copy the complete folder \verb|FlyWithLua| into X-Plane's main plugin folder. The main plugin folder looks like this:
@@ -123,11 +141,11 @@ \subsection{Installation}
123141

124142
\subsection{How to interact with Lua}
125143

126-
If you have XSquawkBox installed, there is an easy way to talk to Lua. If you type in a line into XSquawkBox starting with a \verb|>| (a greater than sign), the line is send directly to Lua, instead of talking to your VATSIM channel (on COM1). Try the following code:
144+
If you have XSquawkBox\footnote{If not, you can click on the menu entry >>Enter a line of code<< in FlyWithLua's plugin menu. There is no need to have XSquawkBox installed to use FlyWithLua. On the other hand, flying online on VATSIM is really cool.} installed, there is an easy way to talk to Lua. If you type in a line into XSquawkBox starting with a \verb|>| (a greater than sign), the line is send directly to Lua, instead of talking to your VATSIM channel (on COM1). Try the following code:
127145

128146
\verb|>print(2+3)|
129147

130-
If everything is fine, Lua will print a \verb|5| into the XSquawkBox's main text display. The output produced by Lua is not forwarded to the VATSIM COM1 channel. So don't be afraid of disturbing the controller. You can check this behavior as XSquawkBox prints all internal information in dark red color.
148+
If everything is fine, Lua will print a \verb|5| into the XSquawkBox's main text display\footnote{Use the developer console to see the output, if you don't have XSquawkBox installed.}. The output produced by Lua is not forwarded to the VATSIM COM1 channel. So don't be afraid of disturbing the controller. You can check this behavior as XSquawkBox prints all internal information in dark red color.
131149

132150
So FlyWithLua is a little pocket calculator? Hmm, why not. But this is not the intension of the plugin. FlyWithLua was made to interact with DataRefs.
133151

@@ -3227,7 +3245,7 @@ \subsection{Using Lua For Windows}
32273245
\newpage
32283246
\section{Credits}
32293247

3230-
This plugin was made by Carsten Lynker (main developer, Windows code), \href{http://www.snagar.org/}{Snagar} (Macintosh and Linux code) and Ingo Alm (lector and bughunter).
3248+
This plugin was made by Carsten Lynker (main developer, Windows code), \href{http://www.snagar.org/}{Snagar} (early Macintosh and Linux code), William B. Good (Macintosh and Linux code) and Ingo Alm (lector and bughunter).
32313249

32323250
FlyWithLua uses source code
32333251

Release213_64/FlyWithLua.o

-9.95 KB
Binary file not shown.
-7.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)