1
0
Fork 0
Commit graph

2718 commits

Author SHA1 Message Date
mfranz
aa411b3e73 - better layout (done by embedded Nasal)
- no longer modal (this caused problems with dialogs opened by keystrokes)
2007-07-02 14:34:01 +00:00
mfranz
04f9a0b2ea s/wxradar/radar/ 2007-07-02 06:03:45 +00:00
sydadams
a6c2bb3115 Updating the Bravo to where it was before I reinstalled my OS ... not nearly done yet 2007-07-02 05:53:18 +00:00
mfranz
54c28ced16 what I do best: cosmetics 2007-07-01 18:54:32 +00:00
mfranz
faf9ea862d implement writexml() function for writing non-standard XML files
(that is: such that don't use PropertyList as root element and have
data hidden in attributes)
2007-07-01 15:05:16 +00:00
mfranz
d1adc37872 fix export file format (the <models> tags got lost in one of the last commits) 2007-07-01 13:07:08 +00:00
vmmeazza
f547f4188a Add clouds 2007-06-30 20:28:27 +00:00
mfranz
122423aa2b - make io.readxml() a lot faster
- documentation update
2007-06-30 11:06:36 +00:00
mfranz
7b1ac37678 add readxml function that reads an XML file and returns it as property tree 2007-06-29 15:49:08 +00:00
mfranz
968c517a71 bye ... we have a Nasal interface to the built-in EasyXML parser now 2007-06-29 15:44:15 +00:00
vmmeazza
23bb26651d Alternative orange textures for the radar 2007-06-29 13:40:52 +00:00
durk
73c645f4fb Innis Cunningham: A traffic demo for the San Fransisco area. Airports
populated are: KHAF, KHWD, KOAK, KSJC, and KSFO. Includes traffic for
two to three major US based airlines for each aircraft type. Traffic
is included for the 737, 747, 767, A320, A333, and an assorted selection
of smaller aircraft.
2007-06-28 18:46:57 +00:00
martin
1ac68002f3 Cleanup Chambley AB duplicate. 2007-06-28 12:38:30 +00:00
mfranz
8e0cf02038 document <type> in --prop:[<type>:]<name>=<value> 2007-06-28 11:28:00 +00:00
mfranz
2ee85ac82b add wx-toggle, data-toggle, echo-toggle hotspots to the radar. (Same order
as on the 737 panel, but no labels yet. Aliens don't need that stuff.)
2007-06-25 21:23:28 +00:00
mfranz
4866bfb66f - shorter update intervals (ufo technology!)
- only update the radar when the panel is actually visible
2007-06-24 22:45:10 +00:00
mfranz
3cdf961214 s/wxradar/radar/ 2007-06-24 19:58:20 +00:00
mfranz
ccd0df2d1b s/wxradar/radar/ 2007-06-24 19:52:12 +00:00
mfranz
f6da3a3882 New panel that consists of a radar screen only (activate with Shift-p).
At the moment only the range can be changed via panel click action
(click on the range numbers). Weather radar can be turned on in
/instrumentation/radar/display-controls/WX. ai/mp display to come.

For those who miss the old 2D panel, just use an aircraft with a decent
panel and add --fdm=ufo for the same effect.
2007-06-24 19:38:38 +00:00
mfranz
2c350f6242 The source code knows nothing about "inner-cone" and "outer-cone". It
thinks it should be "inner-angle" and "outer-angle".
2007-06-23 18:55:13 +00:00
mfranz
7a33a523b8 remove garbage from button definition 2007-06-23 16:39:43 +00:00
mfranz
2e9c693e67 use geodinfo() function to retrieve the terrain elevation for a coordinate 2007-06-23 15:28:08 +00:00
mfranz
709e505f0a trim() is now in string.nas 2007-06-23 10:08:42 +00:00
mfranz
43d6e707bb minus can't be delimiter in a [] range 2007-06-22 20:41:00 +00:00
mfranz
cfd9c1b48f pointless spelling fixes 2007-06-22 18:49:38 +00:00
mfranz
199756d189 increase range of searched and displayed frequencies 40 -> 50 nm 2007-06-22 18:08:35 +00:00
mfranz
248d4fcf60 - fix behavior for broken input
- more documentation
2007-06-22 17:52:37 +00:00
mfranz
bf2794eef6 Aerotow: Rockfire Gameport <-> USB converter, with a rather generic name :-/ 2007-06-22 17:10:25 +00:00
mfranz
f827653668 - create new Nasal module string.nas with simple shell style pattern matching
algorithm (needed for the file selector and useful for other purposes, like
  assembling lists of livery or screenshot files etc.)
- io.nas: move fixpath to string.nas (it's not only useful for file paths
  but can also be used for property paths)
- screen.nas: move trim to string.nas (used by screen.nas and nasal-console.xml)
- gui.nas: add pattern matching to FileSelctor
- ufo.nas: use patterm matching (only *.ac and *.xml files shall be listed)
2007-06-22 14:13:30 +00:00
mfranz
eea4465eea Maik JUSTUS: fix/implement directional sound 2007-06-21 21:55:23 +00:00
mfranz
44cbca565d add ghost(type) output, just like nasal/lib/debug.nas :-) 2007-06-21 20:00:21 +00:00
mfranz
ce356a350e don't multiply with nil 2007-06-20 15:16:29 +00:00
mfranz
35bd6c379a sort the model list again after adding models from the file selector,
or the binsearch will have a hard time ...
2007-06-19 21:21:14 +00:00
martin
2487ef043d Holger Wirtz:
Prepare for new FlightGear voice communication agent.
2007-06-18 16:39:46 +00:00
mfranz
e880d5ecee - l-key opens file selector to load 3D model file from the disk. This model
is added to the list and activated.
- simplify savexml handling using the "data" node for temporary data
2007-06-18 16:35:03 +00:00
vmmeazza
a28b48b294 prepare for new weather radar 2007-06-18 16:28:13 +00:00
mfranz
fa820545b7 livery: need to set name for standard dialogs separately 2007-06-18 15:34:36 +00:00
mfranz
b96c113765 always the same module dependency problems ... sigh 2007-06-18 15:15:16 +00:00
mfranz
ce70468d73 - fix Coord.latlon() method (output degree instead of radian to be consistent
with Coord.lat() and Coord.lon(), and because this is the preferable unit
  in script space)
- add put_model(<path>, <coord> [, <hdg> [, <pitch> [, <roll>]]]) variant,
  which takes a Coord instead of <lon>/<lat>/<alt>). Here's some inspiration:

  setlistener("/sim/signals/click", func {
      geo.put_model("Models/Fauna/cow.ac", geo.click_position(), 360 * rand());
  });
2007-06-18 11:06:10 +00:00
mfranz
870830b4a7 - import asin/acos/mod from the new math.nas
- drop parentheses where not necessary (looks cleaner :-)
2007-06-18 10:33:37 +00:00
mfranz
b2750d8a05 adapt for geo.nas changes (swapping lon & lat) 2007-06-18 10:23:14 +00:00
mfranz
32616f42a0 swap lon & lat everywhere. lat/lon is illogical, but unortunately a kind of
standard.  :-(
2007-06-18 10:22:17 +00:00
mfranz
31eff644c1 - add setters to the gui.FileSelector, so that title/button text/dir/file/
dotfile flag can be set later (and take effect after the next open())
- add Alt-".." binding: change to $PWD (which is the default starting dir)
2007-06-17 22:56:22 +00:00
mfranz
d9945b43ce heh, no. offset and factor weren't swapped. Reverting that part. :-) 2007-06-17 21:53:12 +00:00
mfranz
970710613d minor fixes to the "scale" animation section: it's mostly right, and if
people had followed it, then we wouldn't have had to fix aircraft. :-)
There's only the meaning of offset and factor swapped once, and it's
nicer to have prop*factor+offset than offset+prop*factor.
2007-06-17 21:17:04 +00:00
mfranz
10ca74fc83 - make dir entry an input field
- make title & button text separately settable
- sequential numbers for clones rather than random numbers
2007-06-17 15:27:33 +00:00
mfranz
e6ca353144 - use debug.printerror()
- add tab number to error location
- drop some parentheses
2007-06-17 14:21:29 +00:00
mfranz
cb405c955f - don't use random numbers for cloned dialogs, but good old boring
sequential numbers (looks nicer, and is slightly less risky)
- use var keyword on functions
2007-06-17 13:44:54 +00:00
mfranz
2ae2d60de2 add status feedback for dynamic view toggle entry 2007-06-17 11:35:35 +00:00
mfranz
e91115e328 Maik JUSTUS: use geodtocart() and carttogeod() functions, rather than
simplified conversion based on a spheroidal Earth
2007-06-16 18:26:06 +00:00