1
0
Fork 0
Commit graph

9543 commits

Author SHA1 Message Date
James Turner
0431a2ec6f Nasal modules: don’t give up on an error.
Fix from Henning Stahlke
2020-08-12 11:04:10 +01:00
Yves Tolosa-Joas
a4e37063ed added missing flighttype and callsigns 2020-08-10 10:04:08 +01:00
Yves Tolosa-Joas
279e3079d7 added missing flight type gate and callsign in flight numbers 2020-08-10 10:04:08 +01:00
Yves Tolosa-Joas
0e7c1cc34d Removed custom taxi speed to reduce left turn overrun 2020-08-10 10:04:08 +01:00
James Turner
3faaeb3c89 Many German translation improvements.
From Udo Kaune.
2020-08-04 13:18:02 +01:00
James Turner
398d9cb486 Add ‘del’ method to SVGCanvas
From Henning Stahlke
2020-08-02 11:06:19 +01:00
Richard Harrison
33ac2eff46 Added Emesary MP bridge unit tests 2020-08-01 16:44:02 +02:00
Richard Harrison
eb5d1029c8 Documentation improvements
Rewrote the volume section of xmlsound and add documentation for expressions
2020-08-01 16:43:16 +02:00
Henning Stahlke
6ac7b3385e move min and max from std/Vector.nas (class file) to std.nas 2020-07-30 10:48:27 +01:00
James Turner
8b06738256 Re-sync Qt translations 2020-07-29 21:11:28 +01:00
James Turner
ce1863d294 DE translation fix that was suggested. 2020-07-29 20:33:12 +01:00
Yves Tolosa-Joas
13b284b8fe Traffic and Livery for Airest Cargo 2020-07-29 19:56:20 +01:00
Yves Tolosa-Joas
3e9eb9c502 Update erroneous perf tags 2020-07-29 19:56:20 +01:00
Yves Tolosa-Joas
6bbfcf6d1e Corrected erroneous departing ICAO 2020-07-29 19:56:20 +01:00
Richard Harrison
3666ba1511 Emesary fixes
- Transfer encoding rewritten to handle negative numbers properly and fix scaling.
- Change the "no receive method" to be just a warning as it is unwise rather than
  being wrong.

Emesary MP bridge fixes from Nikolai

OutgoingBridge:

- When transmitting queue, make sure transmitted
  messages cannot remain in the queue when not completely emptied, and
  thus be sent again, and eventually fill up the queue.

- Also allow smaller messages to sent even though there was not room for
  a larger message (the removal of the 'break' command).

- To prevent coding the same message again with the 'break' removed,
  store an already coded string that was rejected due to too little room
  inside the message so when there is room for it, it was coded only
  once.

- Stop recalculating MessageExpiryTime when there is no
  room for a notification. If it has asked to expire after expire time,
  let it expire.

IncomingBridge:

- Make sure listeners on emesary[x] properties are
  removed when a mp aircraft is invalid, otherwise a hidden bridge will
  sit in background and process same notifications a new bridge is
  already processing.

- Change order of setting IncomingMessageIndex to ease
  debugging in reciever.

- Since a bridge class can handle multiple emesary
  properties on same aircraft, use a vector per aircraft to store the
  bridge instances in, to make sure Remove can be called on all
  instances listening to same aircraft.
2020-07-25 14:11:07 +02:00
Richard Harrison
37729a8661 Added Nasal frame utils: (1) partition processor
The partition processor is a simple class that allows lists of data to be processed in chunks per invocation. It is designed to minimise per frame processing whilst keeping the code simple and the performance acceptable.

test code (use with F-14):

var pptest = func{
    var xx= frame_utils.PartitionProcessor.new("TEST", 6);

    var obj = {}; # just for testing

    for (ii=0;ii<5;ii+=1) {
        xx.process(obj, awg_9.tgts_list,
                   func(pp, obj, data){
                       print("init");
                       obj.designated = -1;
                       obj.search = "Nimitz";
                       obj.completed = 0;
                   }
                   ,
                   func(pp, obj, u){
                       printf("%-5d : %s",pp.data_index, u.Callsign.getValue());

                       if (u.Callsign.getValue() == obj.search)
                         obj.designated = pp.data_index;
                       return 1;
                   },
                   func(pp, obj, data)
                   {
                       obj.completed = 1;
                       printf("Completed: %s = %d\n", obj.search, obj.designated);
                   }
                  );
        if (obj.completed)
          break;
    }
    if (!obj.completed)
      print("partial list processed");
}

pptest();
2020-07-24 15:35:10 +02:00
Thorsten Renk
083be31eb2 Merge /u/dirteat/flightgear_redcut/ branch next into next
https://sourceforge.net/p/flightgear/fgdata/merge-requests/206/
2020-07-18 06:36:56 +00:00
James Turner
045c8f4815 Fix in-air reposition runway heading
When repositioning to an airport runway, clear the heading preset
so we use the runway heading.

https://sourceforge.net/p/flightgear/codetickets/2283/
2020-07-14 17:16:07 +01:00
legoboyvdlp R
dee62a362d Add support for ALS in shader lider settings 2020-07-14 12:09:28 +01:00
Stuart Buchanan
c23666a99f FG1000: Volume controls from Julio SANTA CRUZ 2020-07-12 18:43:59 +01:00
Eatdirt
961edb46f1 Update earthview textures with seemless boundaries and add normalmap alpha channel 2020-07-12 18:55:28 +02:00
Eatdirt
6f4279a5ed Remove rgb normalization and relax cut on NdotL to positive or null (fix visible redcuts) 2020-07-12 18:40:38 +02:00
Delta Echo
d850f211fb Add Cliffs material to Rock material block in regions/global and regions/europe 2020-07-12 07:31:03 +02:00
Stuart Buchanan
96ea977af5 Fix case errors and Vector.nas
Fix from Julio SANTA CRUZ
2020-07-11 22:11:39 +01:00
Stuart Buchanan
3f5f1a2570 FG1000: Correct Debug menu item to display MFD 2020-07-11 21:46:55 +01:00
James Turner
ad43f14b65 Extend add-ons documentation. 2020-07-10 13:10:49 +01:00
Yves Tolosa-Joas
37375c93b1 AI Liveries and Traffic for Amerijet Cargo 2020-07-09 18:16:14 +01:00
Yves Tolosa-Joas
bc19e0d499 Fixed Aircraft Radius 2020-07-09 18:16:14 +01:00
Henning Stahlke
4cb8a03e4b move globals.Hash to std.Hash
Add std.nas to loadpriority.xml and update related files
2020-07-08 15:31:23 +01:00
Stuart Buchanan
78e9eff433 FG1000: Keyboard input for GCU 47X
From Julio Santa Cruz
2020-07-07 13:28:32 +01:00
Henning Stahlke
486797d6c6 extract base class SVGCanvas from EFIS framework to canvas/api/svgcanvas.nas 2020-07-06 10:09:33 +01:00
Henning Stahlke
63fc1cf06d move colors from draw.nas to api/colors.nas 2020-07-06 10:09:26 +01:00
Henning Stahlke
c93cf18842 bugfix canvas/gui.nas: rte on undefined member, remove unnecessary settimer call 2020-07-06 10:09:17 +01:00
Henning Stahlke
01811ec69a canvas/gui.nas add missing return values 2020-07-06 10:09:08 +01:00
Yves Tolosa-Joas
78757f8fc3 Corrected erroneous Airport ICAO in exiting traffic Alaska, China Southern and Air Europa 2020-07-06 09:59:58 +01:00
Yves Tolosa-Joas
9e5133cf62 Liveries and Traffic for Polar Air Cargo 2020-07-06 09:59:58 +01:00
Yves Tolosa-Joas
631e9b9e3e Corrected Tail Mapping 2020-07-06 09:59:58 +01:00
Jean-Christophe Charrier
19003f684d Update the French translation
The built-in launcher is now fully translated. :-)
2020-07-04 16:23:26 +02:00
Yves Tolosa-Joas
9c4052a3bf Remapped Alaska Regional traffic to newest DH4 AI model 2020-07-03 12:23:03 +01:00
Stuart Buchanan
747cb73ca8 FG1000: Support custom SVG Path 2020-07-02 15:28:19 +01:00
James Turner
1cee9485c6 Fix Canvas-Map runway display.
Transformation was being applied twice.

Patch by Gaétan Allaert.
2020-07-01 11:44:22 +01:00
Yves Tolosa-Joas
a6cc492a8f Re mapped existing trafic files to new DH4 aI model 2020-07-01 10:35:03 +01:00
James Turner
bbbf52f47e Patch from Huntley Palmer to control condition axis 2020-07-01 10:34:03 +01:00
Henning Stahlke
a13f9b3bb0 emesary.nas add comments, type checks; fix typos; add debug/emesary.deb.nas add fgcommand to use the global transmitter 2020-06-29 14:07:25 +01:00
Scott Giese
8d785cacbc Merge branch 'next' of git://git.code.sf.net/p/flightgear/fgdata into next 2020-06-28 11:32:40 -05:00
Scott Giese
0d6fa1b6c0 VPB: Initial Commit
Not for LTS
2020-06-28 11:32:12 -05:00
Julian Smith
0bbc7d9f1c Small improvement to terrasync download dialogue.
Show number of errors separately, don't override status if there are a non-zero
number of errors - this was unhelpful if we've managed to resume after errors.
2020-06-28 11:03:54 +01:00
James Turner
986369f6ea Use logprint in more places
Trying to reduce Nasal alert-level output for non-alert-y things.
2020-06-28 07:27:29 +01:00
Stuart Buchanan
0b6f9b9ab8 Fix for 2261 max-paged-lod is missing userarchive
https://sourceforge.net/p/flightgear/codetickets/2261/
2020-06-27 16:54:38 +01:00
Henning Stahlke
09dca7d3f0 Configurable auto-gen of tutorials from checklists
Previously tutorials were generated from all checklists.

Now <auto-tutorial>false</auto-tutorial> can be set at
any level of the checklist heirarchy to disable generation
of tutorials for a given checklist, group, or for all
checklists.
2020-06-27 15:20:02 +01:00