1
0
Fork 0
Commit graph

791 commits

Author SHA1 Message Date
James Turner
4d3a00bf68 Use Nasal to provide GPS search functions. 2013-04-10 18:52:34 +01:00
Thorsten Renk
55c599c8ca Atmospheric Light Scattering specific environment settings are only active when the rendering framework is on 2013-04-09 09:14:50 +03:00
James Turner
bbb91f7c64 Scenarios can be loaded/unloaded at runtime.
State is saved to autosave.xml, and --disable-scenarios still avoids
loading any scenario at launch. At runtime scenarios can be added or
removed as normal.
2013-04-02 18:01:59 +01:00
Gijs de Rooy
6ae5fc6caf Fix introduced update issue. Fix indentation. 2013-03-19 13:20:25 +01:00
Gijs de Rooy
14a0904a29 Issue 1079: live update radio dialog on property changes. 2013-03-19 09:20:34 +01:00
James Turner
5c4142ed6d Option to disable mouse-mode feedback.
Drive off the 'show view names' checkbox in the view dialog for now, this might
evolve into a generic 'on-screen hints' control to avoid an explosion of
GUI checkboxes.

Also add a GUI checkbox (oh the irony...) to disable mouse flight-controls, to
keep AndersG and Emilian happy.
2013-03-12 21:45:06 +00:00
Thomas Geymayer
226d11b104 Tooltips: Use (hopefully) nice background image for tooltips. 2013-03-09 14:03:33 +01:00
James Turner
72a1a0047e Work on tooltips, mouse-input config. 2013-03-08 16:47:00 +00:00
James Turner
f2b984f709 User-interface config dialog.
This is temporary (hopefully!), to allow experimentation with different UX options in the near future. Right now it basically does nothing. As part of this, factor mouse-mode cycling into a separate command, and add some feedback. Feedback mechanism needs work, currently abusing the copilot facility.
2013-03-07 19:36:54 +00:00
James Turner
9ab7110c70 Placeholder cursor images. 2013-03-04 23:52:50 +00:00
Vivian Meazza
b0db5eda5b Associate Realistic Visibility and Max. Visibility.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-02-27 23:40:53 +00:00
Vivian Meazza
e28d4c22cb Add descriptive text
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-02-27 23:40:49 +00:00
Stuart Buchanan
5491f952ca Add optional <page> and <marker> tags to checklists
Checklists may now be split into individual sections made up
of <pages> containing the <item> tags.  Each page is displayed
individually with Previous/Next buttons to allow navigation.

Checklists items also support <marker> tags.  These display
a marker when a ? button is pressed next to the checklist item.
The format is identical to that of the tutorial system.
2013-02-27 22:28:44 +00:00
Thomas Geymayer
99ed8e557e Airport dialog: remove canvas dimensions to allow automatic viewport update 2013-02-25 16:13:32 +01:00
Stuart Buchanan
0fc2bf56fb Air-to-air refueling enhancements
- Support selectable tankers
- allow configuration of refueling radius, speed
- add optional reporting of contact
2013-02-24 22:34:11 +00:00
James Turner
512c6368bd Fix initial appearance of terra sync dialog.
Thanks to Gijs for the catch.
2013-02-22 15:30:17 +00:00
Gijs de Rooy
4ad071b1c8 Add 2D panel hide options to view dialog. Fix indentation. 2013-02-19 12:12:09 +01:00
Thorsten Renk
deba78c4da Autumn colors by pixel postprocessing with color rotation encoded in the terrain texture alpha channel, used for Atmospheric Light Scattering 2013-02-11 14:01:31 +02:00
James Turner
3937b91673 Show log in scenery download dialog. 2013-02-09 11:35:02 +00:00
James Turner
82797f0f55 Add Nasal output to the console.
(Requires latest SG+FG!)
2013-02-08 19:42:25 +00:00
James Turner
5d68db3136 Show airport runway data in the airport dialog.
This is work-in-progress, and the XML is ugly due to PLIB broken-ness, but gives all the airport surface data in a single, usable place.
2013-02-08 13:18:51 +00:00
Stuart Buchanan
a604241784 Add warning message for users with Intel integrated graphics cards. 2013-02-01 21:55:28 +00:00
Thorsten Renk
9c95d09f60 Model ubershader for Atmospheric Light Scattering 2013-01-31 14:15:18 +02:00
Stuart Buchanan
b339ff1358 Enhancement to the checklists function to support <condition>.
Checklist items now support a <condition> element that evaluates
when the checklist item is complete, and is used to provide color
coding in the checklist dialog.
2013-01-29 22:38:39 +00:00
Thorsten Renk
c1157b762a The ultra-terrain shader 2013-01-21 13:57:18 +02:00
Stuart Buchanan
3d52fe9620 Make convective conditions independent of whether thermals are
generated.
2013-01-05 21:24:03 +00:00
James Turner
6612848745 Explicit 'cleared' callback for FP Delegate.
Fix bug 940, where GPS remains in active LEG mode when the route is cleared. (there is an associated flight gear code change). With this fix, the work-around in the GUI dialog is no longer required.
2012-12-31 17:38:18 +00:00
James Turner
2c87e95bba Final part of #450 - dynamic MP server list.
When the dynamic retrieval fails, fall-back to a local list. Note for this to work needed some minor fg+sg tweaks which are also pushed now.
2012-12-29 14:39:26 +00:00
James Turner
bd777597d6 Map dialog checkbox for flight history display. 2012-12-10 18:12:21 +00:00
Stuart Buchanan
2db9bcd640 Fix lightfield shader dialog. 2012-12-07 22:51:11 +00:00
Stuart Buchanan
abcfc2073b Allow users to reset their joystick configuration from the Joystick Configuration dialog. 2012-12-07 22:42:18 +00:00
Thorsten Renk
ed80612c98 Atmospheric Light Scattering update 2012-12-05 20:31:27 +00:00
Gijs de Rooy
35c86964d7 Issue 840: resize dialog, so no liveries are trapped outside the dialog with no scrollbar. 2012-11-24 16:32:04 +01:00
James Turner
51d4cf56b0 When no SID / approach is available, offer a default.
Offer to synthesise a plausible SID and approach for a given runway. In both cases it's a straight-in/-out path, ignoring local terrain.
2012-11-24 13:52:59 +00:00
James Turner
234b20ee3b Avoid spurious listener fires.
When retrieving the dynamic server list, avoid spurious fires and noisy output.
2012-11-19 23:05:11 +00:00
ThorstenB
60b9b24de9 Fix warning message in download dialog. 2012-11-17 23:10:12 +01:00
ThorstenB
fa5c560705 Add menu and keyboard binding to toggle fullscreen mode. 2012-11-17 23:10:12 +01:00
James Turner
cb6b6348a0 Make MPserver list dynamic. Thanks to Gijs for the backend. 2012-11-12 13:49:23 +01:00
ThorstenB
78ca4facfd Fix warning message when terrasync is not available. 2012-11-11 15:02:12 +01:00
ThorstenB
37bcf878c7 Add menu bindings/dialog to save/load flight recorder tapes. 2012-11-10 22:35:11 +01:00
Stuart Buchanan
228ea974b9 Reduce size of the Select Airport dialog. 2012-11-09 22:41:56 +00:00
Stuart Buchanan
13e2faf2ea Add communications frequencies to the Airports dialog. 2012-11-05 21:22:20 +00:00
Stuart Buchanan
9c6a35012b Manual merge of merge request 95 from Hooray 2012-11-03 22:06:51 +00:00
Stuart Buchanan
f2d07b6ad7 Support single <name> elements within a checklist, indicating a new section. 2012-10-28 21:11:58 +00:00
Stuart Buchanan
33a5d73cc4 Rename DDS materials.xml label. 2012-10-10 20:50:45 +01:00
Stuart Buchanan
fb830197dd Merge the View Options and Display Options dialogs into one. 2012-10-10 20:40:40 +01:00
Stuart Buchanan
5a7cdf6a04 Move wide screen compensation to the rendering dialog. 2012-10-07 23:19:03 +01:00
Stuart Buchanan
adb3804bab Minor layout improvement for Display Options dialog. 2012-10-06 23:18:36 +01:00
Stuart Buchanan
56241b81f6 Add function allowing selection of the materials.xml file to Rendering Options dialog. 2012-10-06 23:03:40 +01:00
Thorsten Renk
3c1ee0527b Shader updates 2012-10-06 21:13:50 +01:00
Thorsten Renk
397fdf1cc4 Weather bugfixes and additional scenarios 2012-10-06 21:13:19 +01:00
Alexis
bc4371bcd4 view.ScreenWidthCompens() : optional FOV compensation for wider screens.
It keeps an equivalent of 55° FOV on a 4:3 zone centered on the screen
whichever is the screen width/height ratio. Works only if width >= height.
2012-10-04 22:15:52 +02:00
Hooray
e510c8917f Canvas Scripting Layer (Mapping):
- first stab at refactoring the map.nas module, and trying to let the API evolve according to our requirements
- split up the module into separate files (some of them will disappear soon)
- split up the "drawing" loops into separate functions so that they can be individually called
- move actual "drawing" to map_layers.nas
- introduce some OOP helpers to prepare a pure Layer-based design
- prepare helpers: LayeredMap, GenericMap, AirportMap (TODO: use a real "Layer" class)
- move airport features (taxiways, runways, parking, tower) to separate layers (i.e. canvas groups)
- avoid using a single update callback and use different layer-specific callbacks to update individual layers more efficiently
- add some boilerplate hashes to prepare the MVC design
- allow lazy updating of layers, where canvas groups are only populated on demand, to save some time during instantiation, i.e. loading an airport without "parking" selected, will only populate the layer once the checkbox is checked
- extend the original code such that it supports showing multiple airports at once
- add some proof of concept "navaid" layer using SVG files for navaid symbols (added only NDB symbol from wikimedia commons)

regressions:
- runway highlighting needs to be re-implemented
- parking highlighting will be done differently
- enforcing a specific drawing order for layers is currently not explicitly supported, so that taxiways may be rendered on top of runways

Also:

- integrated with the latest changes in git/master (HEAD) -i.e. metar support
- further generalized map.nas
- partially moved instantiation from Nasal space to XML space (WIP)
- create "toggle layer" checkboxes procedurally in Nasal space
- prepared the code to be better reusable in other dialogs (e.g. route manager, map dialog etc)
- completely removed the "highlighting" (runway/parking) feature for now, because we talked about re-implementing it anyhow
2012-09-29 21:16:31 +01:00
James Turner
2d202a4e7d Part of bug 885
When clearing the waypoints, explicitly deactivate the route.
2012-09-26 22:45:14 +01:00
Stuart Buchanan
a8165a82e8 Updates to airport dialog.
- Retrieve METAR
- Include search of airports within 100nm.
2012-09-23 22:45:50 +01:00
ThorstenB
ecbce19b47 Sound: trigger subsystem reinit instead of relying on property listener.
Disable sound dialog when sound system is globally disabled (command-line/
compile-time).
2012-09-21 21:11:57 +01:00
Stuart Buchanan
69f8a3bb31 Minor updates to airports dialog
- Change timer to listener for zoom level.
- Correct course information so it is the course TO the selected airport
- Default to the closest airport, rather than the preset.
2012-09-20 21:51:23 +01:00
Thomas Geymayer
804b0396a4 Documentation browser dialog (for files in /Docs - Thanks to Hooray) 2012-09-20 00:04:11 +02:00
Stuart Buchanan
60e6be0e0f Improved maps display and Airports dialog
- Display taxiways
- Display different surface types
- control over components (taxiways, parking positions, towers) displayed
- include distance and course to airport.
2012-09-19 22:35:56 +01:00
Stuart Buchanan
9281025930 Clean up Environment Setting dialog. 2012-09-19 10:22:30 +01:00
Thomas Geymayer
9004040063 Remove data of previous airport in Select Airport dialog 2012-09-18 23:38:53 +02:00
Stuart Buchanan
d214a6fcf8 Add highlighting of selected runway/parking position. Move tower definition and placement to map.nas. 2012-09-18 19:28:56 +01:00
Stuart Buchanan
692f1be621 Add additional information to the About dialog to help diagnostics, including the ability to copy/past key data. 2012-09-18 15:48:50 +01:00
Thomas Geymayer
d775c221b7 Move map helpers to canvas Nasal module 2012-09-18 13:19:26 +02:00
Stuart Buchanan
602ae34af4 Add support for a Aircraft Checklists GUI item. 2012-09-18 11:29:17 +01:00
Thomas Geymayer
a870d8c4a3 Clean up Select Airport dialog a bit to make use of recent Canvas API improvements 2012-09-18 00:32:54 +02:00
Stuart Buchanan
f3ac93b1ef Updated Select Airport dialog, making the location-on-ground dialog redundant and adding a Canvas map to show the selected airport. 2012-09-17 20:17:52 +01:00
Thomas Geymayer
29b86a69f2 Copy/Paste for the Nasal Console.
- Support for copying the and pasting from/to the Nasal Console
   dialog using the new clipboard class (Thanks to Hooray).
2012-09-13 00:32:51 +02:00
Stuart Buchanan
d836ea78f1 Menu bar changes to expose Joystick Configuration dialog, and minor
typo in button config fix.
2012-09-03 22:22:09 +01:00
ThorstenB
bb17591cf0 Disable terrasync when libsvn support is missing.
External svn has too many disadvantages (does not support proper error
checking/status information etc)
2012-08-28 00:21:50 +02:00
Stuart Buchanan
7a3d5dd0bf Updates to the Joystick Configuration dialog. 2012-08-26 21:48:53 +01:00
Stuart Buchanan
4a70a703a8 Add Joystick Configuration dialog, allowing in-sim configuration of joysticks. 2012-08-24 22:53:21 +01:00
Gijs de Rooy
b950ff1e6e Fix automated METAR snow line. 2012-08-11 19:56:29 +02:00
Stuart Buchanan
4ec24853a8 Create an Environment Settings dialog for non-weather environment settings
such as snow level, dust, wetness, and texture set.

Also add a parameter to control whether the snow level moves with METAR,
and retire /environment/mysnow-level-m.
2012-08-09 22:52:51 +01:00
Stuart Buchanan
c71e0b92f1 Add warning text for random buildings, which require lots of memory. 2012-08-09 21:48:27 +01:00
Stuart Buchanan
0a40f0be0f Updated Weather dialog
- Bug fix so manual configuration works properly
- Interpret METAR directly to set default wind settings for Local Weather mode.
2012-08-09 21:38:36 +01:00
Stuart Buchanan
89928f8350 Add missing weather configuration dialog from Unified Weather commit. 2012-08-07 23:14:43 +01:00
Stuart Buchanan
ed068bef82 Unification of Weather UI. 2012-08-07 21:27:29 +01:00
Thorsten Renk
9be134b34d Procedural Texturing 2012-08-07 09:01:14 +02:00
Frederic Bouvier
c3bcb8a6de Add film wear to the cinema postprocessing effects 2012-08-05 18:51:02 +02:00
Frederic Bouvier
fab3d677b0 Night vision has precedence over cinema effects 2012-08-05 11:57:48 +02:00
Frederic Bouvier
714555e74b Add lateral chromatic aberration (purple/green fringe) to the cinema postprocessing effects (Rembrandt) 2012-08-05 11:43:56 +02:00
Frederic Bouvier
9010535292 Add radial lens distortion to the cinema postprocessing effects (Rembrandt) 2012-08-05 10:43:53 +02:00
Frederic Bouvier
33634a5ba1 Add slider values to the dialog 2012-08-05 00:08:31 +01:00
Frederic Bouvier
5627a4e8f8 Cinema effects in the Rembrandt framework 2012-08-05 00:08:27 +01:00
Frederic Bouvier
6013f3360e Night vision post processing effect in Rembrandt 2012-08-05 00:08:23 +01:00
Thomas Geymayer
9cd2d64f28 Update ground location dialog to use new parking hash 2012-07-31 23:22:27 +02:00
Frederic Bouvier
e911e6b5f8 Add quality selection to lights 2012-07-22 10:08:04 +02:00
Vivian Meazza
24e7e5fb68 Whoops!
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2012-07-21 09:34:00 +01:00
Vivian Meazza
d8a76e4512 Merge branch 'work' of D:\Git_New\fgdata 2012-07-21 00:16:51 +01:00
Stuart Buchanan
2ddf719a82 Add debug options to reload materials and the scenery. 2012-07-19 22:07:19 +01:00
Stuart Buchanan
e91620a456 Remove building density slider. Values > 1.0 have massive memory
impacts and can result in FG paging to disk continually and hanging
some systems, with no obvious cause or fix (particularly with auto-save).

For the moment we simply remove the slider, allowing power users to
modify the density in preferences.xml.

Once the memory consumption of buildings has been addressed we should
be able to put the slide back in.
2012-07-19 21:36:06 +01:00
Vivian Meazza
6bceb5695a Revert "Bugfix"
This reverts commit 62a39ccea745faf722e2c50ef257d17b66015fc1.

Conflicts:

	gui/dialogs/AIcarrier.xml
2012-07-19 09:45:39 +01:00
ThorstenB
e3be4443f6 Fix untranslatable "reload aircraft model" item.
Thanks to sa7k.
2012-07-13 19:36:30 +02:00
Stuart Buchanan
efe0ba3bd5 Improve layout of season selector. 2012-07-12 12:13:48 +01:00
ThorstenB
ce36295c4a #544: slider to control AI sound volume missing
(not a bugfix really, but just too trivial).
2012-07-07 17:26:05 +02:00
Stuart Buchanan
680362337c Add control of season to GUI to be set in-sim. 2012-07-06 20:11:51 +01:00
ThorstenB
e6ec1218ba Fix ai-traffic GUI checkbox
Setting was lost on sim-reset and restart
/sim/ai-traffic props are entirely obsolete (to be removed after 2.8)
2012-07-05 19:37:43 +02:00
Vivian Meazza
e84ff39ee8 Remove debug messages
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2012-07-04 20:57:18 +01:00
Vivian Meazza
85d64deb04 Bugfix
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2012-07-04 20:57:14 +01:00