1
0
Fork 0
Commit graph

969 commits

Author SHA1 Message Date
Thorsten Renk
3980515c47 Add Clemenceau/Foch to new Ai carrier scheme 2017-11-11 10:33:58 +02:00
Thorsten Renk
45bd8ec9b8 Add Eisenhower into new AI carrier control scheme 2017-11-11 09:51:38 +02:00
Thorsten Renk
a885fc0885 Merge Nimitz into new carrier control scheme, add clickspots and individual animations 2017-11-10 10:20:44 +02:00
Thorsten Renk
00972633bf Final touches on Vinson: Add bridge as clickspot for controls, separate course controls for carriers, add wakes to Vinson escorts 2017-11-10 09:24:33 +02:00
Thorsten Renk
445115e536 Start converting Vinson to individual carrier control scheme 2017-11-09 12:02:35 +02:00
Stuart Buchanan
d84c527ca7 Canvas MapLayers for Airport
Add RWY, TAXI, TWR, PARKING map layers
Add new static position controller
Update Select Airport dialog to use new MapLayers.
2017-10-13 17:38:27 +01:00
Stuart Buchanan
e38ec03c60 Add STAMEN layer. Patch by Slawek MIKULA. 2017-10-02 20:34:31 +01:00
Stuart Buchanan
1d85d3dedf Add VFRMap Section layer to Canvas-map 2017-10-02 20:30:15 +01:00
Stuart Buchanan
85b7665c19 Add Canvas Map Support for Slippy Map
- Include OSM and OpenAIP in the canvas-map dialog.
2017-09-28 15:38:03 +01:00
Thorsten Renk
91db77595d Some (pretty hot) volcano code - general management routines, Kilauea and Stromboli worked out as examples, WIP 2017-09-24 18:08:36 +03:00
James Turner
4cdb08efe0 Fix explicit runway selection after automatic
Clear / set the ‘runway requested’ flag to fix selection from the
airport dialog
2017-09-19 17:54:00 +01:00
Richard Harrison
5ca84cbfdf Revised classic theme to make it use better fonts and colours. 2017-09-18 00:48:20 +02:00
Thorsten Renk
f8dc5cd7c7 Set up dialog to list nearby AI-objects which can be controlled, interface Truman with dialog 2017-09-05 10:18:55 +03:00
Thorsten Renk
7c87dff37b Add light and JBD controls and wave motion to USS Harry Truman 2017-09-01 12:31:09 +03:00
Thorsten Renk
06852539d9 Start fixing USS Harry Truman animations, add control dialog (click on bridge to bring it up) 2017-08-30 12:33:59 +03:00
Bertrand Coconnier
63bc199fd3 Added options for AI wake in the AI menu.
For now it is located in the AI -> "Traffic and Scenario settings" dialog box. we might consider a better location later on.
2017-07-06 23:16:46 +02:00
Stuart Buchanan
d472c88dcd Provide more granularity on tree density
https://sourceforge.net/p/flightgear/codetickets/1976/
2017-07-04 21:46:20 +01:00
Stuart Buchanan
d3b4d03b80 Handle more than 10 runways in Select Airport dialog
Replace fixed table of 10 entries with textbox, patch
courtesy of Florent ROUGON.
2017-06-08 22:08:08 +01:00
Thorsten Renk
8f7ab7e725 Volumetric grass effect for ALS utilizing a geomerty shader, based on work by Fernando Garcia Linan 2017-05-24 15:16:30 +03:00
Richard Harrison
52884c7f12 Multiplayer Dialog fixes.
Change to use the ports defined in the property tree when connecting from the dialog.
Ensure properties for ports are set to a valid (non zero, not null) value on dialog initialisation.
Add ability to change receive port from dialog firstly to see what it is and secondly to allow multiple fg sessions
2017-05-14 17:48:03 +02:00
Stuart Buchanan
43c77895b1 Fix for https://sourceforge.net/p/flightgear/codetickets/1955/ 2017-04-09 22:02:08 +01:00
Thorsten Renk
48768ee9d2 Earthview 2.1 - parallax mapping for cloud layer, lightning at night, Rayleigh scattering in atmosphere and minor bugfixes 2017-04-05 16:50:31 +03:00
Richard Harrison
e133785632 MP2017 protocol support.
Added defaults for new protocol
Modified multiplayer dialog to allow protocol selection.
2017-04-02 18:32:44 +02:00
Stuart Buchanan
a5e848d8a5 Fix GUI elements referencing "tile-manager" 2017-03-26 20:34:41 +01:00
Torsten Dreyer
e80fae2c19 make display of metar live again in wx dialog
reflect changes of METAR in the dialogs text field
has probably been set to false by accident.
2017-03-10 09:40:58 +01:00
Thorsten Renk
14e41b56a4 Make random vegetation density selection text go back to High Density rather than Very High Density when dialog is re-opened. 2017-03-04 17:24:54 +02:00
Thorsten Renk
662d782f98 Groundwork for ALS g-force blackout filter, WIP 2017-03-03 19:50:13 +02:00
Thorsten Renk
e1dcd3f38c Run urban shader in lightmap-only mode when either random or OMS buildings are enabled 2017-02-23 10:13:22 +02:00
Thorsten Renk
c1811dd481 Partially fix tree shadow dialog - the problem is this still needs anti-aliasing enabled to work and this isn't communicated 2017-02-23 09:41:36 +02:00
Stuart Buchanan
4fb25741a5 Enable FLite TTS by default, add UI to set. 2017-02-14 19:48:04 +00:00
Florent Rougon
347eb3d7b6 Route manager dialog: change default directory for Load/Save flightplan
As suggested in
<https://sourceforge.net/p/flightgear/mailman/message/35580843/>, use
$FG_HOME/Export rather than $FG_HOME as the default directory for the
file selector dialogs popping up when loading or saving a flightplan
from the route manager dialog. This is because $FG_HOME/Export will not
trigger the "this path is not authorized for writing" refusal added in
280cd523686fbdb175d50417266d2487a8ce67d2, whereas $FG_HOME normally
will.
2017-02-08 10:11:27 +01:00
Stuart Buchanan
3d66ec233d Add invert mouse scroll wheel to input dialog 2017-02-02 21:20:53 +00:00
Gijs de Rooy
ccecc8f2f0 About dialog: update year 2017-01-25 14:15:47 +01:00
Stuart Buchanan
b6e90b6976 Updated Rendering dialog, add scenery-path-suffix 2017-01-21 21:44:05 +00:00
Florent Rougon
49836f9956 Route manager: start in $FG_HOME for Load and Save; also show hidden files
Since a typical (and suggested) allowed directory for saving flightplans
from the Route Manager dialog is $FG_HOME/Export, it makes sense for the
Load and Save file selection dialogs to open in at least $FG_HOME. And
since $FG_HOME is a hidden dir by default on Unix systems, it is more
user-friendly to display hidden files and dirs in these dialogs as well.

Note: when hidden files/dirs are not displayed, it *is* possible, at
      least in the QtFileDialog, to type .fgfs and get inside when
      browsing $HOME, but that is probably not obvious to everyone!
2016-12-30 02:24:16 +01:00
Thorsten Renk
5c437d74cb Earthview 2.0 - support for normal maps, better upper atmosphere edge, cloud relief shader, improved dawn zone, horizon estimation, improved resource management,... 2016-11-17 20:54:32 +02:00
Torsten Dreyer
68f1dee97f Prepare some default values for the mp-dialog
properties
- name
- location
- online
are optional for the upcoming DNS based server discovery
2016-11-09 12:51:23 +01:00
Edward d'Auvergne
da9e0fc0df Automatic moonlight intensity based on the phase of the moon.
The value of "/environment/moonlight" is now automatically set based on the phase of the moon.
Therefore the Moonlight option and slider in the PUI Environment Settings window have been deleted.
2016-11-08 11:17:34 +01:00
Rebecca N. Palmer
76a7e713de suggest --nasal-allow-read in access denied error 2016-10-09 15:26:15 +01:00
James Turner
27f18229df Fix setting airspeed from in-air dialog. 2016-09-05 16:15:16 +01:00
Erik Hofman
3acc3c9edf Add a generic popup dialog 2016-07-20 15:00:04 +02:00
Erik Hofman
b8068f314f A density of 10 is ridiculously dense, 5 seems about natural 2016-06-29 15:34:35 +02:00
Jonathan Schellhase
bc3f9d1524 Through my previous commit the marker in the tutorials was placed in the opposite x-position (e.g. -2.56 became 2.56)
This is a workaround for this fault.
2016-05-11 23:16:08 +02:00
Torsten Dreyer
6ba0ba05ee Merge /u/s-dietrich/flightgear_Data/ branch FixSquawkStorage into next
https://sourceforge.net/p/flightgear/fgdata/merge-requests/60/
2016-05-09 11:09:19 +00:00
Torsten Dreyer
ba98976951 Merge /u/dg-505/flightgear/ branch next into next
https://sourceforge.net/p/flightgear/fgdata/merge-requests/57/
2016-05-04 19:46:24 +00:00
Thorsten Renk
5b789edaf4 GUI for ALS filtering by Jonathan Schellhase 2016-04-26 09:02:23 +03:00
Sebastian Dietrich
ec977e4eca Set combo-boxes correctly when reading transponder code from property tree. 2016-04-10 00:28:39 +02:00
Sebastian Dietrich
671c23afdc When changing the transponder code, write it to the property tree. 2016-04-10 00:27:38 +02:00
Stuart Buchanan
97d54bf17f Make LOD for trees/buildings/objects/STG configurable.
Now based on /sim/rendering/static-lod/rough.

This commit removes a large number of range
settings that should in general be set by the user.
2016-04-08 22:39:29 +01:00
Jonathan Schellhase
84aeb71e0f Fix a small bug in the marker-adjust.xml: The aft/fore-slider moved the marker in the wrong x-direction. 2016-04-07 14:08:43 +02:00
Richard Senior
d2886ffe20 Route manager: Support list of waypoint specifications in dialog input
Allow multiple, space-separated waypoint specifications to be added to a
route, rather than having to type each one and press the add button
each time.

If no waypoint is selected as the insertion point, show a message
and leave the waypoint input intact, rather than just clearing it.

Update the help label to reflect the change and include a note of how to
create offset waypoints using a radial and distance.
2016-02-18 15:20:29 +00:00
Stuart Buchanan
221235063b Add button bindings for engine to joystick config
At the suggestion of Gilberto AGOSTINHO, add
button bindings for throttle, mixture and prop
to the joystick configuration dialog.

Specific use-case is users of game-pads, but also
useful to users with a single throttle axis on their
joystick.
2016-02-10 22:21:18 +00:00
Edward d'Auvergne
c6da4a2b65 Improved latitude and longitude formatting for the HUD.
This follows from http://thread.gmane.org/gmane.games.flightgear.devel/78650 and
resolves the sign bug https://sourceforge.net/p/flightgear/codetickets/1778/ .

Combined with a matching change to the flightgear repository, this changes the
HUD formats from the current set of 3 (note that the text in brackets is not
shown in the HUD preferences PUI dialog, but is show here for reference):

    0) Decimal degrees (37.618890N -122.375000W)
    1) Degrees, minutes (37*37.133N -122*22.500W)
    2) Degrees, minutes, seconds (37*37 08.0 N -122*22 30.0 W)

to (here the text in brackets is shown in the PUI dialog):

    0) DDD format (37.618890N 122.375000W)
    1) DMM format (37*37.133'N 122*22.500'W)
    2) DMS format (37*37'08.0"N 122*22'30.0"W)
    3) Signed DDD format (37.618890 -122.375000)
    4) Signed DMM format (37*37.133' -122*22.500')
    5) Signed DMS format (37*37'08.0" -122*22'30.0")
    6) Zero padded DDD (51.477500N 000.461389W)
    7) Zero padded DMM (51*28.650'N 000*27.683'W)
    8) Zero padded DMS (51*28'39.0"N 000*27'41.0"W)
    9) Trinity House Navigation (51* 28'.650N 000* 27'.683W)
2016-02-10 21:43:32 +00:00
Stuart Buchanan
cdf9e5f12d Merge commit '28c2fb' into next 2016-02-10 21:07:48 +00:00
Rebecca N. Palmer
37dcf9512f gui: display help when access to a directory is denied 2016-02-09 23:19:57 +00:00
Richard Harrison
28c2fb0bb2 TimeDialog: remove sliders and checkbox 2016-02-09 14:23:35 +01:00
Richard Harrison
661090c861 Add time of day slider 2016-02-09 14:23:34 +01:00
Richard Harrison
920fd6d880 TimeDialog: Add valid ranges to day of month.
Add valid ranges for day based on selected month and year taking into account leap years.

With this change it should no longer be possible to enter an invalid date.
2016-02-09 14:23:34 +01:00
Richard Harrison
24699c5a24 Time dialog refinements.
Added combobox for the month (using name).
Added sliders for all date components (year is between 1971 and 2037 to avoid invalid values in time_t).

Relabelled easing, added a bit of layout context with some ruling.
2016-02-09 14:23:33 +01:00
Richard Harrison
0fed5b2f6b Added year,month,date and control of easing to time dialog 2016-02-09 14:23:33 +01:00
Gijs de Rooy
d628e656c0 Fix #1827: convert altitude from meters to feet in GPS dialog 2016-01-23 17:53:16 +01:00
Thorsten Renk
459d8a02e0 Simple Aurora Borealis strength manager dependent on viewer latitude 2016-01-10 13:00:15 +02:00
Gijs de Rooy
d84168d36d About dialog: update year 2016-01-07 15:20:24 +01:00
Florent Rougon
9037441778 Fix bearing calculation in the GPS Settings dialog
Magnetic declination being "the direction of the horizontal component of
the magnetic field measured clockwise from north" according to
MagneticField(1), it must be substracted, not added, from true bearings
in order to obtain the corresponding magnetic bearings.

Example illustrating the bug:

  Start at  KSFO, open Equipment -> GPS Settings, enter KHTH as the
  destination and click on "Search". Before the bug fix, the dialog
  gives a bearing of 85, whereas the correct magnetic bearing is 58.

  Digging a bit further, the true bearings/azimuths for the shortest
  path (geodesic line) from KSFO to KHTH are approx. 71.5 at KSFO and
  73.8 at KHTH. This can be verified with two independent libraries
  (GeographicLib and PROJ.4):

    % echo "37d37'08N 122d22'30W 38d32'45N 118d38'00W" | \
      GeodSolve -i
    71.44943076 73.75785283 343987.398
    % echo "37d37'08N 122d22'30W 38d32'45N 118d38'00W" | \
      geod +ellps=WGS84 -I -f '%0.3f'
    71.449  -106.242        343987.398

  (-106.242 + 180 = 73.758: -106.242 is the "back azimuth" at KHTH for
  this path)

  The bearing of 85 given by the code in gui/dialogs/gps.xml before
  this commit is indeed 71.5 + magnetic declination at the starting
  point (KSFO), whereas it should be 71.5 - magnetic declination.

  Another, more experimental way:

  Start FlightGear with:

     fgfs --aircraft=ufo --disable-real-weather-fetch \
     '--metar=KSFO 070956Z 36000KT 10SM FEW023 11/07 A2977 RMK AO2 SLP080 T01060067' \
     --lat=37.61867421 --lon=-122.37500761 --heading=71.45931

   (just in case wind influences the ufo, I have no idea whether this is
   the case or not...)

   During your flight, progressively increase your heading (as seen in
   the HUD, i.e., true heading) so that it smoothly changes from 71.5 at
   KSFO to 73.8 at KHTH. You should arrive pretty close to KHTH, whereas
   the initial heading of 85 given by the GPS Settings dialog is way too
   high, be it interpreted as a magnetic heading (which was visibly the
   intention---it would be nice to write that in the dialog BTW) or as a
   true heading (in which case the result is even further from the
   correct value).
2015-12-08 22:46:47 +01:00
Thorsten Renk
04524c0cca Tentative improvements to AW gust modeling 2015-11-16 17:41:57 +02:00
Stuart Buchanan
733027e67b Ignore unnamed views in replay dialog
Patch from Denk PADJE.
2015-07-24 18:30:40 +01:00
Torsten Dreyer
50c388f634 Workaround for "AI Models invisible"
expose the ai-range-mode flag to the static-lod dialog.
PagedLOD culling based on distance seems to be more reliable than that based
on projected screen size.
2015-07-09 10:15:40 +02:00
janodesbois
12af1482e7 little adjustements for the mp patch 2015-06-09 21:12:48 +02:00
Torsten Dreyer
19fe180e3e Merge commit 'e033ac2f106efd45155341f877242b448dd8ded5' into next
This is merge request #20
MP Patch first step fgdata part: nasal to check wich planes we are
displaying in the futur, with a distance check , one plane each frame.
2015-06-07 21:29:32 +02:00
janodesbois
e033ac2f10 FgData part for the MP patch, we allow lag compensation only if the mp plane
is close enough, we check only one plane each frame
2015-06-06 07:05:05 +02:00
Richard Senior
b09f116653 Checklists: Fix bug where first checklist has multiple pages
The change introduced in commit 8c7fc119 to go to the last checklist
on open causes a problem when the first checklist has multiple pages.
If the last opened checklist did not have multiple pages, the previous
and next page buttons are still shown.

This commit runs the same binding as used by the combo box to reset
the visibility of these buttons immediately before the page is
displayed.
2015-06-06 07:02:13 +02:00
Stuart Buchanan
d04903ddb1 Make METAR string editable in GUI. Fix bug 1764 2015-06-03 20:14:28 +01:00
Aidan Fell
01f1f9e6c1 notify users of AW 2015-05-15 20:08:53 +01:00
Stuart Buchanan
f5a3913a31 Fix resizing behaviour broken by b4d166 (bug #1750) 2015-05-10 15:38:25 +01:00
Stuart Buchanan
b4d16682ce GUI Cleanup from Michael HABARTA. Part 3/3 2015-05-03 17:13:50 +01:00
Richard Senior
e177cf535a Checklists: Fix bug where first checklist has multiple pages
The change introduced in commit 8c7fc119 to go to the last checklist
on open causes a problem when the first checklist has multiple pages.
If the last opened checklist did not have multiple pages, the previous
and next page buttons are still shown.

This commit runs the same binding as used by the combo box to reset
the visibility of these buttons immediately before the page is
displayed.
2015-04-24 15:24:49 +01:00
Torsten Dreyer
89b304cd1f Airports dialog: Don't implement backend logic in UI
Now that request-metar/clear-metar commands work properly, use those
instead of direct manipulation of metar properties. Also, don't write
to properties intended for read-only use.
2015-03-30 17:13:40 +02:00
Thorsten Renk
59e01f4edc Improvements and bugfixes for orbital rendering 2015-03-29 13:16:19 +03:00
Richard Senior
8c7fc11905 Checklists: go to last selected page on open 2015-03-22 11:23:13 +00:00
Torsten Dreyer
f4a3977127 Fix failed-to-load-server in multiplayer dialog 2015-03-15 22:22:13 +01:00
Torsten Dreyer
3f13b1b3e2 Fix broken multiplayer dialog
dialog used to force port 5000 for rx and tx. This patch restores this.
2015-03-15 21:00:52 +01:00
Stuart Buchanan
0581ad323d GUI Cleanup from Michael HABARTA. Part 2 2015-03-14 23:03:31 +00:00
Stuart Buchanan
9f0a780279 GUI clean up from Michael HABARTA. Part 1 2015-03-14 22:33:05 +00:00
Torsten Dreyer
6ae95ea10a Use new multiplayer commands in gui 2015-03-12 09:50:16 +01:00
Thorsten Renk
3b44cbd6bd Random vegetation shadows for ALS 2015-02-20 09:55:13 +02:00
Clément de l'Hamaide
913b6db91f oops, remove debug code 2014-12-30 17:40:28 +01:00
Clément de l'Hamaide
c42da1014d Instruments GUI: format value with Nasal 2014-12-30 17:32:21 +01:00
Clément de l'Hamaide
2ce60a3659 Instruments GUI: add QNH setting
Thanks to Omega & jam007 on forum

http://forum.flightgear.org/viewtopic.php?f=6&t=20045
2014-12-30 16:27:10 +01:00
Gijs de Rooy
18270fddc3 About dialog: update year 2014-12-27 14:17:45 +01:00
Stuart Buchanan
b1e356e538 Replace airport parking position dropdown with text 2014-12-10 22:24:21 +00:00
Thorsten Renk
9369073c5a Auto-adjust ground wetness to maximum of noise-spike filtered rain-norm or user-set wetness 2014-11-07 10:31:19 +02:00
Clément de l'Hamaide
654ef82691 Add an help-button for FGCom 2014-10-15 22:00:54 +02:00
Clément de l'Hamaide
5f342fdc7c Add new LOD key: AI/MP Interior, default value: 50.0 2014-09-21 22:15:52 +02:00
Clément de l'Hamaide
5e5914da75 FGCom: add a PTT checkbox for test + make them as live 2014-08-09 19:01:13 +02:00
Stuart Buchanan
a0c93de91c Reload scenery only after change to relevant param 2014-08-01 22:18:19 +01:00
Stuart Buchanan
bbb501e36a Reload scenery on exit from Rendering dialog.
Various updates to the Rendering Dialog
- Remove experimental reduced LoD options
- Remove Reload Scenery
- Automatically Reload Scenery on OK.
2014-07-31 21:34:48 +01:00
Thomas Geymayer
4673e862a2 radios.xml: fallback to OFF if transponder mode not set. 2014-06-21 12:09:34 +02:00
Rebecca Palmer
81607f734e Remove ATC chatter, as previously discussed:
http://sourceforge.net/p/flightgear/mailman/message/32440533/
http://sourceforge.net/p/flightgear/mailman/message/32428167/
2014-06-12 23:53:17 +01:00
Anton Gomez Alvedro
5df7a784e5 Failure Management Framework (1st milestone)
Replaces existing Nasal/failures.nas script with a programmable failure
manager. The failure manager allows dynammic creation and removal of
failure modes, on demand activation and a flexible set of triggers.
The public interface can be found in Nasal/FailureMgr/public.nas

Aircraft/Generic/Systems/failures.nas provides a library of triggers and
failure actuators ready to use for programming the failure manager.

A compatibility layer is included under
Aircraft/Generic/Systems/compat_failure_modes.nas.
This compatibility layer is currently loaded on startup and programs the
FailureMgr to emulate the former behavior (same set of failure modes and
compatible interface through the property tree).

This first milestone is only intended to replace the failure management
engine underneeth with minimum visible changes, and hopefully no aircraft
breakages. Future milestones will build upon this to add a Canvas based
procedural GUI and example integration on aircrafts.
2014-06-06 21:41:11 -05:00
Philosopher
807062d0b6 Misc. Nasal cleanup 2014-06-06 21:19:11 -05:00
Philosopher
f0d44ae8fe Lots lots more MapStructure changes
Fix the main bugs, add features and convert most of the layers.
Move/refactor some things as well. Add a canvas map dialog next to the
built-in one -- it's not 100% functional but it's quite close actually.

As before, the excitement has been taking place at our team clone.
https://gitorious.org/fg/canvas-hackers-fgdata/commits/0b4cc84
(topics/canvas-map-dialog branch this time, current HEAD in above URL.)
2014-05-25 14:27:11 -05:00
Thorsten Renk
3970bad285 Updates to Earthview, based on work by Anton Gomez Alvedro 2014-05-05 15:27:32 +03:00
Thorsten Renk
021133e657 Agriculture de-tiling effect for ALS terrain rendering 2014-05-05 14:27:33 +03:00
Thorsten Renk
5a2ada9619 Updates to Earthview 2014-04-25 09:40:32 +03:00
Thorsten Renk
23d7f41481 Earthview orbital rendering based on the NASA Visible Earth image collection 2014-04-24 10:37:41 +03:00
Thorsten Renk
426a4a0a6c GUI option and some internal tweaks for cloud shadow functionality 2014-04-17 12:39:53 +03:00
Thorsten Renk
b1d909b22e Domain tiling effect for ALS tree shader 2014-04-17 12:18:11 +03:00
Thomas Geymayer
cf05294b84 canvas.gui: Basic demo showing how to use windows and widgets. 2014-03-19 23:51:34 +01:00
James Turner
70dee4a029 Avoid a warning from GPS dialog. 2014-03-16 16:21:06 +00:00
Philosopher
7a91a7c444 Fix #1404: bump up max runways
(after making it an explicit value, as it was hidden before)
2014-03-09 15:03:02 -05: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
50a202a997 Use osgUtil::Simplifier to simplify terrain. 2014-02-23 21:09:57 +00:00
Stuart Buchanan
f99745acd7 Effects file for surface lights 2014-02-18 21:27:51 +00:00
Thorsten Renk
22e3852cad Impostors simulating distant clouds for Advanced Weather / ALS 2014-02-17 10:21:26 +02:00
Clément de l'Hamaide
0ee6a5c71e FGCom: add unit + store silence threshold value 2014-01-26 21:51:05 +01:00
Clément de l'Hamaide
442aee6499 FGCom: add silence threshold setting
Require commit 3254f54f9ed8917f7cd21bcdb8b3e74b9d4c14a9 from flightgear
2014-01-26 16:41:18 +01:00
Emilian Huminiuc
7f183e0117 Remove intermediate quality settings from the ubershader. Fix a texture. 2014-01-15 23:30:03 +01:00
Gijs de Rooy
fd44e08391 Update date in about dialog 2014-01-13 21:34:39 +01:00
Thorsten Renk
9552268198 Removed Experimental label and warning that ALS disables most shaders from rendering dialog - both are no longer true 2014-01-13 11:01:08 +02:00
Clément de l'Hamaide
d9f235792c FGCom: update server list 2014-01-12 21:19:39 +01:00
Stuart Buchanan
529e8cd802 Fix minor typo. 2013-12-30 21:57:53 +00:00
mhab
1d9ff30420 Close dialogs with Esc-key 2013-12-02 21:32:05 +01:00
Thorsten Renk
ce334404b1 Exposed the moonlight shader effect in the GUI 2013-11-22 09:47:43 +02:00
Clément de l'Hamaide
81938125a8 FGCom dialog: hide registration options for now but keep it for later 2013-11-17 23:56:51 +01:00
Clement de l'Hamaide
ef9574c12e FGCom Settings dialog: avoid unexpected scheme 2013-11-11 21:47:26 +01:00
James Turner
27afea985a Updated UI to configure tooltips, mouse input
Replace the temporary UI with real solutions, in the view dialog
(for tooltips/popups) and a new 'input config' dialog accessed via
the file menu.

Make the mouse-cycle popup explicitly optional since some people
strongly dislike it.
2013-10-25 17:22:12 +01:00
James Turner
5d9db8cfb9 TerraSync dialog updates.
- Remove options no longer needed, and add some future ones.
- Combine various status displays into a single human-readable string
2013-10-24 22:48:01 +01:00
Philosopher
9a3bf2d0a7 Update view.screenWidthCompens
* make into singleton class
* make sure FOV changes take place *immediately* when required
* current FOV is scaled with changes, though being preserved: resizing
  window and going back ends up with the same FOV
2013-10-19 21:27:21 -05:00
Clément de l'Hamaide
197e74b6ce FGCom: Display message is mostly a debugger tools 2013-10-18 20:08:48 +02:00
Clément de l'Hamaide
9ced2983b8 FGCom: changing of server during test mode is not expected 2013-10-18 20:08:47 +02:00
James Turner
2ce4fcbf31 Make GPS dialog remember search results.
Restore pre-2.12 functionality where GPS search was persistent across
opening and closing the GPS dialog. Since the state is now in Nasal
we need to ensure a couple of variables outlive the dialog itself.
2013-10-02 22:53:56 +01:00
James Turner
3b15c3c039 GPS dialog
* fix initial type selection
* fix nearest search on 'any'
2013-10-02 22:29:53 +01:00
Philosopher
819aa8a988 Fix for #1185 2013-09-30 13:53:10 -05:00
James Turner
162b61b61f Simpler terrasync dialog.
Now tile refresh is gone, this dialog is much simpler.
(Scenery can still be reloaded from the Rendering dialog or sim reset,
but the pager will always wait on TerraSync)
2013-09-30 17:12:00 +01:00
Clément de l'Hamaide
f1bee8b5ab FGCom: save user preferences and add a checkbox for IAX messages 2013-08-28 18:12:28 +02:00
Thorsten Renk
73edd5c3ac Decoupled max. visibility setting from realistic visibility checkbox enabled - they do rather different things and disabling the slider when the checkbox is set makes little sense 2013-08-28 15:17:05 +03:00
Clément de l'Hamaide
90cf137ad8 Remove debug output for FGCom 2013-08-24 18:59:00 +02:00
Clément de l'Hamaide
cd41a649ec Avoid OpenAL context conflict by switching sound device 2013-08-22 17:06:04 +02:00
Clément de l'Hamaide
116026606d FGCom dialog: avid to change server until FGCom is enabled 2013-08-22 14:19:28 +02:00
f-jjth
9ca7b020d0 FGCom: add dialog for FGCom
Update server list

Server list is now dynamic
2013-08-19 14:06:23 +02:00
Thomas Geymayer
040310bd8b Fix glideslope in reposition in air dialog (typo) 2013-06-23 19:27:42 +02:00
James Turner
37044ed754 Fix GPS dialog scratch.
Legacy GPS and Nasal replacement were both writing to the
same props, which doesn't work so great. Use different props
for the GPS dialog now.
2013-06-16 15:07:19 +01:00
Thorsten Renk
b3bb82dd88 Wind effects on vegetation for Atmospheric Light Scattering: movement of trees and hires terrain texture noise simulating vegetation and debris movement 2013-06-07 13:31:34 +03:00
Stuart Buchanan
37f3d9b72f Minor clean-up of weather dialog
- Fix bug when opening weather dialog when in manual mode.
- Move buttons to be opposite the appropriate radio buttons
- Keep buttons visible at all times.
- Update description to account for recent Basic Weather -> ALS integration.
2013-05-21 20:50:21 +01:00
Vivian Meazza
5ed97555db Synchronize current Transponder ID code and Digit inputs on opening Dialog
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-05-15 21:38:24 +01:00
James Turner
dfc53ff647 Radios dialog can drive the transponder. 2013-05-12 10:41:37 +01:00
Gijs de Rooy
2f95972164 Update date in about dialog 2013-05-11 14:29:25 +02:00
Stuart Buchanan
658b1fe6ce Add support for <binding> tags on checklist items.
These are then attached to buttons on the checklist dialog allowing
the user to ask the computer to execute the checklist step, which
they can observe.
2013-05-01 22:41:15 +01:00
Stuart Buchanan
982a49d39a Fix Terrasync dialog. 2013-04-25 22:10:17 +01:00
Stuart Buchanan
e73a07b0cf Fix manual weather UI. 2013-04-25 22:02:47 +01:00
Gijs de Rooy
460b0bf737 Issue 859: ATC dialog cannot be closed. 2013-04-20 22:32:48 +02:00
Gijs de Rooy
5525a00090 Location in air dialog: switch option based on user input 2013-04-19 18:34:26 +02:00
Gijs de Rooy
3bf75cd248 Location in air dialog: disable impossible/unused option combinations. 2013-04-19 18:26:23 +02:00
Stuart Buchanan
5ede8f2bb9 Fix manual configuration of basic weather. 2013-04-16 22:14:51 +01:00
Thorsten Renk
df35c11af2 Packice overlay and water color variations for high quality water shader in Atmospheric Light Scattering 2013-04-15 14:29:04 +03:00
James Turner
b64dd768d3 Move more high-level GPS logic to Nasal/XML. 2013-04-10 18:52:34 +01:00
James Turner
4d3a00bf68 Use Nasal to provide GPS search functions. 2013-04-10 18:52:34 +01:00
Thorsten Renk
55c599c8ca Atmospheric Light Scattering specific environment settings are only active when the rendering framework is on 2013-04-09 09:14:50 +03:00
James Turner
bbb91f7c64 Scenarios can be loaded/unloaded at runtime.
State is saved to autosave.xml, and --disable-scenarios still avoids
loading any scenario at launch. At runtime scenarios can be added or
removed as normal.
2013-04-02 18:01:59 +01:00
Gijs de Rooy
6ae5fc6caf Fix introduced update issue. Fix indentation. 2013-03-19 13:20:25 +01:00
Gijs de Rooy
14a0904a29 Issue 1079: live update radio dialog on property changes. 2013-03-19 09:20:34 +01:00
James Turner
5c4142ed6d Option to disable mouse-mode feedback.
Drive off the 'show view names' checkbox in the view dialog for now, this might
evolve into a generic 'on-screen hints' control to avoid an explosion of
GUI checkboxes.

Also add a GUI checkbox (oh the irony...) to disable mouse flight-controls, to
keep AndersG and Emilian happy.
2013-03-12 21:45:06 +00:00
James Turner
72a1a0047e Work on tooltips, mouse-input config. 2013-03-08 16:47:00 +00:00
James Turner
f2b984f709 User-interface config dialog.
This is temporary (hopefully!), to allow experimentation with different UX options in the near future. Right now it basically does nothing. As part of this, factor mouse-mode cycling into a separate command, and add some feedback. Feedback mechanism needs work, currently abusing the copilot facility.
2013-03-07 19:36:54 +00:00
Vivian Meazza
b0db5eda5b Associate Realistic Visibility and Max. Visibility.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-02-27 23:40:53 +00:00
Vivian Meazza
e28d4c22cb Add descriptive text
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-02-27 23:40:49 +00:00
Stuart Buchanan
5491f952ca Add optional <page> and <marker> tags to checklists
Checklists may now be split into individual sections made up
of <pages> containing the <item> tags.  Each page is displayed
individually with Previous/Next buttons to allow navigation.

Checklists items also support <marker> tags.  These display
a marker when a ? button is pressed next to the checklist item.
The format is identical to that of the tutorial system.
2013-02-27 22:28:44 +00:00
Thomas Geymayer
99ed8e557e Airport dialog: remove canvas dimensions to allow automatic viewport update 2013-02-25 16:13:32 +01:00
Stuart Buchanan
0fc2bf56fb Air-to-air refueling enhancements
- Support selectable tankers
- allow configuration of refueling radius, speed
- add optional reporting of contact
2013-02-24 22:34:11 +00:00
James Turner
512c6368bd Fix initial appearance of terra sync dialog.
Thanks to Gijs for the catch.
2013-02-22 15:30:17 +00:00
Gijs de Rooy
4ad071b1c8 Add 2D panel hide options to view dialog. Fix indentation. 2013-02-19 12:12:09 +01:00
Thorsten Renk
deba78c4da Autumn colors by pixel postprocessing with color rotation encoded in the terrain texture alpha channel, used for Atmospheric Light Scattering 2013-02-11 14:01:31 +02:00
James Turner
3937b91673 Show log in scenery download dialog. 2013-02-09 11:35:02 +00:00
James Turner
82797f0f55 Add Nasal output to the console.
(Requires latest SG+FG!)
2013-02-08 19:42:25 +00:00
James Turner
5d68db3136 Show airport runway data in the airport dialog.
This is work-in-progress, and the XML is ugly due to PLIB broken-ness, but gives all the airport surface data in a single, usable place.
2013-02-08 13:18:51 +00:00
Stuart Buchanan
a604241784 Add warning message for users with Intel integrated graphics cards. 2013-02-01 21:55:28 +00:00
Thorsten Renk
9c95d09f60 Model ubershader for Atmospheric Light Scattering 2013-01-31 14:15:18 +02:00
Stuart Buchanan
b339ff1358 Enhancement to the checklists function to support <condition>.
Checklist items now support a <condition> element that evaluates
when the checklist item is complete, and is used to provide color
coding in the checklist dialog.
2013-01-29 22:38:39 +00:00
Thorsten Renk
c1157b762a The ultra-terrain shader 2013-01-21 13:57:18 +02:00
Stuart Buchanan
3d52fe9620 Make convective conditions independent of whether thermals are
generated.
2013-01-05 21:24:03 +00:00
James Turner
6612848745 Explicit 'cleared' callback for FP Delegate.
Fix bug 940, where GPS remains in active LEG mode when the route is cleared. (there is an associated flight gear code change). With this fix, the work-around in the GUI dialog is no longer required.
2012-12-31 17:38:18 +00:00
James Turner
2c87e95bba Final part of #450 - dynamic MP server list.
When the dynamic retrieval fails, fall-back to a local list. Note for this to work needed some minor fg+sg tweaks which are also pushed now.
2012-12-29 14:39:26 +00:00
James Turner
bd777597d6 Map dialog checkbox for flight history display. 2012-12-10 18:12:21 +00:00
Stuart Buchanan
2db9bcd640 Fix lightfield shader dialog. 2012-12-07 22:51:11 +00:00
Stuart Buchanan
abcfc2073b Allow users to reset their joystick configuration from the Joystick Configuration dialog. 2012-12-07 22:42:18 +00:00
Thorsten Renk
ed80612c98 Atmospheric Light Scattering update 2012-12-05 20:31:27 +00:00
Gijs de Rooy
35c86964d7 Issue 840: resize dialog, so no liveries are trapped outside the dialog with no scrollbar. 2012-11-24 16:32:04 +01:00
James Turner
51d4cf56b0 When no SID / approach is available, offer a default.
Offer to synthesise a plausible SID and approach for a given runway. In both cases it's a straight-in/-out path, ignoring local terrain.
2012-11-24 13:52:59 +00:00
James Turner
234b20ee3b Avoid spurious listener fires.
When retrieving the dynamic server list, avoid spurious fires and noisy output.
2012-11-19 23:05:11 +00:00
ThorstenB
60b9b24de9 Fix warning message in download dialog. 2012-11-17 23:10:12 +01:00
James Turner
cb6b6348a0 Make MPserver list dynamic. Thanks to Gijs for the backend. 2012-11-12 13:49:23 +01:00
ThorstenB
78ca4facfd Fix warning message when terrasync is not available. 2012-11-11 15:02:12 +01:00
ThorstenB
37bcf878c7 Add menu bindings/dialog to save/load flight recorder tapes. 2012-11-10 22:35:11 +01:00
Stuart Buchanan
228ea974b9 Reduce size of the Select Airport dialog. 2012-11-09 22:41:56 +00:00
Stuart Buchanan
13e2faf2ea Add communications frequencies to the Airports dialog. 2012-11-05 21:22:20 +00:00
Stuart Buchanan
9c6a35012b Manual merge of merge request 95 from Hooray 2012-11-03 22:06:51 +00:00
Stuart Buchanan
f2d07b6ad7 Support single <name> elements within a checklist, indicating a new section. 2012-10-28 21:11:58 +00:00
Stuart Buchanan
33a5d73cc4 Rename DDS materials.xml label. 2012-10-10 20:50:45 +01:00
Stuart Buchanan
fb830197dd Merge the View Options and Display Options dialogs into one. 2012-10-10 20:40:40 +01:00
Stuart Buchanan
5a7cdf6a04 Move wide screen compensation to the rendering dialog. 2012-10-07 23:19:03 +01:00
Stuart Buchanan
adb3804bab Minor layout improvement for Display Options dialog. 2012-10-06 23:18:36 +01:00
Stuart Buchanan
56241b81f6 Add function allowing selection of the materials.xml file to Rendering Options dialog. 2012-10-06 23:03:40 +01:00
Thorsten Renk
3c1ee0527b Shader updates 2012-10-06 21:13:50 +01:00
Thorsten Renk
397fdf1cc4 Weather bugfixes and additional scenarios 2012-10-06 21:13:19 +01:00
Alexis
bc4371bcd4 view.ScreenWidthCompens() : optional FOV compensation for wider screens.
It keeps an equivalent of 55° FOV on a 4:3 zone centered on the screen
whichever is the screen width/height ratio. Works only if width >= height.
2012-10-04 22:15:52 +02:00
Hooray
e510c8917f Canvas Scripting Layer (Mapping):
- first stab at refactoring the map.nas module, and trying to let the API evolve according to our requirements
- split up the module into separate files (some of them will disappear soon)
- split up the "drawing" loops into separate functions so that they can be individually called
- move actual "drawing" to map_layers.nas
- introduce some OOP helpers to prepare a pure Layer-based design
- prepare helpers: LayeredMap, GenericMap, AirportMap (TODO: use a real "Layer" class)
- move airport features (taxiways, runways, parking, tower) to separate layers (i.e. canvas groups)
- avoid using a single update callback and use different layer-specific callbacks to update individual layers more efficiently
- add some boilerplate hashes to prepare the MVC design
- allow lazy updating of layers, where canvas groups are only populated on demand, to save some time during instantiation, i.e. loading an airport without "parking" selected, will only populate the layer once the checkbox is checked
- extend the original code such that it supports showing multiple airports at once
- add some proof of concept "navaid" layer using SVG files for navaid symbols (added only NDB symbol from wikimedia commons)

regressions:
- runway highlighting needs to be re-implemented
- parking highlighting will be done differently
- enforcing a specific drawing order for layers is currently not explicitly supported, so that taxiways may be rendered on top of runways

Also:

- integrated with the latest changes in git/master (HEAD) -i.e. metar support
- further generalized map.nas
- partially moved instantiation from Nasal space to XML space (WIP)
- create "toggle layer" checkboxes procedurally in Nasal space
- prepared the code to be better reusable in other dialogs (e.g. route manager, map dialog etc)
- completely removed the "highlighting" (runway/parking) feature for now, because we talked about re-implementing it anyhow
2012-09-29 21:16:31 +01:00
James Turner
2d202a4e7d Part of bug 885
When clearing the waypoints, explicitly deactivate the route.
2012-09-26 22:45:14 +01:00
Stuart Buchanan
a8165a82e8 Updates to airport dialog.
- Retrieve METAR
- Include search of airports within 100nm.
2012-09-23 22:45:50 +01:00
ThorstenB
ecbce19b47 Sound: trigger subsystem reinit instead of relying on property listener.
Disable sound dialog when sound system is globally disabled (command-line/
compile-time).
2012-09-21 21:11:57 +01:00
Stuart Buchanan
69f8a3bb31 Minor updates to airports dialog
- Change timer to listener for zoom level.
- Correct course information so it is the course TO the selected airport
- Default to the closest airport, rather than the preset.
2012-09-20 21:51:23 +01:00
Thomas Geymayer
804b0396a4 Documentation browser dialog (for files in /Docs - Thanks to Hooray) 2012-09-20 00:04:11 +02:00
Stuart Buchanan
60e6be0e0f Improved maps display and Airports dialog
- Display taxiways
- Display different surface types
- control over components (taxiways, parking positions, towers) displayed
- include distance and course to airport.
2012-09-19 22:35:56 +01:00
Stuart Buchanan
9281025930 Clean up Environment Setting dialog. 2012-09-19 10:22:30 +01:00
Thomas Geymayer
9004040063 Remove data of previous airport in Select Airport dialog 2012-09-18 23:38:53 +02:00
Stuart Buchanan
d214a6fcf8 Add highlighting of selected runway/parking position. Move tower definition and placement to map.nas. 2012-09-18 19:28:56 +01:00
Stuart Buchanan
692f1be621 Add additional information to the About dialog to help diagnostics, including the ability to copy/past key data. 2012-09-18 15:48:50 +01:00
Thomas Geymayer
d775c221b7 Move map helpers to canvas Nasal module 2012-09-18 13:19:26 +02:00
Stuart Buchanan
602ae34af4 Add support for a Aircraft Checklists GUI item. 2012-09-18 11:29:17 +01:00
Thomas Geymayer
a870d8c4a3 Clean up Select Airport dialog a bit to make use of recent Canvas API improvements 2012-09-18 00:32:54 +02:00
Stuart Buchanan
f3ac93b1ef Updated Select Airport dialog, making the location-on-ground dialog redundant and adding a Canvas map to show the selected airport. 2012-09-17 20:17:52 +01:00
Thomas Geymayer
29b86a69f2 Copy/Paste for the Nasal Console.
- Support for copying the and pasting from/to the Nasal Console
   dialog using the new clipboard class (Thanks to Hooray).
2012-09-13 00:32:51 +02:00
Stuart Buchanan
d836ea78f1 Menu bar changes to expose Joystick Configuration dialog, and minor
typo in button config fix.
2012-09-03 22:22:09 +01:00
ThorstenB
bb17591cf0 Disable terrasync when libsvn support is missing.
External svn has too many disadvantages (does not support proper error
checking/status information etc)
2012-08-28 00:21:50 +02:00
Stuart Buchanan
7a3d5dd0bf Updates to the Joystick Configuration dialog. 2012-08-26 21:48:53 +01:00
Stuart Buchanan
4a70a703a8 Add Joystick Configuration dialog, allowing in-sim configuration of joysticks. 2012-08-24 22:53:21 +01:00
Gijs de Rooy
b950ff1e6e Fix automated METAR snow line. 2012-08-11 19:56:29 +02:00
Stuart Buchanan
4ec24853a8 Create an Environment Settings dialog for non-weather environment settings
such as snow level, dust, wetness, and texture set.

Also add a parameter to control whether the snow level moves with METAR,
and retire /environment/mysnow-level-m.
2012-08-09 22:52:51 +01:00
Stuart Buchanan
c71e0b92f1 Add warning text for random buildings, which require lots of memory. 2012-08-09 21:48:27 +01:00
Stuart Buchanan
0a40f0be0f Updated Weather dialog
- Bug fix so manual configuration works properly
- Interpret METAR directly to set default wind settings for Local Weather mode.
2012-08-09 21:38:36 +01:00
Stuart Buchanan
89928f8350 Add missing weather configuration dialog from Unified Weather commit. 2012-08-07 23:14:43 +01:00
Stuart Buchanan
ed068bef82 Unification of Weather UI. 2012-08-07 21:27:29 +01:00
Thorsten Renk
9be134b34d Procedural Texturing 2012-08-07 09:01:14 +02:00
Frederic Bouvier
c3bcb8a6de Add film wear to the cinema postprocessing effects 2012-08-05 18:51:02 +02:00
Frederic Bouvier
fab3d677b0 Night vision has precedence over cinema effects 2012-08-05 11:57:48 +02:00
Frederic Bouvier
714555e74b Add lateral chromatic aberration (purple/green fringe) to the cinema postprocessing effects (Rembrandt) 2012-08-05 11:43:56 +02:00
Frederic Bouvier
9010535292 Add radial lens distortion to the cinema postprocessing effects (Rembrandt) 2012-08-05 10:43:53 +02:00
Frederic Bouvier
33634a5ba1 Add slider values to the dialog 2012-08-05 00:08:31 +01:00
Frederic Bouvier
5627a4e8f8 Cinema effects in the Rembrandt framework 2012-08-05 00:08:27 +01:00
Frederic Bouvier
6013f3360e Night vision post processing effect in Rembrandt 2012-08-05 00:08:23 +01:00
Thomas Geymayer
9cd2d64f28 Update ground location dialog to use new parking hash 2012-07-31 23:22:27 +02:00
Frederic Bouvier
e911e6b5f8 Add quality selection to lights 2012-07-22 10:08:04 +02:00
Vivian Meazza
24e7e5fb68 Whoops!
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2012-07-21 09:34:00 +01:00
Vivian Meazza
d8a76e4512 Merge branch 'work' of D:\Git_New\fgdata 2012-07-21 00:16:51 +01:00
Stuart Buchanan
e91620a456 Remove building density slider. Values > 1.0 have massive memory
impacts and can result in FG paging to disk continually and hanging
some systems, with no obvious cause or fix (particularly with auto-save).

For the moment we simply remove the slider, allowing power users to
modify the density in preferences.xml.

Once the memory consumption of buildings has been addressed we should
be able to put the slide back in.
2012-07-19 21:36:06 +01:00
Vivian Meazza
6bceb5695a Revert "Bugfix"
This reverts commit 62a39ccea745faf722e2c50ef257d17b66015fc1.

Conflicts:

	gui/dialogs/AIcarrier.xml
2012-07-19 09:45:39 +01:00
Stuart Buchanan
efe0ba3bd5 Improve layout of season selector. 2012-07-12 12:13:48 +01:00
ThorstenB
ce36295c4a #544: slider to control AI sound volume missing
(not a bugfix really, but just too trivial).
2012-07-07 17:26:05 +02:00
Stuart Buchanan
680362337c Add control of season to GUI to be set in-sim. 2012-07-06 20:11:51 +01:00
ThorstenB
e6ec1218ba Fix ai-traffic GUI checkbox
Setting was lost on sim-reset and restart
/sim/ai-traffic props are entirely obsolete (to be removed after 2.8)
2012-07-05 19:37:43 +02:00
Vivian Meazza
e84ff39ee8 Remove debug messages
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2012-07-04 20:57:18 +01:00