Stuart Buchanan
8d32e19c63
Fix for isue 834 - fuel and payload gui broken for jsb aircraft
2012-08-10 22:25:20 +01:00
Thomas Geymayer
a129877eb8
Canvas: Add function to API for getting canvas path
2012-08-09 22:08:44 +02:00
Thomas Geymayer
c785b1bd1c
Canvas: Extend Image element and adapt for latest core changes.
2012-08-09 18:18:07 +02:00
James Turner
5862ada5f0
Add Image to Canvas API
2012-08-06 10:27:25 +01:00
Thomas Geymayer
7e641735cb
Canvas: Improve API and SVG parser.
...
- API:
* Rename setSize to setFontSize
* Add method getElementById to Group
* Rename name of element to id to show more prominent
that it should be unique.
* Add methods for hide/show elements.
* Fix: set correct id for cloned elements (parsesvg)
* Fix: retrieving group with getElementById failed.
* Parse SVG inkscape:transform-center-[xy]
* Allow rotation around given point (use values from inkscape
by default for SVG files)
* Use breadth-first search instead of depth-first search for
Element::getElementById (large speedup :))
* Add more convenience functions for path drawing.
* Add version check (useful if API files manually copied)
- SVG:
* Support <use> element
* Parse font-size
* Parse stroke-linecap
2012-08-02 01:40:00 +02:00
Thomas Geymayer
2e3aa2673b
Canvas: Update API to new geo coords and add map element
2012-08-02 01:40:00 +02:00
Thomas Geymayer
007e9bc33a
Canvas: Add a basic SVG parser.
...
- Add basic std::string implementation to a Nasal submodule named
std.
- Add basic SVG parser parsing its results into a canvas group
element.
2012-08-02 01:39:59 +02:00
Thomas Geymayer
07cb9e7df0
Canvas: Add Nasal API for using the Canvas.
2012-08-02 01:39:59 +02:00
Stuart Buchanan
f1adeec7cc
Enhancements to the Fuel and Payload dialog
...
- Fraction of each tank capacity displayed, along with pounds and gallons
- Total fuel is now displayed
- CofG displayed if available even if /limits/ not defined (bug fix)
- Tanks of capacity 0 ignored (bug fix)
- Some layout improvements.
Addresses issue #778
2012-07-29 22:44:14 +01:00
ThorstenB
121790f337
Make restore-defaults option also apply to aircraft-specific data
2012-07-15 11:07:23 +02:00
Stuart Buchanan
bd4e8764de
Correct waiting period for exit statements without conditions,
...
update tutorial README with <wait> tag.
2012-07-14 20:27:31 +01:00
Stuart Buchanan
359a8ce414
Fix exit-time, step-time tags, and make the <wait> tag only apply to the
...
first iteration of any step. Fix for issue #417
2012-07-14 20:20:21 +01:00
Ryan M
f5c1fbd167
Animated jetways : Fix infinite spawn glitch; Replace various for() loops with foreach() loops
2012-07-10 21:52:37 +02:00
ThorstenB
9856fdd452
#748 : keyboard bindings in control.nas must not rely on autopilot
...
Throttle/aileron/elevator keyboard bindings did not work on aircraft
without autopilots (= without A/P properties). Rearrange logic to make
basic axis/throttle control the default (i.e. when prop values are "nil").
2012-07-01 00:24:23 +02:00
Emilian Huminiuc
4587dc8bc5
gui.nas: make sure enabling Rembrandt disables the skydome-scattering shaders
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-06-28 01:37:31 +03:00
Markus Pargmann
b67a848bfc
pilot list direct chat button
...
This is a new button in the pilot list, left of the callsign. It's
binded to multiplayer.compose_message("<CALLSIGN>, ");
Signed-off-by: Anders Gidenstam <anders@gidenstam.org>
2012-06-16 18:38:45 +02:00
Markus Pargmann
fe68411d37
Custom message highlighting
...
By setting the property /sim/multiplay/chat_highlight . Especially
useful to highlight messages directed to ATCs.
2012-06-15 14:30:02 +01:00
Markus Pargmann
0920d46cac
use lowercase
2012-06-15 14:29:52 +01:00
Markus Pargmann
b188fdf017
chat callsign highlighting
2012-06-15 14:29:33 +01:00
Anders Gidenstam
3bcfe8296c
Nasal/globals.nas: Added a missing var-keyword.
2012-06-12 22:35:37 +02:00
Anders Gidenstam
e3e0defac9
Nasal/screen.nas: Added a missing 'me.'.
2012-06-12 22:34:33 +02:00
Stuart Buchanan
12595310e0
Correct use of getprop() so that --enable-real-weather-fetch works.
...
Fixes issue 789 on the FG bugtracker.
2012-06-12 11:09:50 +01:00
Flightgear Development
4df011cd63
Advanced Weather v1.5
2012-06-11 20:23:33 +02:00
Frederic Bouvier
be6c2e3fc6
Disable stereoscopic options in Rembrandt
2012-06-03 16:19:10 +02:00
Vivian Meazza
ce77e04690
Revert "add Model movement"
...
This reverts commit 7b8be5146ed2225828525a51a6167232a33e16b0.
Too soon!
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2012-05-28 10:59:35 +01:00
Vivian Meazza
ee9fef9472
add Model movement
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2012-05-27 22:08:34 +01:00
Anders Gidenstam
24d9e19cd8
Nasal/string.nas: Corrected a misspelled variable name.
2012-05-20 22:50:59 +02:00
Frederic Bouvier
eea2f89080
Fix menubar
2012-05-18 12:53:33 +02:00
James Turner
898b3769d3
Add default FlightPlan delegate for the route-manager.
2012-05-15 17:51:48 +01:00
Frederic Bouvier
1a5cc682a9
Add condition on ambient occlusion and a menu item to switch it on and off if the stage is enabled in the pipeline
2012-05-12 09:20:13 +02:00
ThorstenB
5057b49ed9
#669 : fix fly-by-view when aircraft skips position
...
Reposition when view position is too far away, i.e. due to replay,
relocation etc.
2012-05-03 00:00:56 +02:00
Flightgear Development
2b972341b3
Terrain Haze v1.3
2012-04-26 17:22:58 +03:00
James Turner
4c047c235f
Change geo.nas to use native helpers for bucket path/index
2012-04-26 00:01:47 +01:00
ThorstenB
ed0d58cd75
#705 : add sanity checks to fuel tank update
...
Just ignore incomplete tanks (without essential properties like "level_lbs")
and avoid Nasal run-time errors.
2012-04-22 15:19:20 +02:00
ThorstenB
278a7db2bf
Add missing name tags to menu items.
...
Also enable rendering buffer option for Rembrandt only.
2012-04-18 16:00:38 +02:00
ThorstenB
1867df11ce
performance monitor: improve layout
...
also change default measurement interval to 1 second
2012-04-09 00:00:13 +02:00
ThorstenB
ed5692f411
props.nas: allow "getBoolValue" to work with properties of UNSPECIFIED type.
2012-04-08 23:02:36 +02:00
ThorstenB
e57b96e448
performance monitor: show more details
2012-04-05 21:18:47 +02:00
Gijs de Rooy
f15b01df8e
Disable skydome shader when quality-level=0 via commandline.
2012-04-04 18:40:00 +02:00
ThorstenB
6651e5abcd
Fixed typo.
2012-04-01 21:07:58 +02:00
ThorstenB
a79a91a2aa
aircraft.nas: performance optimization
...
listeners at sim/rendering/precipitation-aircraft-enable triggered
excessively (every loop)
2012-04-01 13:06:40 +02:00
ThorstenB
cd10e3edd7
Fixed aircraft.teleport when parkpos is set.
...
/sim/presets/parkpos needs to be empty, otherwise runway position is
ignored.
2012-04-01 13:06:39 +02:00
ThorstenB
f3a3b9f45f
Use correct initializer signal.
2012-03-25 10:14:37 +02:00
ThorstenB
b62c1c01b7
Avoid duplication of "findElementByName" function.
...
Now moved to common gui.nas.
2012-03-24 12:45:58 +01:00
ThorstenB
ac132a2ce5
Remove property listener when deleting dialog.
2012-03-24 10:45:42 +01:00
Anders Gidenstam
6e5b38aebf
Nasal/props.nas: Added missing var keywords.
2012-03-23 22:29:35 +01:00
Anders Gidenstam
aef778a99b
Nasal/aircraft.nas: Added missing var keywords.
2012-03-23 22:27:02 +01:00
Anders Gidenstam
b024c81233
Nasal/gui.nas: Added missing var-keywords.
2012-03-23 22:25:31 +01:00
ThorstenB
e282a1e6ed
fgdata/Nasal: avoid performance drop after sim reset/relocate
...
"/sim/signals/fdm-initialized" triggers _every_ time the FDM is reset,
so for every sim reset/relocate.
We need to uninstall the listeners after its first execution, or guard
certain parts of the initialization, to avoid starting multiple
"timer/update loops", or installing multiple property listeners.
Repeating "sim reset" often enough would eventually completely block/
overload the system.
2012-03-20 21:18:20 +01:00
ThorstenB
f03eedab48
#708 : reset engine list on FDM reset
...
Need to clear the engine list before appending a new set of engines.
Engine list was growing on every FDM reset, causing weird control effects
after (multiple) sim resets.
2012-03-15 20:23:45 +01:00
Torsten Dreyer
abce54aa2a
backward compatibility for /sim/auto-coordination
...
please see fg commit 5caa42af8ec6a8971aef37777640dbe449eda5cf
2012-03-13 21:07:39 +01:00
Gijs de Rooy
8e863bbd28
Allow shaders to be disabled/set through a commandline option.
...
Use --prop:/sim/rendering/shaders/quality-level=-1 to enable the custom
settings in the Shader Options dialog.
Apart from that the quality-level property will work as before (0 disables
all shaders, 5 puts all shaders to max.
2012-03-10 17:09:23 +01:00
Frederic Bouvier
ebc1002139
Sunrises 1.2 by Thorsten Renk
2012-03-08 23:22:27 +01:00
ThorstenB
1d222c06a8
#683 Nasal error with mibs/video assistant
2012-02-25 15:43:20 +01:00
Stuart Buchanan
4981aeb6f3
Remove redundant menu enable/disable for local_weather_tiles menu item.
2012-01-22 20:04:40 +00:00
ThorstenB
06f910c0f6
#611 : write-message-log nasal error
...
Also fix issues when disconnecting/reconnecting MP at run-time.
2012-01-22 12:42:57 +01:00
Gijs de Rooy
3200e957f8
Hide load and save options from help menu, as they are broken/disabled.
2012-01-19 22:02:09 +01:00
Torsten Dreyer
edbff6bd34
Refactor weather-utility.nas
...
A bug in weather-utility.nas caused constant computation
of wave parameters due to the fact that the wind speed
was ignored.
That code was ugly anyway, so it has been replaced by
property rules which don't create work for the nasal
garbage collector.
All required properties for the wave shader are now in
interpolator.xml, the snow-line computation lives in
metarinterpolator.xml
2012-01-19 00:05:48 +01:00
Stuart Buchanan
9973a8a417
Fixes to local weather requested by Thorsten RENK.
2012-01-13 14:50:36 +00:00
ThorstenB
a195da8676
Stop message loop when disconnecting MP server
...
Also update status of menu items.
2012-01-07 16:17:02 +01:00
ThorstenB
e3fabacfc5
#558 : weather utility, performance drop on sim reset
...
Do not install another set of listeners on _every_ sim reset.
Also improve performance by removing a listener for a property which is
written in _every_ loop anyway (don't waste another Nasal context).
(Do we really need a _Nasal_ loop running at full speed just to convert
a bunch of properties? It increases the load on the Nasal GC and
is unconditionally active, even if all shaders are disabled etc).
2012-01-07 09:23:26 +01:00
Frederic Bouvier
dfea2249b5
Correct fix for Local Weather 1.4
2012-01-05 09:47:26 +01:00
Stuart Buchanan
0d9d60eca7
Fix MP chat to work when MP not enabled from the command line.
2012-01-04 22:54:21 +00:00
Stuart Buchanan
34eb640a76
Further updates to the Multiplayer Settings dialog
...
- Now enabled even when no MP settings configured on command-line
- Add Server Status button to launch the MP Server status URL
- Minor layout cleanup.
2012-01-04 21:53:25 +00:00
Frederic Bouvier
56afb80358
Local Weather 1.4 by Thorsten Renk : fixes lots of graphical errors and transparency issues and provides a consistent GUI.
2012-01-03 20:21:34 +01:00
Stuart Buchanan
3fb129923c
Fix for issue 526 - Not possible to restart YASim aircraft after fuel starvation
2011-12-28 09:09:28 +00:00
James Turner
4bb602c2f1
fgdata changes for HUD cycling
2011-12-11 18:07:54 +00:00
Gijs de Rooy
bbb3f9682e
Issue #429 : help dialog and keyboard.xml descriptions now match the key-bindings.
2011-12-07 16:47:42 +01:00
Gijs de Rooy
f852529e56
Adjust snow line based on METAR. Snow level is only adjusted when METAR reports snow below the user set altitude.
2011-12-06 20:39:05 +01:00
Vivian Meazza
b0f871a1e4
Add vars
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-02 21:09:20 +00:00
Vivian Meazza
022c0fe433
Used to "untie" properties used by shaders
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-01 22:31:26 +00:00
ThorstenB
32c204fe00
Add system performance dialog.
2011-11-19 15:56:44 +01:00
Anders Gidenstam
d699b3fea1
mp_broadcast,scenery: Improved consistency for the shared state.
2011-10-07 23:49:11 +02:00
Anders Gidenstam
52b3ab04c3
Added support for sharing scenery events (e.g. opening hangar doors) over MP.
...
Set the property /scenery/share-events to true to enabled the feature.
2011-10-05 21:57:51 +02:00
ThorstenB
5acd6d4c04
Improve keyboard control for replay system.
...
Keys should also work when dialog is hidden (but replay is active).
2011-10-03 20:27:19 +02:00
ThorstenB
5392614331
Don't crash when tank property doesn't (yet) exist.
2011-09-25 16:21:10 +02:00
Frederic Bouvier
a2b26f8d59
Local Weather 1.36 by Thorsten Renk
2011-09-23 23:25:15 +02:00
Frederic Bouvier
928789a0d5
Local Weather 1.35 by Thorsten Renk
2011-09-23 23:22:19 +02:00
ThorstenB
9195b36005
#441 : overlay dialog must be reinitialized after reloading GUI
2011-09-18 12:36:40 +02:00
Mathias Froehlich
558c321f94
Fix problem with the A320 family not starting up correctly.
2011-09-08 19:34:15 +02:00
ThorstenB
1a9a589452
Add documentation and more config options to tyre-smoke effect.
...
Make vspeed/diff_norm configurable. Allow effect to be independent of
vspeed, so it works for all gear (after main gear touch down, vspeed is 0,
so smoke effects for nose-gear usually wouldn't work).
2011-09-04 19:16:39 +02:00
ThorstenB
8421d75cb9
Fix low-pass filter and adapt to speed-up factor.
...
Low-pass filter should not use real-time, but simulation time to filter
effects. Obey speed-up factor.
2011-09-04 19:16:38 +02:00
ThorstenB
2a66a01fed
Apply defaults to each tutorial separately
...
Configured step/exit intervals configured for one tutorial affected all
following tutorials.
2011-08-28 10:08:15 +02:00
ThorstenB
fb984bf8ce
Option to set screenshot directory.
2011-08-21 15:17:16 +02:00
ThorstenB
8e7d7012ce
Directory dialog
...
New directory dialog - just an option for the existing file dialog really.
2011-08-21 15:00:45 +02:00
Torsten Dreyer
7937b78c80
Adjust local weather updraft property name
2011-08-03 14:31:32 +02:00
Martin Spott
d13214ebe9
Revert "Add minor pathname correction."
...
This reverts commit edd708b075b35ef549bf919b689f9a0d58b0f25a.
2011-07-16 15:39:41 +02:00
Martin Spott
0ca0ee6ad2
Add minor pathname correction.
2011-07-16 00:02:25 +02:00
Martin Spott
9a71b2d234
Merge commit 'refs/merge-requests/107' of git://gitorious.org/fg/fgdata
2011-07-15 23:56:03 +02:00
Torsten Dreyer
2abec7404a
Remove i/I keybindings
...
Removing the currently unused keybindings for [Shift]I used
for cycling of HUD types. Also remove this from the help
dialog.
May be re-added for the next release, but currently there is
no HUD-type cycling implemented.
2011-07-12 23:24:32 +02:00
ThorstenB
0ece95127c
Thorsten Renk: local weather 1.18
...
fixes for a couple of issues, some improved textures/cloud model changes,
smooth instead of hard visibility transitions, updated documentation.
Also removed 'Test' entries from the menu.
(ThorstenB: Also cleaned-up Docs/ folder, moving local weather
documentation images to sub folder).
2011-07-03 23:39:01 +02:00
ThorstenB
a0256e47ed
Fixed parentheses when checking conditional view-name property.
...
Avoids stepping through invalid views.
2011-07-03 16:06:14 +02:00
ThorstenB
9c55acfb46
#351 : fix listener sequence for local weather
...
Module relied on one listener to be called before the other.
Join listeners to avoid dependencies.
2011-06-25 20:08:39 +02:00
Ryan Miller
0685d0127d
Animated jetways: Fix shift-click in the jetway editor not setting _edit to false on the current jetway
2011-06-23 17:35:35 -04:00
Ryan Miller
8254ae53bd
Animated jetways: Change editor STG function to use new Models/Airport/Jetway directory
2011-06-22 12:12:43 -04:00
Ryan Miller
b030c2239d
Animated jetways: Small fix for the editor not converting STG jetways correctly
2011-06-22 12:10:03 -04:00
Martin Spott
1f64676296
Ryan Miller: Get rid of no-op jetway XML files.
2011-06-18 01:33:57 +02:00
Ryan Miller
2cb19bc34e
(Animated jetways) Fix nil velocities in AI aircraft crashing the whole thing (previous commit fixed MP aircraft, not AI)
2011-06-16 14:46:29 -07:00
Ryan Miller
a6acba8a87
(Animated jetways) Move AI and MP connecting code to load loop, increase load loop frequency to 10 seconds, fix nil velocities in AI aircraft crashing the whole thing
2011-06-16 14:45:39 -07:00
Ryan Miller
3a5b53c0e3
(Animated jetways) Updated core files and jetway definition files to use relative elevations, moved menubar item to AI/ menu, "enabled" and "debug" settings are now saved over multiple sessions, core files are now part of a Nasal subsystem, use airline-specific model files, put less load on the loop by using an _active property for each jetway object
2011-06-15 20:52:45 -07:00