1
0
Fork 0
Commit graph

8855 commits

Author SHA1 Message Date
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
Yves Tolosa-Joas
c8e3c0c394 NavLights and LightMap for AI 747 Series 2017-11-13 14:30:11 +01:00
Yves Tolosa-Joas
3c509060a5 Jet2 traffic update OCT 2017 2017-11-13 14:30:11 +01:00
Thorsten Renk
e5f4b0a511 More infrastructure for perception filtering of moonlight 2017-11-13 10:27:25 +02:00
Thorsten Renk
405e754583 Tentatively fix z-ordering issues with geometry shader grass 2017-11-13 09:49:35 +02:00
Richard Harrison
08fd851489 Theme rework.
Change fonts; make use of the new feature to allow fonts to be specified using property from dialog xml.

Ensure that all fonts are defined within the style.
2017-11-12 16:57:39 +01:00
Richard Harrison
eabece0148 Add more options to development extensions GUI dialog.
- configure onscreen OSG display directly
- multiplayer loopback
- buttons for the reload options
- added reload shaders
2017-11-12 16:57:39 +01:00
Richard Harrison
1d58485dfa Permit server name to be specified in multiplayer dialog 2017-11-12 16:57:39 +01:00
Richard Harrison
ca57bbecbd Change keybindings for trim to have slow and fast.
Added reset all trim (CTRL-NUMPAD-5)
2017-11-12 16:57:39 +01:00
Richard Harrison
436f67105a Add monoMMM_5 font with permission from the author for distribution as GPL.
ref: http://www.dafont.com/monommm-5.font

copy of email permission below.
------------------------
Received: by xx.xx.1.153 with HTTP; Mon, 25 Sep 2017 05:19:56 -0700 (PDT)
In-Reply-To: <f3b61fff-0c12-46eb-e96d-932ee17e7702@zaretto.com>
References: <f3b61fff-0c12-46eb-e96d-932ee17e7702@zaretto.com>
From: Marcelo Macedo
Date: Mon, 25 Sep 2017 09:19:56 -0300
Message-ID: <CAEdzCVPKnCP_C4csUsXWVDaRb7L5jWfy2amYVDOrD7k_c-QLVQ@mail.gmail.com>
Subject: Re: Mono MMM 5
To: Richard Harrison

Permission granted. I will be honored to have my source in a great program
like this!

2017-09-24 18:01 GMT-03:00 Richard Harrison <richard@zaretto.com>:

> Would you give permission for your excellent Mono MMM 5 font to be
> included in FlightGear with a GPL licence.
2017-11-12 16:57:39 +01:00
Thorsten Renk
3ce77a7733 Improved visuals for mediterranean shrublands using new vegetation texture sheet and overlay effect 2017-11-12 17:43:21 +02:00
Thorsten Renk
f1a6790828 Add San Antonio to new AI carrier control scheme, retire old AI Carrier dialog 2017-11-11 10:47:38 +02:00
Thorsten Renk
3980515c47 Add Clemenceau/Foch to new Ai carrier scheme 2017-11-11 10:33:58 +02:00
Thorsten Renk
45bd8ec9b8 Add Eisenhower into new AI carrier control scheme 2017-11-11 09:51:38 +02:00
Stuart Buchanan
7af31b8c92 Additional name for CH pedals, courtesy of Gunner. 2017-11-10 15:45:51 +00:00
Thorsten Renk
a885fc0885 Merge Nimitz into new carrier control scheme, add clickspots and individual animations 2017-11-10 10:20:44 +02:00
Thorsten Renk
00972633bf Final touches on Vinson: Add bridge as clickspot for controls, separate course controls for carriers, add wakes to Vinson escorts 2017-11-10 09:24:33 +02:00
Thorsten Renk
b53010ba70 As per mailing list discussion, clean up legacy AI scenarios: tankers (obsoleted by Nasal-driven tanker) and weather (obsoleted by AW thermals and thunderstorms) 2017-11-09 12:13:26 +02:00
Thorsten Renk
be30e7a2d3 Fix Truman deck park 2017-11-09 12:06:56 +02:00
Thorsten Renk
445115e536 Start converting Vinson to individual carrier control scheme 2017-11-09 12:02:35 +02:00
Yves Tolosa-Joas
f4acff53ee Jet2 Liveries by Brett Harrison 2017-10-23 08:58:00 +01:00
Yves Tolosa-Joas
a7d0c9ccd7 Added missing AI aicraft type aliases from observed FG LOG errors 2017-10-16 08:54:31 +01:00
Yves Tolosa-Joas
ac1ed15232 Updated Wideroe traffic OCT 2017 2017-10-16 08:54:31 +01:00
Yves Tolosa-Joas
3b0a80a71b New AirCanada Black Livery for B787 and A321 2017-10-16 08:54:31 +01:00
Yves Tolosa-Joas
e819438186 Changed Cockpit Mapping. Updated Liveries and LightMap. New Air Canada Livery 2017-10-16 08:54:30 +01:00
Stuart Buchanan
4bd57492f4 Add Lat/Lon grid MapStructure layer. 2017-10-15 21:54:05 +01:00
Stuart Buchanan
d84c527ca7 Canvas MapLayers for Airport
Add RWY, TAXI, TWR, PARKING map layers
Add new static position controller
Update Select Airport dialog to use new MapLayers.
2017-10-13 17:38:27 +01:00
Nikolai V. Chr
3283e9721f Ported the specular lightning from combined shader to ALS interior detailed shader, to make the spot independent of view direction. 2017-10-10 18:11:59 +02:00
Nikolai V. Chr
a206b3cb51 Change to the up vector used in sky irradiance light in ALS shader.
Models that are xml offset with pitch, heading or yaw should now be correct lighted.
2017-10-10 17:58:32 +02:00