ThorstenB
ab1d790d3b
Rendering cache / ATC-chatter fix.
2011-04-03 18:19:03 +02:00
ThorstenB
ec43493e91
Use local Nasal vars. Run ATC chatter handler when feature enabled only.
2011-04-02 11:48:39 +02:00
ThorstenB
2f00f31935
Make sure only one g-force/redout handler instance is running
...
Enabling redout/compression separately started two handlers - instead of one.
2011-04-02 11:46:04 +02:00
ThorstenB
1f1c752316
Improve multiplayer chat, stop sending expired messages.
...
Only transmit messages for a few seconds instead of forever.
Also remove two obsolete variables.
2011-04-02 11:41:32 +02:00
ThorstenB
346b47cd5a
Don't create properties for ghost tanks.
2011-04-02 11:29:40 +02:00
Anders Gidenstam
2f79bdb473
Disable most loops when wildfire is disabled.
2011-04-01 21:21:35 +02:00
ThorstenB
7299d07dab
New option to display frame latency.
...
Better property to evaluate simulation performance than frame rate.
2011-03-28 00:24:32 +02:00
ThorstenB
c26de5ce41
Only run target-tracker-timer when feature is enabled.
2011-03-27 21:02:26 +02:00
ThorstenB
afaaf62e18
Fixed some file modes (not executable).
2011-03-27 21:01:43 +02:00
Frederic Bouvier
65c166c12c
Local Weather 1.0 by Thorsten Renk
2011-03-19 14:03:28 +01:00
Torsten Dreyer
3d3fa8131e
Fix rendering bug: no precipitation
...
Synchronize /sim/rendering/precipitation-enable to
/sim/rendering/precipitation-gui-enable and
/sim/rendering/precipitation-aircraft-enable on startup
2011-03-14 20:51:56 +01:00
Csaba Halasz
2753432b92
Added tyresmoke_system class to aircraft.nas
2011-02-15 15:55:57 +01:00
Torsten Dreyer
5da86c6471
Remove code now performed in TankProperties
2011-02-14 23:13:12 +01:00
Gijs de Rooy
5c4bdb4a1f
Revert adb57b8: screenshot directory dialog
2011-01-22 22:49:25 +01:00
Torsten Dreyer
2cf9732978
Add ctrl-z to the help dialog (reset visibility)
2011-01-19 20:02:53 +01:00
Torsten Dreyer
b43b53c977
Fix bug #253 , at least partially
...
make options
--wind=nnn@mm
--visibility
--visibility-miles
--ceiling
--turbulence
work again. These options now write properties in the
/environment/config/presets
branch. The values will be applied in the property-rules
in FGDATA/Environment/interpolator.xml
Corresponds to commit e86cecf4704a4bdcf43114245d8ac94adb1f1eef
in fg/next
2011-01-19 19:42:40 +01:00
Curtis L. Olson
fa26992660
Merge branch 'master' of gitorious.org:fg/fgdata
2011-01-19 10:27:22 -06:00
Curtis L. Olson
1f4371245b
Address Melchior's concern about view prediction depending on a particular
...
aircraft system, rather than "core" data.
Fix a long standing annoyance (for me anyway) when the fly-by-view is first
instantiated, it never put a point forward very far so the first transtion
came very quickly and abruptly. Improve the forward prediction based on
ground speed and time when the view is reset (or switched to.) I like this
a lot better personally.
2011-01-18 11:47:15 -06:00
Torsten Dreyer
cdb21a52e4
GlobalWeather: (better) support for weather-scenario
...
- handle /environment/weather-scenario property on startup
- try to detect predefined scenario on startup of global
weather dialog box and select the corresponding entry in
the scenario combo box.
2011-01-17 21:05:01 +01:00
Gijs de Rooy
692d9c3717
Add screenshot dialog, to select directory
2011-01-15 22:48:43 +01:00
Curtis L. Olson
d9d6d1ed12
Add a variant of the tanker request function that produces a tanker with
...
a more random (challenging to intercept) starting point and heading.
2011-01-13 16:36:57 -06:00
Frederic Bouvier
3ff6a53bf1
Local weather 0.92 by Thorsten Renk
2011-01-05 13:36:10 +01:00
Stuart Buchanan
467b4eef16
Add function to allow the binding of a menu item to be configured
...
through Nasal using a symbolic name.
Usage:
gui.menuBind("radio", "dialogs.Radio.open()");
2011-01-03 17:28:40 +00:00
Torsten Dreyer
819d7ab811
controls.startEngine: allow selection of engine(s)
2011-01-01 10:35:15 +01:00
Curtis L. Olson
8ed16a4de2
Project "fly-by" vantage point ahead based on ground track direction instead
...
of aircraft body heading. This works better when there is significant
cross wind or side slipping.
2010-12-31 15:31:04 -06:00
Anders Gidenstam
1181987bca
Nasal/IOrules: Allow the wildfire simulation to save its state.
2010-12-30 15:00:50 +01:00
Stuart Buchanan
16b7ffba05
Consistent Close and title bars for Fuel & Payload, Wildfire and Route Manager dialogs.
2010-12-28 19:51:34 +00:00
ThorstenB
adbf344559
MP pilot list: fixed window behaviour and "--fg-aircraft" support.
...
Use new "model-installed" property instead of searching directories
directly - which didn't work with new "--fg-aircraft" dirs.
Also, pilot list now keeps its position. Avoid jumping to top-right
corner when updating.
2010-11-13 17:38:37 +01:00
Torsten Dreyer
b4e885e7fd
Obsolete startup.nas
...
logic from startup.nas is now handled during the initialization
sequence of the idle-loop.
2010-11-10 22:24:51 +01:00
Anders Gidenstam
d373245285
Nasal/controls.nas: Added per-engine axis handlers.
2010-10-30 13:26:55 +02:00
James Turner
c7560f61b4
Switch over to v2 HUD by default, v1 HUD is no longer used.
2010-10-29 00:56:42 +01:00
Frederic Bouvier
758f691a1c
Local Weather version 0.9 by Thorsten Renk
2010-10-26 21:42:36 +02:00
James Turner
0425ec0589
Torsten Brehm: catch NaNs in pilot list gui, and report only once per call-sign.
2010-10-16 17:31:19 +01:00
Torsten Dreyer
e7e8ac84f2
don't use printlog before nasal-dir-initialized
...
Thanks, Anders.
2010-10-13 20:46:31 +02:00
Torsten Dreyer
c6b2df2a6c
use printlog for "init contrail" and downgrade to debug
2010-10-11 21:29:01 +02:00
Torsten Dreyer
6ba8808039
Use printlog for "*** NEW LOCATION ***" and downgrade to info
2010-10-11 21:23:57 +02:00
Anders Gidenstam
66746acbab
Updated mp_broadcast.nas: Added missing var keywords.
2010-10-09 21:17:10 +02:00
Torsten Dreyer
0fcc99d9a3
startup.nas: just check for a valid METAR
...
and don't care if it's from realwx or static input. There is still
a timing issue, probably we should wait for a valid METAR
if realwx is enabled.
2010-10-07 17:59:38 +02:00
Anders Gidenstam
ee5eceb3da
Updated mp_broadcast.nas: Added missing var keyword.
2010-10-03 19:25:36 +02:00
Torsten Dreyer
351114b999
Fix line endings
2010-09-28 08:58:02 +02:00
Stuart Buchanan
7ee83e19df
Modify chat key handler, so excessive backspaces doesn't enable the autopilot.
2010-09-27 21:13:30 +01:00
Torsten Dreyer
5edf6cae9b
reflect recent weather changes in startup.nas
2010-09-26 17:07:24 +02:00
Frederic Bouvier
a0803ad074
Local Weather v0.85 by Thorsten Renk
2010-09-10 08:52:21 +02:00
Anders Gidenstam
c3617a9cd6
Updated Wildfire:
...
- Removed the reference to null.ac in wildfire.xml.
- Rearranged the animation order in the 3d model xml files.
- Fixed materials in the AC3D files.
- Separated 3d model handling from the cellular automaton.
2010-09-04 00:39:51 +02:00
BARANGER Emmanuel
6837a30398
- a small script of Melchior that can be improved (Start from a seaport with a seaplane).
2010-09-02 12:10:29 +02:00
Vivian Meazza
311e44c78c
Merge branch 'master' of \New Git\fgdata
2010-08-29 21:29:37 +01:00
Vivian Meazza
7b1387d521
Add impacts
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-08-29 20:45:03 +01:00
James Turner
8fd716f2ca
Extend IORules system to permit aircraft dirs.
2010-08-16 11:08:24 +01:00
James Turner
83c9e8b157
Change Nasal to use relative not absolute data paths
...
(requires current FG git)
2010-08-15 11:27:15 +01:00
Vivian Meazza
be53f07e7a
Add script to calculate contrail temperature based on an approximation to the "Appleman Chart"
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-08-04 23:22:38 +01:00
Frederic Bouvier
1e9a6c4cdf
Change edge_bias asked by Thorsten ( http://www.flightgear.org/forums/viewtopic.php?f=5&t=7358&p=89159#p89204 )
2010-08-03 19:20:20 +02:00
Frederic Bouvier
4dd0ef9a08
Local weather v0.81 by Thorsten Renk
2010-08-03 08:18:14 +02:00
Anders Gidenstam
229ee23103
Limit the rate a participant can send wildfire ignite events at.
2010-07-09 15:05:51 +02:00
Anders Gidenstam
4711f719ce
Make the mp_broadcast BroadcastChannel honour the ignore list.
2010-07-09 13:39:44 +02:00
Vivian Meazza
74df9856d7
Update
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-07-05 13:25:53 +01:00
Stuart Buchanan
bb9e21f6e6
Revert "Initial check-in of MP groups function"
...
This reverts commit e9113980449fe50eb186a3b2e26bc88dc613d841.
2010-06-27 23:23:56 +01:00
Stuart Buchanan
d593c6a80a
Merge branch 'master' of gitorious.org:fg/fgdata
2010-06-18 21:14:42 +01:00
Stuart Buchanan
fee08cca57
Initial check-in of MP groups function
2010-06-18 21:13:47 +01:00
Frederic Bouvier
652070f265
Thorsten Renk: local weather 0.7
2010-06-15 20:54:44 +02:00
Vivian Meazza
4489d48e67
Merge branch 'master' of gitorious.org:fg/fgdata into Work
2010-06-04 23:24:41 +01:00
Vivian Meazza
8a4d78a7bb
Remove unwanted files
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-06-04 23:05:27 +01:00
Frederic Bouvier
eb47297d94
Thorsten Renk: local weather 0.61
2010-06-04 23:05:32 +02:00
Vivian Meazza
2c7075a9b0
Minor updates
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-06-04 11:14:33 +01:00
Stuart Buchanan
b53c16db1d
Update pilot list to use ignore property for AI objects
2010-05-21 22:09:38 +01:00
vmmeazza
a7ac90bac7
Bugfix
2010-04-25 21:05:30 +00:00
vmmeazza
9bd6191854
Add layered clouds
2010-04-12 20:51:46 +00:00
torsten
31df14b691
Initial import of the balloon scenario from gooneybird
2010-04-07 14:15:24 +00:00
vmmeazza
391b46612b
Update by Anders Gidenstein - an improved version of the buffer
2010-02-13 09:40:53 +00:00
vmmeazza
50adc28ff7
Update by Anders Gidenstein to prevent scripts producing the error:
...
"WARNING: PUI: Too many live puInterfaces open at once!"
due to multiple window/dialog updates during the same frame.
This error has been reported to cause FG to crash, but this cannot be
reliably reproduced.
2010-02-12 23:35:22 +00:00
torsten
a18db246f0
Disable the autopilot menu item if any of
...
KAP140
CENTURYIIB
CENTURYIII
autopilot is detected or the property
/autopilot/hide-menu
is present
2010-01-04 14:06:30 +00:00
ehofman
9c9ead857b
match sound code changes
2009-11-30 12:02:55 +00:00
torsten
e9bb24b8a2
Add the autovisibility functionality for the menubar.
...
If /sim/menubar/autovisibility/enabled is true, show the menubar when the mouse hits the upper edge of the window and hide the menubar on click outside a pui element.
2009-11-16 20:40:15 +00:00
vmmeazza
5cb130c313
Change tyresmoke parameter - by Heiko Schultz
2009-10-22 20:20:30 +00:00
sydadams
91c90c0679
added the view zoom popup to the enable property. Might
...
need it's own menu entry
2009-10-15 05:21:54 +00:00
torsten
823636811f
Anders Gidenstam:
...
Here is a new diff for the MP-chat ignore feature since multiplayer.nas
has been updated
2009-10-11 18:40:55 +00:00
torsten
862730999e
Anders Gidenstam:
...
I suspect that work around for the /ai/models/model-added listener problem
(i.e. that the listener is called in the middle of the process of
adding/removing a MP entry) isn't the right way to solve the problem.
The attached patch instead defer processing of the added/removed
MP entries in the multiplayer Nasal module until the next time the Nasal
subsystem is executed. This should prevent the problematic execution of
the Nasal listener callback in the middle of C++ MP code.
2009-10-11 11:57:58 +00:00
sydadams
a48eb09c7d
Updated the view popup , and restored the original indentation
2009-10-09 00:21:32 +00:00
sydadams
4dbe45348c
added a /sim/view-name-popup bool to enable / disable the viewname popup ... enabled by default
2009-10-08 02:21:18 +00:00
torsten
24204e2e75
don't ignore the latest multiplayer pilot
2009-09-05 20:22:14 +00:00
ehofman
bc05b9e26e
allow writing to the temp directory (for unix at least)
2009-06-17 15:38:29 +00:00
mfranz
bbf1004629
Anders GIDENSTAM: Fix send to self
2009-06-03 17:19:17 +00:00
mfranz
a13361766b
initialize view manager at nasal-dir-initialized sig (was: fdm-initialized)
2009-05-27 16:24:17 +00:00
mfranz
51ca35061d
add documentation about geo.elevation()'s optional arg
2009-05-19 20:02:43 +00:00
mfranz
e3743f2ae7
prop_key_handler: improve search function; update comments
2009-05-06 20:37:40 +00:00
mfranz
3a6315031e
door.setpos(): stop movement before setting absolute value
...
timer: stop and save/restore on reset
2009-05-06 18:49:06 +00:00
mfranz
b71c0c580e
add signum function sgn(); consistent use of braces
2009-05-05 18:34:53 +00:00
mfranz
233a9d27f4
- defined(): also consider the global namespace (as the comment implies)
...
- move local namespace container up
2009-05-05 18:33:43 +00:00
torsten
28018bd083
get rid of pushback.nas by instantiating the aircraft.door when opening the dialog.
2009-05-05 14:17:36 +00:00
abory
6a66414638
- Now the pushback "door" will be created only if /sim/model/pushback has
...
already been created by the modeler via the <aircraft>-set.xml file.
- Varified the code, removed the class structure, tests the nasal dir
initialization first.
- As part of the Nasal dir, the script must *not* be declared in the
<aircraft>-set.xml file.
2009-05-04 21:40:08 +00:00
abory
2bb2de3645
- Oooops, sorry for that.
2009-05-04 11:12:52 +00:00
abory
f5601ebf3a
- Ooops, sorry for that.
2009-05-04 11:03:39 +00:00
abory
36bad881f0
- Gijs de Rooy: Generic pushback.
2009-05-04 10:58:27 +00:00
mfranz
35d506bce1
isnan: shorter & faster
2009-04-24 08:12:21 +00:00
vmmeazza
9a2e19c234
Anders - Bugfix
2009-04-13 21:41:52 +00:00
mfranz
894003a865
tanker: avoid cloud layers; drop identity.init
2009-03-30 20:12:57 +00:00
mfranz
834afe5aa7
make file reloadable at runtime; minor fixes; cleanup
2009-03-29 08:04:35 +00:00
mfranz
715fec092b
add callsign to warning message, cleanup
2009-03-25 17:53:40 +00:00
mfranz
d1df1132c6
add tangens function
2009-03-25 17:52:43 +00:00
mfranz
7ef387cc0a
fly refueling pattern (leg length 50 nm)
2009-03-25 17:47:56 +00:00
mfranz
ecd8c1b71f
make model-not-installed message a little less noisy
2009-03-23 21:24:41 +00:00