Emilian Huminiuc
b650a0eb51
Make sure shaders are disabled as long as /sim/rendering/shaders/quality-level is 0 or non existing.
...
This should help those checking out models in fgviewer
To enable effects in fgviewer run it with:
fgviewer --prop /sim/rendering/shaders/quality-level -1
Also fix random buildings not showing up when model shader was set to 0 and generic was enabled.
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-11-18 00:39:02 +02: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
602ae34af4
Add support for a Aircraft Checklists GUI item.
2012-09-18 11:29:17 +01:00
Stuart Buchanan
8d32e19c63
Fix for isue 834 - fuel and payload gui broken for jsb aircraft
2012-08-10 22:25:20 +01:00
Stuart Buchanan
f1adeec7cc
Enhancements to the Fuel and Payload dialog
...
- Fraction of each tank capacity displayed, along with pounds and gallons
- Total fuel is now displayed
- CofG displayed if available even if /limits/ not defined (bug fix)
- Tanks of capacity 0 ignored (bug fix)
- Some layout improvements.
Addresses issue #778
2012-07-29 22:44:14 +01:00
Emilian Huminiuc
4587dc8bc5
gui.nas: make sure enabling Rembrandt disables the skydome-scattering shaders
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-06-28 01:37:31 +03:00
Frederic Bouvier
be6c2e3fc6
Disable stereoscopic options in Rembrandt
2012-06-03 16:19:10 +02:00
Frederic Bouvier
eea2f89080
Fix menubar
2012-05-18 12:53:33 +02:00
Frederic Bouvier
1a5cc682a9
Add condition on ambient occlusion and a menu item to switch it on and off if the stage is enabled in the pipeline
2012-05-12 09:20:13 +02:00
ThorstenB
278a7db2bf
Add missing name tags to menu items.
...
Also enable rendering buffer option for Rembrandt only.
2012-04-18 16:00:38 +02:00
Gijs de Rooy
f15b01df8e
Disable skydome shader when quality-level=0 via commandline.
2012-04-04 18:40:00 +02:00
ThorstenB
b62c1c01b7
Avoid duplication of "findElementByName" function.
...
Now moved to common gui.nas.
2012-03-24 12:45:58 +01:00
ThorstenB
ac132a2ce5
Remove property listener when deleting dialog.
2012-03-24 10:45:42 +01:00
Anders Gidenstam
b024c81233
Nasal/gui.nas: Added missing var-keywords.
2012-03-23 22:25:31 +01:00
Gijs de Rooy
8e863bbd28
Allow shaders to be disabled/set through a commandline option.
...
Use --prop:/sim/rendering/shaders/quality-level=-1 to enable the custom
settings in the Shader Options dialog.
Apart from that the quality-level property will work as before (0 disables
all shaders, 5 puts all shaders to max.
2012-03-10 17:09:23 +01:00
Gijs de Rooy
3200e957f8
Hide load and save options from help menu, as they are broken/disabled.
2012-01-19 22:02:09 +01:00
Stuart Buchanan
34eb640a76
Further updates to the Multiplayer Settings dialog
...
- Now enabled even when no MP settings configured on command-line
- Add Server Status button to launch the MP Server status URL
- Minor layout cleanup.
2012-01-04 21:53:25 +00:00
Gijs de Rooy
bbb3f9682e
Issue #429 : help dialog and keyboard.xml descriptions now match the key-bindings.
2011-12-07 16:47:42 +01:00
ThorstenB
9195b36005
#441 : overlay dialog must be reinitialized after reloading GUI
2011-09-18 12:36:40 +02:00
ThorstenB
fb984bf8ce
Option to set screenshot directory.
2011-08-21 15:17:16 +02:00
ThorstenB
8e7d7012ce
Directory dialog
...
New directory dialog - just an option for the existing file dialog really.
2011-08-21 15:00:45 +02:00
Torsten Dreyer
2abec7404a
Remove i/I keybindings
...
Removing the currently unused keybindings for [Shift]I used
for cycling of HUD types. Also remove this from the help
dialog.
May be re-added for the next release, but currently there is
no HUD-type cycling implemented.
2011-07-12 23:24:32 +02:00
ThorstenB
539716828b
Added GUI/menu item for scenery download/update.
2011-06-13 20:40:46 +02:00
ThorstenB
04fb5b3066
Adapting to new screen-shot command
...
Success/error report is now automatically displayed by a listener.
2011-06-13 20:38:04 +02:00
ThorstenB
3e3ecb49e2
Revert "issue #127 : make screen shots work with OSG multi-threading"
...
This reverts commit 5106935b92ad31be69d4ef82ebb34305a658948e.
2011-06-13 00:58:26 +02:00
ThorstenB
7c8558274a
Turn atc-chatter.nas into a separate submodule.
...
Moved atc-chatter.nas into subdirectory (file unmodified).
Load atc-chatter.nas on demand only.
2011-06-05 23:22:12 +02:00
ThorstenB
c3f8c1478a
tutorial submodule, part #2 : adapt script/GUI to load module on demand
...
tutorial.nas is now loaded (only) when "Start Tutorial" button is pressed.
2011-06-05 21:37:58 +02:00
ThorstenB
f082300e20
Tutorial improvements
...
Make tutorial dialog a proper window, clean-up menu.
Show welcome message to new user when tutorial available.
Repeat current tutorial message, when no user progress.
2011-06-02 19:11:05 +02:00
ThorstenB
b34be9cf92
issue #127 : make screen shots work with OSG multi-threading
...
Use listener to report success/error messages for screen shots
(depends on simgear+fgdata update!)
2011-05-28 23:22:34 +02:00
ThorstenB
346b47cd5a
Don't create properties for ghost tanks.
2011-04-02 11:29:40 +02:00
ThorstenB
7299d07dab
New option to display frame latency.
...
Better property to evaluate simulation performance than frame rate.
2011-03-28 00:24:32 +02:00
Torsten Dreyer
3d3fa8131e
Fix rendering bug: no precipitation
...
Synchronize /sim/rendering/precipitation-enable to
/sim/rendering/precipitation-gui-enable and
/sim/rendering/precipitation-aircraft-enable on startup
2011-03-14 20:51:56 +01:00
Gijs de Rooy
5c4bdb4a1f
Revert adb57b8: screenshot directory dialog
2011-01-22 22:49:25 +01:00
Torsten Dreyer
2cf9732978
Add ctrl-z to the help dialog (reset visibility)
2011-01-19 20:02:53 +01:00
Gijs de Rooy
692d9c3717
Add screenshot dialog, to select directory
2011-01-15 22:48:43 +01:00
Stuart Buchanan
467b4eef16
Add function to allow the binding of a menu item to be configured
...
through Nasal using a symbolic name.
Usage:
gui.menuBind("radio", "dialogs.Radio.open()");
2011-01-03 17:28:40 +00:00
Stuart Buchanan
16b7ffba05
Consistent Close and title bars for Fuel & Payload, Wildfire and Route Manager dialogs.
2010-12-28 19:51:34 +00:00
James Turner
83c9e8b157
Change Nasal to use relative not absolute data paths
...
(requires current FG git)
2010-08-15 11:27:15 +01:00
torsten
a18db246f0
Disable the autopilot menu item if any of
...
KAP140
CENTURYIIB
CENTURYIII
autopilot is detected or the property
/autopilot/hide-menu
is present
2010-01-04 14:06:30 +00:00
torsten
e9bb24b8a2
Add the autovisibility functionality for the menubar.
...
If /sim/menubar/autovisibility/enabled is true, show the menubar when the mouse hits the upper edge of the window and hide the menubar on click outside a pui element.
2009-11-16 20:40:15 +00:00
mfranz
b465bd27a8
--prop:sim/multiplay/write-message-log=1 enables logging of MP messages
...
to $FG_HOME/mp-messages.log
2009-02-15 17:36:47 +00:00
mfranz
a1c1018aa2
Anders GIDENSTAM: adapt for unified tank level property (and do it right :-)
2009-02-06 23:14:49 +00:00
sydadams
22b9c908a9
Update jsb aircraft to use the changed tank/level-lbs property
2009-02-06 22:56:00 +00:00
mfranz
c31ab0ea96
showHelpDialog(): leave some margin for resizing
2009-01-12 12:27:41 +00:00
mfranz
1fc7581f77
add symbols for new cursors
2009-01-11 15:04:55 +00:00
mfranz
e96322b351
OverlaySelector: don't choke if there are no options
2009-01-11 02:42:33 +00:00
mfranz
198d1cb60f
make dialog resizable with Ctrl-dragging
2009-01-10 22:31:30 +00:00
mfranz
291ba987d3
fuel dialog: add tank checkbox only if the "selected" property is actually
...
writable. This omits the box: <selected type="bool" write="n">1</selected>
2008-12-04 11:34:05 +00:00
mfranz
521954116c
only enable precipitation if it's enabled in the gui
...
(/sim/rendering/precipitation-gui-enabled) *and* if the aircraft wants it
(/sim/rendering/precipitation-aircraft-enabled). Some aircraft model rain
on the windshield and want to turn rain off for interior views.
2008-11-23 09:53:46 +00:00
mfranz
2b77665c22
setCursor: complain and show options if wrong cursor name was given
2008-11-20 23:03:24 +00:00