1
0
Fork 0
Commit graph

8961 commits

Author SHA1 Message Date
Julian Smith
4e94cdc906 Nasal/multiplayer.nas: in Pilot List, added column showing id of nearest airport.
Requires changes to flightgear to populate
/ai/models/multiplayer[]/sim/tower/airport-id.
2019-08-11 13:22:59 +01:00
Julian Smith
f591120032 Disabled old 'Model View' selector by default.
It is now called 'Legacy multiplayer view selector', and enabled/disabled via
new checkbox in the 'View - View Options' dialogue.
2019-08-05 07:31:47 +01:00
Julian Smith
2e5e314a77 Nasal/view.nas:stepView(): also create /sim/current-view/view-number-raw.
This allows new view code to find the view configuration with non-sequential
view numbers (e.g. on 777).
2019-08-05 07:31:47 +01:00
Julian Smith
a10274665d Nasal/view.nas: pilot_view_limiter: protect against nil. 2019-08-05 07:31:47 +01:00
Richard Harrison
294e76a47f Revert "Nasal/screen.nas: move log window to top-left and left-align the text."
It's always been at the top; and although it is clear that the intent of this change was to improve things it highlights the need to make more substantial improvements to the way on screen messages are handled.

What we probably should have is an area that has a transparent dark background, a fixed size, supports scrolling, can be left open (or re-opened) and moved persitently around the screen.

This reverts commit 82f3eb45b9.
2019-07-29 13:00:23 +02:00
James Turner
0a68cbd93a Merge /u/jsb1685/fgdata/ branch next into next
https://sourceforge.net/p/flightgear/fgdata/merge-requests/151/
2019-07-22 15:54:56 +00:00
Henning Stahlke
aaa7888f6b add setViewByIndex to view.nas 2019-07-21 12:56:01 +02:00
Julian Smith
c80059ba53 Removed Model View so that Tower View AGL doesn't alter view numbers.
Due to Nasal/view.nas making a sequential copy of views, inserting new view
number 8 for Tower View AGL broke custom views, e.g. for aircraft 777).

We no longer require Model View (it's identical to Helicopter view now), so
this way we can have Tower View AGL without altering sequential view numbers.
2019-07-20 22:01:05 +01:00
Julian Smith
3738d84d7b Nasal/view.nas: set /sim/viewp[]/config/root to point to multiplayer data.root.
This is required by view code.
2019-07-09 16:25:11 +01:00
Julian Smith
f61b097eb3 Nasal/multiplayer.nas: In Pilots list, use only one colour (white) for pilots for whom we have a model.
I think the previous alternating colours were confusing because of the use of
a third and fourth colour for when we have no model or are using a fallback
model.
2019-07-09 16:25:11 +01:00
Julian Smith
82f3eb45b9 Nasal/screen.nas: move log window to top-left and left-align the text.
Reduces chat messages etc obscuring HUD.
2019-07-09 16:25:11 +01:00
Julian Smith
e2df25343a Nasal/multiplayer.nas: reordered columns in Pilot List window.
Moved 'code', 'ver' and 'set' away to the right, as i think they are less
important. Also demoted 'brg' a little and promoted 'dist-'.
2019-07-09 16:25:11 +01:00
Julian Smith
4f260baf43 Aircraft/c172p/Models/Effects/: fix path for Aircraft/c172p/Models/Effects/exterior/dirt.png.
Avoids warnings like: Texture file not found: 'Models/Effects/exterior/dirt.png'
2019-07-09 16:25:11 +01:00
Julian Smith
47415e20ce Pilot List dialogue now allows control of which aircraft to view.
I think this is more convenient than the normal model-view buttons / popup
list. [Though this is still there.]

Nasal/multiplayer.nas:
    Added new column 'view' with checkbox. Also added 'view self' button to
    titlebar to view the user's aircraft.

    Fix some bad indentation.

Nasal/view.nas:
    Changed /sim/current-view/model-view to contain just the callsign, not
    '<callsign> <model>', so that Nasal/multiplayer.nas can get the callsign
    reliably.
2019-07-09 16:25:11 +01:00
Julian Smith
72e2aa8c1e gui/dialogs/pilot_offset.xml: in 'Adjust View Position', added 'Zero' buttons. 2019-07-09 16:25:11 +01:00
Julian Smith
944cddcb49 gui/dialogs/model-view-select.xml: move list to left to line up with <> buttons. 2019-07-09 16:25:11 +01:00
Julian Smith
56859113b2 Nasal/multiplayer.nas: added column showing whether we've found and loaded -set.xml for each multiplayer.
This determines whether multiplayer views work correctly - these require
correct view offsets from the -set.xml files.
2019-07-09 16:25:11 +01:00
Julian Smith
9822b8ff8c Added multiplayer support to Helicopter View and Tower View etc.
We remember the multiplayer aircraft so that when switching between views,
multiplayer views (currently Helicopter, Model, Tower and Tower AGL) show the
same aircraft.

Nasal/view.nas: use /orientation/true-heading-deg in Model view and Tower AGL
view. This avoids problem when looking at multiplayer aircraft because there is
no /ai/models/multiplayer[]/orientation/heading-deg

Nasal/view.nas: improved handling of sim/current-view/{x,y,z}-offset-m. Changed
resetViewPos() to set these all to zero, because view's offsets are now
kept separate. Also removed setting of /sim/current-view/z-offset-m to
chase-distance - this is the wrong place now that views define the offset
explicitly.

Also added Tower View AGL support.
2019-07-09 16:25:11 +01:00
Scott Giese
9d7cbc1810 [asia] Terrain/deciduous-hires_mask.png does not exist 2019-07-04 13:58:42 -05:00
Yves Tolosa-Joas
2cd245a0db Traffic update for Lufthansa, Lufthansa CityLine and some AirDolomiti by Marcin 2019-06-30 15:14:01 +01:00
Stuart Buchanan
018a7c4afa Further c172p fixes.
Manual merge of cf5dd13f83
2019-06-24 19:38:58 +01:00
James Turner
20bcc16032 Route-manager: guard against a procedure failure
When we have a STAR which is invalid for the selected runway, which
can occur when switching runway/approach, don’t cause a Nasal runtime
error.
2019-06-24 16:41:45 +01:00
James Turner
52373760e2 Canvas Map: tolerate empty paths in waypoints
This fixes bogus indexing warnings and thus Nasal failures when
processing certain kinds of FlightPlan leg, such as discontinuities
and skipped legs.
2019-06-24 16:39:51 +01:00
Stuart Buchanan
cea9d242dd Fix c172p warning messages
Manual merge of cf5dd13f83
2019-06-21 14:54:06 +01:00
Stuart Buchanan
b079fffa13 Updated c172p with 8.33kHz radio stack
https://github.com/c172p-team/c172p/commits/release/2019.1

184e0083293de474c7944b34b8ac71c5e12380fc
2019-06-18 21:31:13 +01:00
Richard Harrison
7c914b4ade Added default settings for new Nasal background GC.
* /sim/nasal-gc-threaded (true) - use background threaded GC
* /sim/nasal-gc-threaded-wait (false) - at the start of the frame wait for the previous GC thread to complete.
2019-06-11 14:41:13 +02:00
Richard Harrison
88ff80737f Tanker compatibility for models with unspecified refuel offsets.
Ensure that the offset properties are created and fix a nilptr reference
2019-06-11 14:41:12 +02:00
Richard Harrison
a3a1ae01c8 Emesary: added optional overrun detection
- This will alert if any individual notifcation takes more than a certain amount of time to process.

Works well with the Emesary M_exec to identify where the slow parts of Nasal are.
2019-06-11 14:41:10 +02:00
Richard Harrison
38ffb88511 Fix lost button due to incorrect row for thrust reverser 2019-06-11 14:41:09 +02:00
Stuart Buchanan
5b9d5a3f79 Make Terrain the last scenery-path-suffix - future-proofing 2019-06-07 14:54:01 +01:00
Stuart Buchanan
f5d967dbb3 Update README.materials to cover regions. 2019-06-07 13:49:02 +01:00
James Turner
a0b4a0650c CDU hacking 2019-06-05 22:46:37 +01:00
Thorsten Renk
7ce5cd0267 Tentative improvements to semi-analytical model for orbital targets 2019-05-28 12:21:41 +03:00
James Turner
5ffcc3f2cc Updated default location to BIKF 2019-05-24 11:43:13 +01:00
James Turner
217417373b Merge /u/ltoenning/fgdata/ branch swift_connection into next
https://sourceforge.net/p/flightgear/fgdata/merge-requests/136/
2019-05-22 13:35:53 +00:00
Thorsten Renk
f23b74904b AW provides option to set a localized turbulence field around active volcano 2019-05-20 10:13:55 +03:00
Thorsten Renk
33e1404c51 Katla and Eyjafjallajokull volcano definitions 2019-05-20 10:07:46 +03:00
Thorsten Renk
2622ae8222 Overlay effect definitions for Iceland regional texturing 2019-05-20 09:58:45 +03:00
Stuart Buchanan
0bb7e30ce1 2019.1 C172p
From https://github.com/c172p-team/c172p/releases/tag/version%2F2019.1

Thanks to Gilberto AGOSTINHO and team.
2019-05-15 19:14:04 +01:00
portree_kid
af6ceb362f HBR Traffic typo corrected 2019-05-14 09:23:34 +02:00
Yves Tolosa-Joas
00b98d979d Air Dolomiti Traffic by Marcin 2019-05-13 11:43:05 +01:00
Yves Tolosa-Joas
3111f35260 New E95 Liveries Lufthansa Group 2019-05-13 11:43:05 +01:00
Yves Tolosa-Joas
6a21c4f21a Livery update to New Design & Colors for Lufthansa AI Fleet 2019-05-13 11:43:05 +01:00
Henning Stahlke
6f4e7d91af canvas/api.nas add getSize() method 2019-05-05 23:19:37 +02:00
Henning Stahlke
406aa96ecf props.nas add createNodeObjectsFromHash() 2019-05-05 20:00:44 +02:00
Keith Paterson
945dc6bf30 Fixed TypeError: L.aiLayer is not a function error in Phi 2019-05-04 18:06:18 +02:00
Yves Tolosa-Joas
eba08fa10c Remove obsolete folder see E95 2019-05-02 11:45:52 +01:00
Yves Tolosa-Joas
2fe94a71a6 Updated path to ERJ 195 fallback model 2019-05-02 11:45:15 +01:00
Yves Tolosa-Joas
8bb53a8ca6 Remove obsolete folder 2019-05-02 11:45:15 +01:00
Richard Harrison
ac2644879f Added missing developer HUD 2019-05-01 14:27:01 +02:00