1
0
Fork 0
Commit graph

753 commits

Author SHA1 Message Date
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