1
0
Fork 0
Commit graph

1167 commits

Author SHA1 Message Date
James Turner
54948c502c Location in air: Guard against missing carriers.
Since we don’t force node creation, tolerate the node being nil in
the dialog Nasal helpers
2022-03-06 18:53:41 +00:00
Chris Ringeval
fe6c709214 Fix ALS gamma sliders for IR and night vision 2022-03-03 19:08:59 +00:00
Richard Harrison
09adb59959 Controls: Added trim to position for rudder and aileron 2022-03-02 14:16:18 +01:00
James Turner
2d17217a01 Marker-pins FGData changes
From Tobias Dammers
2022-01-27 12:11:24 +00:00
James Turner
d1ff92fe54 Add POIs checkbox to map 2022-01-10 11:14:06 +00:00
Julian Smith
2a238a9de2 gui/dialogs/flight-recorder.xml: minor improvements to appearance. 2022-01-08 16:16:21 +00:00
Julian Smith
96ad1dc1f9 gui/menubar.xml: support greying-out of video-start/stop menu items.
Added enabled tags to video-start and video-stop. These are set to true/false
by C++ code depending on whether we are encoding to video or not. [There
doesn't seem to be a way of doing this directly in xml - expressions are not
supported in menu items?]
2022-01-06 22:18:38 +00:00
portree_kid
43fa71b70c Replace ATC-freq-search 2021-12-28 20:48:13 +01:00
portree_kid
fe894466bf Remove C++ ATC Dialog 2021-12-28 19:54:38 +01:00
Erik Hofman
0ef38014ad Introduce a step-size of 0.05 for ice-cover to make sure inland-ice will be activated when the slider in non-zero. 2021-12-23 13:00:29 +01:00
Erik Hofman
1bbe5a952b Set inland water bodies icing when the icing slider >= 0.05 2021-12-20 10:00:57 +01:00
Michael Danilov
5915acf7d5 Select Airport partial fix for #2661: spurious enabling of helipad mode, showing N0E0 instead of nearest airport, strange zoom units 2021-12-19 23:26:01 +01:00
Julian Smith
16d96b3b17 gui/dialogs/flight-recorder.xml: various improvements.
Use buttons for Continuous record start/stop instead of checkbox.

Grey-out Continuous settings checkboxes if we are already doing a Continuous
recording.

Added button to (re)show the Replay dialogue; greyed-out if we are not
replaying.

Various other tweaks.
2021-12-09 23:19:53 +00:00
Julian Smith
b055deeb90 gui/dialogs/flight-recorder-load.xml: added support for create-video and fixed-dt.
This makes it easy to create video from a recording - video is
auto-started/stopped etc.

Also show tape filesize in preview.
2021-12-09 23:19:53 +00:00
Julian Smith
3699884297 gui/dialogs/time-mode.xml: added control of fixed-dt.
If /sim/time/fixed-dt is not zero and time mode is simple-time, we use the
specified fixed dt value regardless of framerate. Useful for creating videos.
2021-12-09 23:19:53 +00:00
Julian Smith
05f7b034d0 Added user interface for video encoding.
Translations/default/menu.xml
defaults.xml
    Added /sim/video/ items.
gui/dialogs/video.xml
    New, allows one to select the video container, codec, quality, speed and
    bitrate to be used when encoding videos. Radio buttons are provided for
    common containers and codecs.
gui/menubar.xml
    File menu now has 'video start' and 'video stop' items, plus an item that
    opens new 'video control' dialogue. [We use menu items for video start/stop
    to minimise the visual affect at the beginning and end of the generated
    video.]
2021-12-09 23:19:53 +00:00
Roman Ludwicki
f0d29c347e Set the dialog "Metar description" larger for more convenient use 2021-11-23 11:12:27 +00:00
jimishol
f5a5ba60ca Fix Equipment-Instrument Settings inconsistency toward Altimeter Indicator.
Altimeter Indicator seems to respect even rounding. So, if on settings
appear 29.9299 it shows 29.93. Equipment-Instrument Settings do not and
shows 29.92. If user sets 29.93 then settings keep the rest previous digits
and shows 29.9399. So, altimeter indicator shows 29.94 but instrument
settings keep the difference of 0.01 and shows 29.93.
Same phenomenon happens to hpa value too.

In code with '+0.05' we create even rounding and because the coversion
of one unit to the other many times leaves decimals of values to end
to series of 9, thus Instrument Settings keeps showing 29.929999 as 29.92,
we add artificial small value 0.00001 so as to make significant digits exact.
2021-11-23 11:06:59 +00:00
Julian Smith
06b3fe62e5 gui/dialogs/flight-recorder.xml: improved layout a little. 2021-11-05 21:57:02 +00:00
Julian Smith
c81870cff1 Added 'Time mode' dialogue to File menu.
Allows choice of real-time or simple-time modes.
2021-10-24 15:35:47 +01:00
Stuart Buchanan
e934445f91 WS30: Remove WS30 LoD range factor
Better handled by camera controls.
2021-10-12 21:48:12 +01:00
Julian Smith
8c9e45ade3 Added simple highlighting dialogue on the 'Help' menu.
gui/dialogs/highlighting.xml
    Enable/disable highlighting dialog, plus shows highlighted dialog names
    etc.

gui/menubar.xml
    Added link to highlight dialog to help menu.
2021-10-07 18:21:27 +01:00
Michael Danilov
ae99e855b5 Advanced graphics options: fix missing rounding of cloud density 2021-09-25 02:27:39 +02:00
James Hogan
ab3718eb28
gui/dialogs/vr-options: Add mirror options
Add options to the vr-options dialog to allow the mirror to be toggled,
and the mirror mode to be changed (which reloads the compositor if
changed).
2021-09-11 23:43:55 +01:00
b'Fernando Garc\xc3\xada Li\xc3\xb1\xc3\xa1n
25068efaee Merge /u/amalon/fgdata/ branch vr_1 into next
https://sourceforge.net/p/flightgear/fgdata/merge-requests/238/
2021-09-03 22:23:20 +00:00
James Hogan
7ba3e5b975
Add a VR Options dialog
Add a VR Options dialog accessible from the View menu, allowing VR to be
enabled and disabled, and the current VR state to be seen.
2021-09-01 20:36:24 +01:00
wlbragg
65c8a95dd8 Remove wildfire code from fgdata and move to fgaddons 2021-08-31 20:06:14 +01:00
Michael Danilov
d394edb0a2 Local Weather: auto-enable 3D clouds and disable the checkbox. 2021-08-23 21:18:25 +02:00
Michael Danilov
d4dfafaac7 Weather dialog: stop resetting weather when Detailed Weather has been loaded but disabled (fix for Issue 1 in https://sourceforge.net/p/flightgear/codetickets/2486/) 2021-08-19 02:33:29 +02:00
Michael Danilov
c9709e2a62 Local Weather: auto-enable 3D clouds and disable the checkbox. 2021-08-19 00:16:46 +02:00
Julian Smith
d1be26df65 gui/dialogs/flight-recorder.xml: added checkbox for continuous compression. 2021-07-31 10:29:45 +01:00
Julian Smith
86402a0c92 gui/dialogs/multiplayer.xml: added mpcarrier-latch-always.
If set, AI carriers are always latched to MP carriers.
2021-06-25 10:59:53 +01:00
Julian Smith
de40bf5f94 gui/dialogs/replay.xml: in slider, measure time from start of recording.
This avoids problems in simple-time mode because PUI slider code uses float,
not double, so UTC values don't work properly because resolution is not enough.
2021-06-09 10:44:11 +01:00
Richard Harrison
63debb7d63 Carriers: fix dialog nasal
Prevent nil dereference when empty nodes do not have a valid name node.
2021-06-05 16:18:58 +02:00
Richard Harrison
000a484e8d Carriers: Added Admiral Kuznetsov and Liaoning
3d Models by Uxmanm (found by Domokos Jüttner)

Daniel Overbeck did added the AI scenarios and models.

Richard Harrison optimised the textures and 3d models,
added the dialogs to control the carrires and
made the Jet Blast Deflectors animate smoothly
2021-06-05 16:17:23 +02:00
Richard Harrison
ed89e16bda Multiplayer: Remove protocol compatibility from MP dialog. 2021-06-05 15:17:19 +02:00
Fernando García Liñán
afd8e93ad0 Fix model effects combobox in rendering dialog 2021-05-09 13:11:14 +02:00
Stuart Buchanan
c87798c610 WS30i: Initial coastlines 2021-05-03 15:47:13 +01:00
James Turner
dd9507a6ef Error reporting UI tweaks 2021-04-30 13:44:08 +01:00
James Turner
9c8a92085a Add warning icon image 2021-04-29 09:26:36 +01:00
James Turner
313ba5b72d Error reporting UI tweaks 2021-04-27 11:31:00 +01:00
Stuart Buchanan
4e38061fff WS30: LoD settings for water bodies. 2021-04-04 16:36:06 +01:00
James Turner
342436187e Rendering dialog: fix initial preset combo value 2021-04-02 16:38:55 +01:00
Fernando García Liñán
4f6edde3e9 Add anti-aliasing controls to the rendering dialog 2021-04-02 04:07:36 +02:00
Fernando García Liñán
eb74fe2c5c Make the advanced graphics options dialog not resizable 2021-04-01 03:45:58 +02:00
Fernando García Liñán
04f2ccc16b Support choosing the number of lights being displayed 2021-04-01 03:16:08 +02:00
Fernando García Liñán
69387f09f4 Reduce shader complexity and implement graphics presets
- All non-ALS Effects have been removed (except generic ones from model-default and terrain-default).
- The rendering dialog has been reworked to accomodate the changes.
- All necessary properties have been added to graphics-properties.xml
- Five graphics presets have been added: Minimal, Low, Medium, High and Ultra.
- Some unused properties have been removed from defaults.xml
2021-03-31 04:05:34 +02:00
James Turner
9e5f5501bf Map dialog: make settings persistent (auto-saved)
A forum user suggested making these auto-saved, also relocated them
under /sim/gui which probably makes more sense since no other gui
properties live at the root.
2021-03-26 10:45:47 +00:00
joni
2d4eaa03d7 Update copyright year in 'about' dialog 2021-03-17 11:24:38 +00:00
Erik Hofman
f95afdb202 Display the timezone description 2021-03-13 10:14:56 +01:00
James Turner
e4276796f1 Use new time property for local time display
Required corresponding FG change

Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2514/
2021-03-12 12:51:58 +00:00
Lars Toenning
b8b2c296c8 Fix spelling mistake 2021-03-12 10:25:42 +00:00
Stuart Buchanan
d15c7f7b20 WS30: LOD Range GUI for WS3.0
GUI changes to allow control of line feature rendering
and provide a more intuitive UI for other WS3.0 parameters
2021-03-07 19:29:39 +00:00
James Turner
8ede81e4bd Error-reporting strings, MP enable UI
Add a checkbox to the MP dialog to control reporting of errors
relating to MP pilots
2021-03-07 13:16:02 +00:00
Julian Smith
beee534b09 With Continuous recording, control whether to record the user aircraft.
E.g. for recording a group flight, significantly reduces recording size because
user aircraft signals info is very detailed compared to multiplayer packets.
2021-03-06 10:50:55 +00:00
James Turner
b1a26c6f56 Improvements to error-reporting UI, strings 2021-03-01 15:25:42 +00:00
Julian Smith
17d0472376 Updated flightrecorder properties and disabled recovery snapshot by default.
Has been causing confusion when fgtape dir is not writable.
2021-02-27 11:55:41 +00:00
Scott Giese
a98622a677 WS3: Allowed for OSG versions 3.7 (or 3.6) 2021-02-27 00:33:18 -06:00
Stuart Buchanan
721f7cef00 WS30 Line Features
Move some WS3.0 LoD settings to the static-lod dialog.
2021-02-24 21:57:48 +00:00
James Turner
6f77bd914f Error-reporting: add strings, GUI dialog 2021-02-20 20:14:38 +00:00
Julian Smith
411ac4a0a8 Added control of property/window/view record/replay with Continuous recordings.
This supports new record/replay of properties and windows/views in recent
flightgear commit.
2021-02-13 12:15:51 +00:00
Stuart Buchanan
355a75b6a1 WS30: Random vegetation LOD control
Control the LOD level that random vegetation is
generated for WS3.0.
2021-02-09 18:17:29 +00:00
Michael Danilov
2b06998c47 Add option to move chat to the left and align left. 2021-02-09 14:06:43 +01:00
Henning Stahlke
d528531fba Add simple dialog for default light switches (/controls/lighting/) according to README.properties. 2021-02-07 22:03:19 +01:00
James Turner
d723894ae8 Tweak name of new Steropscopic aspect option
Discussed with Guillaume, we think this name is clearer, hopefully.
2021-02-03 10:28:20 +00:00
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
Julian Smith
0adef7663d gui/menubar.xml: moved new view menu items (clone view etc) to end of menu. 2021-01-18 17:51:30 +00: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
Julian Smith
da01eab6c1 Grey-out CompositeView menu items if CompositeView not enabled.
Thanks to Michael Danilov for explanation of how to do this.

Also removed spurious hot-key text from CompositeView menu items.
2020-11-24 13:39:21 +00:00
Scott Giese
76f7f1b698 Photoscenery: Initial commit
Author: Nathaniel Warner
2020-11-23 19:48:01 -06:00
Julian Smith
f280f0a423 Added support to View menu for CompositeViewer. 2020-11-21 12:18:18 +00: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