1
0
Fork 0
Commit graph

692 commits

Author SHA1 Message Date
Thorsten Renk
3c1ee0527b Shader updates 2012-10-06 21:13:50 +01:00
Thorsten Renk
397fdf1cc4 Weather bugfixes and additional scenarios 2012-10-06 21:13:19 +01:00
Alexis
bc4371bcd4 view.ScreenWidthCompens() : optional FOV compensation for wider screens.
It keeps an equivalent of 55° FOV on a 4:3 zone centered on the screen
whichever is the screen width/height ratio. Works only if width >= height.
2012-10-04 22:15:52 +02:00
Hooray
e510c8917f Canvas Scripting Layer (Mapping):
- first stab at refactoring the map.nas module, and trying to let the API evolve according to our requirements
- split up the module into separate files (some of them will disappear soon)
- split up the "drawing" loops into separate functions so that they can be individually called
- move actual "drawing" to map_layers.nas
- introduce some OOP helpers to prepare a pure Layer-based design
- prepare helpers: LayeredMap, GenericMap, AirportMap (TODO: use a real "Layer" class)
- move airport features (taxiways, runways, parking, tower) to separate layers (i.e. canvas groups)
- avoid using a single update callback and use different layer-specific callbacks to update individual layers more efficiently
- add some boilerplate hashes to prepare the MVC design
- allow lazy updating of layers, where canvas groups are only populated on demand, to save some time during instantiation, i.e. loading an airport without "parking" selected, will only populate the layer once the checkbox is checked
- extend the original code such that it supports showing multiple airports at once
- add some proof of concept "navaid" layer using SVG files for navaid symbols (added only NDB symbol from wikimedia commons)

regressions:
- runway highlighting needs to be re-implemented
- parking highlighting will be done differently
- enforcing a specific drawing order for layers is currently not explicitly supported, so that taxiways may be rendered on top of runways

Also:

- integrated with the latest changes in git/master (HEAD) -i.e. metar support
- further generalized map.nas
- partially moved instantiation from Nasal space to XML space (WIP)
- create "toggle layer" checkboxes procedurally in Nasal space
- prepared the code to be better reusable in other dialogs (e.g. route manager, map dialog etc)
- completely removed the "highlighting" (runway/parking) feature for now, because we talked about re-implementing it anyhow
2012-09-29 21:16:31 +01:00
James Turner
2d202a4e7d Part of bug 885
When clearing the waypoints, explicitly deactivate the route.
2012-09-26 22:45:14 +01:00
Stuart Buchanan
a8165a82e8 Updates to airport dialog.
- Retrieve METAR
- Include search of airports within 100nm.
2012-09-23 22:45:50 +01:00
ThorstenB
ecbce19b47 Sound: trigger subsystem reinit instead of relying on property listener.
Disable sound dialog when sound system is globally disabled (command-line/
compile-time).
2012-09-21 21:11:57 +01:00
Stuart Buchanan
69f8a3bb31 Minor updates to airports dialog
- Change timer to listener for zoom level.
- Correct course information so it is the course TO the selected airport
- Default to the closest airport, rather than the preset.
2012-09-20 21:51:23 +01:00
Thomas Geymayer
804b0396a4 Documentation browser dialog (for files in /Docs - Thanks to Hooray) 2012-09-20 00:04:11 +02:00
Stuart Buchanan
60e6be0e0f Improved maps display and Airports dialog
- Display taxiways
- Display different surface types
- control over components (taxiways, parking positions, towers) displayed
- include distance and course to airport.
2012-09-19 22:35:56 +01:00
Stuart Buchanan
9281025930 Clean up Environment Setting dialog. 2012-09-19 10:22:30 +01:00
Thomas Geymayer
9004040063 Remove data of previous airport in Select Airport dialog 2012-09-18 23:38:53 +02:00
Stuart Buchanan
d214a6fcf8 Add highlighting of selected runway/parking position. Move tower definition and placement to map.nas. 2012-09-18 19:28:56 +01:00
Stuart Buchanan
692f1be621 Add additional information to the About dialog to help diagnostics, including the ability to copy/past key data. 2012-09-18 15:48:50 +01:00
Thomas Geymayer
d775c221b7 Move map helpers to canvas Nasal module 2012-09-18 13:19:26 +02:00
Stuart Buchanan
602ae34af4 Add support for a Aircraft Checklists GUI item. 2012-09-18 11:29:17 +01:00
Thomas Geymayer
a870d8c4a3 Clean up Select Airport dialog a bit to make use of recent Canvas API improvements 2012-09-18 00:32:54 +02:00
Stuart Buchanan
f3ac93b1ef Updated Select Airport dialog, making the location-on-ground dialog redundant and adding a Canvas map to show the selected airport. 2012-09-17 20:17:52 +01:00
Thomas Geymayer
29b86a69f2 Copy/Paste for the Nasal Console.
- Support for copying the and pasting from/to the Nasal Console
   dialog using the new clipboard class (Thanks to Hooray).
2012-09-13 00:32:51 +02:00
Stuart Buchanan
d836ea78f1 Menu bar changes to expose Joystick Configuration dialog, and minor
typo in button config fix.
2012-09-03 22:22:09 +01:00
ThorstenB
bb17591cf0 Disable terrasync when libsvn support is missing.
External svn has too many disadvantages (does not support proper error
checking/status information etc)
2012-08-28 00:21:50 +02:00
Stuart Buchanan
7a3d5dd0bf Updates to the Joystick Configuration dialog. 2012-08-26 21:48:53 +01:00
Stuart Buchanan
4a70a703a8 Add Joystick Configuration dialog, allowing in-sim configuration of joysticks. 2012-08-24 22:53:21 +01:00
Gijs de Rooy
b950ff1e6e Fix automated METAR snow line. 2012-08-11 19:56:29 +02:00
Stuart Buchanan
4ec24853a8 Create an Environment Settings dialog for non-weather environment settings
such as snow level, dust, wetness, and texture set.

Also add a parameter to control whether the snow level moves with METAR,
and retire /environment/mysnow-level-m.
2012-08-09 22:52:51 +01:00
Stuart Buchanan
c71e0b92f1 Add warning text for random buildings, which require lots of memory. 2012-08-09 21:48:27 +01:00
Stuart Buchanan
0a40f0be0f Updated Weather dialog
- Bug fix so manual configuration works properly
- Interpret METAR directly to set default wind settings for Local Weather mode.
2012-08-09 21:38:36 +01:00
Stuart Buchanan
89928f8350 Add missing weather configuration dialog from Unified Weather commit. 2012-08-07 23:14:43 +01:00
Stuart Buchanan
ed068bef82 Unification of Weather UI. 2012-08-07 21:27:29 +01:00
Thorsten Renk
9be134b34d Procedural Texturing 2012-08-07 09:01:14 +02:00
Frederic Bouvier
c3bcb8a6de Add film wear to the cinema postprocessing effects 2012-08-05 18:51:02 +02:00
Frederic Bouvier
fab3d677b0 Night vision has precedence over cinema effects 2012-08-05 11:57:48 +02:00
Frederic Bouvier
714555e74b Add lateral chromatic aberration (purple/green fringe) to the cinema postprocessing effects (Rembrandt) 2012-08-05 11:43:56 +02:00
Frederic Bouvier
9010535292 Add radial lens distortion to the cinema postprocessing effects (Rembrandt) 2012-08-05 10:43:53 +02:00
Frederic Bouvier
33634a5ba1 Add slider values to the dialog 2012-08-05 00:08:31 +01:00
Frederic Bouvier
5627a4e8f8 Cinema effects in the Rembrandt framework 2012-08-05 00:08:27 +01:00
Frederic Bouvier
6013f3360e Night vision post processing effect in Rembrandt 2012-08-05 00:08:23 +01:00
Thomas Geymayer
9cd2d64f28 Update ground location dialog to use new parking hash 2012-07-31 23:22:27 +02:00
Frederic Bouvier
e911e6b5f8 Add quality selection to lights 2012-07-22 10:08:04 +02:00
Vivian Meazza
24e7e5fb68 Whoops!
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2012-07-21 09:34:00 +01:00
Vivian Meazza
d8a76e4512 Merge branch 'work' of D:\Git_New\fgdata 2012-07-21 00:16:51 +01:00
Stuart Buchanan
2ddf719a82 Add debug options to reload materials and the scenery. 2012-07-19 22:07:19 +01:00
Stuart Buchanan
e91620a456 Remove building density slider. Values > 1.0 have massive memory
impacts and can result in FG paging to disk continually and hanging
some systems, with no obvious cause or fix (particularly with auto-save).

For the moment we simply remove the slider, allowing power users to
modify the density in preferences.xml.

Once the memory consumption of buildings has been addressed we should
be able to put the slide back in.
2012-07-19 21:36:06 +01:00
Vivian Meazza
6bceb5695a Revert "Bugfix"
This reverts commit 62a39ccea745faf722e2c50ef257d17b66015fc1.

Conflicts:

	gui/dialogs/AIcarrier.xml
2012-07-19 09:45:39 +01:00
ThorstenB
e3be4443f6 Fix untranslatable "reload aircraft model" item.
Thanks to sa7k.
2012-07-13 19:36:30 +02:00
Stuart Buchanan
efe0ba3bd5 Improve layout of season selector. 2012-07-12 12:13:48 +01:00
ThorstenB
ce36295c4a #544: slider to control AI sound volume missing
(not a bugfix really, but just too trivial).
2012-07-07 17:26:05 +02:00
Stuart Buchanan
680362337c Add control of season to GUI to be set in-sim. 2012-07-06 20:11:51 +01:00
ThorstenB
e6ec1218ba Fix ai-traffic GUI checkbox
Setting was lost on sim-reset and restart
/sim/ai-traffic props are entirely obsolete (to be removed after 2.8)
2012-07-05 19:37:43 +02:00
Vivian Meazza
e84ff39ee8 Remove debug messages
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2012-07-04 20:57:18 +01:00