1
0
Fork 0
Commit graph

11 commits

Author SHA1 Message Date
Stuart Buchanan
9e2ee8b969 Checklist/Tutorial: Auto view direction to marker
This change automatically changes the view direction to look
at a <marker> if any is defined for a checklist item or tutorial
step.

Both the tutorial and checklist features support a <marker> element
which can be used by an aircraft developer to display a magenta
circle around an item of interest (typically a control in the
cockpit).

Previously aircraft developers had to add a <view> element to move
the viewpoint to look at the marker, while users of checklists had
to look for the marker manually.

Now:
- For checklists, pressing the "?" button on a checklist will pan the viewpoint
to the marker.
- For tutorials, if there is not a <view> element defined for a
tutorial step, the view will automatically pan to the marker.
2020-10-31 16:00:51 +00:00
Stuart Buchanan
6f2ccdd395 Add support for sprintf() formatting to tutorial
<message> tags can now contain sprintf() format
strings (%d, %.2f etc), with

<message-param>
  <property>/some/prop</property>
</message-param>

used as the substitute value.  Could be extended
in the future with perhaps Nasal evaluation?
2017-03-28 21:38:34 +01:00
Stuart Buchanan
2473d667fd Use Festival TTS for tutorials 2017-02-11 21:49:00 +00:00
James Turner
2e451f292f Switch GUI to use new reposition command.
(Must have latest FG or you'll get a crash due to old ATIS subsystem)
2014-03-05 16:46:10 +00:00
Stuart Buchanan
c014e35aec Add ability to clear screen.window, and use it. 2014-01-12 19:52:30 +00:00
Stuart Buchanan
645cfac648 Use separate non-scrolling message display for tutorials. 2014-01-01 23:17:39 +00:00
Stuart Buchanan
bd4e8764de Correct waiting period for exit statements without conditions,
update tutorial README with <wait> tag.
2012-07-14 20:27:31 +01:00
Stuart Buchanan
359a8ce414 Fix exit-time, step-time tags, and make the <wait> tag only apply to the
first iteration of any step.  Fix for issue #417
2012-07-14 20:20:21 +01:00
ThorstenB
2a66a01fed Apply defaults to each tutorial separately
Configured step/exit intervals configured for one tutorial affected all
following tutorials.
2011-08-28 10:08:15 +02:00
ThorstenB
c3f8c1478a tutorial submodule, part #2: adapt script/GUI to load module on demand
tutorial.nas is now loaded (only) when "Start Tutorial" button is pressed.
2011-06-05 21:37:58 +02:00
ThorstenB
f3ff41d3d4 tutorial submodule, part #1: move existing sources into subdirectory
(non-functional, moved original scripts only)
2011-06-05 21:36:24 +02:00