1
0
Fork 0
Commit graph

6259 commits

Author SHA1 Message Date
Stuart Buchanan
65dbc4cc0b Remove hardcoded maximum snow level. Now configured via Environment Settings. 2012-10-05 22:13:24 +01:00
Stuart Buchanan
8f692c78d9 Document new materials.xml elements controlling tree and object
distribution depending on slope angle.
2012-10-05 22:00:51 +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
Alexis
08cac34235 Merge branch 'work' 2012-10-04 21:14:52 +02:00
Hyde Yamakawa
f8ed1a8701 Merge gitorious.org:fg/fgdata 2012-10-02 14:28:13 -04:00
Alexis
785c59d721 Merge branch 'work' 2012-10-01 19:02:02 +02:00
Gijs de Rooy
9f1116d4b9 Issue #890: Add another Logitech Attack 3 name, as reported by koubiwan. 2012-09-30 20:15:45 +02:00
Stuart Buchanan
3656ff92c6 Fix bug where last axis of the joystick was written out with the original bindings of all buttons. 2012-09-29 21:24:12 +01: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
Thomas Geymayer
42f21680a2 Rename Environment MetarControllers to prevent duplicate names 2012-09-26 18:49:32 +02:00
Stuart Buchanan
5fbf85f881 Use multi-sampling where available to improve tree rendering. 2012-09-25 22:52:28 +01:00
Thomas Geymayer
5650e97397 Canvas: Bounding box may not exist 2012-09-25 22:20:39 +02: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
04618e2a3e c172p: translatable custom menu 2012-09-21 23:59:27 +02:00
ThorstenB
f3e773d823 Add translations for some common custom menu entries. 2012-09-21 23:59:06 +02:00
Vivian Meazza
97c9ea1aee Merge branch 'master' of gitorious.org:fg/fgdata 2012-09-21 21:12:50 +01:00
ThorstenB
12aadbc99c Add language resources for fgfs system messages. 2012-09-21 21:12:02 +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
ThorstenB
bbbccd08da Add language resources for fgfs system messages. 2012-09-21 17:46:38 +02:00
ThorstenB
25a64e0bb1 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 15:38:56 +02: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
Vivian Meazza
60efb06329 Merge branch 'master' of D:\Git_New\fgdata 2012-09-19 23:13:28 +01:00
Vivian Meazza
29db1ba8ca Merge branch 'master' of gitorious.org:fg/fgdata 2012-09-19 23:08:44 +01:00
Thomas Geymayer
804b0396a4 Documentation browser dialog (for files in /Docs - Thanks to Hooray) 2012-09-20 00:04:11 +02:00
Vivian Meazza
b9e50d3c13 Merge branch 'work' of D:\Git_New\fgdata 2012-09-19 22:54:20 +01: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
Vivian Meazza
65fb544288 Merge branch 'master' of D:\Git_New\fgdata 2012-09-19 20:54:15 +01:00
Vivian Meazza
efa6ff3979 Merge branch 'master' of gitorious.org:fg/fgdata into work 2012-09-19 20:53:53 +01:00
Vivian Meazza
f885987f93 Merge branch 'work' of D:\Git_New\fgdata 2012-09-19 20:50:55 +01:00
Vivian Meazza
500a838e30 Merge branch 'master' of gitorious.org:fg/fgdata into work 2012-09-19 20:32:59 +01:00
Stuart Buchanan
9281025930 Clean up Environment Setting dialog. 2012-09-19 10:22:30 +01:00
Stuart Buchanan
0ec46ba4a7 Add thrust reverser, prop beta and mixture cut-off to throttle quadrant. 2012-09-19 10:20:48 +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
Stuart Buchanan
0fe2007cb5 Check in c172 checklists - missing from previous commit. 2012-09-18 14:08:53 +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
Vivian Meazza
ade5dce37a Merge branch 'master' of D:\Git_New\fgdata 2012-09-18 08:52:41 +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
86344dfe57 Canvas: Add method to retrieve all child elements of a group. 2012-09-17 18:16:30 +02:00
Vivian Meazza
d5f18c2ea0 Merge branch 'master' of D:\Git_New\fgdata 2012-09-17 09:57:36 +01:00
Vivian Meazza
dfd0c9db0b Merge branch 'work' of D:\Git_New\fgdata 2012-09-17 09:55:33 +01:00
Vivian Meazza
2023f622a4 Merge branch 'master' of gitorious.org:fg/fgdata into work 2012-09-16 22:47:01 +01:00
Vivian Meazza
59e5c1c7f6 Merge branch 'work' of D:\Git_New\fgdata 2012-09-16 22:30:38 +01:00
ThorstenB
ebcfc739bd c172p: fix electrical system
Most control switches used with mismatching names.
Make effects depend on electric power, not just switch state.
Calculate some (more) meaningful electric load.
2012-09-16 23:19:36 +02:00
ThorstenB
cb9b7beb96 777: minor sound tweak 2012-09-16 14:03:37 +02:00
ThorstenB
fad306d364 #877: MP chat sometimes not working 2012-09-16 14:00:40 +02:00