1
0
Fork 0
Commit graph

161 commits

Author SHA1 Message Date
mfranz
a197f006ae enable Exorcist-style head turns, so that we can disabled them globally 2008-04-15 17:26:02 +00:00
mfranz
3e99323d0e if (exactly) two objects are selected, print the direct distance to the screen 2008-03-18 22:58:42 +00:00
mfranz
0c38aa1e8c Stewart ANDREASON:
- fix --altitude in dumped command line ('d'-key)
- implement vertical movement on Home/End and KP7/1
2008-03-12 20:47:53 +00:00
mfranz
a7cdd684a1 add a "Camera View", which is an exact copy of "Cockpit View" and selected
(but disabled) by default. You won't notice any difference, unless you
place, let's say, an A-10-model.xml in the scenery. Some of the A-10's "select"
animations unselect the fuselage and other parts, when they thinks the A-10
is in cockpit view, not knowing that it's actually the *ufo*, which is in
cockpit view.
2007-12-14 10:50:02 +00:00
mfranz
28def78cef write proper END <wpt> 2007-10-18 21:31:29 +00:00
mfranz
33805eaa58 export flightplan on 'n'-key 2007-10-18 21:20:39 +00:00
mfranz
9ce73af7a4 replace depreciated cmdarg() in listener functions by regular arg 2007-10-15 18:59:34 +00:00
sydadams
3122e459d6 *** empty log message *** 2007-08-21 05:35:40 +00:00
sydadams
a7f90a8cb8 Changed speed match function to use target distance instead of airspeed ... not perfected yet ,but better ... 2007-08-20 06:22:06 +00:00
sydadams
514f2c1ce7 cam updates from pigeon ... 2007-08-20 04:22:36 +00:00
mfranz
aebc22d105 - add tanker to ai aircraft section
- minor reorganization
2007-07-27 17:41:59 +00:00
mfranz
41fef27ec0 die, yellow glider, die! 2007-07-11 17:24:32 +00:00
mfranz
26e9387de3 don't show on mpmap 2007-07-11 16:55:55 +00:00
mfranz
5e6f9dde43 - add aircraft select dialog (^-button)
- disable smooth throttle for now (breaks non-js-throttles)
2007-07-09 22:32:58 +00:00
mfranz
1fefa1c206 Syd's MIBS:
A camera tool for making fgfs videos (heavily used by Michelle) and for
tracking MP and AI aircraft. It's planned to include this into the regular
ufo, but for now it's better to keep them separated. Comes with its own
panel, which (hopefully) is self-explaining.

Shouldn't be announced on the fgfs page as separate aircraft (if that's
possible). Work in progress ...
2007-07-08 18:15:02 +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
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
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
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
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
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
mfranz
b2750d8a05 adapt for geo.nas changes (swapping lon & lat) 2007-06-18 10:23:14 +00:00
mfranz
1fd9e31243 - increased coarse multiplicator
- cosmetics
2007-06-05 18:20:53 +00:00
mfranz
ef59420eb9 - geo.click_position() does now return a Coord copy already
- simplify sort function
2007-05-12 18:40:09 +00:00
mfranz
f6355d5344 - use new built-in sort() function instead of locally defined one
- use new negative substr() offset feature
2007-04-06 22:42:35 +00:00
mfranz
5f209cfa28 fix for new Nasal 2007-03-29 19:42:48 +00:00
mfranz
c0290713b6 slider effect can be modulated by holding modifier keys down:
Ctrl -> coarse, Shift -> fine
2007-03-23 23:13:59 +00:00
mfranz
3fe72de020 remove code that is now in $FG_ROOT/Nasal/geo.nas 2007-03-20 20:57:58 +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
3079726bda move dialogs from ufo.nas into dialog XML files 2007-02-24 19:48:02 +00:00
mfranz
41903adc22 only show other UFOs in MP if you are flying one yourself *or* if
/sim/model/always-show-in-MP in $FG_ROOT/Aircraft/ufo/ufo-set.xml is "true"
("false" by default)
2006-12-13 23:20:13 +00:00
mfranz
3f1b61cc17 hide ufo 3D model if FDM isn't ufo. They aren't a pretty sight in MP. 2006-12-13 22:05:47 +00:00
mfranz
65d4a4ba0a add aar/radar capabilities (useful for aar testing) 2006-08-27 08:17:54 +00:00
mfranz
be8ca62fc9 cleanup: use new Widget.setBinding() 2006-08-26 07:32:16 +00:00
mfranz
cc1623a6af don't show status line by default 2006-07-01 06:02:31 +00:00
mfranz
583f853d7c update <help> 2006-06-05 17:05:55 +00:00
mfranz
50553b576d - remove dead code
- new feature:  Shift-click -> move selected model to new place
                               (keeping hdg & orientation)

Remember: Ctrl-click -> select nearest model
2006-06-05 16:33:39 +00:00
mfranz
6fb75899a0 use Ctrl-key-combinations where before spacebar-key-combinations were used
(Ctrl-click: select nearest model, Ctrl-up/dn -> cycle through model list)
2006-06-05 14:15:11 +00:00
mfranz
49c0b7716d always use route-manager AP locking, no matter at which alt-agl (not that
/position/altitude-agl-ft would be set by the ufo fdm at all ... ;-)
2006-05-12 09:37:50 +00:00
mfranz
5e400f35b9 ufos are never really "on ground" 2006-05-11 09:57:16 +00:00
mfranz
fc5ab53552 - hide status line in screenshots
- fix status dialog closing
2006-05-09 09:41:52 +00:00
mfranz
fdd9051722 finer slider operation 2006-04-24 21:40:28 +00:00
mfranz
c5527fc770 tweaks of the day 2006-04-24 20:34:59 +00:00
mfranz
f839a5111f whoops ... typo 2006-04-21 19:59:51 +00:00
mfranz
543be9df3f - make ufo import only static objects with a minimum of defined data
- turn off specular on the sign placeholder model
2006-04-21 19:49:44 +00:00
mfranz
21f0a726e6 don't convert spaces to underscores for signs. It happens much to often
that they are added unintentionally  ->  just drop them
2006-04-16 22:05:59 +00:00
mfranz
5b2dcaf44f make invisible input field less visible :-) 2006-04-16 11:49:29 +00:00
mfranz
671c30449d - empty legend input field when no object is selected/available
- tweaks & cleanup
2006-04-16 10:39:07 +00:00
mfranz
783c5cde5f - fix unhiding in Dynamic.flash()
- some more comments (to make it look less messy ... or messier? :-)
2006-04-16 08:09:28 +00:00
mfranz
e18574273a whoops ... forgot to remove some experimental code ... which doesn't work :-( 2006-04-15 21:09:35 +00:00
mfranz
e17146bdfa - make deleting work even when 'flashing' of selected object is in progress
- fix object counter (which did often not go down to zero)
2006-04-15 20:21:41 +00:00
mfranz
47ccc8c4bb - new status line dialog, which contains an input line for comments/legend
- if the selected model is the sign placeholder (Aircraft/ufo/Models/sign.ac;
  first entry in the m-key dialog), then the export writes an OBJECT_SIGN
  entry with the legend as contents (rather than the path).

Note that the input field for legend/comment is invisible if it doesn't
contain any text. You find it if you click right over the status line
entry in the lower left corner. Usability bug by design.  :-)
(The dialog can also be dragged to another place.)
2006-04-14 14:58:08 +00:00
mfranz
25e6e4329a - add all exported models into "models" group. That way it's possible to
load the export file directly into fgfs via --config option:
  --config=$HOME/.fgfs/ufo-model-export.xml  (An fgfs wrapper could add
  this option automatically if the file exists. Mine does. :-)
- import all /models/model[n] objects into the UFO's model manager, so
  that they become editable

Both features together allow to save an UFO object session and to continue
it next time.
2006-04-13 22:01:53 +00:00
mfranz
063a9d92e0 always use OBJECT_SHARED 2006-04-13 20:47:25 +00:00
mfranz
305001c033 consider new OBJECT_TAXI_SIGN orientation 2006-04-12 12:25:21 +00:00
mfranz
9d6342f1a8 add model for taxiway sign placing 2006-04-12 00:00:59 +00:00
mfranz
3ef957b66c increase precision of output lon/lat values 2006-04-02 17:52:33 +00:00
mfranz
d52d4e9a8b - restore old $FG_HOME in <help>
- print target path to terminal
- minor optimization
2006-04-02 17:35:47 +00:00
mfranz
8c4a9aefb7 update <help> to reflect new MS Win "/sim/fg-home" path 2006-04-01 12:12:27 +00:00
mfranz
bb81487bdb spell flightgear correctly (that's why I said "almost the truth" :-) 2006-03-31 18:03:32 +00:00
mfranz
90e3cfb973 say almost the whole truth about the export file path 2006-03-31 18:00:09 +00:00
mfranz
2b1445dfd4 forgot one 2006-03-31 17:29:02 +00:00
mfranz
46435d3eef documentation update 2006-03-31 17:15:36 +00:00
mfranz
cd39d50c16 whoops ... /model is already reserved -> name it back to /cursor 2006-03-31 17:12:32 +00:00
mfranz
f433e090b6 distance measuring isn't ready yet 2006-03-27 13:23:44 +00:00
mfranz
b82a276062 - add cursor/selected model coords output again
- move counter to status line output
2006-03-27 13:13:57 +00:00
mfranz
cc23971688 - initialize click coords
- display_status function
- add model count to status line
2006-03-25 18:30:32 +00:00
mfranz
4039ff7e40 - add "sticky" buttons to keep last object's heading and/or roll/pitch
- fixed pos for model select dialog
- yet more cleanup
2006-03-24 15:33:06 +00:00
mfranz
74c64deaef allow to cycle through model lise (space + cur up/down) 2006-03-24 00:20:22 +00:00
mfranz
275292c0b4 make model select dialog entries immediately effective. That way one can
keep the dialog open and quickly select & plant.
2006-03-23 19:06:18 +00:00
mfranz
6fe96ded5b - reset display timer on model planting
- increase display time for active/selected status line
2006-03-23 16:56:55 +00:00
mfranz
fae858dbe3 - fix default model initialization
- add status line (green: active model -- clicks will plant it;
                   orange: selected model -- adjustable/removable)
- make manually selected models active (that is: further clicks will plant
  this model type); doesn't apply to automatically selected models (after
  removing)
- cleanup
TODO: yet more cleanup, add missing terminal output, etc.
2006-03-23 16:16:44 +00:00
mfranz
484fb41f10 support multiple models that can be chosen from list (TODO: clean up) 2006-03-22 20:25:58 +00:00
mfranz
377ab6e1fa - write data to $FG_HOME/ufo-cursor.xml
- print model name in window title
- more help entries
2006-03-16 16:24:52 +00:00
mfranz
2cfa125201 try to guess if model is SHARED or STATIC 2006-03-15 20:37:38 +00:00
mfranz
24f360dfd1 - add "upright" button to zero roll/pitch
- add "dump" button  (same as d-key)
2006-03-15 16:16:47 +00:00
mfranz
f1362484ef swap ufo and cursor dump 2006-03-15 15:50:35 +00:00
mfranz
40e530c300 set custom cursor with $ fgfs --aircraft=ufo --prop:cursor=Models/Airport/... 2006-03-15 15:35:52 +00:00
mfranz
48245e20d5 add dialog for cursor positioning. HOWTO:
- fly ufo to target
- click on terrain to place cursor
- open Tab-key dialog, adjust cursor position
- dump position/orientation (d-key)
2006-03-15 14:27:47 +00:00
mfranz
a5cdda9b8d first stab at cursor support: click at the terrain to position the cursor,
press `d' to dump the cursor and ufo coordinates to the console.
2006-03-15 00:29:53 +00:00
mfranz
9934ee29d3 5 is a bit too small. And now I'm *really* done. :-) 2006-03-11 12:20:49 +00:00
mfranz
09a284358e reverse flaps up/down (this feels more naturally for an UFO ;-) 2006-03-11 12:01:24 +00:00
mfranz
7b3ef800cc remove redundant function 2006-03-11 11:10:58 +00:00
mfranz
d43853763d use fixed speed values (prettier and more consistent) 2006-03-11 11:04:59 +00:00
mfranz
c86cd8c013 "flaps down" -> decrease maximum speed
"flaps up"   -> increase maximum speed
2006-03-11 09:52:51 +00:00
ehofman
ec8742bd65 Melchior FRANZ:
Implement simple help system with global and aircraft specific dialogs:

The gui.nas changes have been discussed with Andy. All ac have a help dialog,
but some are empty. (This wouldn't have been necessary, as the system falls
back to the "Common Aircraft Keys" if an aircraft has no help defined, but an
empty dialog is less confusing and encourages to be filled with interesting
information.   :-)    I scanned all aircraft files for interesting performance
data and added some to the dialogs (stall speed, etc.) The Concorde and the
p51d have (over?)complete dialogs and can serve as examples. The format is
documented in $FG_ROOT/Nasa/gui.nas.

There is also a couple of other, minor fixes.

The following files have ugly MSDOS line endings:

  $FG_ROOT/Aircraft/Hunter/hunter{-2tanks,}-set.xml
  $FG_ROOT/Aircraft/A380/A380-set.xml


The Concorde-jsbsim.nas file is a useless copy of the real */nas file, which is
in Nasal/. I'was debugging the Concorde and wondered why changes to this file
had no effect ...
(Fixed Concorde in the help-ac.diff patch: don't use "interpol" keyword as
variable.)
2005-04-19 13:43:44 +00:00
curt
abb934ebdb Initial revision. 2005-01-18 01:42:35 +00:00
curt
57ab0333db Updates to author tags. 2005-01-18 01:27:18 +00:00
curt
2af0a69765 Property /sim/sound/audible renamed to /sim/sound/pause
Individual aircraft -set.xml files shouldn't set global sound/volume
properties for the entire application.
2004-05-14 15:54:22 +00:00
ehofman
41eb331912 Frederic: Real ufo are spinning, aren't they? I am sure they are. 2004-04-03 09:01:45 +00:00
ehofman
b3600801da The result of being bored for 15 minutes. Lets call it an easter ufo. 2004-03-17 15:32:53 +00:00
ehofman
a628733581 Get back to normal life 2004-01-04 15:32:20 +00:00
ehofman
485d0d92d2 Add an appropriate splash screen 2003-12-24 15:12:45 +00:00
ehofman
e259a2589a Some small updates to the engine animation code 2003-12-24 14:56:17 +00:00