1
0
Fork 0
Commit graph

7554 commits

Author SHA1 Message Date
ThorstenB
39ce84ac52 Replace unnecessary use of copy constructor. 2012-03-26 21:11:03 +02:00
ThorstenB
f14ca9c611 tilemanager: initialize member variables
Also drop some obsolete members.
2012-03-26 21:11:03 +02:00
James Turner
4bde2451b0 Avoid a crash when using the native menubar on Mac, due to non-static classes with identical names. 2012-03-26 17:38:09 +01:00
James Turner
59253531bc Fix YAsim linkage. 2012-03-26 16:09:21 +01:00
James Turner
a38362646d Don't create intermediate static libraries for build fgfs. (Speeds up rebuilds in Xcode dramatically, possible in other IDEs too) 2012-03-26 13:09:39 +01:00
James Turner
086df400de Fix 2.5D panel hit detection, compute logical panel extend from actions. 2012-03-25 18:46:04 +01:00
Frederic Bouvier
2e735e6234 Warn of harmless messages caused by the Rembrandt renderer 2012-03-25 19:05:10 +02:00
Frederic Bouvier
79396655a3 Remove tabs 2012-03-25 16:07:56 +02:00
Frederic Bouvier
416e6df9e3 First, preliminary, code of the Rembrandt renderer.
The new renderer is activated by the --enable-rembrandt option, or in the preferences.xml file.
The renderer at this stage doesn't have shadows yet, and shows a lighting bug. The slash screen doesn't work too.
2012-03-25 16:06:54 +02:00
Frederic Bouvier
86185c8014 Add options to enable or disable the Rembrandt renderer 2012-03-25 15:28:19 +02:00
Frederic Bouvier
400129ae15 Allow any number of cameras as render stages for a single viewport 2012-03-25 15:28:17 +02:00
Frederic Bouvier
19e7163971 Compile with MSVC 9 2012-03-25 14:39:24 +02:00
Frederic Bouvier
94e3ae4c67 Choose renderer from /sim/rendering/rembrandt property 2012-03-25 14:39:22 +02:00
Frederic Bouvier
1a3f69723b Move camera setup to the renderer 2012-03-25 14:39:19 +02:00
Frederic Bouvier
bca4683d52 Small refactoring in CameraInfo 2012-03-25 14:37:43 +02:00
ThorstenB
11a9bdf29e #548: segfault in AIFlightPlanCreate
check "tn != NULL" before calling tn->getGeod()
2012-03-25 10:34:07 +02:00
ThorstenB
bc9331fc3f No avionics sound group for aimodels. 2012-03-22 23:53:18 +01:00
ThorstenB
7d37f6af58 Don't crash on start-up when avionics sound is disabled.
FGFX::init/soundfx::init use "_avionics" unconditionally, so it has to be
valid, even when avionics sound is disabled. Also allow to properly
enable/disable avioncis sound at run-time.
2012-03-22 23:36:39 +01:00
ThorstenB
22c20a2f09 Make FG_OPTIONS_EXIT work.
'fgfs --version' wants to exit...
2012-03-17 12:01:51 +01:00
ThorstenB
92d5620b9f Fix Linux build 2012-03-16 23:21:07 +01:00
James Turner
8c187164fe Work on making 2D panels act like standard scene-graph elements for picking and drawing.
(This includes 2.5D panels in the 3D scene)
2012-03-16 17:22:18 +00:00
Mathias Froehlich
1ddb658a70 scenery: Move flightgears paging back into the application.
This way of scenery paging is really application code.
Now that the simgear stg loader is seperated from the paging
code, this appication specific paging can reside here.
May be at some time also use the spt stuff here.
2012-03-15 20:56:37 +01:00
Mathias Froehlich
44c716bb03 scenery: The tile entries load callback is not needed anymore.
The stg loader can do this itself.
2012-03-15 19:39:07 +01:00
Mathias Froehlich
8d3e1b06be Remove /sim/paths/use-custom-scenery-data.
Scenery people tell me that this is always set to true
today. Thus we can remove this property as this allows
me for some further osg loader cleanups.
2012-03-15 18:48:57 +01:00
Torsten Dreyer
5caa42af8e Make use of auto-coordination more flexible
- move property /sim/auto-coordination to
  /controls/flight/auto-coordination
- introduce new property /controls/flight/auto-coordination-factor
  with default of 0.5
- auto-coordinate the rudder if auto-coordination is true and the factor
  is greater than zero

backward compatibility for the old property is temporary provided by
a temporary Nasal hack in FGDATA/Nasal/aircraft.nas
2012-03-13 21:00:22 +01:00
Torsten Dreyer
25c6e8acbd bind the sky disable cutoff distance to a property
There used to be a hardcoded visibility of 1000m below which the
sky was disabled. This distance is now bound to
/sim/rendering/minimum-sky-visibility with a default value of 1000
2012-03-09 21:00:23 +01:00
ThorstenB
6113981b39 #702: Misspelled "devices" property node.
(Typo from my commit earlier this week)
2012-03-08 08:58:44 +01:00
ThorstenB
bb59af4357 Fix segfault when loading routes in RouteManager
FGRouteMgr::loadRoute always needs to call "update_mirror" before
returning.
2012-03-07 21:33:08 +01:00
ThorstenB
e24004b17b #589: 2D panels transparent at night. May also fix #591.
Since d91a617423 (vectory color calculations)
all 4 elements of a color were scaled with the respective brightness.
The caused some panels to be transparent at night etc.
Before the change, only the 3 RGB elements of the colors were scaled,
while the 4th element (alpha channel?) remained unaltered.
Commit restores the alpha elements to their original behaviour.
=> "Quick hack" for 2.6.0. Need s.o. to double check the initial changes
and commit something clean to "next".
2012-03-07 20:49:13 +01:00
ThorstenB
ba257eeecf More spring-cleaning fun.
Use tiedPropertyLists, instead of manual tie/unties.
2012-03-07 20:48:00 +01:00
ThorstenB
db098593be #591: Fix sky flickering at certain sun/view angles
Commit 5f0066c resulted in an incorrect angle calculation. At certain view/sun
angles "hor_rotation" and "rf1" would skip from the minimum to the maximum
value).
Also, an offset angle of 90 degrees (PI/2) is added, which seems to align
the sky effect with the sun position. Calculation is probably still wrong,
but seems less wrong than before - and the flickering is gone...
2012-03-07 20:43:52 +01:00
Torsten Dreyer
644bb8c4f4 Spring-cleaning: some minor optimization
- initialize uninitialized properties
- use prefix instead of postfix increments
- reduce visibility of variables
- use empty() instead of size() == 0 for vector and string
- pass string by reference, not by value
2012-03-06 22:28:18 +01:00
ThorstenB
9264243a71 Use tiedPropertyLists instead of manually matched tie/untie calls.
Ensures we don't forget to untie some individual properties.
2012-03-04 17:38:06 +01:00
ThorstenB
0abf252ec8 Use tiedPropertyLists instead of manually matched tie/untie calls.
Ensures we don't forget to untie some individual properties.
2012-03-04 15:30:08 +01:00
ThorstenB
d0d86bf0b7 Fix type issue.
multi-sample-buffers is int, not bool.
2012-03-03 21:39:22 +01:00
Mathias Froehlich
742f0eb939 Fix compile past last simgear change. 2012-03-03 14:05:43 +01:00
Mathias Froehlich
c71c9aee0a Adapt to simgear SGMath change.
Simgears SGMath has lost its dependency on osg.
Update includes and code using these methods.
2012-03-03 13:37:43 +01:00
Mathias Froehlich
5ca01925cd hla: Rename HLAVariantData* to HLAVariantRecordData*.
Rename the variant record data types and elements to something
more standard conformant. This catches up with recent changes
in simgear.
2012-02-25 18:01:17 +01:00
Mathias Froehlich
c5ddd7b1f3 hla: Avoid using deprecated readObjectModelTemplate.
Avoid using the now deprecated readObjectModelTemplate() method
in HLAFederate. Make more use of the available general
initialization functions in HLAFederate.
2012-02-25 18:01:09 +01:00
ThorstenB
da73dd97d3 Clean-up cmake (linker) dependencies. 2012-02-24 22:23:15 +01:00
ThorstenB
632824e4d8 Fix MSVC build issue.
MSVC complained about ambiguous "floor" when T=<int>.
2012-02-19 20:30:15 +01:00
ThorstenB
511072f206 protocol module: minor clean-up 2012-02-19 14:57:25 +01:00
Thomas Geymayer
dd3afd4c4e Use simgear functions for clip and wrap around. 2012-02-19 14:53:04 +01:00
Thomas Geymayer
ccf15ac97e Remove unneeded function and add bool relative changes 2012-02-19 14:53:04 +01:00
Thomas Geymayer
4ec6810c29 Support relative changes and wrapping for generic protocol input. 2012-02-19 14:53:04 +01:00
ThorstenB
93a5765d08 #669: reset fly-by-view when a new replay loop begins 2012-02-19 14:53:04 +01:00
ThorstenB
39b03594aa Remove obsolete ignore pattern for automake generated headers. 2012-02-17 23:46:42 +01:00
Torsten Dreyer
c5eba72c75 Navradio: provide property is-localizer-frequency
This property is true if the active frequency is tuned to a
paired LOC/GS frequency in the range 108.00 - 111.95 with a
odd 100kHz digit (108.10, 108.15, 108.30, 108.35 ...)
It only indicates, that this _is_ a LOC/GS frequency,
it does _not_ provide any indication if a LOC/GS station is
actually being received.
2012-02-15 22:43:15 +01:00
Torsten Dreyer
4da0760edd Remove the deprecated warning for JSBSim's egt_degf
At least no FGDATA aircraft uses this property anymore.
2012-02-15 15:13:33 +01:00
Torsten Dreyer
ed934c1999 Some xml-autopilot tuning
- Add update-interval-secs to the entire autopilot
- cache min/max values in InputValue
- a little more relaxed "equals zero" checking in the NoiseSpikeFilter
2012-02-15 14:59:10 +01:00
Torsten Dreyer
d141beee0f Accept setting-hpa along with setting-inhg for altimeter 2012-02-13 22:25:30 +01:00
Torsten Dreyer
5a05e30abd Fix file access mode for newnavradio.[ch]xx 2012-02-13 22:24:41 +01:00
Torsten Dreyer
f6c3a41b92 Merge branch 'next' of gitorious.org:fg/flightgear into next 2012-02-12 11:42:01 +01:00
Torsten Dreyer
5ebdcdc3d5 Some autopilot works
- add new <update-interval-secs> for autopilot components.
  This does what it says.
- add new method to PeriodicalValue to normalize symmetric around zero
- move the DigitalFilterImplementation out of the header file
- refactor NoiseSpikeFilter: spare some cpu-cycles and respect periodical
  output
2012-02-12 11:41:21 +01:00
James Turner
a5153615e6 Mac-specific fgjs / event-input fixes from Tatsuhiro. 2012-02-11 17:33:02 +00:00
ThorstenB
58e79013e3 Ron Jensen: fixed a potential NaN and Segfault in JSBSim propeller code
The property /fdm/jsbsim/propulsion/engine/prop-induced-velocity_fps
gives wrong answers, and can become NaN under certain conditions. When thrust is
negative and forward velocity is small we can take the square root of a negative
number. This could occur, for example, when using reverse thrusters on landing.
The value comes out much too high when alpha is near 180, such as taxing with a
tail wind.
2012-02-11 17:12:14 +01:00
ThorstenB
a8d5ac90c6 #656: COM1 frequency set to 0 at startup
Also, don't flood the screen with AI ATC messages when COM1/2 is set to 0
(ignore aircraft "transmissions" on frequency "0 MHz").
2012-02-10 23:43:03 +01:00
ThorstenB
17590ba436 Fix another line lost in a merge conflict. 2012-02-07 21:12:51 +01:00
ThorstenB
ff14ddf914 Fix missing declaration. 2012-02-07 19:32:55 +01:00
ThorstenB
578df0f484 #553: decouple OSG callbacks from Nasal subsystem 2012-02-06 22:19:33 +01:00
ThorstenB
33c63a6d72 This 'fixes' #613 but partly re-introduces #553. 2012-02-06 22:12:58 +01:00
ThorstenB
0b049c877a #591: night-time rendering issues, avoid negative color values
Fog color became negative at certain sun angles (around midnight), which
resulted in weird sky dome coloring issues.
Hack: simply clamp the value for now.
2012-02-05 15:14:30 +01:00
Torsten Dreyer
62dfa8cc64 new command: property-interpolate
exposes the SGInterpolator to <binding><command>
formerly only accessible via Nasal
2012-02-02 22:17:34 +01:00
Torsten Dreyer
72483d565b initialize the heading-indicator/offset-deg in it's class
Don't initialize the offset in the main loop but in
the init method of the implementing class. This ensures
it gets initialized if you instantiate more than one
heading-indicator and does not initialize the property for
unsused heading-indicators (no more stray heading-indicator-fg
property anymore).
2012-02-01 22:24:06 +01:00
ThorstenB
5c3b6a2cc4 Fix string buffer issue with replay time display.
Unclean method of appending a string to a buffer would break with
some compiler optimization settings.
2012-01-31 23:19:02 +01:00
ThorstenB
5f6012802f Use existing define to supply version number. 2012-01-31 21:42:37 +01:00
ThorstenB
7b83b49260 Oops... 2012-01-29 10:44:28 +01:00
ThorstenB
3e08e5ecfe Minor clean-up. 2012-01-29 10:34:11 +01:00
James Turner
b501dc97ce Bug 620, respect enable/disable state of entire menus when using native Cocoa menu 2012-01-25 18:56:51 +00:00
ThorstenB
477e621633 #561: normalize to [0-360[ 2012-01-22 19:15:25 +01:00
ThorstenB
4e9e35a0a2 #609 route manager/nav display related startup segfault
Immediately update the property-tree mirror when adding waypoints (i.e.
using the "--flight-plan=..." startup option).
2012-01-22 11:23:56 +01:00
ThorstenB
64fda03bd6 #605: Reduce warning level for unsupported keys. 2012-01-18 21:41:55 +01:00
ThorstenB
90ce4ec93d Clean-up: move autosave.xml loading code to proper method 2012-01-17 23:49:25 +01:00
Stuart Buchanan
4c321b6b80 Add property controls for cloud impostors and LoD hierarchy radii. 2012-01-17 22:16:58 +00:00
Torsten Dreyer
3bfee87bba bump version number to 2.7.0 2012-01-17 08:36:20 +01:00
Torsten Dreyer
979fc9785b bump version number to 2.6.0 2012-01-17 07:46:52 +01:00
James Turner
96cd6018f9 Allow distinct rule and symbol definitions for navDisplays. 2012-01-14 17:00:50 +00:00
ThorstenB
0b6579e0e4 Fix a minor warning.
System complains about "system" call's result being ignored.
2012-01-12 22:14:17 +01:00
ThorstenB
6f4a090770 #199: fix issue with relative paths
Relative paths don't work with FG. Since we Linux users just love
command-lines and often do use relative paths, make sure to convert them
before use.
2012-01-12 22:14:17 +01:00
James Turner
472cc02d6e NavDisplay: fix update lag when switching range or centre. 2012-01-12 10:08:08 +00:00
ThorstenB
d051ba5cd2 #577: blinking not working for static HUD labels
Only worked for dynamic labels displaying a property (mode!=NONE).
2012-01-10 22:01:05 +01:00
ThorstenB
6b348dc481 #590: agradar copying an uninitialized string
Thanks to Olaf Flebbe.
2012-01-09 23:41:07 +01:00
adrian
045912f5a7 ITM radio calculations are only considered valid
between 40 MHz and 20 GHz.
Fix for bug which assigns a frequency of 0 MHz to
AI aircraft, thus resulting in infinite values.
2012-01-09 21:01:01 +01:00
ThorstenB
e82c36d76b #587: don't crash on negative sizes
(see simgear commit)
2012-01-09 20:29:51 +01:00
Erik Hofman
699f4eeb38 fix a typo 2012-01-09 08:14:46 +01:00
James Turner
fdbdbfe93d When clearing the route, skip generated waypoints. 2012-01-08 19:31:07 +00:00
Mathias Froehlich
db241f3e10 Handle unset texture-compression property correctly. 2012-01-08 20:19:36 +01:00
James Turner
975a5202a8 NavDisplay: fix many bugs relating to stretched and heading-rotated symbols. 2012-01-08 17:47:13 +00:00
Erik Hofman
5f0066c4c2 Fix the sun position and fog/ambient coloring misalignment 2012-01-08 16:28:43 +01:00
Erik Hofman
94e4d19ad1 Merge branch 'next' of gitorious.org:fg/flightgear into next 2012-01-08 15:38:22 +01:00
Erik Hofman
3abf0b5df1 remove some ugly while loops 2012-01-08 13:51:38 +01:00
ThorstenB
59d400d58b Temporarily disable Nasal callbacks in lazily loaded scenery models
to avoid segfaults due to multi-threading issues. Will need to be replaced
by proper fix, if this proves Nasal related segfaults to be fixed.
2012-01-08 13:31:49 +01:00
ThorstenB
246feef85f #553: MP-model-loading related segfault
MP aircraft are loaded by a separate OSG thread (introduced after FG2.4.0).
The OSG thread also calls the "modelLoaded" callback. However, we mustn't
allow the OSG thread to call FGNasalModelData::modelLoaded directly:
FGNasalModelData isn't thread-safe. There are obvious issues (_callCount++;),
tricky issues like calling the Nasal _parser_ or creating hashes and
modifying the global Nasal namespace. It doesn't use locks to protect
against another thread executing a Nasal context or running garbage
collection. It also executes Nasal code itself (the model's "load" hook),
which we also cannot allow in a separate thread...
This patch returns all Nasal parts of MP-aircraft loading (parsing,
module creation, execution) to the main thread, while keeping the
multi-threaded OSG part (loading of MP-aircraft model files itself).
The same issue exists with scenery models (see other commit).

To summarize with 2 words: It s*cks... ;-)
2012-01-08 13:28:49 +01:00
ThorstenB
277ba10b39 Potential fixes for #548, #572, groundnetwork related segfaults
Add some pointer checks - so we at least get some error message naming the
airport with the broken network.
2012-01-08 12:31:18 +01:00
Erik Hofman
d91a617423 vecotry color calculations 2012-01-08 12:09:46 +01:00
ThorstenB
484d3c61f8 #561, clean-up using normalizePeriodic. Thanks to Hyde & James. 2012-01-07 08:17:34 +01:00
James Turner
da7adf63c0 Shortcuts support in the Cocoa menubar. We have fewer keyboard shortcuts for menu items than I realised. 2012-01-06 23:46:35 +00:00
James Turner
b1c6e31c22 Tweaks to get TCAS / multiplayer aircraft showing on the NavDisplay. 2012-01-06 20:47:21 +00:00
James Turner
a0bfa25aa7 Tweak the app-data path on Mac, after discussion with Tat. 2012-01-05 22:10:19 +00:00
Curtis L. Olson
cf86d37514 Fix YASim's /accelerations/pilot/{x,y,z}-accel-fps_sec computations. These
are the accelerations (forces) as felt from the pilot's perspective.  This
combines the accelerations due to change in velocity vector and gravity.

Previosly the gravity part was right, but the body accelerations were being
transformed incorrectly.  The error was very subtle and basically amounted to
the fact that inverting an axis of a vector before transforming it is not
equivalent to transforming the vector and then inverting that axis.

After this fix, pilot accelerations + gyro + gps can be fed into an external
kalman filter and it will converge properly (extra confirmation that there
was a problem and this fix corrects it.)
2012-01-04 19:17:32 -06:00
Stuart Buchanan
af150d1a56 Only initialize MP subsystem if a txhost is set. 2012-01-04 21:47:35 +00:00
James Turner
a3c243f266 Mark NavDisplay stateSet as STATIC 2012-01-04 12:43:25 +00:00
ThorstenB
23cdb0d302 #561: keep magnetic heading within limits when mag-variation is negative
Thanks to Hyde!
2012-01-04 00:00:10 +01:00
ThorstenB
dac00efbc7 Fix some compiler warnings.
Comment out unused code.
2012-01-02 23:16:17 +01:00
Durk Talsma
aab04f44bd Bugfixes and some finetuning:
* Pregenerating taxiroutes could interfere with runway assignments by ATC, when conditions changed, resulting in a taxi to one runway and a takeoff from another
* A simpler solution for the "Error in Traffic record bug". This still needs some more testing, but I haven't seen any error message anymore, since changing to the current code.
* Initialize AI traffic at speed zero, this should prevent some weirdness observed under boundary conditions.
* Don't activate groundnetwork proximity detection for pushback traffic until the "ready for startup message is transmitted. this should allow sufficient time for them to reserve a route, but a little more testing still needs to be done.
2012-01-02 22:23:24 +01:00
Durk Talsma
e0b6ee9d5d --debugMsg; 2012-01-01 15:30:51 +01:00
Durk Talsma
cf279e320b Bugfix: Shutdown the ATC manager when it runs out of waypoints. 2012-01-01 13:12:13 +01:00
Durk Talsma
c8d7b3ecf2 Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-12-31 19:59:56 +01:00
Durk Talsma
53445c80d4 Some commented out debugging code that may help us trace down bug 532. 2011-12-31 18:16:38 +01:00
Torsten Dreyer
de7debe253 simplify the METAR string, remove newline etc. 2011-12-31 17:31:13 +01:00
Durk Talsma
b648b71671 Fix for issue: 520: Error in FGTrafficRecord::setPositionAndIntentions. 2011-12-30 15:27:21 +01:00
ThorstenB
229d9273d7 #545 related: User settings not saved when window was closed
via the window buttons instead of pressing ESC or using menu exit.
(More code should be moved after the 2.6 release)
2011-12-30 00:39:31 +01:00
Mathias Froehlich
48b4596a5f Make the use of the compressed internal format a configuration option. 2011-12-29 12:24:04 +01:00
James Turner
c831d9c857 Get the ATC frequency dialogs working again for the 2.6 release. 2011-12-27 22:55:52 +00:00
James Turner
36fc0367d2 Nav-display: expose TCAS threat level correctly. 2011-12-27 20:19:10 +00:00
ThorstenB
f0c729f2d5 #545: Fix ATC chatter sound settings being ignored
FGSampleQueue is initialized at run-time, long after preferences are
loaded from the persistent files - so it should not reset anything.
2011-12-27 13:04:09 +01:00
Torsten Dreyer
ddb4fa050f Some warning fixes, mostly unused variables 2011-12-25 14:41:47 +01:00
Durk Talsma
0bb17d755c Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-12-24 17:56:45 +01:00
Durk Talsma
762d8a90dd Remove a stray debug message.Z 2011-12-24 16:34:33 +01:00
Erik Hofman
cbdd89493f properly add librt when clock_gettime is used 2011-12-24 11:34:35 +01:00
Erik Hofman
05476d0be3 Fix for SF bug #3171743 - P-factor does not take into account the thruster pitch and yaw angles 2011-12-23 14:18:38 +01:00
Torsten Dreyer
520c002058 Fix #535: METAR from command line ignored 2011-12-22 22:11:37 +01:00
James Turner
342140a694 Add test-mode to NavDisplay, and hence fix bugs in range / scale handling. 2011-12-22 14:07:06 +00:00
ThorstenB
596c3e5d03 Fix issues related to #419. 2011-12-19 21:36:42 +01:00
Erik Hofman
1fb790eb60 comment out unused variables and function and properly initialize variables 2011-12-19 16:50:21 +01:00
Frederic Bouvier
c964d0e83e Restore JSBsim and Yasim in VS2008 build 2011-12-18 16:14:53 +01:00
Frederic Bouvier
c676ffaf53 Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2011-12-17 18:13:31 +01:00
Frederic Bouvier
54d5614e52 Better c++ design to avoid leaks in case of exceptions 2011-12-17 18:13:05 +01:00
ThorstenB
b575446b36 Add some debug messages to help analyzing #385. 2011-12-17 15:26:50 +01:00
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
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