1
0
Fork 0
Commit graph

10324 commits

Author SHA1 Message Date
Frederic Bouvier
14b76a1d63 Multiple --atlas options are valid (one for Atlas, one for Terrasync) 2011-12-11 13:12:18 +01:00
ThorstenB
a756ad0f43 #513: netgui alignment mismatching on 32bit/64bit machines
netgui data structure now is identical for all platforms. Manually aligned
the fields, so compilers do not add (CPU architecture-specific) padding.
2011-12-09 19:01:15 +01:00
adrian
3eff9a14c9 Merge branch 'next' into navaids-radio 2011-12-09 18:57:50 +02:00
adrian
b796df3bd7 Merge branch 'next' into attenuation 2011-12-09 18:57:38 +02:00
ThorstenB
4c17cee5fb Lower log level for event input/udev messages. 2011-12-09 17:20:28 +01:00
ThorstenB
444720f62d Avoid useless warnings during FG startup.
Do not warn about missing scenery manager, unless it is really needed.
Also raise warn level for multiple init calls.
2011-12-09 17:19:45 +01:00
ThorstenB
826107f132 #510: Fix disappearing AIShips.
Untangle AI reinit and init methods. Some code in init hooks expects to be
called once only. Derived classes should not redirect their reinit to init,
even if this seems fine for the methods of the derived class itself. This
also triggers the init methods of all base classes, which may not expect
multiple calls to their init methods (or to "init" on "reinit").
2011-12-09 17:06:19 +01:00
ThorstenB
bfb0619f76 Fix memory leak with FGAIModelData.
Be lazy and use ref pointers - to remove memory automatically.
2011-12-09 17:03:14 +01:00
adrian
66fdb2a5e2 Remove interface from Nasal 2011-12-09 15:44:22 +02:00
adrian
24ff279218 itm.cpp: don't polute the global namespace 2011-12-08 20:16:11 +02:00
adrian
f7f8d7dca9 Clean up my code in NasalSys.cxx 2011-12-08 19:48:31 +02:00
adrian
bf4f2b4ba1 Merge branch 'next' into navaids-radio 2011-12-08 15:29:22 +02:00
adrian
fec3f47154 Document the code better;
Add some checks in the clutter function;
Use string pointers to get materials;
2011-12-08 15:05:27 +02:00
Frederic Bouvier
84b31e573c Add fgpanel to the mix 2011-12-07 08:43:54 +01:00
adrian
10e933dc53 Send geod from Nasal, properly document the code, take some parameters from properties 2011-12-06 23:00:50 +02:00
adrian
971c2820b9 Expose a radio function (receiveBeacon) to the Nasal subsystem 2011-12-06 21:03:40 +02:00
Durk Talsma
3f0e8cec81 Merge commit 'refs/merge-requests/18' of git://gitorious.org/fg/flightgear into merge-requests/18 2011-12-06 18:07:48 +01:00
Curtis L. Olson
c8bd588e9f Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-12-06 09:49:27 -06:00
Curtis L. Olson
95cbdd7513 Commit changes so I can switch branches without conflicts. 2011-12-06 09:47:56 -06:00
adrian
4826b21968 Lower receiver sensitivity, modify loading of antenna pattern 2011-12-06 11:38:48 +02:00
adrian
8a61ad0fc9 Merge branch 'attenuation' into navaids-radio
Conflicts:
	src/Radio/radio.cxx
2011-12-06 10:27:03 +02:00
adrian
451bf89f70 Merge branch 'next' into attenuation
Conflicts:
	src/Radio/radio.cxx
2011-12-06 02:15:04 +02:00
adrian
b7d59463c8 Fix error caused by assert statement in itm.cpp 2011-12-06 02:04:21 +02:00
adrian
e597d6314e rename function 2011-12-05 22:42:40 +02:00
Torsten Dreyer
26011dd9c6 Fix a typo in the radio propagation code
And for sentimental reason: keep the VC90 project file working
2011-12-05 21:40:01 +01:00
adrian
4b8e74c6af Make antenna radiation calculations selectable via switch 2011-12-05 11:43:21 +02:00
Vivian Meazza
b61e22bdb3 Windows fixes/work-arounds
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-05 08:55:33 +00:00
Durk Talsma
482672f941 Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-12-04 22:53:58 +01:00
ThorstenB
cc40660206 Performance improvement
Avoid frequently creating/dropping an identical sound sample, when the
nav radio signal is flickering. Always keep most recent sound when signal
is lost (only stop it/turn volume off).
2011-12-04 21:43:21 +01:00
adrian
d8e4f8035d Merge branch 'attenuation' into navaids-radio 2011-12-04 22:16:45 +02:00
adrian
f720f76456 Hopefully fix windows compilation error 2011-12-04 22:08:56 +02:00
adrian
500086adec Read antenna radiation pattern from file 2011-12-04 21:59:38 +02:00
Vivian Meazza
6b1391e404 Make parameter "roll-factor" settable in scenario files
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-04 19:10:42 +01:00
Durk Talsma
f7cd808f23 Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-12-04 18:35:13 +01:00
Durk Talsma
32eb0fd00c Merge branch 'merge-requests/1555' into next 2011-12-04 17:33:04 +01:00
Durk Talsma
fcfb905ef1 Make sure not to disable the entire ATC system when handling special cases. 2011-12-04 17:31:02 +01:00
ThorstenB
07aa70dce9 sound: fix sound-buffer-in-use issue
FGFX objects must be dereferenced early enough, and sound manager must be
removed late enough - otherwise openal complains about resources being
still in use when tryin to remove buffers.
Also: do not create FGFX objects for AI/MP aircraft, when AI sound is
disabled.
2011-12-04 17:18:02 +01:00
ThorstenB
9933a7cb4a cmake: add support for Torsten's UDev EventInput
(Hopefully meeting Torsten's quality expectations)
2011-12-04 14:37:25 +01:00
adrian
69b73a0233 Merge branch 'next' into attenuation 2011-12-04 11:30:16 +02:00
adrian
6d816823db Load pattern file from FG_HOME/antennas 2011-12-04 11:28:59 +02:00
Torsten Dreyer
ded106fe31 event input for Linux: substitude dbus+hal by udev 2011-12-03 22:59:20 +01:00
adrian
693f868930 Get rid of annoying printf messages in itm.cpp 2011-12-03 20:08:50 +02:00
adrian
b685fffd82 Set ATC ground tx-power and antenna gain to smaller values 2011-12-03 18:55:11 +02:00
adrian
52bdb959c7 Rename conversion functions to be more explicit
...and set some more properties: tx-erp, etc.
2011-12-03 18:48:24 +02:00
Erik Hofman
61e60484c8 make the sound of the base model work again. this also gives an indication where things start to go wrong. 2011-12-03 15:29:04 +01:00
adrian
e4f511fb31 Write a few more properties:
signal-dbm - signal strength in dBm
field-strength-uV - signal strength in microvolts
2011-12-03 16:00:14 +02:00
Erik Hofman
831f81d97c Properly construct a string from another string and an integer, use a relative path for sound construction, allow enable/disable aimodel sounds using /sim/sound/aimodels/enabled 2011-12-03 14:40:48 +01:00
adrian
3340694170 Add some functions to convert between various units 2011-12-02 19:13:53 +02:00
adrian
6179c26a04 Set a couple of properties using the node /sim/radio
Also use correct the polarization calculations, using
Simgear constants for degree to radians conversions
2011-12-02 17:38:52 +02:00
adrian
e3e23b0915 Add function to calculate polarization loss
This function is reliable only for vertical polarization
2011-12-01 22:46:46 +02:00