1
0
Fork 0
Commit graph

812 commits

Author SHA1 Message Date
Clément de l'Hamaide
116026606d FGCom dialog: avid to change server until FGCom is enabled 2013-08-22 14:19:28 +02:00
Clément de l'Hamaide
d4e020f8ad Enable FGCom Settings item even if --enable-fgcom is not set 2013-08-20 13:02:47 +02:00
f-jjth
9ca7b020d0 FGCom: add dialog for FGCom
Update server list

Server list is now dynamic
2013-08-19 14:06:23 +02:00
Thomas Geymayer
a13add166b Canvas GUI: Basic widget, focus and theming support. 2013-07-27 12:57:52 +02:00
Thomas Geymayer
040310bd8b Fix glideslope in reposition in air dialog (typo) 2013-06-23 19:27:42 +02:00
James Turner
37044ed754 Fix GPS dialog scratch.
Legacy GPS and Nasal replacement were both writing to the
same props, which doesn't work so great. Use different props
for the GPS dialog now.
2013-06-16 15:07:19 +01:00
Thorsten Renk
b3bb82dd88 Wind effects on vegetation for Atmospheric Light Scattering: movement of trees and hires terrain texture noise simulating vegetation and debris movement 2013-06-07 13:31:34 +03:00
Thomas Geymayer
72e3937ec6 Basic window decorator with title bar and close button.
Extend the canvas.Window class to create a simple window decoration
if a type for it (currently every type maps to the same style) is
given. It supports moving the window by dragging inside the title
bar and setting a window title.
2013-06-06 23:27:11 +02:00
Stuart Buchanan
37f3d9b72f Minor clean-up of weather dialog
- Fix bug when opening weather dialog when in manual mode.
- Move buttons to be opposite the appropriate radio buttons
- Keep buttons visible at all times.
- Update description to account for recent Basic Weather -> ALS integration.
2013-05-21 20:50:21 +01:00
Vivian Meazza
5ed97555db Synchronize current Transponder ID code and Digit inputs on opening Dialog
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-05-15 21:38:24 +01:00
James Turner
dfc53ff647 Radios dialog can drive the transponder. 2013-05-12 10:41:37 +01:00
Gijs de Rooy
2f95972164 Update date in about dialog 2013-05-11 14:29:25 +02:00
Stuart Buchanan
658b1fe6ce Add support for <binding> tags on checklist items.
These are then attached to buttons on the checklist dialog allowing
the user to ask the computer to execute the checklist step, which
they can observe.
2013-05-01 22:41:15 +01:00
Stuart Buchanan
982a49d39a Fix Terrasync dialog. 2013-04-25 22:10:17 +01:00
Stuart Buchanan
e73a07b0cf Fix manual weather UI. 2013-04-25 22:02:47 +01:00
Gijs de Rooy
460b0bf737 Issue 859: ATC dialog cannot be closed. 2013-04-20 22:32:48 +02:00
Gijs de Rooy
5525a00090 Location in air dialog: switch option based on user input 2013-04-19 18:34:26 +02:00
Gijs de Rooy
3bf75cd248 Location in air dialog: disable impossible/unused option combinations. 2013-04-19 18:26:23 +02:00
Stuart Buchanan
5ede8f2bb9 Fix manual configuration of basic weather. 2013-04-16 22:14:51 +01:00
Thorsten Renk
df35c11af2 Packice overlay and water color variations for high quality water shader in Atmospheric Light Scattering 2013-04-15 14:29:04 +03:00
James Turner
b64dd768d3 Move more high-level GPS logic to Nasal/XML. 2013-04-10 18:52:34 +01:00
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