1
0
Fork 0
Commit graph

591 commits

Author SHA1 Message Date
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
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