]> git.mxchange.org Git - flightgear.git/log
flightgear.git
17 years agoMaik JUSTUS: "ease the rotor of the hornet if not rotating"
mfranz [Sat, 23 Jun 2007 06:41:17 +0000 (06:41 +0000)]
Maik JUSTUS: "ease the rotor of the hornet if not rotating"

17 years agoincrease range of searched and displayed frequencies 40 -> 50 nm
mfranz [Fri, 22 Jun 2007 18:12:31 +0000 (18:12 +0000)]
increase range of searched and displayed frequencies 40 -> 50 nm

17 years agoMaik JUSTUS: prevent occasional OpenAL crashes after resets
mfranz [Fri, 22 Jun 2007 16:51:12 +0000 (16:51 +0000)]
Maik JUSTUS: prevent occasional OpenAL crashes after resets

17 years agoMaik JUSTUS: fix/implement directional sound
mfranz [Thu, 21 Jun 2007 21:49:46 +0000 (21:49 +0000)]
Maik JUSTUS: fix/implement directional sound

17 years ago... but use the exception text, of course. :-)
mfranz [Tue, 19 Jun 2007 10:56:50 +0000 (10:56 +0000)]
... but use the exception text, of course.  :-)

17 years agofix bug that prevented /sim/sceneryloaded from ever becoming "true" if
mfranz [Tue, 19 Jun 2007 10:18:14 +0000 (10:18 +0000)]
fix bug that prevented /sim/sceneryloaded from ever becoming "true" if
/sim/screneryloaded-override was "true". At least one subsystem (od_gauge)
waits for /sim/sceneryloaded to bypass CPU intensive code until the scenery
is up. This broke e.g. the RTT-radar when using /sim/screneryloaded-override

--prop:sim/sceneryloaded-override=true has the effect that fgfs
doesn't show the splash screen until the scenery is loaded, but shows
the OTW view (scenery/aircraft) at the earliest possible moment. This is
useful for developers who often need to run fgfs only to check some minor
detail, while not caring about stuttering caused by scenery loading.

17 years agoloadxml, savexml: don't pop up a GUI error message on error, but use a
mfranz [Tue, 19 Jun 2007 10:10:00 +0000 (10:10 +0000)]
loadxml, savexml: don't pop up a GUI error message on error, but use a
simple SG_LOG instead. The user didn't call the fgcommand, so why should
s/he be bothered with that? And the actually caller of the command gets a
return value and can pop up a dialog if it thinks it's necessary.

17 years agoFix the speed estimate, tune control surface deflection gains, parse the full
curt [Mon, 18 Jun 2007 22:01:32 +0000 (22:01 +0000)]
Fix the speed estimate, tune control surface deflection gains, parse the full
gps ITOW.

17 years ago256 Bytes ought to be enough for anybody ... hmm, better 512.
mfranz [Sun, 17 Jun 2007 08:14:02 +0000 (08:14 +0000)]
256 Bytes ought to be enough for anybody ...  hmm, better 512.

Why /sim/fg-current at all? Because we have a file selector dialog
(still unfinished), and one might like to start it from the current
directory, to find saved flights/screenshots/whatever.

17 years agoset /sim/fg-current to current working directory; getcwd() is defined in
mfranz [Sat, 16 Jun 2007 21:35:16 +0000 (21:35 +0000)]
set /sim/fg-current to current working directory; getcwd() is defined in
unistd.h (which was already included), and should be available in direct.h
under name _getcwd on MS Windows.

17 years agoMaik JUSTUS: add functions carttogeod() and geodtocart() to convert between
mfranz [Sat, 16 Jun 2007 18:22:20 +0000 (18:22 +0000)]
Maik JUSTUS: add functions carttogeod() and geodtocart() to convert between
x/y/z and lat/lon/alt                                      (OK'ed by Andy)

17 years agoStay with fg_os.cxx for now
fredb [Sat, 16 Jun 2007 16:41:17 +0000 (16:41 +0000)]
Stay with fg_os.cxx for now

17 years agoDon't catch a (potentially) meaningful exception only to replace it with
mfranz [Sat, 16 Jun 2007 16:25:40 +0000 (16:25 +0000)]
Don't catch a (potentially) meaningful exception only to replace it with
a meaningless one. bootstrap.cxx/main() will catch it, anyway.

17 years agoUpdate MSVC 7.1 projects
fredb [Sat, 16 Jun 2007 16:16:27 +0000 (16:16 +0000)]
Update MSVC 7.1 projects

17 years agoWin32 fix
fredb [Sat, 16 Jun 2007 16:16:15 +0000 (16:16 +0000)]
Win32 fix

17 years agoOSG file renamed
fredb [Sat, 16 Jun 2007 16:15:49 +0000 (16:15 +0000)]
OSG file renamed

17 years agoConsistency fix
fredb [Sat, 16 Jun 2007 15:57:42 +0000 (15:57 +0000)]
Consistency fix

17 years agoTim MOORE:
mfranz [Sat, 16 Jun 2007 09:39:56 +0000 (09:39 +0000)]
Tim MOORE:

FGManipulator.*:
"This patch works around a bug in OSG's handling of modifier keys. The
symptom of the bug is that modifier keys don't appear to be released."

fg_os_osgviewer.cxx:
"This patch fixes the test for support of cursor changes in OSG 2.0."

17 years agoMaik JUSTUS: "small update to the tilt-rotor feature"
mfranz [Sat, 16 Jun 2007 07:22:47 +0000 (07:22 +0000)]
Maik JUSTUS: "small update to the tilt-rotor feature"

17 years agoRemoved a stray debug message.
durk [Sat, 16 Jun 2007 05:38:05 +0000 (05:38 +0000)]
Removed a stray debug message.

17 years agoFix for refueling and radar calculations.
durk [Fri, 15 Jun 2007 20:52:32 +0000 (20:52 +0000)]
Fix for refueling and radar calculations.

17 years agoAlex Bory: TACAN has to search the new AI submode 'tanker'.
durk [Thu, 14 Jun 2007 05:26:57 +0000 (05:26 +0000)]
Alex Bory: TACAN has to search the new AI submode 'tanker'.

17 years agoMaik: Adding support for tilting of the rotor. Can be used for small
andy [Wed, 13 Jun 2007 21:10:23 +0000 (21:10 +0000)]
Maik: Adding support for tilting of the rotor. Can be used for small
autogyros or even for the Osprey.

17 years agoMake loadxml use an absolute path, like savexml (for consistency reasons, and
mfranz [Tue, 12 Jun 2007 16:13:21 +0000 (16:13 +0000)]
Make loadxml use an absolute path, like savexml (for consistency reasons, and
because this allows to load from FG_HOME. To reduce security risks, always
append an ".xml" extension if there was none. Makes it hard to read /etc/secret
and to overwrite ~/.bashrc.  :-)

17 years agoVivian MEAZZA:
mfranz [Mon, 11 Jun 2007 20:47:20 +0000 (20:47 +0000)]
Vivian MEAZZA:

simulate rotational moment of inertia by using a filter

17 years agoTweak control input estimation gains.
curt [Mon, 11 Jun 2007 20:14:40 +0000 (20:14 +0000)]
Tweak control input estimation gains.

17 years agoAdd an option to estimate control surfaces deflections based on rotational
curt [Mon, 11 Jun 2007 19:13:08 +0000 (19:13 +0000)]
Add an option to estimate control surfaces deflections based on rotational
rates (not perfect, but lacking any data at all this is better than showing
them all hard over full stop.)

17 years ago- make next_view()/pref_view() trigger listeners, otherwise the "view_cycle"
mfranz [Mon, 11 Jun 2007 19:02:01 +0000 (19:02 +0000)]
- make next_view()/pref_view() trigger listeners, otherwise the "view_cycle"
  fgcommand doesn't activate Dynamic View, Fly-By View, etc.
- consistent indentation (broke that with my last commit :-)

17 years agoVivian MEAZZA:
mfranz [Sun, 10 Jun 2007 18:24:48 +0000 (18:24 +0000)]
Vivian MEAZZA:
- let sumodels without subsubmodels die on impact
- remove "sub-id" tying

mf: move variable declarations to better places, variable renaming

17 years agoFix indentation.
curt [Sun, 10 Jun 2007 16:01:09 +0000 (16:01 +0000)]
Fix indentation.

17 years agoSyd Adams:
curt [Sun, 10 Jun 2007 15:58:50 +0000 (15:58 +0000)]
Syd Adams:

Export ground speed to property system under /velocities.

17 years agoChanged formatting to K&R/4 by "popular demand".
durk [Sun, 10 Jun 2007 06:06:57 +0000 (06:06 +0000)]
Changed formatting to K&R/4 by "popular demand".

17 years agoA couple tweaks.
curt [Sat, 9 Jun 2007 22:38:54 +0000 (22:38 +0000)]
A couple tweaks.

17 years agoAdded back in a few defines that I had accidentally deleted before.
durk [Sat, 9 Jun 2007 13:25:21 +0000 (13:25 +0000)]
Added back in a few defines that I had accidentally deleted before.

17 years agoCode cleanup of AIModels (mainly AIAircraft), by Thomas Foerster
durk [Sat, 9 Jun 2007 11:49:16 +0000 (11:49 +0000)]
Code cleanup of AIModels (mainly AIAircraft), by Thomas Foerster

17 years agouse getNode instead of hasValue (it's just a dir node and doesn't need a value)
mfranz [Sat, 9 Jun 2007 10:15:50 +0000 (10:15 +0000)]
use getNode instead of hasValue (it's just a dir node and doesn't need a value)

17 years agoModified Files:
frohlich [Fri, 8 Jun 2007 07:14:56 +0000 (07:14 +0000)]
Modified Files:
fg_os_osgviewer.cxx: Enable mouse cursor change code on
sufficiently recent osg versions.

17 years agoModified Files:
frohlich [Fri, 8 Jun 2007 06:50:38 +0000 (06:50 +0000)]
Modified Files:
src/Main/options.cxx:
Olaf Flebbe: Make use of SGSceneFeatues for anisotropic filtering,
        clean up.

17 years agoanother secret commit to sneak in stuff:
mfranz [Thu, 7 Jun 2007 22:48:37 +0000 (22:48 +0000)]
another secret commit to sneak in stuff:
- cleanup

17 years agoRemove the GUI popup from the screen capture C++ code (a request via
andy [Thu, 7 Jun 2007 16:57:59 +0000 (16:57 +0000)]
Remove the GUI popup from the screen capture C++ code (a request via
IRC wanted this to be scritable) and add it back (as a tip popup) via
a little nasal in the keyboard handler.  Also put the synthesis of
property nodes back into fgcommand(), because I got cold feet.

17 years agoVivian MEAZZA:
mfranz [Thu, 7 Jun 2007 16:30:26 +0000 (16:30 +0000)]
Vivian MEAZZA:

- collision detection for AI objects
- subsubmodels

mf: various modifications; more general cleanup to do

17 years agoAllow the second (property node) argument to fgcommand() to be nil or
andy [Thu, 7 Jun 2007 16:17:48 +0000 (16:17 +0000)]
Allow the second (property node) argument to fgcommand() to be nil or
missing, for sanity.  Note that this will pass the resulting NULL
pointer through into the underlying SGCommand handlers, some of which
may be unprepared for it.  So basically this is now yet another way
you can use Nasal to exercise bugs and hose your sim; no biggie.

17 years agosavexml: analog to loadxml, if no <sourcenode> is given, save file
mfranz [Wed, 6 Jun 2007 21:18:25 +0000 (21:18 +0000)]
savexml: analog to loadxml, if no <sourcenode> is given, save file
contents from the argument tree's <data> node. That way one doesn't have
to plug a temporary branch into the main tree.

17 years agoModified Files:
frohlich [Tue, 5 Jun 2007 17:44:49 +0000 (17:44 +0000)]
Modified Files:
FGManipulator.cxx: Stuart Buchanan: add tab key translation.

17 years agoadd check for thumbnail size
mfranz [Tue, 5 Jun 2007 16:04:24 +0000 (16:04 +0000)]
add check for thumbnail size

17 years agoMaik: fix crash when using aircraft with hitches under the command
andy [Tue, 5 Jun 2007 16:01:43 +0000 (16:01 +0000)]
Maik: fix crash when using aircraft with hitches under the command
line solver.  (He promises to get all the MP interaction out of the
FDM in a future patch.)

17 years agoloadxml: if argument "targetnode" isn't defined, return the file data in
mfranz [Mon, 4 Jun 2007 10:07:31 +0000 (10:07 +0000)]
loadxml: if argument "targetnode" isn't defined, return the file data in
the argument tree under "data". This is useful in cases where the file
data are only needed temporarily and shouldn't remain in the main tree.

17 years agoSyd ADAMS:
mfranz [Sun, 3 Jun 2007 18:17:05 +0000 (18:17 +0000)]
Syd ADAMS:

"normalize the radar x and y-shift , 0 to 1.0 based on
/instruments/radar/range to make animation simpler"

17 years agoSync w. JSBSim CVS (merge from PRE_OSG_PLIB_20061029 branch)
mfranz [Sun, 3 Jun 2007 12:49:19 +0000 (12:49 +0000)]
Sync w. JSBSim CVS   (merge from PRE_OSG_PLIB_20061029 branch)

17 years agoSync w. JSBSim CVS (merge from PRE_OSG_PLIB_20061029 branch)
mfranz [Sun, 3 Jun 2007 09:37:02 +0000 (09:37 +0000)]
Sync w. JSBSim CVS   (merge from PRE_OSG_PLIB_20061029 branch)

17 years ago-Minor fix: Only read traffic from data/Traffic/fgtraffic.xml if that path really...
durk [Thu, 31 May 2007 19:53:53 +0000 (19:53 +0000)]
-Minor fix: Only read traffic from data/Traffic/fgtraffic.xml if that path really exists.
- Added a comment explaining why the first 1000 frames are skipped.

17 years ago- add heading-deg, pitch-deg, roll-deg to impact/
mfranz [Thu, 31 May 2007 18:08:12 +0000 (18:08 +0000)]
- add heading-deg, pitch-deg, roll-deg to impact/
- if no <impact-reports> node is defined for a particular submodel, then
  write the path to /ai/models/model-impact instead
- don't tie() properties that are only ever set a single time, if at all!
- better variable names

17 years agoMaik JUSTUS: fix typo (ROTORRELTARGET)
mfranz [Thu, 31 May 2007 16:58:58 +0000 (16:58 +0000)]
Maik JUSTUS: fix typo (ROTORRELTARGET)

17 years agoModified Files:
frohlich [Thu, 31 May 2007 12:12:06 +0000 (12:12 +0000)]
Modified Files:
src/Cockpit/panel_io.cxx: use existing function to parse an
interpolation table.

17 years agoModified Files:
frohlich [Wed, 30 May 2007 13:17:31 +0000 (13:17 +0000)]
Modified Files:
projects/VC8/FGJS.vcproj projects/VC8/FlightGear.vcproj
projects/VC8/FlightGearLib.vcproj projects/VC8/JS_demo.vcproj:
Olaf Flebbe: win32 build system.

17 years agoModified Files:
frohlich [Wed, 30 May 2007 13:15:14 +0000 (13:15 +0000)]
Modified Files:
src/GUI/dialog.cxx src/GUI/menubar.cxx
src/Include/config.h-msvc8 src/Main/fg_os_osgviewer.cxx:
Olaf Flebbe: build fixes for osgviewer on win32.

17 years agoModified Files:
frohlich [Mon, 28 May 2007 05:21:45 +0000 (05:21 +0000)]
Modified Files:
src/Main/options.cxx:
Olaf Flebbe: Improoved texture filtering.

17 years agoMaik: add ROTORELTARGET and ROTORENGINEMAXRELTORQUE input axes
andy [Sun, 27 May 2007 20:19:15 +0000 (20:19 +0000)]
Maik: add ROTORELTARGET and ROTORENGINEMAXRELTORQUE input axes

17 years agoModified Files:
frohlich [Sat, 26 May 2007 13:53:46 +0000 (13:53 +0000)]
Modified Files:
  src/Input/input.cxx src/Input/input.hxx
src/Main/FGManipulator.cxx src/Main/fg_os.cxx
  src/Main/fg_os.hxx src/Main/fg_os_osgviewer.cxx
src/Main/fg_os_sdl.cxx src/Main/renderer.cxx
src/Main/renderer.hxx: First cut of osg multi view configurations.

17 years agoModified Files:
frohlich [Sat, 26 May 2007 13:51:23 +0000 (13:51 +0000)]
Modified Files:
src/Scenery/tileentry.cxx: Jonathan Wagner:
Removes black dots by accounting for radius of nodes
when calculating visible nodes for traversal without removing the
optimization.  Confirmed fix with a few people on IRC.

17 years agoModified Files:
frohlich [Sat, 26 May 2007 11:39:13 +0000 (11:39 +0000)]
Modified Files:
src/GUI/gui.h src/GUI/gui_funcs.cxx src/Main/fg_commands.cxx
src/Main/renderer.cxx src/Main/renderer.hxx: Tim Moore:
These patches implement a command to dump the entire OSG scene graph as
        a .osg text file. While large, this allows debuggers to really see
        what's happening in the scene graph.

17 years agoModified Files:
frohlich [Sat, 26 May 2007 11:33:11 +0000 (11:33 +0000)]
Modified Files:
  src/Main/renderer.cxx:
Tim Moore:
This patch fixes the (lack of) spin animation in the osgViewer version.

17 years agoMaik: place the contact points at the rotor blade tips (center+radius), not at center...
andy [Fri, 25 May 2007 22:58:04 +0000 (22:58 +0000)]
Maik: place the contact points at the rotor blade tips (center+radius), not at center+diameter

17 years agoMaik: add unbalance and testing of rotor ground contact
andy [Fri, 25 May 2007 21:15:59 +0000 (21:15 +0000)]
Maik: add unbalance and testing of rotor ground contact

17 years agoModified Files:
frohlich [Fri, 25 May 2007 18:08:37 +0000 (18:08 +0000)]
Modified Files:
src/Main/FGManipulator.cxx: Tim Moore:
This adds support for the keypad and the ever-important backspace and
delete (!) to the osgViewer code.

17 years agoDon't fix what ain't broke.
durk [Fri, 25 May 2007 07:20:41 +0000 (07:20 +0000)]
Don't fix what ain't broke.

17 years agoQuit the application on window close.
frohlich [Wed, 23 May 2007 17:57:05 +0000 (17:57 +0000)]
Quit the application on window close.

17 years agoYank the automake version test. The numerics break for the (two-digit
andy [Mon, 21 May 2007 20:22:18 +0000 (20:22 +0000)]
Yank the automake version test.  The numerics break for the (two-digit
minor number) automake 1.10 shipped with Ubuntu Feisty, and in any
case version 1.4 (the last incompatible version) is now over 8 years
old.

17 years agoNeed to pull in config.h before plib/pu.h or else PUI thinks it's in
andy [Mon, 21 May 2007 19:24:57 +0000 (19:24 +0000)]
Need to pull in config.h before plib/pu.h or else PUI thinks it's in
Glut mode and the build breaks under SDL

17 years agoModified Files:
frohlich [Mon, 21 May 2007 17:50:02 +0000 (17:50 +0000)]
Modified Files:
configure.ac src/Main/Makefile.am src/Main/fg_os.cxx
src/Main/fg_os.hxx src/Main/fg_os_sdl.cxx src/Main/main.cxx
src/Main/renderer.cxx src/Main/renderer.hxx
src/Network/jpg-httpd.cxx
Added Files:
src/Main/FGManipulator.cxx src/Main/FGManipulator.hxx
src/Main/fg_os_osgviewer.cxx:
Tim Moore: Make use of osgViewer.

17 years agoUpdates.
curt [Fri, 18 May 2007 02:09:55 +0000 (02:09 +0000)]
Updates.

17 years agoFix an array overrun error (Ok'd by Jon)
curt [Thu, 17 May 2007 20:25:16 +0000 (20:25 +0000)]
Fix an array overrun error (Ok'd by Jon)

17 years agoAdded Olaf Flebbe.
curt [Thu, 17 May 2007 19:46:29 +0000 (19:46 +0000)]
Added Olaf Flebbe.

17 years agoUpdates.
curt [Thu, 17 May 2007 19:27:41 +0000 (19:27 +0000)]
Updates.

17 years agoLadislav Michnovič: fix a 64bit problem.
curt [Thu, 17 May 2007 18:43:36 +0000 (18:43 +0000)]
Ladislav Michnovič: fix a 64bit problem.

17 years agoTrim any extra verbocity in the version number.
curt [Wed, 16 May 2007 16:50:41 +0000 (16:50 +0000)]
Trim any extra verbocity in the version number.

17 years agoType consistency.
curt [Wed, 16 May 2007 16:47:13 +0000 (16:47 +0000)]
Type consistency.

17 years agoUpdates for scenery object database credits.
curt [Wed, 16 May 2007 14:32:07 +0000 (14:32 +0000)]
Updates for scenery object database credits.

17 years agoFor now, OSG head should look for the same "data" tree version as the plib
curt [Wed, 16 May 2007 03:53:47 +0000 (03:53 +0000)]
For now, OSG head should look for the same "data" tree version as the plib
branch.

17 years agoMail++, Vivian++, ... and mine, of course :-)
mfranz [Tue, 15 May 2007 22:41:18 +0000 (22:41 +0000)]
Mail++, Vivian++, ... and mine, of course  :-)
Will think about whose efforts are still unmentioned.

17 years agoreverting a small part; shouldn't make a difference, though
mfranz [Tue, 15 May 2007 21:37:16 +0000 (21:37 +0000)]
reverting a small part; shouldn't make a difference, though

17 years agoMaik JUSTUS: "further (final?) modifications for the jet ranger rotor"
mfranz [Tue, 15 May 2007 21:30:33 +0000 (21:30 +0000)]
Maik JUSTUS: "further (final?) modifications for the jet ranger rotor"

17 years agodrop /ai/models/ballistic[]/impact/signal node, and allow instead to define
mfranz [Tue, 15 May 2007 19:45:41 +0000 (19:45 +0000)]
drop /ai/models/ballistic[]/impact/signal node, and allow instead to define
a report node in the submodels config:

  <impact-reports>/sim/model/cow/impact</impact-reports>

When an impact happens, then the path of the submodel will be written to
this node. An attached listener function can evaluate the impact properties.

17 years ago- add leading underscores to class member variables
mfranz [Tue, 15 May 2007 17:22:49 +0000 (17:22 +0000)]
- add leading underscores to class member variables
- initialize ht_agl_ft with high value to avoid premature impact animation
- cosmetics

17 years agoVivian MEAZZA: add terrain collision for submodels on request
mfranz [Tue, 15 May 2007 16:19:11 +0000 (16:19 +0000)]
Vivian MEAZZA: add terrain collision for submodels on request
               (set <impact>1</impact> in the submodel config)

mf: minor modifications & cleanup; more to come

17 years ago- don't abort just because a sample wasn't found
mfranz [Tue, 15 May 2007 14:39:56 +0000 (14:39 +0000)]
- don't abort just because a sample wasn't found
- rename to play-audio-sample (not every sound is a message)

17 years agoAndy ROSS:
mfranz [Mon, 14 May 2007 16:24:41 +0000 (16:24 +0000)]
Andy ROSS:

add systime() function for benchmarking purposes. It returns UNIX epoch
time in seconds.

17 years agolet "terrain-elevation" also return material name ("material" -> "Grass")
mfranz [Sun, 13 May 2007 19:03:15 +0000 (19:03 +0000)]
let "terrain-elevation" also return material name ("material" -> "Grass")
and solid state ("solid")

17 years agos/resistence/resistance/
mfranz [Sun, 13 May 2007 11:58:36 +0000 (11:58 +0000)]
s/resistence/resistance/

17 years agos/resistence/resistance/
mfranz [Sun, 13 May 2007 11:53:21 +0000 (11:53 +0000)]
s/resistence/resistance/

17 years agosilence MSVC8
mfranz [Sun, 13 May 2007 08:43:40 +0000 (08:43 +0000)]
silence MSVC8

17 years agoadd error messages for invalid args to settimer()
mfranz [Sat, 12 May 2007 18:15:45 +0000 (18:15 +0000)]
add error messages for invalid args to settimer()

17 years agoAnders GIDENSTAM: fix slip skid ball (merge from JSBSim/cvs)
mfranz [Sat, 12 May 2007 15:10:39 +0000 (15:10 +0000)]
Anders GIDENSTAM: fix slip skid ball   (merge from JSBSim/cvs)

JSB: "Fixed a problem with turn coordinator bounding while at rest on the runway"

17 years agoVivian MEAZZA:
mfranz [Sat, 12 May 2007 10:39:56 +0000 (10:39 +0000)]
Vivian MEAZZA:

- extract common parts of load() and loadAI() into setData()
- fix trigger handling for aircraft that set a not yet existing property

17 years ago- degrade electrical XML SG_ALERT to SG_WARN. The reason why this is output
mfranz [Fri, 11 May 2007 18:00:07 +0000 (18:00 +0000)]
- degrade electrical XML SG_ALERT to SG_WARN. The reason why this is output
  at all is that this method is meant to be deprecated. But if it doesn't
  say that, and there's no generic replacement at all, then it's rather
  pointless.
- simplify parameter initialization (The old code copied from Instrumentation/
  but has been simplified there in the same manner a few months ago
  The new method is less picky about additional nodes ane outputs less
  pointless alerts. If there shall really be a check for that, then
  this should be a separate function. But it's nowhere else done in fgfs.

17 years ago- don't abort just because of an unexpected "repeat period"! Complain and
mfranz [Thu, 10 May 2007 14:28:17 +0000 (14:28 +0000)]
- don't abort just because of an unexpected "repeat period"! Complain and
  recover instead
- it was apparently planned to run the updated loop only every 1000th
  frame, but the counter isn't reset, so it runs every frame
- use SG_LOG instead of cerr
- don't add redundant slashes in SGPath::append()

17 years ago- One of the most frequent bug reports is about "terminate called after
mfranz [Thu, 10 May 2007 12:50:50 +0000 (12:50 +0000)]
- One of the most frequent bug reports is about  "terminate called after
  throwing an instance of 'sg_io_exception'\nAbandon". And this is caused
  by compiling fgfs/sg without exception support (unlikely) or linking
  against a libSDL/libglut that was compiled/linked without execption
  support. While we can't fix that, we can tell the users who's to blame. :-)
- handle  const char *  exceptions

17 years agoMaik JUSTUS: remove temporary debugging message
mfranz [Wed, 9 May 2007 21:12:20 +0000 (21:12 +0000)]
Maik JUSTUS: remove temporary debugging message

17 years agodegrade SG_ALERT message about phi/delta3 values to SG_WARN (should
mfranz [Wed, 9 May 2007 21:01:19 +0000 (21:01 +0000)]
degrade SG_ALERT message about phi/delta3 values to SG_WARN (should
probably be SG_DEBUG!?)

17 years agoModified Files:
frohlich [Wed, 9 May 2007 20:41:08 +0000 (20:41 +0000)]
Modified Files:
src/ATC/AIPlane.cxx src/ATC/ATC.cxx src/ATC/ATCDialog.cxx
src/ATC/ATCmgr.cxx src/ATC/Makefile.am src/ATC/approach.cxx
src/ATC/atis.cxx src/ATC/ground.cxx src/ATC/tower.cxx
src/GUI/mouse.cxx src/Main/Makefile.am src/Main/fg_init.cxx
src/Main/fg_props.cxx src/Main/globals.cxx
src/Main/globals.hxx src/Main/main.cxx src/Main/renderer.cxx
src/Model/acmodel.cxx src/Scenery/scenery.cxx
src/Scenery/scenery.hxx src/Scenery/tilemgr.cxx
src/Scenery/tilemgr.hxx
Removed Files:
src/ATC/ATCdisplay.cxx src/ATC/ATCdisplay.hxx:
Remove unused functions and the disabled ATC display.