1
0
Fork 0
Commit graph

889 commits

Author SHA1 Message Date
Guillaume Deshors
5025cc3ae1 allow stereoscopic gui to update new property to autoadjust aspect ratio when stereo osg view is split 2021-02-03 09:40:11 +00:00
Stuart Buchanan
b8c6d1c01e WS30: Only enable WS30 on OSG 3.6.X 2021-02-02 16:55:00 +00:00
Stuart Buchanan
c9428e0beb OSM2City: Add Details and Trees directories
Update defaults.xml and Rendering dialog to include
Details and Trees directories, for use by osm2city
2021-02-02 15:56:07 +00:00
Stuart Buchanan
9c556e5425 WS30: Add WS30 controls to rendering dialog 2021-02-02 15:20:58 +00:00
Stuart Buchanan
dd80c82747 WS30: Property configuration VPB
Configure the VPB elevation mesh via properties:
/scenery/elevation-mesh/sample-ratio controls the elevation
mesh sampling, allowing reduction in mesh size

/scenery/elevation-mesh/vertical-scale is just for fun and
scales the mesh vertically making mountains taller.

/scenery/elevation-mesh/constraint-gap-m controls how much below
airports etc. elevation vertices are forced to be.
2021-01-27 20:05:49 +00:00
Erik Hofman
40e871a911 Implement a simple snow shader for the low quality levels 2021-01-19 11:10:44 +01:00
Erik Hofman
9872ac5c55 Always enable ALS and remove the texture selection option in the rendering menu: the only one left is regioanal texturing. 2021-01-18 09:05:05 +01:00
Michael Danilov
51972c51ee Add option to move chat to the left and align left. 2021-01-13 22:43:12 +01:00
Michael Danilov
a2c3c4c3d8 Add option to move chat to the left and align left. 2021-01-12 21:17:56 +01:00
Gijs de Rooy
b7a6221c63 Stereoscopic view options: increase minimum screen distance to 10cm to prevent black screens 2021-01-08 17:16:25 +01:00
James Turner
b5f574fa4f Cockpit-view: add step to head-shake factors
Suggested by Michael Danilov: add step values to these sliders, so
we get precise values rather than arbitrary ones.
2021-01-06 14:25:17 +00:00
Julian Smith
f703b28d56 Added control of /sim/multiplay/hot to Multiplayer Settings dialogue.
This enables collisions with multiplayer aircraft.
2021-01-01 16:50:20 +00:00
Stuart Buchanan
38ec3d2be8 Ground shaking effect
Addition to the existing headshake/redout to provide some
cockpit shaking effect when traversing rough ground.

Path from Benedikt HALLINGER.
2020-12-30 20:39:08 +00:00
Julian Smith
05ee53dea8 Allow control of whether to auto-attach to multiplayer carriers.
gui/dialogs/multiplayer.xml: added checkbox.

defaults.xml: default /sim/mp-carriers/auto-attach to false with
userarchive="y".

Multiplayer carrier auto-attach is implemented in
fgaddon/MPCarrier/Systems/MPCarriers.nas.
2020-12-18 20:19:37 +00:00
Fernando García Liñán
987a195c0c Add an UI button to force reloading of all Compositor instances 2020-12-17 06:37:24 +01:00
Michael Danilov
1052addd23 Mouse: setting for flight controls sensitivitiy. 2020-12-08 15:10:36 +01:00
Stuart Buchanan
2fdb17a214 Checklist: <and> multiple entries in <condition>
Previously a <condition> block was assumed to contain
a single child, and other children were ignored, largely due to the PUI code.

Most developers would expect multiple children to be evaluated
as if surrounded by an <and> block, which is how the tutorial code
behaves.

This change wraps the children in an <and> making it consistent.
2020-11-29 19:39:20 +00:00
Julian Smith
536275fa38 gui/dialogs/about.xml: improved Help-About-Copy to Clipboard.
Copy all properties mentioned in the dialogue, e.g. including OSG version, and
also include full property path.
2020-11-25 22:46:38 +00:00
Scott Giese
76f7f1b698 Photoscenery: Initial commit
Author: Nathaniel Warner
2020-11-23 19:48:01 -06:00
Julian Smith
eebf07d9f6 Add user control of whether mouse controls elevator when left button is down.
defaults.xml
    Set new property /sim/mouse/mouse-rudder-elevator to false, but with
    userarchive="y".
gui/dialogs/input-config.xml
    Added checkbox to control /sim/mouse/mouse-rudder-elevator.
mice.xml:
    Allow mouse control of elevator with button 0 down if
    /sim/mouse/mouse-rudder-elevator is true.
2020-11-21 12:18:18 +00:00
James Turner
f125b75429 Joystick-config: fix ToggleButton, add AP-DISC
Fix the created binding for toggle buttons.

Add autopilotDisconnect helper to controls.nas, and expose the new
function in the joystick configurator dialog. 

Fixes from Henning Stahlke
2020-11-19 21:17:51 +00:00
Julian Smith
c79f3f0551 gui/dialogs/rendering.xml: added checkbox for shadows.
Has a note saying 'May need restart to take affect' because it seems that
shadows never work unless enabled on startup. Note that the property setting is
persisted.
2020-11-17 20:15:43 +00:00
Erik Hofman
7f66257bfb Add climate selection options to set the environment and weather based on climate data. Setting the weather is not yet implemented in the code but eventually it will be. 2020-11-09 11:44:08 +01:00
Julian Smith
dffa547c1c gui/dialogs/radios.xml: added controls of ATIS speech. 2020-11-01 09:32:39 +00:00
Julian Smith
1d4bc4cc1a gui/dialogs/instruments.xml: added control of panel/instrument lighting. 2020-11-01 09:32:39 +00:00
Stuart Buchanan
a60f5fd3fe Checklist: Improve robustness 2020-10-31 20:35:33 +00:00
Stuart Buchanan
9e2ee8b969 Checklist/Tutorial: Auto view direction to marker
This change automatically changes the view direction to look
at a <marker> if any is defined for a checklist item or tutorial
step.

Both the tutorial and checklist features support a <marker> element
which can be used by an aircraft developer to display a magenta
circle around an item of interest (typically a control in the
cockpit).

Previously aircraft developers had to add a <view> element to move
the viewpoint to look at the marker, while users of checklists had
to look for the marker manually.

Now:
- For checklists, pressing the "?" button on a checklist will pan the viewpoint
to the marker.
- For tutorials, if there is not a <view> element defined for a
tutorial step, the view will automatically pan to the marker.
2020-10-31 16:00:51 +00:00
Stuart Buchanan
88dd4468e5 Remember checklist page across close/open of dlg
Path from Michael DANILOV
2020-10-28 22:34:43 +00:00
Stuart Buchanan
7414c50305 Sort checklist groups alphabetically
Patch from Michael DANILOV
2020-10-11 19:58:44 +01:00
Stuart Buchanan
5e24ce0684 Remember selected checklist
Bug fix from Michael DANILOV
2020-10-08 19:01:15 +01:00
Stuart Buchanan
134e0fdc5b Improve GPS dialog wording for linking NAV1 to GPS 2020-08-26 13:44:09 +01:00
James Turner
045c8f4815 Fix in-air reposition runway heading
When repositioning to an airport runway, clear the heading preset
so we use the runway heading.

https://sourceforge.net/p/flightgear/codetickets/2283/
2020-07-14 17:16:07 +01:00
Julian Smith
0bbc7d9f1c Small improvement to terrasync download dialogue.
Show number of errors separately, don't override status if there are a non-zero
number of errors - this was unhelpful if we've managed to resume after errors.
2020-06-28 11:03:54 +01:00
James Turner
986369f6ea Use logprint in more places
Trying to reduce Nasal alert-level output for non-alert-y things.
2020-06-28 07:27:29 +01:00
Julian Smith
2a44dba040 Created new dialogue to control flight recorder.
New dialogue is accesible from the File menu.

Allows enable/disable of three new features: multiplayer record, continuous
record and recovery snapshot. Also moved load/save tape from the file menu into
the new dialogue.

Also removed recently-added flight recorder items from the multiplayer dialogue.

The recovery snapshot interval is 1s second if enabled. Might be better to make
it longer, e.g. 5s, but don't know how to change checkbox value.
2020-06-20 00:26:39 +01:00
Julian Smith
8b2a9204d5 gui/dialogs/flight-recorder-save.xml: renamed internal variable for clarity.
New name Extra corresponds to the new name used in the C++ code. (Used to be
called Config which was misleading and ambiguous.)
2020-06-20 00:24:46 +01:00
Julian Smith
df0cf86bd6 gui/dialogs/multiplayer.xml: added checkbox for Continuous record to file.
Also did some very minor cleanup of ordering within file.
2020-06-17 22:40:31 +01:00
Richard Harrison
d006f00cd4 Remove Debug from scenario dialog 2020-06-15 13:31:52 +02:00
Richard Harrison
f0aa44c834 Fix location dialog to understand initial carrier position from launcher/args 2020-06-15 13:31:51 +02:00
James Turner
47a5ffe3d1 Updated pilot offset dialog from Henning
(Happy birthday!)
2020-06-08 19:41:33 +01:00
Julian Smith
1941900058 In multiplayer setttings window, added checkbox for multiplayer record.
Also mark the setting (/sim/replay/multiplayer) as userarchive so it is
preserved across fg sessions.
2020-06-06 10:04:41 +01:00
Henning Stahlke
e1bda05f7d add dialogs/nasal-test.xml 2020-05-31 20:16:31 +01:00
Stuart Buchanan
0ce0e436ec Generalize pilot model support
Adds standard view option to enable pilot models.
Set /sim/rendering/pilot-model/available=true in aircraft
using pilot models.

/sim/rendering/pilot-model/enabled is used by users to
enable/disable the pilot models from the View Options dialog.

Note that pilot models are only visible for non-internal views.
2020-05-24 19:05:14 +01:00
James Turner
d046ad09d2 Airport dlg: making parking availability update
Patch by Gaétan Allaert
2020-05-21 23:18:47 +01:00
James Turner
2483b86939 remove deprecated printlog() from a dialog 2020-05-21 22:47:14 +01:00
fly
b44a1c1a7c Added autopush
Signed-off-by: fly <merspieler@airmail.cc>
2020-05-15 11:29:07 +01:00
Stuart Buchanan
f8fdd58c43 Add max-paged-lod, triangle-directional-lights
Also restructure dialog somewhat.
2020-05-10 16:23:54 +01:00
Stuart Buchanan
49874ceff3 Align heading with runway on Select Airport
Previously the Select Airport dialog set
the heading preset to 0.  A recent change in the
reposition code meant that this was now being
complied with.  This change fixes it by setting
the heading to the "uninitialized" special value
of 9999.0.
2020-05-05 08:04:33 +01:00
Julian Smith
7a93a630ae gui/dialogs/map.xml: added 'Pan with keys' button.
Checked by default. If unchanged, cursor keys are ignored instead of panning
the map; e.g. this allows them to be used with autopilot.

This requires associated flightgear commit.
2020-05-02 10:27:13 +01:00
Stuart Buchanan
5448a995f3 Don't reload materials on LoD change
https://sourceforge.net/p/flightgear/codetickets/2224/

Speculative fix that reloading materials might impact
scenery reloading.  No reason to reload materials on
an LoD change, so removing it.
2020-04-29 22:41:07 +01:00