1
0
Fork 0
Commit graph

610 commits

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