1
0
Fork 0
Commit graph

9319 commits

Author SHA1 Message Date
Henning Stahlke
49c8dcd442 modules/canvas_efis/efis.nas replace typeof(), use log constants, add {} 2020-05-05 13:51:56 +01:00
Henning Stahlke
17e3ba6698 debug.nas add dumpProbeStats() and Breakpoint.dumpTrace() 2020-05-05 13:51:52 +01:00
Henning Stahlke
bef5de6e81 debug.nas add helpers for adding probes at runtime; add subnode to _debug for hit counters 2020-05-05 13:51:45 +01:00
Stuart Buchanan
49874ceff3 Align heading with runway on Select Airport
Previously the Select Airport dialog set
the heading preset to 0.  A recent change in the
reposition code meant that this was now being
complied with.  This change fixes it by setting
the heading to the "uninitialized" special value
of 9999.0.
2020-05-05 08:04:33 +01:00
James Turner
b72348f320 Updated Chinese translation from Sidi Liang 2020-05-03 07:30:59 +01:00
James.Hester
8de70d32d2 Remove requests to generate normals as these are no-ops, because
the Shaders do not access the generated attributes.
2020-05-03 07:29:34 +01:00
Alessandro Menti
ff0e7d796e
Update the Italian translation for Qt strings 2020-05-02 16:42:54 +02:00
Julian Smith
7a93a630ae gui/dialogs/map.xml: added 'Pan with keys' button.
Checked by default. If unchanged, cursor keys are ignored instead of panning
the map; e.g. this allows them to be used with autopilot.

This requires associated flightgear commit.
2020-05-02 10:27:13 +01:00
Julian Smith
e70a4c228c Aircraft/Generic/aar.nas: open popup warning if no probe/boom specified.
Might help debugging when adding air-to-air refueling to an aircraft.
2020-05-01 20:13:35 +01:00
Julian Smith
16d5f53900 Include info on --launcher option in --help output. 2020-05-01 20:11:03 +01:00
Julian Smith
ea22a383a4 Translations/default/sys.xml: fixed xml tag mismatch. 2020-05-01 20:11:03 +01:00
Henning Stahlke
a65cb738e5 re-enable reload prop on modules.nas 2020-04-30 11:47:25 +01:00
Henning Stahlke
551f4dab62 canvas/api/element.nas add getType 2020-04-30 08:59:25 +01:00
Henning Stahlke
e16bf79e91 move "hidden" constructor from api.nas to api/canvas.nas; add destructor support 2020-04-30 08:59:25 +01:00
Henning Stahlke
3892d2eddd move fontmapper function from svg.nas to api/text.nas so it is generally avail 2020-04-30 08:59:25 +01:00
Henning Stahlke
e996f4c8c6 add getTranslation and setGeoPosition to transform.nas, adapt element.nas accordingly;
improve readability and comments
2020-04-30 08:59:25 +01:00
Henning Stahlke
2eb4c78794 improve code readability 2020-04-30 08:59:25 +01:00
Henning Stahlke
1094e5214e split classes into separate files 2020-04-30 08:59:25 +01:00
James Turner
d9fd674aea Add new migration translations 2020-04-30 08:49:45 +01:00
Stuart Buchanan
5448a995f3 Don't reload materials on LoD change
https://sourceforge.net/p/flightgear/codetickets/2224/

Speculative fix that reloading materials might impact
scenery reloading.  No reason to reload materials on
an LoD change, so removing it.
2020-04-29 22:41:07 +01:00
James Turner
f074504326 setlistener: tolerate being call()-ed
Fix bug https://sourceforge.net/p/flightgear/codetickets/2219/
Changes to logging mean than setlistener breaks when invoked via
call(), which occurs in the Warthog Nasal scripting. The problem is
that call() forces caller() to return nil, which the setlistener()
debug code did not check for.
2020-04-27 22:50:34 +01:00
James Turner
7d78937a4c new version: 2020.2.0 2020-04-27 09:30:05 +01:00
James Turner
5f023a69b2 new version: 2020.1.1 2020-04-27 09:30:05 +01:00
Yves Tolosa-Joas
033700e491 Updated Virgin Australia Fleet & Traffic 2020-04-27 08:58:31 +01:00
Yves Tolosa-Joas
9328f248be Fixed doubled up trafficlist opening tag in xml 2020-04-27 08:58:31 +01:00
Yves Tolosa-Joas
cfaddea5c3 Updated Fleet to address Duplicated Tail number warnings in FG LOG 2020-04-27 08:58:31 +01:00
Yves Tolosa-Joas
177f933450 Corrected Duplicated Tail Numbers 2020-04-27 08:58:31 +01:00
Yves Tolosa-Joas
1d728d38ac Removed uncessary offset to ERJ entries 2020-04-27 08:58:30 +01:00
Yves Tolosa-Joas
00cd6d70bb Updated Jetstar Australia traffic 2020-04-27 08:58:30 +01:00
Yves Tolosa-Joas
25bf0e408b Updated Fleet Rego (Duplicated Tail Number) 2020-04-27 08:58:30 +01:00
James Turner
2b54466a67 Tweaked German translation 2020-04-27 08:56:43 +01:00
Henning Stahlke
95d0aa032e bugfixes for debug.nas and props.nas 2020-04-24 16:00:09 +02:00
Henning Stahlke
4c867a79f0 adjust setlistener default in modules/addons to match globals.nas 2020-04-24 16:00:09 +02:00
Henning Stahlke
fba17e4d34 Replace printlog by logprint 2020-04-21 09:07:20 +02:00
Henning Stahlke
6078cff6b1 extend debug.Probe and debug.Breakpoint classes with trace option 2020-04-21 09:06:09 +02:00
Henning Stahlke
ed3568554d Add toggleBool() to props.nas 2020-04-21 09:02:16 +02:00
James Turner
d1998f27ff Default GPS handling of DISCON waypoints
When a DISCON is sequencing, revert to OSB mode at the current heading.
Also fix heading capture when reverting to OBS mode in various other
places.
2020-04-19 17:05:29 +01:00
James Turner
fc50680694 Use logprint() in various places
This reduces Nasal console spamming to match to the set log-level
2020-04-19 16:46:57 +01:00
Henning Stahlke
251a376f68 modules.nas: change reload trigger from property to fgcommand, fix a logprint call, add module name to debug output 2020-04-19 12:39:33 +01:00
Henning Stahlke
1035ed4269 add skip parameter to debug.nas breakpoint class 2020-04-19 12:29:01 +01:00
Stuart Buchanan
6d44030df5 Improve UI for select carrier start locations
Add dynamic combo boxes for users to select from the available
carriers and parking position/catapults/FLOLS/Abeam positions
in-sim.
2020-04-18 18:10:17 +01:00
Henning Stahlke
fe1aaaea1c Update README.add-ons 2020-04-17 09:55:02 +02:00
Henning Stahlke
93c48818fd debug.nas: prevent stack overflow in dump; print function names in backtrace; 2020-04-16 16:25:20 +01:00
Henning Stahlke
8f6fd3cb79 props.nas add adjustValue() 2020-04-16 16:25:20 +01:00
Henning Stahlke
b4eaa3e438 props.nas add increment and decrement for int props 2020-04-16 16:25:17 +01:00
Henning Stahlke
f210a38011 addons.nas add fgcommand addon-reload 2020-04-16 16:23:51 +01:00
Henning Stahlke
2a48a3012b add approx_eq to math.nas and is_regular_file io.nas 2020-04-16 16:19:29 +01:00
Henning Stahlke
d2d1fead76 modified output of debug.backtrace 2020-04-16 16:18:15 +01:00
James Turner
f6f48e3f32 Launcher translation sync, add Catalan, Slovak 2020-04-16 11:13:37 +01:00
James Turner
acf939a836 German translation updates from Henning 2020-04-16 11:07:01 +01:00