1
0
Fork 0
Commit graph

6820 commits

Author SHA1 Message Date
Anton Gomez Alvedro
ff071bd858 Integrates existing soaring instruments with the soaring sdk
All reviewed aircraft now support total energy compensated variometers and
reuse a common implementation. The following issues have been addressed, either
explicitly or as a benefit from the integration:

 + Fixed incorrect variometer readouts at sim/speed-up values != 1
 + Fixed erratic instrument behavior after pause and reinit
 + Reworked all vario needle animations to be smoother.
 + Fixed ASK13 yaw string. Now it deflects to the correct side.
 + Added temperature and (fake) battery readings to ILEC SC7 digital variometer.
 + Fixed ILEC SC7 sign readout (didn't show the minus sign).

Note: The ASK21 models have not been integrated, as they will need a more
profound cockpit overhaul.
2013-12-08 11:53:57 -06:00
Anton Gomez Alvedro
db995cc8ee Soaring instrumentation library for Nasal
A Nasal library for implementing instruments that are specific for soaring.
This version supports:

 + Total Energy compensated variometers
 + Netto variometers
 + Relative (aka Super-Netto) variometers
 + Configurable dampener for simulating mechanical needles
 + Averager
 + Speed to fly computer
 + Speed Command variometer
 + Yaw string (it's an instrument, isn't it?)
2013-12-08 11:53:18 -06:00
Anton Gomez Alvedro
6ae3fae393 Add io.include() function to Nasal base library
io.inlude() loads and executes a Nasal file in place, effectively embedding
the script in the calling namespace. The function adds a symbol mark in the
namespace to avoid duplicate loading.

Additionally, in this path:

 + io.basename() & io.dirname(): Convenience functions for managing path
   strings. Designed after their unix counterparts.

 + string.normpath(): Improved support for relative paths. It can now handle
   paths starting with double dots, like ../../Directory
2013-12-08 11:51:34 -06:00
BARANGER Emmanuel
b6f3e32212 Merge branch 'master' of gitorious.org:fg/fgdata 2013-12-07 18:06:54 +01:00
Thomas Geymayer
4766ed21a6 Nasal: use new built-in props.Node.removeAllChildren()
This require less interaction between Nasal and C++ and
also does not need to create a list of removed children
which was not used anyway. Now it require about 70% less
time to execute.
2013-12-07 13:48:55 +01:00
BARANGER Emmanuel
ae5b36a0f5 Merge branch 'master' of gitorious.org:fg/fgdata 2013-12-05 04:27:31 +01:00
Gijs de Rooy
c409864dac Navigation display:
- move SVG to Canvas directory
- add basic wxradar
- differentiate between track and heading
- improve altitude arc
- add range arcs
- display correct ETA for next waypoint
2013-12-04 23:22:51 +01:00
dfaber
ab235c4477 Walker: smaller textures 2013-12-04 21:27:52 +01:00
mhab
1d9ff30420 Close dialogs with Esc-key 2013-12-02 21:32:05 +01:00
dfaber
ca5cb99a4c Walker: initial commit of the Walker, Pilot and Copilot Models 2013-12-01 21:47:42 +01:00
Thomas Geymayer
748f1d4d29 parsesvg: rename canvas.num to canvas.evalCSSNum 2013-12-01 14:05:12 +01:00
Tomash Brechko
2e6ba5f8c0 SVG parser: Add num() wrapper for <rect> attributes. 2013-12-01 14:05:11 +01:00
Gijs de Rooy
a9576e8c8d Canvas Navigational Display:
- get rid of global variables and use instance variables
- identified all important drawing routines and move them into *.draw files
- changed to dynamic loading of *.draw *.model and *.layer files
- implemented poor-man's controller hash to move use-case specific conditionals out of the draw files, and back into the instantiation, i.e. Gijs' EFIS class
- started identifying stuff that is not specific to drawing, but to what is to be drawn, i.e. Model stuff - such as positioned queries, moved those out into *.model files
- some more work on supporting more than a single ND MFD instance per aircraft
- renamed a handful of SVG identifiers to avoid naming conflicts and to simplify usage of SVG IDs as member fields
- moved all of the setlistener setup out of the fdm-initialized stub right into the ctor of the Efis class (actually that's controller stuff...)
- initial MapStructure framework
- aircraft-agnostic NavDisplay class
- preparations for deprecating map.nas
- additions to canvas.map
- preparations for making NDStyles configurable via XML
2013-12-01 13:36:23 +01:00
Clément de l'Hamaide
315e22cad0 French translation: replace é by e because osgText doesn't handle accent 2013-11-30 17:22:54 +01:00
Clément de l'Hamaide
eb1a2ad623 KX165: fix nav power-btn action 2013-11-30 17:22:53 +01:00
BARANGER Emmanuel
579c0e0028 Merge branch 'master' of gitorious.org:fg/fgdata 2013-11-30 00:55:19 +01:00
BARANGER Emmanuel
1b1a2795af Merge branch 'master' of gitorious.org:fg/fgdata 2013-11-27 21:52:51 +01:00
Tomash Brechko
e5d8163d64 Ubershader: account for specular light component only once.
Both files have "fragColor += Specular * nmap.a;" later in the source.

The patch is suggested by Emilian Huminiuc.
2013-11-27 16:30:32 +00:00
Thorsten Renk
f92a3cd08e Merge branch 'master' of git://gitorious.org/fg/fgdata 2013-11-23 12:24:40 +02:00
Thorsten Renk
4a2d427a85 Ocean depth map support for ALS 2013-11-23 12:15:52 +02:00
Thorsten Renk
ce334404b1 Exposed the moonlight shader effect in the GUI 2013-11-22 09:47:43 +02:00
Thorsten Renk
21cc0e08f7 Autumn coloring of natural crop landclass 2013-11-22 09:42:04 +02:00
Thorsten Renk
c747dcb1f1 Regional texturing definitions for Corsica 2013-11-22 09:29:53 +02:00
Thorsten Renk
d13d72b2f7 Bugfix correcting tree fog lighting for cloudy days and low sun 2013-11-22 09:20:38 +02:00
Thorsten Renk
3a9ddfa5ab Regional texture definition updates for Ascension Island (by Neilson) and Scandinavia to work with 2.0 world scenery 2013-11-22 09:14:08 +02:00
BARANGER Emmanuel
a4b457ecec Merge branch 'master' of gitorious.org:fg/fgdata 2013-11-19 16:31:25 +01:00
Clément de l'Hamaide
740921934e Change landmass colour to fix the appearance of rivers that have a sea material assigned 2013-11-18 17:04:48 +01:00
Clément de l'Hamaide
cad2dc9e06 Fix missing elements in texture declaration in effects files. Fixes bug #1267 2013-11-18 03:17:58 +01: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
Eric van den Berg
281036e1e5 static port and pitot tube new features, doc update 2013-11-16 23:55:19 +01:00
Clement de l'Hamaide
ef9574c12e FGCom Settings dialog: avoid unexpected scheme 2013-11-11 21:47:26 +01:00
BARANGER Emmanuel
e70ecbf5d3 Merge branch 'master' of gitorious.org:fg/fgdata 2013-11-11 00:11:35 +01:00
BARANGER Emmanuel
28622cb5f8 Merge branch 'master' of gitorious.org:fg/fgdata 2013-11-08 23:05:01 +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
Torsten Dreyer
bb1443f96e c172p: magnetic compass tweaks
- add compass deviation table
- set compass "pitch" to compensate for wrong indication
2013-11-05 22:23:35 +01:00
Philosopher
730145eec0 Add condition axis as per issue 1249 2013-11-05 14:38:43 -06:00
James Turner
bc3aeaafa1 Increase default window size.
Since 800x600 is smaller that some dialogs now, let's default to a
slightly larger size. Existing config/command-line switch to set the
size explicitly work as before.
2013-11-04 09:28:58 +00:00
Thomas Geymayer
9687784128 Canvas API: constants for clip-frame reference frames 2013-11-03 21:01:33 +01:00
Vivian Meazza
85df642774 Sea colour effect by Emilian Huminiuc
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-11-03 18:41:20 +00:00
Vivian Meazza
af22245993 Sea colour effect by Emilian Huminiuc
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-11-03 18:41:16 +00:00
Vivian Meazza
cad41c4eff Sea collour effect by Emilian Huminiuc
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-11-03 18:41:12 +00:00
Thomas Geymayer
e738bfb297 7-Segment font (for numeric LED based indicators) 2013-11-01 23:34:53 +01:00
BARANGER Emmanuel
1043118749 Merge branch 'master' of gitorious.org:fg/fgdata 2013-10-30 01:06:23 +01:00
Thomas Geymayer
fed49956e6 IOrules: add writeable cache directory (for downloaded data) 2013-10-28 12:35:47 +01:00
janodesbois
403ca2f439 bug #202 fgdata correction: velocities/u,v and wbody-fps are now only ECEF velocities in body axis, yasim planes using this as TAS were changed to use instrumentation/airspeed-indicator/true-speed-kt, with the according factor change. 2013-10-27 13:50:44 +01:00
janodesbois
5ce7d55342 FPS2KT and KT2FPS added to Nasal/global.nas 2013-10-27 13:50:39 +01:00
BARANGER Emmanuel
6ce750d1ea Merge branch 'master' of gitorious.org:fg/fgdata 2013-10-26 18:32:06 +02:00
James Turner
698ff88887 Tooltips and right-mouse-drag on by default.
Use the GUI to switch off, or adjust these properties.
2013-10-25 17:23:07 +01: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
74e49dd65d Avoid tooltip breakage when property is nil 2013-10-25 17:19:35 +01:00