1
0
Fork 0
Commit graph

877 commits

Author SHA1 Message Date
Thorsten Renk
3b44cbd6bd Random vegetation shadows for ALS 2015-02-20 09:55:13 +02:00
Clément de l'Hamaide
913b6db91f oops, remove debug code 2014-12-30 17:40:28 +01:00
Clément de l'Hamaide
c42da1014d Instruments GUI: format value with Nasal 2014-12-30 17:32:21 +01:00
Clément de l'Hamaide
2ce60a3659 Instruments GUI: add QNH setting
Thanks to Omega & jam007 on forum

http://forum.flightgear.org/viewtopic.php?f=6&t=20045
2014-12-30 16:27:10 +01:00
Gijs de Rooy
18270fddc3 About dialog: update year 2014-12-27 14:17:45 +01:00
Stuart Buchanan
b1e356e538 Replace airport parking position dropdown with text 2014-12-10 22:24:21 +00:00
Thorsten Renk
9369073c5a Auto-adjust ground wetness to maximum of noise-spike filtered rain-norm or user-set wetness 2014-11-07 10:31:19 +02:00
Clément de l'Hamaide
654ef82691 Add an help-button for FGCom 2014-10-15 22:00:54 +02:00
Clément de l'Hamaide
5f342fdc7c Add new LOD key: AI/MP Interior, default value: 50.0 2014-09-21 22:15:52 +02:00
Torsten Dreyer
b2b6750d37 Complain if browser-map is started without running httpd 2014-09-12 23:07:41 +02:00
Torsten Dreyer
fd720ac8bf Add the Browser based moving map to the menubar
needs --httpd=nnnn on startup
2014-09-12 21:55:42 +02:00
Thomas Geymayer
246c480ea3 canvas.gui: Add a basic LineEdit for text input. 2014-08-31 19:40:14 +02:00
Clément de l'Hamaide
5e5914da75 FGCom: add a PTT checkbox for test + make them as live 2014-08-09 19:01:13 +02:00
Stuart Buchanan
a0c93de91c Reload scenery only after change to relevant param 2014-08-01 22:18:19 +01:00
Stuart Buchanan
bbb501e36a Reload scenery on exit from Rendering dialog.
Various updates to the Rendering Dialog
- Remove experimental reduced LoD options
- Remove Reload Scenery
- Automatically Reload Scenery on OK.
2014-07-31 21:34:48 +01:00
Thomas Geymayer
4673e862a2 radios.xml: fallback to OFF if transponder mode not set. 2014-06-21 12:09:34 +02:00
Thomas Geymayer
5d723e6eab canvas.gui: Add checkbox widget. 2014-06-17 21:02:59 +02:00
Thomas Geymayer
e496ca56ab canvas.gui: Add MessageBox class.
Use canvas.MessageBox.critical/warning/information/question
to show a standard, but also customizable dialog box.
2014-06-17 17:16:02 +02:00
Thomas Geymayer
9933398a37 canvas.gui: missing return and minor color update. 2014-06-17 17:12:21 +02:00
Thomas Geymayer
b5dae5b567 canvas.gui: Button color tweaking. 2014-06-17 11:44:05 +02:00
Rebecca Palmer
81607f734e Remove ATC chatter, as previously discussed:
http://sourceforge.net/p/flightgear/mailman/message/32440533/
http://sourceforge.net/p/flightgear/mailman/message/32428167/
2014-06-12 23:53:17 +01:00
Thomas Geymayer
1b5fc0cbdf canvas.gui: allow disabling widgets. 2014-06-11 00:36:42 +02:00
Thomas Geymayer
e4d60f2153 Simple canvas based "Aircraft Center".
- Needs FlightGear compiled with -DENABLE_PACKAGE_SYSTEM.
 - Shows only first 100 available aircrafts.
 - Now progress indication on install/remove (need to reopen
   dialog afterwards)
2014-06-10 18:47:13 +02:00
Anton Gomez Alvedro
5df7a784e5 Failure Management Framework (1st milestone)
Replaces existing Nasal/failures.nas script with a programmable failure
manager. The failure manager allows dynammic creation and removal of
failure modes, on demand activation and a flexible set of triggers.
The public interface can be found in Nasal/FailureMgr/public.nas

Aircraft/Generic/Systems/failures.nas provides a library of triggers and
failure actuators ready to use for programming the failure manager.

A compatibility layer is included under
Aircraft/Generic/Systems/compat_failure_modes.nas.
This compatibility layer is currently loaded on startup and programs the
FailureMgr to emulate the former behavior (same set of failure modes and
compatible interface through the property tree).

This first milestone is only intended to replace the failure management
engine underneeth with minimum visible changes, and hopefully no aircraft
breakages. Future milestones will build upon this to add a Canvas based
procedural GUI and example integration on aircrafts.
2014-06-06 21:41:11 -05:00
Philosopher
807062d0b6 Misc. Nasal cleanup 2014-06-06 21:19:11 -05:00
Philosopher
f0d44ae8fe Lots lots more MapStructure changes
Fix the main bugs, add features and convert most of the layers.
Move/refactor some things as well. Add a canvas map dialog next to the
built-in one -- it's not 100% functional but it's quite close actually.

As before, the excitement has been taking place at our team clone.
https://gitorious.org/fg/canvas-hackers-fgdata/commits/0b4cc84
(topics/canvas-map-dialog branch this time, current HEAD in above URL.)
2014-05-25 14:27:11 -05:00
Thorsten Renk
3970bad285 Updates to Earthview, based on work by Anton Gomez Alvedro 2014-05-05 15:27:32 +03:00
Thorsten Renk
021133e657 Agriculture de-tiling effect for ALS terrain rendering 2014-05-05 14:27:33 +03:00
Thorsten Renk
5a2ada9619 Updates to Earthview 2014-04-25 09:40:32 +03:00
Thorsten Renk
23d7f41481 Earthview orbital rendering based on the NASA Visible Earth image collection 2014-04-24 10:37:41 +03:00
Philosopher
6e17a1d2cb Initial Nasal REPL work (canvas-based)
Features:
- Various configurable styles.
- Working scroll bars, thanks to Tom
- Adequate REPL-ness.

See the wiki for more information!
http://wiki.flightgear.org/Interactive_Nasal_Console

N.B. This makes some (sane) changes to other Nasal files, including
expanding some of the Canvas API.
2014-04-18 16:49:11 -05:00
Thorsten Renk
426a4a0a6c GUI option and some internal tweaks for cloud shadow functionality 2014-04-17 12:39:53 +03:00
Thorsten Renk
b1d909b22e Domain tiling effect for ALS tree shader 2014-04-17 12:18:11 +03:00
Thomas Geymayer
cf05294b84 canvas.gui: Basic demo showing how to use windows and widgets. 2014-03-19 23:51:34 +01:00
James Turner
70dee4a029 Avoid a warning from GPS dialog. 2014-03-16 16:21:06 +00:00
Philosopher
7a91a7c444 Fix #1404: bump up max runways
(after making it an explicit value, as it was hidden before)
2014-03-09 15:03:02 -05:00
James Turner
2e451f292f Switch GUI to use new reposition command.
(Must have latest FG or you'll get a crash due to old ATIS subsystem)
2014-03-05 16:46:10 +00:00
Stuart Buchanan
50a202a997 Use osgUtil::Simplifier to simplify terrain. 2014-02-23 21:09:57 +00:00
Stuart Buchanan
f99745acd7 Effects file for surface lights 2014-02-18 21:27:51 +00:00
Thorsten Renk
22e3852cad Impostors simulating distant clouds for Advanced Weather / ALS 2014-02-17 10:21:26 +02:00
Clément de l'Hamaide
0ee6a5c71e FGCom: add unit + store silence threshold value 2014-01-26 21:51:05 +01:00
Clément de l'Hamaide
442aee6499 FGCom: add silence threshold setting
Require commit 3254f54f9ed8917f7cd21bcdb8b3e74b9d4c14a9 from flightgear
2014-01-26 16:41:18 +01:00
Emilian Huminiuc
7f183e0117 Remove intermediate quality settings from the ubershader. Fix a texture. 2014-01-15 23:30:03 +01:00
Gijs de Rooy
fd44e08391 Update date in about dialog 2014-01-13 21:34:39 +01:00
Thorsten Renk
9552268198 Removed Experimental label and warning that ALS disables most shaders from rendering dialog - both are no longer true 2014-01-13 11:01:08 +02:00
Clément de l'Hamaide
d9f235792c FGCom: update server list 2014-01-12 21:19:39 +01:00
Stuart Buchanan
529e8cd802 Fix minor typo. 2013-12-30 21:57:53 +00:00
mhab
1d9ff30420 Close dialogs with Esc-key 2013-12-02 21:32:05 +01:00
Thorsten Renk
ce334404b1 Exposed the moonlight shader effect in the GUI 2013-11-22 09:47:43 +02:00
Clément de l'Hamaide
81938125a8 FGCom dialog: hide registration options for now but keep it for later 2013-11-17 23:56:51 +01:00
Clement de l'Hamaide
ef9574c12e FGCom Settings dialog: avoid unexpected scheme 2013-11-11 21:47:26 +01:00
James Turner
e5f5fbac15 Add keyboard shortcut for the map. (Ctrl-M)
Fixed bug 766, finally.
2013-11-05 15:44:35 -08:00
James Turner
27afea985a Updated UI to configure tooltips, mouse input
Replace the temporary UI with real solutions, in the view dialog
(for tooltips/popups) and a new 'input config' dialog accessed via
the file menu.

Make the mouse-cycle popup explicitly optional since some people
strongly dislike it.
2013-10-25 17:22:12 +01:00
James Turner
5d9db8cfb9 TerraSync dialog updates.
- Remove options no longer needed, and add some future ones.
- Combine various status displays into a single human-readable string
2013-10-24 22:48:01 +01:00
Philosopher
9a3bf2d0a7 Update view.screenWidthCompens
* make into singleton class
* make sure FOV changes take place *immediately* when required
* current FOV is scaled with changes, though being preserved: resizing
  window and going back ends up with the same FOV
2013-10-19 21:27:21 -05:00
Clément de l'Hamaide
197e74b6ce FGCom: Display message is mostly a debugger tools 2013-10-18 20:08:48 +02:00
Clément de l'Hamaide
9ced2983b8 FGCom: changing of server during test mode is not expected 2013-10-18 20:08:47 +02:00
James Turner
2ce4fcbf31 Make GPS dialog remember search results.
Restore pre-2.12 functionality where GPS search was persistent across
opening and closing the GPS dialog. Since the state is now in Nasal
we need to ensure a couple of variables outlive the dialog itself.
2013-10-02 22:53:56 +01:00
James Turner
3b15c3c039 GPS dialog
* fix initial type selection
* fix nearest search on 'any'
2013-10-02 22:29:53 +01:00
Philosopher
819aa8a988 Fix for #1185 2013-09-30 13:53:10 -05:00
James Turner
162b61b61f Simpler terrasync dialog.
Now tile refresh is gone, this dialog is much simpler.
(Scenery can still be reloaded from the Rendering dialog or sim reset,
but the pager will always wait on TerraSync)
2013-09-30 17:12:00 +01:00
Clément de l'Hamaide
f1bee8b5ab FGCom: save user preferences and add a checkbox for IAX messages 2013-08-28 18:12:28 +02:00
Thorsten Renk
73edd5c3ac Decoupled max. visibility setting from realistic visibility checkbox enabled - they do rather different things and disabling the slider when the checkbox is set makes little sense 2013-08-28 15:17:05 +03:00
Clément de l'Hamaide
90cf137ad8 Remove debug output for FGCom 2013-08-24 18:59:00 +02:00
Clément de l'Hamaide
cd41a649ec Avoid OpenAL context conflict by switching sound device 2013-08-22 17:06:04 +02:00
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