1
0
Fork 0
Commit graph

7366 commits

Author SHA1 Message Date
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
Thomas Geymayer
d930e3f2fa Nasal: std.Vector: add 'contains' method (by onox). 2014-12-23 14:40:29 +01:00
Torsten Dreyer
5e2a37be56 Some javascript library fixes
- don't ignore "func" property for Property InputValues
- expose "timeofday" command via fgcommand.js
2014-12-22 11:57:25 +01:00
Torsten Dreyer
94426d1f46 Provide missing sprintf.js library 2014-12-22 09:41:52 +01:00
Anton Gomez Alvedro
c108f3b988 Bugfixes and improvements to the Failure Manager
- Fix: runtime exception in remove_failure_mode()
  - Fix: keep failure & trigger status on teleport.
  - Fix: allow random failures from the gui to be enabled/disabled multiple times.
  - Fix: mcbf/mtbf are set to zero when they fire, so they can be reactivated from the gui.
  - Fix: string casts of several trigger types had syntax errors.
  - Usability: screen messages related to failures now use positive logic:
         "condition 100%" instead of "failure level 0%"
  - Performance: Time triggers now use internal timers, instead of requiring being polled.
  - Reviewed Trigger interface for more rational usage. reset() is replaced by arm()/disarm()
  - Added a subscription interface to listen to FailureMgr events.
  - Added an internal log buffer to keep a record of relevant events and present them to gui elements.
  - Several usability improvements to the FailureMgr Nasal API.
2014-12-21 12:39:52 +01:00
James Turner
6a763a0d77 Route-manager: fix approach transitions. 2014-12-19 17:02:55 +00:00
Torsten Dreyer
c0bf83aa37 fix messed up indention of preferences.xml
reindented using
  xmllint --format
no functional change
2014-12-17 15:39:11 +01:00
Torsten Dreyer
19c3f9ab2b Enable time-warp easing function 2014-12-17 15:37:27 +01:00
Thorsten Renk
c1e7703d78 Shader support for aircraft shadows 2014-12-16 13:40:30 +02:00
Thorsten Renk
1ad83ec6e5 Bugfix - restore deep shade model for ALS terrain 2014-12-16 13:39:49 +02:00
Thorsten Renk
b40ffa8fed Fix impostor effect 2014-12-16 11:10:21 +02:00
Thorsten Renk
2c0513816c ALS maintenance - reworked light curves, streamlining, minor bugfixes,... 2014-12-15 15:50:47 +02:00
Anton Gomez Alvedro
1bae213eb9 Reinit revisited, added an option to ignore fdm-initialized and cleaned up the doc. 2014-12-12 21:50:35 +01:00
Thorsten Renk
576f72ba53 No Mie scattering effect when sun is down for ALS clouds 2014-12-12 10:31:12 +02:00
Thorsten Renk
dacf52ef56 More ALS maintenance 2014-12-12 10:04:56 +02:00
Thorsten Renk
ccfcfad7db Fix small color mismatch in skydome code 2014-12-11 13:07:09 +02:00
Thorsten Renk
f2c81c9dcb ALS maintenance, haze color balance at low light improved and dependent on air pollution 2014-12-11 13:02:40 +02:00
Stuart Buchanan
b1e356e538 Replace airport parking position dropdown with text 2014-12-10 22:24:21 +00:00
Anton Gomez Alvedro
60d806be6b Rename to updateloop.nas 2014-12-04 21:14:22 +01:00
Thorsten Renk
4faeb25c85 Bugfix for ALS inland water 2014-12-04 10:22:06 +02:00
Thorsten Renk
fddf1edc54 Rayleigh effect reworked with fog illumination as proxy for scene light, small bugfixes 2014-12-03 13:50:05 +02:00
Thorsten Renk
dc791861d2 ALS maintenance: proper order of argument in smoothstep, night behaviour of wake, streamlining of if() statements,... 2014-12-02 11:18:02 +02:00
Thorsten Renk
47aca39183 Kill specular channel after sundown in ALS model shader 2014-11-30 14:08:40 +02:00
Thorsten Renk
95f060abc8 Europe uses procedural rock effect, Alaska uses detailed tree textures 2014-11-30 13:53:30 +02:00
Thorsten Renk
85486a0f51 Airport keep follows autumn coloring 2014-11-30 13:30:56 +02:00
Anton Gomez Alvedro
4edcf7c7a0 Renaming the "Component" interface to "Updatable". "Component" is just too generic and inspecific to be used as a public interface.
Also, making sure the looper is disabled when destruction is requested.
2014-11-30 10:46:26 +01:00
Anton Gomez Alvedro
f92a2217de Factoring out the soaring-sdk's update loop into a generic update-loop.nas that can be reused by other modules. 2014-11-29 12:11:33 +01:00
Philosopher
db36387a36 Nasal REPL: integrate with Canvas keyboard
Allows for focusing/unfocusing by clicking on the window or "desktop"
respectively.
2014-11-28 09:29:28 -06:00
Philosopher
c0713db911 Fix screen width compensation
The reason it didn't work for me is that
/sim/rendering/camera-group/camera/viewport/ does not seem to contain
the actual dimensions of the view window... which is odd. Instead I'll
use /sim/startup/[xy]size (and make it into a method so I don't have to
change 3 lines next time :). Now that it works (again), it looks so much
better. Thanks to Alexis Bory for the original idea.
2014-11-27 22:17:22 -06:00
Thomas Geymayer
7b279f1fd7 canvas.gui: ensure all LineEdit/ScrollArea methods are chainable. 2014-11-23 23:35:26 +01:00
syd adams
d9e9a65909 modified gui.nas to enable hiding tank on Fuel dialog 2014-11-19 12:14:18 -07:00
Torsten Dreyer
d69872dec2 Prepare for improved PagedLOD handling 2014-11-19 17:22:27 +01:00
Thorsten Renk
a6ff6a6199 Undulatus-based AW clouds make use of transparency parameter 2014-11-17 13:35:48 +02:00
Thorsten Renk
403c35d544 AW domain-based clouds utilize transparency parameter 2014-11-17 12:59:48 +02:00
Thorsten Renk
9855d16735 Tentative hack to avoid black triangles in urban terrain problem when urban effect is used 2014-11-17 10:23:14 +02:00
Clément de l'Hamaide
f6f433529f Revert "UniformFactory: merge current uniform per <name> of effect"
Talking with Emilian about this commit, we came to the conclusion we don't want share uniform between .eff file
This reverts commit 91a6a27f32ee5f79e1d7e0d4570e879a902de58f.
2014-11-16 22:09:41 +01:00
Clément de l'Hamaide
735035a357 FGMap: add some layers for France 2014-11-16 20:21:20 +01:00
Clément de l'Hamaide
95640a1b6f UniformFactory: merge current uniform per <name> of effect 2014-11-16 20:21:20 +01:00
Thorsten Renk
4e9ba3e560 Basic ALS + AW infrastructure to use new cloud transparency parameter 2014-11-16 12:28:09 +02:00
Thorsten Renk
77e382be75 Continuous water coloring between ocean and inland 2014-11-12 09:16:32 +02:00
Torsten Dreyer
fd99fb29d0 browser based map: experimental reposition by drag
new feature for the browser based map:
dragging the aircraft symbol teleports the aircraft to the new position
after dropping.
Beware:
- Scenery might not yet be loaded.
- New position might be below ground.
2014-11-10 22:27:18 +01:00
Torsten Dreyer
0c6203c1c1 fgcommand.js: wrap reposition command 2014-11-10 14:21:50 +01:00
Torsten Dreyer
6b33ee4719 fgcommand.js: add wrappers for dialog-[show|close] 2014-11-10 10:52:10 +01:00
Thorsten Renk
fc85e049c9 Real geometry mapped grain overlay and wetness/rain simulation for ALS model shader, Vinson flightdeck as example 2014-11-08 10:42:42 +02: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
Torsten Dreyer
db9a880836 fgfs.js: FSweekend induced changes 2014-11-06 11:51:15 +01:00
Thorsten Renk
9d2a0c9456 vec3 is not the same as float 2014-11-05 08:47:02 +02:00
Thorsten Renk
b35f326634 Consistent Rayleigh haze for trees is hard... 2014-11-04 12:33:29 +02:00
Thorsten Renk
66f05c210f Grassland in CORINE data should not be rendered as fields, change suggested by forum user abassign 2014-11-03 09:57:36 +02:00