1
0
Fork 0
Commit graph

7639 commits

Author SHA1 Message Date
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
Torsten Dreyer
4676d19237 Credit Martin's work for the world scenery 2016-01-31 20:49:21 +01:00
Olivier JACQ
5eefd27c6d New company HOP, merging Regional, Britair and other regional FR companies. Added a few flights too. Flights formely operated by Air France will have to be merged here later on. 2016-01-31 20:03:47 +01:00
Gijs de Rooy
da50e51aa3 Fix #1823: prevent 16-bit overflow by navdisplay trend vector 2016-01-24 17:36:31 +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
Stuart Buchanan
46a914fa05 Upated documentation for 2016.1.0 2016-01-22 15:19:01 +00:00
Torsten Dreyer
85a45fc1c9 Fix KSFO air train
credits to M.Herweg:
I adjusted the elevation for the  KSFO skytrain AI scenario so that it
runs on the tracks and not under the tracks.
2016-01-22 15:25:52 +01:00
Torsten Dreyer
6c98468d19 fix #1834: not taps in Phi
Allow missing config.json in fg-home.
2016-01-19 09:44:04 +01:00
Olivier JACQ
6039937023 Fixing missing XML close tag. 2016-01-18 09:34:53 +01:00
Olivier JACQ
b3c103472b More XML testing. New company Chalair with a few flights. 2016-01-16 14:13:37 +01:00
Olivier JACQ
c59b3dbd8a More testing on AI XML autogen. New company Jetairfly, with a few flights. 2016-01-16 12:10:39 +01:00
James Turner
fddc972010 Warp/time-adjust GUI tweaks
- make t/T action press and hold, with some acceleration factor and
  clamping to a maximum rate. (Avoids confusing latching-mode of
  previous system(

- show the local time of day while adjusting.

Values are based on some experimentation, feedback welcome on the
mailing list.
2016-01-15 20:53:43 -06:00
James Turner
fd8a1dece8 ThrustMaster T1600M tweaks
- left/right top of stick buttons cycles views, instead of aileron
  trim, since I judge this to be a more commonly used feature. But
  maybe this will cause a conversation.

- adjust sensitivity of the hat view-direction control, was unusably
  fast for me.
2016-01-15 19:38:38 -06:00
James Turner
bd1fa5b201 (from Denk Padje)
a small patch here that uses math.round() instead of int() for "percent"
mapping in Canvas tooltip.
2016-01-15 19:35:48 -06:00
Jonathan Schellhase
5eeb3d7702 Last commit changed version back to "3.7.0". By this commit this gets fixed 2016-01-14 18:24:03 +01:00
dumbojet
9b5dcee2eb Finistair company traffic file. Testing if my real name appears on commit, too. 2016-01-14 17:09:56 +01:00
dumbojet
b9c779777c Home-made XML, SID and STAR procedures for LFRB 2016-01-14 11:56:58 +01:00
Torsten Dreyer
45bdcd9d2b Phi: fix radiostack layout issue 2016-01-14 10:30:23 +01:00
Torsten Dreyer
fd23166f43 Phi: let plugins register additional properties 2016-01-14 10:29:49 +01:00
Torsten Dreyer
f0588144d1 Phi: simplify plugin json and add user plugin support 2016-01-13 18:16:15 +01:00
Torsten Dreyer
cee599cd0d Phi: Pull topics into a config object
background: prepare for plugins
2016-01-13 13:59:01 +01:00
Thorsten Renk
630a46c11d Restoring the airport keep effect for CA. This isn't just an aesthetic problem - at lower quality levels it's needed for rendering landing lights and in general for snowdrift and the runway edges without creating visual artifacts. Such artifacts at the runway edge where pilots regularly look are far more worrisome than at the interface between airport keep and terrain 2016-01-11 08:44:31 +02:00
Torsten Dreyer
6f4666178a Fix rudder for AI Citation II
Chris:
This patch switches the rudder listening to the right property. The one being used now seems to be obsolete for a long time. Additionally it needs to change polarity to operate properly.
2016-01-10 23:36:29 +01:00
Thorsten Renk
459d8a02e0 Simple Aurora Borealis strength manager dependent on viewer latitude 2016-01-10 13:00:15 +02:00
Thorsten Renk
3ab3ba72e6 Support for Aurora Boeralis for ALS skydome and Earthview 2016-01-10 10:07:21 +02:00
Thorsten Renk
7ab9b4be4f Reduce ALS surface light core desaturation for better color recognition (suggested by HHS) 2016-01-10 09:42:04 +02:00
Florent Rougon
2cf6cf4a93 joystick.PropertyScaleAxis.parse(): copy the property name too
- Since joystick.PropertyScaleAxis instances have a 'prop' attribute
  indicating the property name, it seems logical to have
  joystick.PropertyScaleAxis.parse() set this attribute based on the
  property name in its argument ('p').

- This commit also tries to improve readability by using a 'bindingNode'
  variable instead of repeatedly calling 'p.getNode("binding", 1)'.
2016-01-09 07:56:47 +01:00
Florent Rougon
769a83e64f joystick.PropertyScaleAxis.parse(): always copy 'factor' and 'inverted'
- Commit 5bcf58c7d6 forgot to set the
  'inverted' attribute when there was no 'factor' node in the argument's
  'binding' node. Fix this.

- Also copy the argument's 'factor' value to the 'factor' instance
  attribute for consistency, since joystick.PropertyScaleAxis instances
  have such an attribute initialized in the constructor.
2016-01-09 07:35:23 +01:00
Florent Rougon
703639ec68 Remove inappropriate 'deadband' attribute from joystick.PropertyScaleAxis
As far as I can tell, the dead-band setting belongs to <axis> nodes, not
to <binding> nodes using property-scale. This can be seen in
do_property_scale()'s definition (flightgear/src/Main/fg_commands.cxx)
as well as in fgdata/Docs/README.Joystick.html.

joystick.PropertyScaleAxis creates <dead-band> nodes as children of
<binding> nodes in generated joystick binding files under
$FG_HOME/Input/Joysticks which, AFAICT, are completely useless and thus
confusing. The <dead-band> nodes should be created at a different level
to be effective (cf. FGJoystickInput::postinit() in
flightgear/src/Input/FGJoystickInput.cxx).

This commit removes the 'deadband' attribute from
joystick.PropertyScaleAxis, since it has nothing to do there IMHO.
2016-01-08 15:45:58 +01:00
Florent Rougon
5bcf58c7d6 Fix nuking of property-scale's default factor by joystick-config dialog
As can be seen in do_property_scale()'s definition in
flightgear/src/Main/fg_commands.cxx, property-scale rightfully uses a
default factor of 1.0. However, if a joystick axis' property-scale
binding has no 'factor' node defined, and one opens the joystick
configuration dialog, then PropertyScaleAxis.parse() creates an empty
'factor' node that implicitely gets a value of 0. This method is called
by joystick.readConfig() when the joystick-config dialog is opened. This
has the effect of rendering the corresponding joystick axis inoperant.

How to reproduce the bug:
  - take a joystick such as the SAITEK CYBORG 3D USB, with its default
    binding file from
    fgdata/Input/Joysticks/Saitek/Cyborg-Gold-3d-USB.xml (this file uses
    property-scale for the aileron, with no explicitely defined factor);
  - start FlightGear; move the joystick left or right while looking at
    the plane wings -> the ailerons move, it works fine;
  - now, open the joystick-config dialog and do the same test -> the
    ailerons don't move anymore and the 'Aileron' value at the bottom of
    the dialog stays at 0 (0.0 or -0.0...). Just opening the dialog to
    test the joystick has "corrupted" its setup! This is very confusing
    for users.

This fix corrects the problem by avoiding the apparently unneeded
creation of an empty 'factor' node when there is none inside the
<binding>. An alternative would be to create a 'factor' node with value
1.0. In any case, if someone later expands the joystick-config dialog to
allow modification of property-scale's factor, he should make sure to
use a default value of 1.0!
2016-01-08 12:04:39 +01:00
Gijs de Rooy
d84168d36d About dialog: update year 2016-01-07 15:20:24 +01:00
Edward d'Auvergne
3bf57db6b4 Fixes for all PNG files with corrupted ICC color profiles.
The files were identified using the pngcrush software and repaired by stripping
out the PNG header including the ICC profile using the command:

$ pngcrush -fix -force old.png new.png; mv -f new.png old.png

Each file was manually checked in an image viewer to look for any corruptions.

This follows from the threads
http://thread.gmane.org/gmane.games.flightgear.devel/79895 and
http://thread.gmane.org/gmane.games.flightgear.devel/79898 .
2016-01-06 21:38:13 +01:00
James Turner
8164811d9f Speed-up fix; now included in /sim/time/delta-sec 2016-01-05 23:25:55 -06:00
Torsten Dreyer
2e8369434c Version 2016.1.0 2016-01-05 20:43:09 +01:00
James Turner
b640f64ea8 Overhaul the performance DB
Create many aliases and add stubs for many aircraft. Trying to
reduce the amount of warnings from the traffic code.
2015-12-30 14:28:26 -06:00
Erik Hofman
ba7ec77e43 XMerge branch 'next' of ssh://git.code.sf.net/p/flightgear/fgdata into next 2015-12-30 17:14:17 +01:00
Erik Hofman
41562e4b87 Gilberto Agostinho:
I created a substantial quantity of new work in the New Regional
Textures project and I would like to ask if anyone could review and
perhaps commit them into FGDATA. The modifications are:

- New textures and material definitions for California
- New textures and material definitions for Mexico
- New material definitions for Central America
- New textures and material definitions for Southern Europe
(Mediterranean region: Portugal, Spain, south of Italy, Greece, coast of
Balkans)
- New airport grass texture (global)
- New airport grass texture for Latin America
- New American town texture (global)
- Small improvement to grass blade textures (to better fit the airport
grass texture)

If this will be committed, we must add a note thanking the United States
Geological Survey (USGS) for the satellite images of California (
http://www.usgs.gov/ ) to the Thanks file.
2015-12-30 17:13:18 +01:00
Thorsten Renk
d6659667aa Bugfix - NVIDIA drivers are waaay too tolerant... 2015-12-30 13:14:00 +02:00
Erik Hofman
4cfda541ad Gilberto Agostinho:
I created a substantial quantity of new work in the New Regional
Textures project and I would like to ask if anyone could review and
perhaps commit them into FGDATA. The modifications are:

- New textures and material definitions for California
- New textures and material definitions for Mexico
- New material definitions for Central America
- New textures and material definitions for Southern Europe
(Mediterranean region: Portugal, Spain, south of Italy, Greece, coast of
Balkans)
- New airport grass texture (global)
- New airport grass texture for Latin America
- New American town texture (global)
- Small improvement to grass blade textures (to better fit the airport
grass texture)

If this will be committed, we must add a note thanking the United States
Geological Survey (USGS) for the satellite images of California (
http://www.usgs.gov/ ) to the Thanks file.
2015-12-30 10:06:57 +01:00
Thorsten Renk
3dc8b32f67 De-saturating the core of ALS surface and runway lights as suggested by Gilberto Agostinho 2015-12-29 11:53:46 +02:00
Florent Rougon
afec939218 Proper 'fgfs --help -v' documentation for --aircraft-dir
- Fix documentation for --aircraft-dir: the specified path is
  interpreted relatively to the current directory, not to the path of
  the fgfs executable.

- Add a few precisions (the option bypasses the <path-cache> from
  autosave_X_Y.xml, as well as --fg-aircraft and FG_AIRCRAFT).

- Show the option documentation in 'fgfs --help -v' output (it was
  "hidden" since 2010, but it works very well; cf.
  <https://sourceforge.net/p/flightgear/mailman/message/34494887/> for
  the most recent discussion about this option).

- Show the doc for --aircraft-dir right below that of --aircraft (both
  being closely related).

- Add a pointer to --aircraft-dir in --fg-aircraft's doc, since the
  former can be used as an alternative to the latter (or at least a
  complement, since --fg-aircraft is used to determine some
  permissions).
2015-12-24 12:11:54 +01:00
Thorsten Renk
88bc96d346 Aurora Borealis shader effects for Earthview - not yet used 2015-12-23 13:39:45 +02:00
Curtis L. Olson
2822505f08 Add Gilberto to the list. Thanks! 2015-12-22 07:06:33 -06:00
Thorsten Renk
4c4044b15c AW sets parameters for scattering phenomena 2015-12-21 13:49:23 +02:00
Thorsten Renk
a6110f9b48 Light scattering phenomena for ALS: rainbow, halo, sundogs and light pillar 2015-12-21 13:07:32 +02:00
Torsten Dreyer
e5db4d25cb Phi: update leaflet to v0.7.7
no functional changes
2015-12-18 22:08:19 +01:00