1
0
Fork 0
Commit graph

2466 commits

Author SHA1 Message Date
mfranz
a7d30fa76e fix broken and inconsistent indentation 2007-03-20 00:07:00 +00:00
mfranz
83c6911af2 adapt to tutorial.nas changes 2007-03-19 23:47:40 +00:00
mfranz
7cb5ad477c major overhaul/part I:
- add <marker> support (blinking magenta circle to point to switches etc.)
- use "real" conditions instead of tutorial-only ones
- list of <error> with <message> and <condition> children, instead
  of one <error> group with <check> items (necessary because of <condition>)
- only one <exit> (use <condition><and>... to define a set
- rename properties <prop><val><msg> to <property><value><message>
  (consistency with other systems)
- <end><message>/<voice> instead of <endtext> and <endtext-voice> etc.
- add <nasal> support everywhere, with separate namespace and predefined
  tutorial functions in it (currently only say(), next(), previous())
- make <timeofday> property actually work

TODO:
- more cleanup/re-organization
- add optional <view> group, to direct user view to switches (for startup
  tutorials etc.)

2-space indentation changed to tabs (with Stuarts permission), and braces
to K&R style (rationale on request :-)
2007-03-19 23:46:50 +00:00
mfranz
d4863a1001 adjustment dialog for tutorial markers 2007-03-19 23:29:54 +00:00
mfranz
caea872fbe Anders GIDENSTAM: X36 gamport js driver 2007-03-19 21:06:17 +00:00
mfranz
5b812986fb undefined <condition>s are "true" 2007-03-19 18:17:05 +00:00
mfranz
b2f57eab81 boolify <property> result 2007-03-18 15:49:11 +00:00
mfranz
0b4e6f934e add a props.condition(property) command that evaluates a property branch
as <condition> according to the rules set out in $FG_ROOT/Docs/README.condition
2007-03-18 13:57:32 +00:00
mfranz
5f7104ac8a revert condition() patch. This can as easily be done in pure Nasal. 2007-03-18 10:52:08 +00:00
sydadams
2cdd9418d4 Added a Flightdirector Mode checkbox to the Autopilot dialog (Autopilot on / off) for the Primus 1000 system.... 2007-03-18 04:18:20 +00:00
mfranz
d1c4bcea85 condition(property) wrapper for the _condition function.
See $FG_ROOT/Docs/README.condition
2007-03-17 15:59:39 +00:00
sydadams
a6496bbf0b Added a nasal file to eliminate the need for adding new properties for each aircraft that uses the Primus 1000 system 2007-03-17 07:55:16 +00:00
mfranz
ba429a7110 rename default.xml to classic.xml (who says that this needs to be the
default? :-)
2007-03-16 10:47:14 +00:00
sydadams
f468880ad5 Updated Primus1000 PFD flightdirector bars to use autopilot properties in passive mode
Updated CitationX autopilot....
Autopilot is in flightdirector mode by default...
Until instruments are created , enable autopilot by setting "/autopilot/locks/passive-mode" to false
2007-03-16 05:48:22 +00:00
sydadams
970cb27b7b Added the missing animations to the EICAS (for the Citation X) 2007-03-12 01:59:13 +00:00
sydadams
cd549a4e15 xml file cleanup (indentation) preparing to update Primus 2000 EICAS 2007-03-11 23:20:36 +00:00
sydadams
fc50ad8874 removed 2 png files 2007-03-11 21:22:26 +00:00
sydadams
22d64ce7c3 minor xml file cleanup 2007-03-11 21:21:04 +00:00
ehofman
64716222e4 Add a small ACMS playback example 2007-03-09 08:14:13 +00:00
martin
5d22ae28a2 While I'm there .... 2007-03-02 21:43:45 +00:00
martin
a01b7797a8 Remove references to PLIB as a scene graph. 2007-03-02 21:41:04 +00:00
martin
28ad6984fa Reagan Thomas:
I came upon the TODO asking for illustrations in the 3D Aircraft Models
HOWTO and thought "that's something I can do now!" :)

Merged into model howto by Ron Jensen.
2007-03-02 21:30:35 +00:00
mfranz
813988f718 Csaba HALASZ: fix dme property name 2007-03-01 17:39:52 +00:00
mfranz
780222aa60 ufo-editor: mention multi-selection and changed key def 2007-02-28 17:38:12 +00:00
mfranz
b887d8b253 - add m-key to <help> section
- improve key descriptions
2007-02-27 23:03:32 +00:00
mfranz
e959633725 s/cursor/marker/ and put the marker toggle function on the m-key. It isn't
a cursor, after all, and the term "cursor" is already used for the startup
model. That one should really be called "model", but can't, because this is
already used for the ufo 3D model property ... sigh.   :-]
2007-02-27 22:56:22 +00:00
mfranz
6bba354b30 - add marker for active object (toggle with c-key)
- make space-key toggle the model dialog for easier access  (was m-key)
- fix Coord class bug
2007-02-27 15:39:49 +00:00
mfranz
628a000472 distance scaling doesn't work too well for heading 2007-02-26 19:15:26 +00:00
mfranz
490ed46d89 - allow selection and manipulation of multiple objects
- replace lon/lat adjustment with more predictable nearer/farther/left/right
  adjustment (i.e. movements relative to the UFO position)
- add key bindings to move objects
2007-02-26 17:57:55 +00:00
mfranz
ad8048627d add Dialog.namespace() method, which returns the XML dialog's namespace
if the dialog is open and contains embedded <nasal>, or nil otherwise.
This can be used to call dialog functions.
2007-02-26 11:00:04 +00:00
mfranz
3079726bda move dialogs from ufo.nas into dialog XML files 2007-02-24 19:48:02 +00:00
mfranz
2987f9660f let Shift-Space open property browser 2007-02-24 10:16:26 +00:00
mfranz
4ee7b32fa1 a more modern, electronic overspeed and alarm sound 2007-02-24 09:09:31 +00:00
mfranz
c2e6b853de add a note about Wolfpack for providing some of the helicopter sounds
that we are using since a while (especially in the bo105)
2007-02-24 09:04:17 +00:00
mfranz
8f977f33ff - immediately unfreeze when mouse mode changes to a non-pointer mode
- rename variable s/speed/time/
2007-02-23 22:17:55 +00:00
martin
6650f2890f Re-Add under new directory name after Melchior's removal. 2007-02-21 22:05:42 +00:00
mfranz
07754b8802 rename mag.sw/ to magneto-switch/ 2007-02-21 16:25:15 +00:00
martin
6a98c34b79 Fix typo. 2007-02-20 14:34:43 +00:00
mfranz
9fccb51f59 update, now that no aircraft overrides the n/N keys :-) 2007-02-19 21:25:30 +00:00
martin
3734cb0fd1 Dave Perry:
This patch makes the pa24 changes to use the mag.sw from Instruments 3d.
Changed the mag_switch.ac to include the pick rectangles and the
mags.xml to use the pick automation.  Also includes the edits to
pa28-161.xml and pa28-161-set.xml to use the 3d radio stack.
2007-02-19 12:08:31 +00:00
martin
eaa8d8cfb5 Ron Jensen:
I've finished (I hope) a 3D Kap-140 head.
2007-02-18 21:35:22 +00:00
mfranz
4a03f25bb6 - replace ["OFF", "ON"][i] with faster ternary operators (which didn't
exist when this was written)
- cosmetics
2007-02-18 18:33:11 +00:00
mfranz
9e11e2102f - add property /sim/startup/terminal-ansi-colors {BOOL}. This is used
by debug.nas to turn on/off syntax coloring for dumped data (which
  is desirable as compound data types can fill several screens with
  rather hard to read data). Unfortunately, it can't be reliably deduced
  from the OS whether ANSI colors are available or not.
- move "multiplayer chat" properties to where they belong
2007-02-18 17:21:50 +00:00
martin
4bf8add100 Holger Wirtz:
Trigger realtime voice communication according to PTT button.
2007-02-16 10:53:26 +00:00
mfranz
22e2a72f8e Jakub KLAWITER: "bindings for Boeder P-20 flightstick Pro USB" 2007-02-12 20:30:44 +00:00
mfranz
ef78365c1c Ed SIRETT: configuration for Saitek P880
Ron JENSEN: replaced direct property use with Nasal wrapper calls
2007-02-12 18:51:48 +00:00
mfranz
dfb4316b43 - make duration of view change configurable (default 0.2 seconds)
- extract some constants
2007-02-11 16:56:15 +00:00
mfranz
420b9bff99 allow to open several property browsers via menu 2007-02-10 23:50:41 +00:00
mfranz
7763462f24 - add some documentation
- reset values
2007-02-10 23:47:02 +00:00
martin
3831675000 Dave Perry:
Changes:
1.  remove typo from all the /Systems/KAP140.xml files
2.  changes to put radio_stack in Instruments-3d
3.  Add "pick" to vor, alt, hi, in Instruments-3d
4.  changes to pa24-250 and pa28-161 to use 2 and 3.
5.  add "pick" and "2d text in window" in 3d OAT in pa24-250
2007-02-10 21:24:46 +00:00