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
mfranz
53e733d425
new isnan() that doesn't create a NaN itself
2009-03-21 18:17:59 +00:00
mfranz
7ee14f044c
fix removal of data entries if channel is used elsewhere
2009-03-20 11:08:09 +00:00
mfranz
2d4d0c81cc
fix comment
2009-03-19 20:06:58 +00:00
mfranz
16baea26b4
- vary callsign and tacan channel; use free AI id
...
- make update loop faster
- fix reinit listener
2009-03-19 16:44:12 +00:00
mfranz
fc9b2dd2a5
- geo.elevation: make intersection vector origin's altitude configurable
...
to allow measuring terrain elevation under solid objects
- coding style unification
2009-03-18 18:26:30 +00:00
mfranz
020e495197
... but without debug message. :-)
2009-03-18 13:46:57 +00:00
mfranz
080432cd17
- use new aircraft.nas functions: kias_to_ktas(), wind_speed_from()
...
- export radar values: bearing-deg, elevation-deg, range-nm
2009-03-18 13:46:07 +00:00
mfranz
dafeb03bf1
add simple wind_speed_from() function, and Jean PELLOTIER's not-so-simple
...
kias_to_ktas() function
2009-03-18 13:13:15 +00:00
mfranz
bd1c719d6f
make tanker appear on the radar
2009-03-17 22:07:43 +00:00
mfranz
abb13ca903
- make sure /systems/refuel/ exists
...
- cleanup
2009-03-15 20:19:17 +00:00
mfranz
dc7e8577d4
- put tanker nearer
...
- allow multiple instances
2009-03-15 19:57:13 +00:00
mfranz
5c41d1a99b
allow aar-equipped aircraft to request a tanker everywhere without scenario
2009-03-15 16:13:55 +00:00
mfranz
5237feb527
window.write: turn plain numbers into strings
2009-03-15 15:23:00 +00:00
mfranz
d6e96199eb
use controls.startEngine(0) for starter release (easier to override)
2009-03-14 20:56:06 +00:00
mfranz
2618b98b88
model: simplification using the new values() function
2009-02-16 23:35:54 +00:00
mfranz
1bf00fbc92
generally allow *.log files under /home/m/.fgfs
2009-02-16 15:48:02 +00:00
mfranz
315d48910a
message log: don't show seconds; new header/footer; minor improvements
2009-02-16 15:38:47 +00:00
mfranz
6a6861a5ff
mp log: use real time
2009-02-15 22:52:22 +00:00
mfranz
cf88f5e8a4
remove is{dir,reg,lnk,sock,fifo,blk,chr}. The vector returned by io.stat()
...
does now contain the type in element 11.
2009-02-15 21:08:55 +00:00
mfranz
fed30b2f05
io.nas: add deprecation warning to io.is{dir,fifo,lnk,...}
2009-02-15 18:26:20 +00:00
mfranz
9b8f29fdfe
use local hash (again) to store last messages per callsign
2009-02-15 17:50:13 +00:00
mfranz
b465bd27a8
--prop:sim/multiplay/write-message-log=1 enables logging of MP messages
...
to $FG_HOME/mp-messages.log
2009-02-15 17:36:47 +00:00
mfranz
efaa3d545d
- simplification (multiplayer.model does a lot of the checks already)
...
- write to /sim/messages/mp-plane (rather than ai-plane)
- screen.nas: better color?
2009-02-15 15:48:38 +00:00
mfranz
c77af3c4b6
map /sim/messages/mp-plane to screen/voice
2009-02-15 15:10:47 +00:00
mfranz
8f5304ad90
add values() function as a counterpiece to keys() (see Perl)
2009-02-15 14:13:49 +00:00
stuart
dfc22cf009
Use initNode for safe, effective relief from code bloat.
2009-02-12 21:14:54 +00:00
stuart
72cc845a63
Remove redundant (and ugly) set1 function
2009-02-12 20:32:04 +00:00
stuart
a0a493b8ce
Failure manager. Based on work by Erobo and John DENKER.
2009-02-12 20:24:06 +00:00
mfranz
824cff9192
comment out isnan()
...
It conflicts with Jester's debugging setup, and Andy says there should be
no NaN in the first place. This is a bug that needs to get fixed. Just
enable isnan() if you want to detect NaNs in the meantime. (The MP system
creates them ATM. The property getters shall turn them into nil.)
2009-02-12 16:59:03 +00:00
mfranz
a9afecf74b
debug.error: rename to warn, reduce default caller skip, documentation
2009-02-09 14:29:43 +00:00
mfranz
747d9dcbde
debug mode: fix slice
2009-02-09 00:24:23 +00:00
mfranz
6495f062d3
var++
2009-02-08 21:58:31 +00:00
mfranz
4757d49c0c
debug mode: add hint for why the write operation probably failed
2009-02-08 21:16:28 +00:00
mfranz
04511dbc8d
--prop:debug=1 enables a debug mode where some functions generate warnings.
...
setprop(), props.Node.set{,Int,Bool,Double}Value() complain if they couldn't
write, e.g. because the target property is write protected, or doesn't have
a tied setter function.
2009-02-08 20:46:55 +00:00
mfranz
a1c1018aa2
Anders GIDENSTAM: adapt for unified tank level property (and do it right :-)
2009-02-06 23:14:49 +00:00
sydadams
22b9c908a9
Update jsb aircraft to use the changed tank/level-lbs property
2009-02-06 22:56:00 +00:00
mfranz
1d783e03bb
remove debug.exit(); add debug.isnan()
...
- exit was only justified at times where fgcommand() needed an explicit
node statement, which made using it a bit clumsy. Nowadays that's only
fgcommand("exit"), which is as good as debug.exit() was.
- isnan() is really only for debugging and, thus, not in the global
namespace. Nasal code should never generate NaNs (though it's easy:
var nan = 1/0; There! :-), and NaNs imported from the C++ side (tied
properties!) should get fixed there. IOW: routine checks for nan in
Nasal can only be temporary hacks/debugging measures.
2009-02-06 14:41:13 +00:00
mfranz
1d50d3c086
dialog: show unavailable entries orange; cleanup
2009-02-06 12:03:31 +00:00
mfranz
540b9368fe
multiplayer.model: more containers, more data, variable renaming,
...
temporarily catching error exceptions, colored missing-ac message ...
2009-02-04 21:47:19 +00:00
mfranz
158c7ea800
- check for availability of MP models (add 'available' member)
...
- display "??? foo" if "foo" isn't available on the system
- make sure x/y/z are never nil (I think I had such a case)
2009-02-03 16:15:37 +00:00
mfranz
7985e6e984
model_view: add some orientation parameters
2009-02-01 21:59:41 +00:00
mfranz
afe8de52ab
- faster sorting
...
- update loop fix
2009-02-01 01:58:15 +00:00
mfranz
a644007c67
disabling the dialog in screenshots is nice in theory, but doesn't really work
2009-01-31 22:01:42 +00:00
mfranz
9fdec57110
dialog: don't start multiple loops
2009-01-31 21:53:54 +00:00
mfranz
ab1e00a81e
- re-open after gui-reinit
...
- only update once per sec
- cosmetics
2009-01-31 21:22:18 +00:00
mfranz
3cf6667328
gahh ... s/setlistener/_setlistener/
2009-01-31 20:29:20 +00:00