1
0
Fork 0
Commit graph

69 commits

Author SHA1 Message Date
Stuart Buchanan
76dace359a Remove terrain simplifier - now redundant 2021-01-17 14:28:54 +00: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
Julian Smith
97c9b06a7e mice.xml: don't let mouse move control surfaces while paused or replaying.
Avoids loss of control caused by movement of mouse while paused, if in
flight-control mode.

The new behaviour is enabled by default.

It can be disabled by manually setting
/sim/freeze-mouse-flight-controls-on-pause=false. But note that this property
is deliberately not archived so this needs to be done each time Flightgear is
run.
2021-01-01 17:19:08 +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
Fernando García Liñán
9a7790c5e8 Remove unused property from defaults.xml 2020-12-27 04:46:42 +01:00
Fernando García Liñán
916322d0ed Add clustered shading support to most Effects and shaders 2020-12-23 11:10:34 +01:00
Fernando García Liñán
7158dfdff3 Revert "Add clustered shading support to most Effects and shaders"
This reverts commit b3237e207a.
2020-12-22 17:22:05 +01:00
Fernando García Liñán
b3237e207a Add clustered shading support to most Effects and shaders 2020-12-22 10:53:31 +01:00
Julian Smith
e890787975 defaults.xml: default /sim/mp-carriers/auto-attach to true. 2020-12-20 15:21:28 +00:00
Julian Smith
8fece7b553 defaults.xml: don't mark /sim/tower/auto-position as userarchive="y".
This property is set to false by ATC-ML, which then breaks tower view in
subsequent fligtgear runs for all aircraft It's tricky to figure out what has
happened, so best to not archive the setting in the first place.
2020-12-20 15:21:28 +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
Michael Danilov
1052addd23 Mouse: setting for flight controls sensitivitiy. 2020-12-08 15:10:36 +01:00
Scott Giese
5512934374 Photoscenery: patch to fix missed merge items.
Author: Nathaniel Warner
2020-11-23 20:55:30 -06: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
Fernando García Liñán
a3a8f9123e Make Compositor default
- Remove all Compositor Effects and Shaders.
- Unify the low-spec and ALS pipelines in a single pipeline called 'Classic'.
- Readd shadow mapping.
- Move the WS30 Effect and fragment shader out of the Compositor-specific directories.
2020-11-16 13:46:30 +01:00
Julian Smith
7151e23231 Preserve main window size between Flightgear sessions.
I.e. mark sim/startup/xsize and ysize as userarchive.
2020-11-01 09:32:39 +00:00
James Turner
f15851cc36 Default threaded GC to off for the moment
Turning this off until we eliminate some other instabilities, and
have a way to isolate the failure.
2020-09-03 17:51:16 +01:00
Henning Stahlke
a13f9b3bb0 emesary.nas add comments, type checks; fix typos; add debug/emesary.deb.nas add fgcommand to use the global transmitter 2020-06-29 14:07:25 +01:00
Scott Giese
0d6fa1b6c0 VPB: Initial Commit
Not for LTS
2020-06-28 11:32:12 -05:00
Stuart Buchanan
0b6f9b9ab8 Fix for 2261 max-paged-lod is missing userarchive
https://sourceforge.net/p/flightgear/codetickets/2261/
2020-06-27 16:54:38 +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
Stuart Buchanan
f0a999cb2c Nasal library load order
Control the order in which fgdata/Nasal/*.nas files are loaded
on startup.

Previously all the files were loaded in order based on filename.
This was problematic for aaa.nas which might want to call
props.getNode(), and generally resolved by using
_setlistener("/sim/signals/nasal-dir-initialized")

This change allows us to configure a list of Nasal files that are
loaded first on startup - loadpriority.xml.
2020-05-25 19:47:50 +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
Lars Toenning
38ba1df74e [swift] Add default connection settings 2020-05-24 13:57:36 +01:00
James Turner
268b56ff24 Fix spelling of ‘Autopush’ 2020-05-21 22:46:56 +01:00
James Turner
2642f04a71 Autopush: set default load behaviour to off
Requires aircraft to explicitly opt-in to Autopush
2020-05-18 09:04:33 +01:00
Lars Toenning
713149ceb6
Update replay dialog 2020-03-25 17:23:09 +01:00
Eatdirt
f0a23d6ab1 Implement Earthview tiles loading based on visibility in spherical geometry 2020-03-23 23:47:31 +01:00
Fernando García Liñán
dd2ac0a32e - Changed location of Compositor pipelines.
- 1-bit transparency for shadow mapping.
- Several effects ported to the Compositor.
- Miscellaneous fixes to Compositor Effects.
2020-03-22 17:27:12 +01:00
Julian Smith
0c711dbbf6 defaults.xml: set new eye-fixed flag in tower and fly-by views. 2020-03-16 21:12:05 +00:00
Henning Stahlke
4108652c94 remove unnecessary userarchive flags from defaults.xml 2020-03-08 20:46:56 +01:00
Stuart Buchanan
8b6d523983 Fix directional lights for AMD
Some AMD drivers do not like triangles for point sprites, which
breaks directional lights.  This works around this by allowing
users to set /rendering/triangle-directional-lights=false which
falls back to the non-directional implementation of a point.
2020-02-19 20:21:33 +00:00
Henning Stahlke
c6e5244b13 update defaults.xml
add repair_config.nas to fix old userarchive flags
2020-02-15 14:39:36 +01:00
Stuart Buchanan
8f464825c7 Fix Nasal failures on clean install.
Previously not all Nasal modules were defined in defaults.xml.  This
meant that the first time FlightGear was run it was possible for
Aircraft Nasal files to reference a module that had not been loaded yet.

This commit simply defines all the Nasal modules ahead of time and loads
them, so all modules are available for Aircraft Nasal files
immediately.
2019-12-18 19:05:35 +00:00
Julian Smith
c80059ba53 Removed Model View so that Tower View AGL doesn't alter view numbers.
Due to Nasal/view.nas making a sequential copy of views, inserting new view
number 8 for Tower View AGL broke custom views, e.g. for aircraft 777).

We no longer require Model View (it's identical to Helicopter view now), so
this way we can have Tower View AGL without altering sequential view numbers.
2019-07-20 22:01:05 +01:00
Julian Smith
9822b8ff8c Added multiplayer support to Helicopter View and Tower View etc.
We remember the multiplayer aircraft so that when switching between views,
multiplayer views (currently Helicopter, Model, Tower and Tower AGL) show the
same aircraft.

Nasal/view.nas: use /orientation/true-heading-deg in Model view and Tower AGL
view. This avoids problem when looking at multiplayer aircraft because there is
no /ai/models/multiplayer[]/orientation/heading-deg

Nasal/view.nas: improved handling of sim/current-view/{x,y,z}-offset-m. Changed
resetViewPos() to set these all to zero, because view's offsets are now
kept separate. Also removed setting of /sim/current-view/z-offset-m to
chase-distance - this is the wrong place now that views define the offset
explicitly.

Also added Tower View AGL support.
2019-07-09 16:25:11 +01:00
Richard Harrison
7c914b4ade Added default settings for new Nasal background GC.
* /sim/nasal-gc-threaded (true) - use background threaded GC
* /sim/nasal-gc-threaded-wait (false) - at the start of the frame wait for the previous GC thread to complete.
2019-06-11 14:41:13 +02:00
Stuart Buchanan
5b9d5a3f79 Make Terrain the last scenery-path-suffix - future-proofing 2019-06-07 14:54:01 +01:00
Richard Harrison
7f69387abe Added defaults for the properties to control the AI traffic updates
Removed transmission-frequency-hz
2019-04-28 23:24:04 +02:00
Richard Harrison
4c6b103293 Add support for FGCom multiple radio support
PTT now in

/controls/radios/comm-ptt as an int; non zero indicates which comm radio to use

/comm-radio-selected is the default comm channel to use. This should usually be the same as will be set by PTT into /controls/radios/comm-ptt

NOTE: that PTT will switch the FG comm inbound and outbound frequency to whichever radio was PTT'd.
2019-03-19 21:16:33 +01:00
Thorsten Renk
7719bcee7c Enable 3dclouds by default 2019-01-14 13:45:30 +02:00
Richard Harrison
b66682cd7d Add texture-cache defaults 2018-11-25 22:50:36 +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
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
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
ab92707cfe Multiple LoD levels of MP Aircraft 2018-06-05 22:11:22 +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