1
0
Fork 0
Commit graph

1016 commits

Author SHA1 Message Date
Richard Harrison
67e8c14ec6 Add logging control to developer dialog 2019-03-10 15:25:43 +01:00
James Turner
867d898b68 Adapt scenarios dialog for revised AIManager
AIManager now takes care of finding scenarios which can be loaded, so
the work here is much simpler.
2019-02-03 12:19:42 +00:00
James Turner
29ec71b3a6 Route-manager dialog: default to appending
Rather than warning in the case where there is no selected, default
to appending new waypoints, since this is a fairly common case.
2019-01-16 11:12:34 +00:00
James Turner
f6fd864394 Route-manager dialog: improve on-screen help 2019-01-16 11:12:34 +00:00
James Turner
8eb2033a97 Heliport support in the map dialog
Patch from Daniel Wickstrom, requires corresponding change in FlightGear
2019-01-15 11:21:21 +00:00
James Turner
baa33f40b3 Airport-list: allow filtering by type for helipads
Patch by Daniel Wickstrom, requires a corresponding FLightGear change
to extend the special search function used by this dialog to add
support for a type-prefix.
2019-01-14 12:16:22 +00:00
Stuart Buchanan
3b92497769 Joystick Config fixes from Ron HAERTEL 2019-01-06 20:48:47 +00:00
Scott Giese
09d99a2a6d "Very Low Density" missing from random-vegetation nasal script.
Courtesy of wkitty
2018-12-28 00:45:46 -06:00
Richard Harrison
b66682cd7d Add texture-cache defaults 2018-11-25 22:50:36 +01:00
Richard Harrison
3257e667df Added UI checkbox for DDS Texture Cache 2018-11-24 20:06:52 +01:00
James Turner
726b770db6 Revert "Route-manager: UI for cruise and alternate"
This reverts commit 4320f8403a.
2018-11-05 12:56:39 +01:00
Richard Harrison
2d3042abf9 LOD: Increase detailed range to 100km, fix reload when changed 2018-11-01 01:39:18 +01:00
Richard Harrison
160abde2a6 LOD dialogs rework.
Big rework of the Adjust LOD ranges dialog to hopefully make it easier to understand, and harder to setup so that models aren't visible by accident.

All range entry is now via sliders.

The sliders are deltas from the previous value.

There is now the option to specifically choose either low detail or high detail AI/MP models. *NOTE* that for models without a fallback index the low detail model will be the blue yellow glider.

There is now clear indication of what happens for the Meters or Pixel modes.

Added a defaults button that will restore a reasonable set of default values.

The properties that were used have been renamed to ensure that sensible defaults will be picked, ideally we'd have a way to migrate things like this but I don't think we do, so this is a reasonable alternative.
2018-10-30 20:19:10 +01:00
James Turner
cad41649dc Fix property browser #0 not working on second open
Since we mutate the (cached) definition properties on each call to
clone(), we need to reset these values back, or the non-clone()-ed
instance gets confused paths to its input and list widgets.

https://sourceforge.net/p/flightgear/codetickets/2044/
2018-10-25 16:23:19 +01:00
James Turner
4320f8403a Route-manager: UI for cruise and alternate
Revise the UI for specifying cruise now the route-manager properties
are hooked up.
2018-10-12 15:28:53 +01:00
Gijs de Rooy
238d48de0b Revert "Correct shader slider fractions"
Fractions are intentionally the same for all sliders to create an uniform appearance.

This reverts commit 4ad180a145.
2018-09-19 10:24:42 +02:00
Richard Harrison
acb8fea841 Add ability to specify TACAN frequency on radios dialog.
This will only work for valid VORTAC or TACAN stations.

Not all frequencies can be mapped to VOR frequency range. These will be displayed (and entered) without a decimal place to differentiate them.
2018-09-15 18:35:37 +02:00
Gijs de Rooy
4ad180a145 Correct shader slider fractions 2018-09-15 11:23:12 +02:00
Thorsten Renk
2e38b20030 New active volcano: Beerenberg on Jan Mayen 2018-09-15 10:32:58 +03:00
Richard Harrison
da089c843a Change default height of property browswer to 500 pixels.
Realistically 768 pixels is the minimum height for most displays these days, so 500 is a reasonable figure for all displays, and it does make it easier to operate.
2018-09-02 13:57:29 +02:00
Thorsten Renk
cce0fac2f8 ALS: New cloud rendering detail level with more dramatic Mie scattering at cloud fringes done inside fragment shader 2018-08-30 09:17:36 +03:00
Richard Harrison
2322d0dbe8 Joystick binding changes;
- added extra bindings
- reworked the view axis (usually bound to the hat); to move at a better rate.
- trim to elevator position. When selected this will remember the current position and when the joystick is centered it will apply this as the trim. Very useful for carrier approaches; and also it helps to do something that is much easier with loaded controls when you can feel the pressure being reduced by the operations of the trim switch
2018-07-28 00:39:22 +02:00
Stuart Buchanan
7a8dc7d2d9 Fallback AI model list.
By setting /sim/model/fallback-model-index, an MP model
can transmit an index into the AI/Aircraft/fallback_models.xml
file which will be used if the aircraft model cannot be found
in other instances Aircraft or AI/Aircraft directories.
2018-07-27 18:39:53 +01:00
Stuart Buchanan
9f9ea1cf8e Rendering options to set preferred MP model
GUI and default property for /sim/multiplay/use-detailed-models
to indicated if we prefer to use detailed models from Aircraft (true)
or simpler models from AI (false).
2018-05-28 20:56:28 +01:00
Stuart Buchanan
9f7e17a434 Support for <group> of checklists.
Checklists now support grouping by placing a group of checklists
under a <group> node.

e.g. /sim/checklists/group/checklist

The group can have a <name>, which is used by the checklist dialog
and can be used by other interfaces, such as the FG1000.
2018-04-12 22:24:57 +01:00
Stuart Buchanan
98e11ec207 Initial FG1000 PFD 2018-02-26 21:24:21 +00:00
Stuart Buchanan
91dd762736 Support for Runway numbers on RWY MapStructure layer
- Change getInstance to getOrCreateInstance for FG1000.
- Implement runway numbering on AirportInformation page.
2018-02-18 21:41:17 +00:00
Richard Harrison
d7a9b36c08 Joystick dialog changes
- Engines control now use the same axis methods as the flight controls; which allows for these to have an inverted checkbox.

- Change the axis combo boxes to instead show a popup dialog (much like the button config). This is better because the items can be grouped sensibly.

- Changed the way that the "all engines" controls work - the dialog binds these to a "engines/XXXX-all" for which there is a listener in controls.nas which propogates over all engines.

- Added extra bindings to both the buttons and the axis dialogs.

- moved the "None" button to the bottom and renamed it to the more comprehensible "Remove assignment"
2018-02-16 19:35:50 +01:00
Richard Harrison
9aea8096cc Reduce transparency of alternate theme. 2018-02-16 19:35:49 +01:00
Stuart Buchanan
be5e16f382 Factory methods for FG1000
- Use Factories to handle multiple FG1000 calls better.
- Fix DirectTo Map center.
2018-02-09 17:26:57 +00:00
Stuart Buchanan
9156006183 3D Model support for GDU-1045, general refactor
- Add GDU-1045 3d model courtesy of Jean-Paul ANCEAUX (www2).
- Refactor to simplify deployment in aircraft
- Add README file
2018-02-09 15:01:33 +00:00
Stuart Buchanan
a2b17b4085 Refactor FG1000 in preparation for PFD, 3D model. 2018-02-05 19:33:28 +00:00
Richard Harrison
8380519a46 Multiplay/Emesary: revised defaults for new properties for 2018.1
The multiplayer "transmit filter" defaulted to off, with the flag that indicates if this should be available on the MP dialgo to also be set to off
2018-02-04 17:12:44 +01:00
Thorsten Renk
3d1921dd1f Add volcano simulation for Etna 2018-01-30 10:28:08 +02:00
Thorsten Renk
d9e55dc2e5 Improvements to Earthview: enable changing cloud density, fix aurora z-ordering issue, let moonlight give a relief effect to clouds 2018-01-29 09:25:38 +02:00
Richard Harrison
d287f23ad8 Emesary notifications: change explanation to match revised property for filtering outgoing properties
Change /sim/multiplay/transmit-only-generics to /sim/multiplay/transmit-filter-property-base, which can be 1 to transmit only generics, or a number greater than 1 to indicate the start index to transmit (e.g. 12000 for new emesary mp bridge properties)
2018-01-28 15:51:44 +01:00
Stuart Buchanan
9bd10f8273 SVG MFD UI from miChat
SVG files from Michat on the forum:

Sat Jan 13, 2018 7:36 pm

Me, Michat. I donate the so called garmin1000B.svg file created by me using GPL Inkscape software to FlightGear, the Free Flight Simulator as a present to the flightgear.org. Since now I derived all legal rights to FlightGear via two active developers representatives on this forum topic: Stuart and hooray. They will proceed to upload the file to the FG repository, choosing the best license in order to protect FlightGear from any scammer simulation software, if is possible. Having account the nature of the Flightgear project as public well.

The 13TH of January 2018 in Madrid Spain.

Michat.
2018-01-14 20:46:50 +00:00
Stuart Buchanan
f6f5efe9f4 Use Emesary interface rather than airportinfo() 2018-01-13 21:07:32 +00:00
Stuart Buchanan
cbb281759c NAV/COM Radio support
Add NAV/COM 8.33MHz radio support and integration
with the property trees for radios.

Also general cleanup.
2018-01-13 18:53:06 +00:00
Stuart Buchanan
b45ae04c15 Create a Listener-based property publisher.
Use it for NavCom, and include the Nav IDs in the display.
2018-01-10 23:11:38 +00:00
Stuart Buchanan
a25c66850a Add full set of hardkeys to fg1000 PUI dialog. 2018-01-10 22:12:47 +00:00
Stuart Buchanan
73424c1791 Update NAV/COMM frequencies from properties
- Add new Emesary notification type for NAV/COM data
- Create Update/Publish interfaces using Emesary from properties
- Use interfaces to drive updates to EIS and NAV/COM frequencies
- Change the PageGroupController to a "proper" MFD page
2018-01-05 16:37:39 +00:00
Stuart Buchanan
475fd50585 PFD UI Elements and NearestAirports page 2017-12-27 19:51:54 +00:00
Stuart Buchanan
d0203549e8 Add AirportInfo and template pages for FG1000 2017-12-10 22:15:21 +00:00
Stuart Buchanan
3d31775ff3 Initial commit of FG1000 MFD 2017-11-24 23:04:46 +00:00
Richard Harrison
08fd851489 Theme rework.
Change fonts; make use of the new feature to allow fonts to be specified using property from dialog xml.

Ensure that all fonts are defined within the style.
2017-11-12 16:57:39 +01:00
Richard Harrison
eabece0148 Add more options to development extensions GUI dialog.
- configure onscreen OSG display directly
- multiplayer loopback
- buttons for the reload options
- added reload shaders
2017-11-12 16:57:39 +01:00
Richard Harrison
1d58485dfa Permit server name to be specified in multiplayer dialog 2017-11-12 16:57:39 +01:00
Thorsten Renk
f1a6790828 Add San Antonio to new AI carrier control scheme, retire old AI Carrier dialog 2017-11-11 10:47:38 +02:00
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
James Turner
654a343bbb Enable the Qt gui inside the sim.
Needs a lot of testing, but aircraft can be installed / changed and
location adjusted from within the sim. After some number of times the
sim will crash.
2016-06-08 11:56:18 +01: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