1
0
Fork 0
Commit graph

9899 commits

Author SHA1 Message Date
Stuart Buchanan
2a30377124 WS3.0: Remove Effect dependence on ALS.
For the moment, as we have only one technique, stop it from
only being active if ALS is active.
2020-11-21 22:07:40 +00:00
Chris Frey
4a4e9089c1 Docs: fixed incorrect terragear URL in FlightGear-FAQ.html 2020-11-21 21:35:40 +00:00
Chris Frey
50c76ec338 Docs: fixed incorrect terragear URL in README.scenery 2020-11-21 21:35:25 +00: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
Scott Giese
a150e89e9b Index out of range (-1) 2020-11-21 02:12:39 -06:00
Scott Giese
c874567679 Local weather: setprop() passed a NaN in local_weather/weather_tiles.nas, line 2795
Tiecket: #2423
2020-11-21 02:12:02 -06: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
Stuart Buchanan
d315d69530 Make ufo invisible over MP again
Before fallback models were introduced, the ufo
was invisible to other MP pilots that were not in a
ufo themselves.

When fallback models were introduced, at long range
the ufo was replaced by the glider model, and so became
visible.

This change makes it invisible again by using the ufo as its
own fallback model.  This is safe because the ufo model is
very lightweight and also shipped with fgdata.
2020-11-19 19:34:45 +00:00
Stuart Buchanan
a56d13640d Hide pilot model when walker enabled.
Previously pilot models would stay visible when the
walker was active.  Which is a bit unrealistic given
the walker is supposed to be "you" in some way.

So now the internal pilot is hidden when the walker
is active outside the aircraft.

Fix provided by Benedikt Hallinger
2020-11-19 19:03:07 +00:00
Stuart Buchanan
010bd8c145 Fix props.condition
Previously props.condition threw an error if any of the
properties in the condition were not defines.  This is
contrary to the behaviour of SGCondition, which it seeks
to emulate, which considers such undefined properties as
having the value 0.0.

Now this is the case.

This function only appears to be used by tutorials.nas,
where this behaviour was seen as discrepancy between
the checklist <condition> behaviour and the tutorial
<condition> behaviour.

See https://sourceforge.net/p/flightgear/codetickets/2394/?page=1
2020-11-19 18:44:00 +00:00
Stuart Buchanan
37110ad34a TREE_LIST documentation updates
Thanks to Rick Gruber-Riemer for proof-reading.
2020-11-19 14:22:58 +00:00
Pablo Barrio
dbc7fc7827 Translate missing items from the main menu to Spanish 2020-11-18 10:30:32 +00:00
Stuart Buchanan
255717d812 TREE_LIST STG Verb 2020-11-17 21:19:15 +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
Stuart Buchanan
6f52d094a5 Document new STG range noun 2020-11-17 20:00:26 +00:00
Fernando García Liñán
7c16104149 Add the possibility to use shadow mapping on model-interior 2020-11-17 17:21:01 +01:00
Fernando García Liñán
d2e5ad9d60 Remove unused fallback Effect 2020-11-17 15:28:01 +01:00
Fernando García Liñán
9b589f8061 Change shadow fallback technique index to -10
Canvas displays stop working with a technique index of 1000. There is no apparent reason for this, but changing it to 0 or a lower value fixes the issue. There doesn't seem to be any negative consequences from doing this.
2020-11-17 15:28:01 +01:00
Richard Harrison
32266ba928 Add comments for props.UpdateManager methods 2020-11-17 11:59:29 +01:00
Fernando García Liñán
ed3cbf96ff Make model-interior use a separate vertex shader
generic-ALS-base.vert uses shadows, while model-interior does not.
2020-11-17 00:57:56 +01:00
Fernando García Liñán
fc33a8d71a Fix non-ALS runway shader not implementing shadows 2020-11-17 00:41:02 +01:00
Fernando García Liñán
d35c160a50 Add a dummy technique with index 7 to model-combined
This keeps backwards compatibility with aircraft that implement technique 7 from Rembrandt.
2020-11-17 00:15:09 +01: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
Stuart Buchanan
8cb0faef60 FG1000: Enable mipmapping to
Reduces aliasing artifacts.
2020-11-15 19:33:15 +00:00
Erik Hofman
5dde54d43b Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/fgdata into next 2020-11-15 09:32:41 +01:00
Erik Hofman
69c9f31ab5 Show the name of the region where the clicked material is stored. 2020-11-15 09:32:14 +01:00
Stuart Buchanan
3cace276d2 WS3.0: Add tile_level, tile_width, tile_height
Add Uniforms to WS3.0 fragment shader to provide
LoD information and make sampling of adjacent points
in the landclass texture easier.
2020-11-14 21:04:30 +00:00
Stuart Buchanan
605f0e3c74 WS3.0: Add forest texture to shader
Interm shader update until texture array support available.
2020-11-12 20:47:08 +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
Stuart Buchanan
4aff635cdb WS3.0: Initial commit of WS3.0 rendering 2020-11-08 22:44:34 +00:00
Erik Hofman
35b432f28c Add a Köppen-Geiger climate database 2020-11-03 11:51:27 +01:00
fly
5981539a38 Autopush: Improve handeling on speedup
Signed-off-by: fly <merspieler@airmail.cc>
2020-11-02 12:26:47 +00:00
Julian Smith
ee25322c4a mice.xml: allow elevator control even with left button down. 2020-11-01 09:32:40 +00:00
Julian Smith
390779a8a1 Nasal/controls.nas: improved handling of /autopilot/locks/passive-mode
Use (!passive) instead of (passive == 0), so that passive == nil is treated as
0.

E.g. this allows keyboard control of autopilot target speed, heading and
altitude in harrier-gr3.
2020-11-01 09:32:39 +00:00
Julian Smith
96ab5884f9 Nasal/controls.nas: turn parking brakes off when normal brakes are applied.
Avoids problems with toggling - difficult to reliably turn parking brakes off.
2020-11-01 09:32:39 +00:00
Julian Smith
7647515f52 Huds/Instruments/ladder.xml: fix position of pitch=0 to match horizon.
The fix is to set compression-factor to 11.0; empirically this makes the
pitch=0 line behave correctly.
2020-11-01 09:32:39 +00: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
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
Julian Smith
87d406dc6e Clarified documentation for the --load-tape option. 2020-10-31 23:42:03 +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
Erik Hofman
99ecc9a563 Some final tweaks to the iceland scenery 2020-10-30 12:32:52 +01:00
Erik Hofman
b82963c540 Complete overhaul of the Iceland materials file 2020-10-29 23:55:36 +01:00
Stuart Buchanan
88dd4468e5 Remember checklist page across close/open of dlg
Path from Michael DANILOV
2020-10-28 22:34:43 +00:00
Erik Hofman
5b01752fb0 Some final tweaks for a more consistent look and feel 2020-10-28 10:00:33 +01:00
Erik Hofman
e2b200cd27 Greatly improve the Brazilian cerradio areas (near SBMQ) 2020-10-27 12:45:31 +01:00
legoboyvdlp R
850b6910b0 Switch live WXR layer to new API after wunderground API was taken down 2020-10-26 09:55:16 +00:00
Automatic Release Builder
85b5c817b0 Nasal: use ‘quiet’ flag when loading jetways.xml
Avoid console spam from probing for jetways files every ten seconds
2020-10-25 19:56:40 +00:00