1
0
Fork 0
Commit graph

8333 commits

Author SHA1 Message Date
Richard Harrison
cc152b67ad Emesary: modify bridge to use new MP properties; or to allow the property base for all bridges within a model to use.
By separating out the bridges this could be used in the future to transmit Emesary properties at a different rate. It is one of the future possible methods to improve MP communications and dual/multi controls
2017-12-28 01:25:01 +01:00
Richard Harrison
4e0483c9e8 NASAL: fix new truncateAt method to handle nil ptr errors during execution 2017-12-28 01:13:06 +01:00
Richard Harrison
79dc657170 Emesary: ensure that MPStringMaxLen initialized to default value in OutgoingBridge constructor 2017-12-28 00:15:15 +01:00
Stuart Buchanan
475fd50585 PFD UI Elements and NearestAirports page 2017-12-27 19:51:54 +00:00
Florent Rougon
4393697753 Update Docs/README.add-ons: new fields and more details
Document new fields:

    authors
    maintainers
    license/{designation,file,url}
    url/{home-page,download,support,code-repository}
    tags

Add precisions concerning how fields are parsed, a bit more structure,
etc.

Mailing-list discussion:

  around https://sourceforge.net/p/flightgear/mailman/message/36155660/
2017-12-26 19:51:27 +01:00
James Turner
d2bdcb9879 HID-input config file for GoFlight MFR radio 2017-12-23 11:34:29 +00:00
Yves Tolosa-Joas
aeab8af2a5 Corrected pathways to A330-200 AI model in South African traffic 2017-12-17 21:04:56 +00:00
Yves Tolosa-Joas
0b8897e89a Updated Qatar traffic with revamped A330-200 Freighter model 2017-12-17 21:04:56 +00:00
Yves Tolosa-Joas
9db7957baf Added Lighting to AI A330-200 Freighter 2017-12-17 21:04:55 +00:00
Yves Tolosa-Joas
ce47de71b3 Updated South African Airways Traffic from Timetable Week of 18 DEC 2017
does NOT include Airlink LNK or SA Express EXY
2017-12-17 21:04:55 +00:00
Yves Tolosa-Joas
3e32f39688 South African Airways livery for AI A330-300 2017-12-17 21:04:55 +00:00
Yves Tolosa-Joas
a5e1e5c1b9 Replaced 777-300 with latest model in EVA Air Traffic file 2017-12-17 21:04:55 +00:00
Yves Tolosa-Joas
107cabc09d Added Navigation Lights and LightMap, Remapped Liveries 2017-12-17 21:04:55 +00:00
Yves Tolosa-Joas
197ce30a83 Corrected Tail Light Halo for 777-300 AI model 2017-12-17 21:04:54 +00:00
Yves Tolosa-Joas
02df623663 Corrected Lighmap name for A342 AI model 2017-12-17 21:04:54 +00:00
Yves Tolosa-Joas
be3dbce8c9 Corrected Norwegian Traffic 2017-12-17 21:04:54 +00:00
Yves Tolosa-Joas
4ae483c245 Added A350 and A789 AI models to Thai traffic 2017-12-17 21:04:54 +00:00
Yves Tolosa-Joas
f37ec34495 Added LightMap and Navigation Lights to A340-600 AI Model 2017-12-17 21:04:54 +00:00
Stuart Buchanan
d0203549e8 Add AirportInfo and template pages for FG1000 2017-12-10 22:15:21 +00:00
Florent Rougon
2eb6e7b367 README.add-ons: adapt example to new header (with meta and file-type nodes) 2017-12-10 22:38:38 +01:00
Florent Rougon
33bc7eabb3 README.add-ons: use explicit node typing in the sample metadata file and more spacing
The explicit typing shouldn't change anything for the parsing code in
flightgear/src/Add-ons/AddonManager.cxx, because for each field, this
code knows the correct type and explicitly asks for it (and only once),
but external code might include addon-metadata.xml in some prop tree,
and then the explicit typing is likely to give better results.
2017-12-09 13:49:20 +01:00
Yves Tolosa-Joas
fe3911a2d8 Added LightMap and Navigation Lights to A340-500 AI Model 2017-12-08 12:25:27 +00:00
Yves Tolosa-Joas
f68056ccce Added LightMap and Navigation Lights to A340-200 AI Model 2017-12-08 12:25:27 +00:00
Yves Tolosa-Joas
ea83299edb Smoothed Lightmap Tail Halo for AI a380-800 2017-12-08 12:25:27 +00:00
Yves Tolosa-Joas
8aa2e55396 Added LightMap and Navigation Lights to A340-300 AI Model 2017-12-08 12:25:27 +00:00
Yves Tolosa-Joas
d86755ded6 Changed Windows shading for LightMap Effect 2017-12-08 12:25:26 +00:00
Yves Tolosa-Joas
fc28970a5c Norwegian Traffic update - Includes Norwegian Long Haul (NLH) and Norwegian Air Shuttle (NAX) 2017-12-08 12:25:26 +00:00
Yves Tolosa-Joas
d7714fc180 Added Navigation Lights and LightMap to AI A330-300 2017-12-08 12:25:26 +00:00
Florent Rougon
c535306b3d Add-ons: simplify loading using the new API, set the 'loaded' flag
Also:
  - use the namespace __addon[ADDON_ID]__ when loading an add-on's
    main.nas file (previously, the namespace used was __addon[i]__ where
    i is 0 for the first registered add-on, 1 for the second one, etc.);
  - use logprint() instead of printlog(), because the former writes a
    more helpful source file and line number for the log call in
    fgfs.log (i.e., not always src/Scripting/NasalSys.cxx...);
  - remove the listener once it has been fired;
  - add documentation in Docs/README.add-ons.
2017-12-08 00:37:21 +01:00
Yves Tolosa-Joas
04701093c7 Added LightMap and Navigation Lights to AI A332 2017-12-04 21:27:35 +00:00
Yves Tolosa-Joas
c7fc3ea2d1 Extend Lightmap Effect to Gear Object in AI Models 2017-12-04 21:27:35 +00:00
Yves Tolosa-Joas
3cabb22f3c Adjusted AI Models Material to cater for Lightmap 2017-12-04 21:27:34 +00:00
Yves Tolosa-Joas
45b5c54888 Changed Tail Light Halo to Spherical 2017-12-04 21:27:34 +00:00
Yves Tolosa-Joas
219495c4d2 Thai airways Livery for 787-900 AI model 2017-12-04 21:27:34 +00:00
Yves Tolosa-Joas
65fd69991c Norwegian AI Liveries 738 788 789 2017-11-27 10:36:10 +00:00
Yves Tolosa-Joas
8700d86d2c Wizz Air Traffic update NOV2017 2017-11-27 10:36:10 +00:00
ThorstenB
63f8cf4554 Add description for new protocol parameter. 2017-11-26 21:15:46 +01:00
Stuart Buchanan
3d31775ff3 Initial commit of FG1000 MFD 2017-11-24 23:04:46 +00:00
Stuart Buchanan
0117da44ff Add gear controls to CH Throttle Quadrant. 2017-11-20 22:17:46 +00:00
Stuart Buchanan
41834a69ef Add CH Products Throttle Quadrant. 2017-11-20 22:00:03 +00:00
James Turner
457251ed47 Merge /u/thbr/fgdata/ branch next into next
https://sourceforge.net/p/flightgear/fgdata/merge-requests/103/
2017-11-19 10:41:24 +00:00
Yves Tolosa-Joas
0593ca4dba A321 Wiss Livery by Brett Harrison 2017-11-19 10:38:17 +00:00
Yves Tolosa-Joas
c5deb75e89 Relocated UTair livery for ATR 70 2017-11-19 10:38:17 +00:00
Yves Tolosa-Joas
b5dd91bf9e Updated UTair Traffic by SP-KOK with Liveries by BecOzIcan and Gooneybird 2017-11-19 10:38:17 +00:00
ThorstenB
ea8d2524c1 UFO: include but _disable_ the GPWS+TCAS instruments.
The instruments can now be enabled easily for testing purposes:
simply toggle their "serviceable" properties:
/instrumentation/mk-viii/serviceable or
/instrumentation/tcas/serviceable
2017-11-18 23:54:12 +01:00
Florent Rougon
204db5bfbe Remove TAB characters in AI/Traffic/E/EZY.xml
Some of these tabs were "falsifying" airport names. Thanks to wkitty42
for the report.
2017-11-18 20:16:46 +01:00
Richard Harrison
dcc4f1ede5 Walker; fix duplicate parachute and spoiler/speedbrake keyboard by making it conditional on the view 2017-11-18 12:51:16 +01:00
Richard Harrison
28fbda2e2a Emesary changes to better support GeoEventNotifications.
A GeoEventNotification can be used to notify all other MP craft (that are connected to the bridge) of AI objects or ballistic items that are present on the local player's machine. For example tankers, dropped payloads, missiles, carriers.

Changes

- Fix transfer string encoding for bridge. If the string contained untransmittable characters the length was wrong. Change to use the valid characters from BinaryTransfer.

- Fix bug transferring negative numbers.

- Add method to notification to provide the type key to be used to decide if a non distinct message should be added to the queue; rather than relying on the simple type.ident. This allows multiple notifications of the same type to be non distinct but also be transmitted

- Allow the maximum size of the mp string to be defined per bridge; rather than a system wide value. This allows the bridges to have their size tuned to match expected requirements; for example a bridge that is transmitting GeoEventNotification may need a lot more space than a bridge that is transmitting property sync notifications.

- Improve error message when out of space (due to the maximum string length)

- add trace option to bridges to aid debugging of transmitted values. This will produce verbose output.

- Add UniqueIndex to GeoEventNotification; to allow for multiple non-distinct notifications to be transmitted concurrently. This overrides the GetBridgeMessageNotificationTypeKey to include the UniqueIndex
2017-11-18 12:46:37 +01:00
Stuart Buchanan
1e69f3eb75 Fix handling of multiple MFDs
Found by chance during code read.  Untested, but surely correct.
2017-11-17 15:53:26 +00:00
Richard Harrison
8dafff9933 MFD framework - add support for Emesary
Allow a MFD to be controlled via Emesary notifications (notifications.PFDEventNotification);

Notification needs to be constructed with the following parameters;

1 - MFD designation (text; name of MFD)
2 - MFD identity (int, id of the MFD within the model). Default 1; same as used when creating the MFD
3 - Event type (PFDEventNotification.SoftKeyPushed, notifications.PFDEventNotification.ChangeMenuText
4 - Event parameter.
  a) for PFDEventNotification.SoftKeyPushed an int identifying the button
  b) for notifications.PFDEventNotification.ChangeMenuText a hash array containing the menu ID and the new text (e.g. [{ Id: 1, Text: "NNN"}])

Method obj.PFD.RegisterWithEmesary(emesary.GlobalTransmitter) need to be called to connect the MFD to a transmitter
2017-11-16 02:57:13 +01:00