1
0
Fork 0
Commit graph

10341 commits

Author SHA1 Message Date
ThorstenB
dcaf3d9aea Avoid spamming the log output
Stop printing "State == Running" debug messages in every update loop
(makes "--log-level=debug" a lot more usable)
2011-12-17 15:22:50 +01:00
Erik Hofman
e6e09a8161 Also expose the true sun color in the property tree. 2011-12-17 10:57:08 +01:00
Mathias Froehlich
7d1372cae0 fgviewer: Improove reader/writer option command line handling. 2011-12-17 08:28:33 +01:00
Mathias Froehlich
33630ffe33 fgviewer: add DatabasePager. 2011-12-16 21:45:33 +01:00
Mathias Froehlich
7f528bbd31 fgviewer: add StateSetManipulator. 2011-12-16 21:45:09 +01:00
Erik Hofman
ff4c771759 Expose the cloud color in the property tree 2011-12-16 15:37:16 +01:00
Erik Hofman
c78b7e1abb Remove AI prefix for the sound path and add it to the config files instead 2011-12-14 12:45:22 +01:00
Torsten Dreyer
196cfdb569 Fix windows build 2011-12-13 20:48:50 +01:00
adrian
9491c2ea76 Merge branch 'next' into attenuation 2011-12-13 13:35:45 +02:00
adrian
b61e53c484 Merge branch 'navaids-radio' into attenuation 2011-12-13 13:01:23 +02:00
adrian
9cd77924be take care of cases where the model obstructs the antenna 2011-12-13 12:58:44 +02:00
adrian
1c5eb0fb3e Merge branch 'next' into navaids-radio 2011-12-12 14:56:28 +02:00
Erik Hofman
babe714de7 reaneble ai modeul sound effects 2011-12-12 10:49:09 +01:00
adrian
3f3755fda2 Merge branch 'next' into attenuation 2011-12-11 19:06:24 +02:00
James Turner
7c79e16d8d Add hud-cycling back - issue #337 2011-12-11 14:12:17 +00:00
ThorstenB
d47342a5a4 Add --log-class option, improve logging classes.
Replace SG_GENERAL by more specific log classes in many places.
Allow "," to separate logging classes (using "|" is odd on the
command-line).
Also add new option to make logging more useful for developers.
You can use:
  --log-level=debug --log-class=environment
to only get environment debug messages, or
  --log-level=debug --log-class=sound,ai
to only get debug messages related to the sound or AI subsystem.
2011-12-11 14:06:17 +01:00
ThorstenB
7f5dfe1421 Provide error message when file isn't found. 2011-12-11 14:06:17 +01:00
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