]> git.mxchange.org Git - flightgear.git/log
flightgear.git
18 years agoRecent SimGear changes seem to require more additions of config.h to FG in order...
daveluff [Wed, 22 Feb 2006 21:04:47 +0000 (21:04 +0000)]
Recent SimGear changes seem to require more additions of config.h to FG in order to compile on Cygwin

18 years agoOops - I think I introduced some dos line endings - this should fix it
daveluff [Wed, 22 Feb 2006 20:27:00 +0000 (20:27 +0000)]
Oops - I think I introduced some dos line endings - this should fix it

18 years agoA couple of hacks to fix cygwin compilation. These may not be the correct fix, but...
daveluff [Wed, 22 Feb 2006 19:21:29 +0000 (19:21 +0000)]
A couple of hacks to fix cygwin compilation.  These may not be the correct fix, but they prevent new cygwin users getting an almost instant compile error following make

18 years agoStuart BUCHANAN:
mfranz [Wed, 22 Feb 2006 17:09:06 +0000 (17:09 +0000)]
Stuart BUCHANAN:

Nasal/XML based tutorial system

18 years agodisable old ATC display. This is now done via screen.log.write() messages.
mfranz [Tue, 21 Feb 2006 21:29:19 +0000 (21:29 +0000)]
disable old ATC display. This is now done via screen.log.write() messages.
(Decide after 0.9.10 if it should be replaced with a new C++ implementation,
or if the Nasal one is good enough.)

18 years agonew FSF address (see http://www.gnu.org/licenses/gpl.html)
mfranz [Tue, 21 Feb 2006 17:45:03 +0000 (17:45 +0000)]
new FSF address (see http://www.gnu.org/licenses/gpl.html)

18 years agoset new FSF address (the whole paragraph is taken from
mfranz [Tue, 21 Feb 2006 17:37:31 +0000 (17:37 +0000)]
set new FSF address (the whole paragraph is taken from
http://www.gnu.org/licenses/gpl.html, so it drops the link)

18 years ago- remove unused pthread mutex and condition
mfranz [Tue, 21 Feb 2006 13:19:33 +0000 (13:19 +0000)]
- remove unused pthread mutex and condition
- remove cleanup handler that unlocks unused mutex
- make the result_queue a locking queue (blocking is only done in the
  pop() anyway, and this isn't used in the thread at all)
- don't disallow thread cancelling in the request_queue's pop(), which
  is the only cancellation point in this thread

18 years agonew FSF address
mfranz [Tue, 21 Feb 2006 01:16:04 +0000 (01:16 +0000)]
new FSF address

18 years agoThe current_fixlist pointer is depreciated now that it is set in globals
daveluff [Mon, 20 Feb 2006 22:34:15 +0000 (22:34 +0000)]
The current_fixlist pointer is depreciated now that it is set in globals

18 years agoSuppress a recurrent "no error" message, at least with MSVC
fredb [Sun, 19 Feb 2006 19:04:21 +0000 (19:04 +0000)]
Suppress a recurrent "no error" message, at least with MSVC

18 years agoMathias Fröhlich:
ehofman [Sun, 19 Feb 2006 17:28:31 +0000 (17:28 +0000)]
Mathias Fröhlich:

This patch makes use of the vectors now available in simgear with that past
patch. And using that it simplyfies the carrier code somehow.

- Small additional factory's to the quaternion code are done in the simgear
  part. Also more explicit unit names in the factory functions.
- The flightgear part makes use of them and simplyfies some computations
  especially in the carrier code.
- The data part fixes the coordinate frames I used for the park positions in
  the carrier to match the usual ones. I believed that I had done so, but it
  was definitly different. Also there are more parking positions avaliable now.

18 years agodisplay deposit depths < 1mm correctly (although this is rather a
mfranz [Sun, 19 Feb 2006 13:59:39 +0000 (13:59 +0000)]
display deposit depths < 1mm correctly (although this is rather a
theoretical problem :-)

18 years agomake sure the dialog property tree can't disappear until we wrote the
mfranz [Sun, 19 Feb 2006 08:48:30 +0000 (08:48 +0000)]
make sure the dialog property tree can't disappear until we wrote the
last position back

18 years agoFix line endings
fredb [Sat, 18 Feb 2006 17:06:08 +0000 (17:06 +0000)]
Fix line endings

18 years agoFix line endings
fredb [Sat, 18 Feb 2006 16:54:35 +0000 (16:54 +0000)]
Fix line endings

18 years agoUpdate MSVC project file
fredb [Sat, 18 Feb 2006 16:02:48 +0000 (16:02 +0000)]
Update MSVC project file

18 years agoNot missing but at the wrong place
fredb [Sat, 18 Feb 2006 15:29:13 +0000 (15:29 +0000)]
Not missing but at the wrong place

18 years agoautomatically unlock mutex, because wait is a cancel point
mfranz [Sat, 18 Feb 2006 14:29:22 +0000 (14:29 +0000)]
automatically unlock mutex, because wait is a cancel point

18 years agowasn't missing
mfranz [Sat, 18 Feb 2006 14:12:49 +0000 (14:12 +0000)]
wasn't missing

18 years agoAdd missing include files needed by the new math code under windows
fredb [Sat, 18 Feb 2006 14:05:47 +0000 (14:05 +0000)]
Add missing include files needed by the new math code under windows

18 years agoAdd missing include files needed by the new math code under windows
fredb [Sat, 18 Feb 2006 13:58:09 +0000 (13:58 +0000)]
Add missing include files needed by the new math code under windows

18 years agoDefine NOMINMAX
fredb [Sat, 18 Feb 2006 13:38:51 +0000 (13:38 +0000)]
Define NOMINMAX

18 years agoFix Code generation option for release build
fredb [Sat, 18 Feb 2006 12:04:12 +0000 (12:04 +0000)]
Fix Code generation option for release build

18 years agonoise reduction (flooding the terminal isn't exactly informative)
mfranz [Sat, 18 Feb 2006 00:18:20 +0000 (00:18 +0000)]
noise reduction (flooding the terminal isn't exactly informative)

18 years agoRemove occurence of _USE_MATH_DEFINES
fredb [Fri, 17 Feb 2006 22:13:18 +0000 (22:13 +0000)]
Remove occurence of _USE_MATH_DEFINES

18 years agoMSVC fix
fredb [Fri, 17 Feb 2006 21:53:22 +0000 (21:53 +0000)]
MSVC fix

18 years agoMIPSpro fix.
ehofman [Fri, 17 Feb 2006 10:40:59 +0000 (10:40 +0000)]
MIPSpro fix.

18 years agoRemove unused files.
ehofman [Fri, 17 Feb 2006 09:58:07 +0000 (09:58 +0000)]
Remove unused files.

18 years agoMathias Fröhlich:
ehofman [Fri, 17 Feb 2006 09:43:33 +0000 (09:43 +0000)]
Mathias Fröhlich:

The new multiplayer patch with an extension to transmit some properties with
the base package. The properties are transmitted in a way that will not
immediately brake the packet format if we need new ones.
Even if the maxmimum number needs to be limited somehow, that format might
work well until we have an improoved packet format which is even more compact
and that does not require to retransmit redundant information with each
packet.

That part is relatively fresh and based on that what Oliver provides on his
multiplayer server web page.

The properties are transferred to the client and I have modified the seahawks
rudder animation property to use a relative property path to verify that it
works appart from the fact that you can see it changing in the property
browser.

The movement is still a bit jerky, but that can be fixed/tuned later without
again braking the packet format.

18 years agoOlaf Flebbe:
ehofman [Fri, 17 Feb 2006 08:54:22 +0000 (08:54 +0000)]
Olaf Flebbe:

This patch makes FlightGear at least compile on MSVC. I hope I have removed
reference of my other local changes. DSP and DSW files are included for
reference. They have been reconstructed with am2dsp.pl. I had to introduce a
change to am2dsp because of the need of filenames with embedded spaces. (Yuck)

The major direction is to remove clutter like the _USE_MATH_DEFINES and have it
on the compiler command line sice there is no central include file. You will
have to put it on the command line for your locale Project files, if it not
there, already. I added the _CRT_SECURE_NO_DEPRECATE define for 2005, since it
does no harm to other VC version.

18 years agoin fgWarpMouse() we need to flush all mouse motion events before we can set
mfranz [Thu, 16 Feb 2006 21:02:09 +0000 (21:02 +0000)]
in fgWarpMouse() we need to flush all mouse motion events before we can set
the mouse pointer to a new position. Otherwise it can happen that the new
position is first set, but then come a few still unprocessed events for the
old position. This makes ugly jumps in mouse view mode.

18 years agoAdd support for emissive layers.
ehofman [Thu, 16 Feb 2006 18:59:48 +0000 (18:59 +0000)]
Add support for emissive layers.

18 years agoThe "constrained" property for a mouse mode now actually constrains
david [Thu, 16 Feb 2006 01:30:28 +0000 (01:30 +0000)]
The "constrained" property for a mouse mode now actually constrains
the mouse rather than wrapping it.  Wrapping around to the other side
of the screen has very bad consequences when using the mouse for
flying or viewing -- it can result in sudden jumps in the controls or
the viewpoint when the mouse jumps to another side of the screen.

Right now, the mouse is constrained to stay between 25% and 75% of the
screen on both the X and Y axis -- whenever it hits an edge, it jumps
back to the centre of the screen again (which causes no control or
view jump).

18 years agonoise reduction
mfranz [Wed, 15 Feb 2006 22:03:15 +0000 (22:03 +0000)]
noise reduction

18 years agowhoops :-}
mfranz [Wed, 15 Feb 2006 08:34:42 +0000 (08:34 +0000)]
whoops  :-}

18 years agocleanup
mfranz [Wed, 15 Feb 2006 08:25:23 +0000 (08:25 +0000)]
cleanup

18 years agogeo coords on button *down*. Noise reduction.
mfranz [Wed, 15 Feb 2006 08:15:28 +0000 (08:15 +0000)]
geo coords on button *down*. Noise reduction.

18 years agoreduce noise
mfranz [Tue, 14 Feb 2006 22:24:53 +0000 (22:24 +0000)]
reduce noise

18 years agoscreenPrint() is obsolete. Use screen.log.write() for the same purpose,
mfranz [Mon, 13 Feb 2006 20:08:04 +0000 (20:08 +0000)]
screenPrint() is obsolete. Use screen.log.write() for the same purpose,
or write to the color properties in /sim/screen/. If this Nasal/GUI
implementation turns out to be too slow, we'll write a generic OpenGL/plib
version simliar to the ATCdisplay code.  (OK'ed by Andy and Stuart)

18 years agoscreenPrint() is obsolete. Use screen.log.write() for the same purpose,
mfranz [Mon, 13 Feb 2006 19:59:07 +0000 (19:59 +0000)]
screenPrint() is obsolete. Use screen.log.write() for the same purpose,
or write to the color properties in /sim/screen/. If this Nasal/GUI
implementation turns out to be too slow, we'll write a generic OpenGL/plib
version simliar to the ATCdisplay code.  (OK'ed by Andy and Stuart)

18 years agoscreenPrint() is obsolete. Use screen.log.write() for the same purpose,
mfranz [Mon, 13 Feb 2006 19:46:03 +0000 (19:46 +0000)]
screenPrint() is obsolete. Use screen.log.write() for the same purpose,
or write to the color properties in /sim/screen/. If this Nasal/GUI
implementation turns out to be too slow, we'll write a generic OpenGL/plib
version simliar to the ATCdisplay code.  (OK'ed by Andy and Stuart)

18 years agoset /sim/fg-home in analogy to /sim/fg-root. This is useful for various
mfranz [Mon, 13 Feb 2006 16:49:18 +0000 (16:49 +0000)]
set /sim/fg-home in analogy to /sim/fg-root. This is useful for various
scripts that load/write user specific data that shouldn't go to PWD, and
can't go to $FG_ROOT (due to permissions and clean separation of 'official'
data and local modifications)

18 years agoJust a gimmick: make background color configurable. Maybe some dark color
mfranz [Sun, 12 Feb 2006 20:37:57 +0000 (20:37 +0000)]
Just a gimmick: make background color configurable. Maybe some dark color
might look nicer for certain aircraft specific splash screens. Test with:
$ fgfs --prop:/sim/gui/colors/splash-screen/blue=0.35

18 years agoCatch sound exceptions at the earliest, report problem has an alert, and continue...
fredb [Sun, 12 Feb 2006 19:57:57 +0000 (19:57 +0000)]
Catch sound exceptions at the earliest, report problem has an alert, and continue without segfaulting ( hopefully )

18 years agoonly user specified negative coords are interpreted as relative to the upper
mfranz [Sun, 12 Feb 2006 19:43:53 +0000 (19:43 +0000)]
only user specified negative coords are interpreted as relative to the upper
right corner, not those that are result of centering a dialog if no x/y are
given. This centers screen.log messages correctly. But maybe we have to
rethink that special meaning of negative coords altogether.

18 years agoRemove old festival code.
mfranz [Sun, 12 Feb 2006 17:17:15 +0000 (17:17 +0000)]
Remove old festival code.

18 years agoRemove old festival code."
ehofman [Sun, 12 Feb 2006 17:11:07 +0000 (17:11 +0000)]
Remove old festival code."

18 years agoRemove old festival code.
ehofman [Sun, 12 Feb 2006 17:04:22 +0000 (17:04 +0000)]
Remove old festival code.

18 years agoreplace 'innovative' clamping method with something more traditional
mfranz [Sun, 12 Feb 2006 14:17:30 +0000 (14:17 +0000)]
replace 'innovative' clamping method with something more traditional

18 years agoUnused local variable removed
fredb [Sat, 11 Feb 2006 14:51:20 +0000 (14:51 +0000)]
Unused local variable removed

18 years agoPortability fix - use SimGear when available
fredb [Sat, 11 Feb 2006 14:43:48 +0000 (14:43 +0000)]
Portability fix - use SimGear when available

18 years agoRemove empty files.
ehofman [Sat, 11 Feb 2006 13:57:40 +0000 (13:57 +0000)]
Remove empty files.

18 years agoMathias Froehlich:
ehofman [Sat, 11 Feb 2006 13:16:56 +0000 (13:16 +0000)]
Mathias Froehlich:

This patch removes some useless indirection when creating AIModels. It
obsolets AIScenario*.

AIEntities are just an intermediate copy of an other intermediate copy of an
xml file on the way from the ai scenario configuration file to the AIModels.
As such the AImodels can now be created directly from the property tree read
from the scenario file.

This reduces the amount of work needed to add an other AIModel and reduces the
amount of copy operations done during initialization.

It also moves internal knowledge of special AI models into these special AI
models class instead of spreading that into the whole AIModel subdirectory
which in turn enables to use carrier internal data structures for carrier
internal data ...

Also some unused variables are removed from the AIModel classes.
I believe that there are still more of them, but that is what I stumbled
accross ...

Tested, like the other splitouts these days in a seperate tree and using the
autopilot for some time, and in this case with a carrier start ...

18 years agostart "voice" subsystem
mfranz [Sat, 11 Feb 2006 12:02:40 +0000 (12:02 +0000)]
start "voice" subsystem

18 years agoadd voice subsystem. This is a generic socket interface with a special
mfranz [Sat, 11 Feb 2006 11:58:17 +0000 (11:58 +0000)]
add voice subsystem. This is a generic socket interface with a special
mode for communication with the "Festival" speech synthesis system.

18 years agorename user `preferences.xml' to `autosave.xml'. The former name lead to
mfranz [Sat, 11 Feb 2006 11:51:20 +0000 (11:51 +0000)]
rename user `preferences.xml' to `autosave.xml'. The former name lead to
problems because a lot of people already have their *real* preferences
set in ~/.fgfs/preferences.xml (and don't want fgfs to stomp over them),
because the name doesn't tell people that their data aren't save there
(comments!), and because this is inconsistent with the global preferences.xml
file, where user changes *are* respected.

18 years agoImplement some of the inner-knob-out scan functionality. The waypoints of the active...
daveluff [Fri, 10 Feb 2006 23:19:45 +0000 (23:19 +0000)]
Implement some of the inner-knob-out scan functionality.  The waypoints of the active flightplan can now be scanned on the NAV4 page, and will become the default direct-to waypoint if dto is pressed whilst scan in on on the NAV4 page.  Scan functionality on the waypoint pages is still TODO.

18 years agoRemove some debugging output
daveluff [Fri, 10 Feb 2006 23:10:57 +0000 (23:10 +0000)]
Remove some debugging output

18 years agoVivian wants: s/with the ATIS/with ATIS/
mfranz [Fri, 10 Feb 2006 21:26:36 +0000 (21:26 +0000)]
Vivian wants: s/with the ATIS/with ATIS/

18 years agopreliminary fix for the "golf foxtrot sierra follow the golf foxtrott sierra"
mfranz [Fri, 10 Feb 2006 20:15:01 +0000 (20:15 +0000)]
preliminary fix for the "golf foxtrot sierra follow the golf foxtrott sierra"
problem; Of course, this needs to respect the /sim/user/callsign settings
as a next step.

18 years agodon't set the callsign, but use the set one
mfranz [Fri, 10 Feb 2006 19:57:46 +0000 (19:57 +0000)]
don't set the callsign, but use the set one

18 years agoDon't send repeating messages (ATIS) to the /sim/messages/atc property.
mfranz [Thu, 9 Feb 2006 19:15:49 +0000 (19:15 +0000)]
Don't send repeating messages (ATIS) to the /sim/messages/atc property.

18 years agoone line sooner would be wise :-)
mfranz [Thu, 9 Feb 2006 17:27:37 +0000 (17:27 +0000)]
one line sooner would be wise :-)

18 years agoremove the subsystem in the destructor that was added in the constructor.
mfranz [Thu, 9 Feb 2006 17:21:58 +0000 (17:21 +0000)]
remove the subsystem in the destructor that was added in the constructor.
This prevents nasty crashes on "environment" subsystem removal.

18 years agoVivian Meazza:
ehofman [Thu, 9 Feb 2006 12:29:05 +0000 (12:29 +0000)]
Vivian Meazza:

This patch is a combined effort by Gregor Richards, Oliver Schroeder, and
Vivian Meazza (and code cleanups and improvements by Erik Hofman). It corrects
the bug in which a Multiplayer model responds to local inputs, and the view
number bug which caused certain aircraft to appear as cockpit only models. It
passes remote properties over the net, and all major control surfaces and gear
are now animated correctly, providing that the local ~model.xml file contains
no leading "/" in the <property></property> data entries. MP objects
are now extrapolated using 1st and 2nd derivatives to make their movement
appear more smooth. The sim is now halted while a new client joins the net.

Known problems with MP are non-display of the remote client under certain
circumstances of starting/resetting, and a freeze on starting. These bugs are
long standing, and are not addressed by this patch.

Special thanks must go to AJ Macleod for his patient testing of this patch over many evenings.

We have also moved part of multiplayer into AIModels as part of the ongoing
development of MP.

18 years agoadd workaround for gdb bug
mfranz [Thu, 9 Feb 2006 11:08:17 +0000 (11:08 +0000)]
add workaround for gdb bug
s/calltree/callgrind/

18 years agomake sure the index is in the array, which isn't necessarily the case,
mfranz [Wed, 8 Feb 2006 17:18:24 +0000 (17:18 +0000)]
make sure the index is in the array, which isn't necessarily the case,
because a dialog button can get pressed when its callback isn't available
any more. Ideally, we would close the dialog or update its buttons when
this happens. But this requires bigger changes.

18 years agoMathias Fröhlich:
ehofman [Wed, 8 Feb 2006 10:25:56 +0000 (10:25 +0000)]
Mathias Fröhlich:

Make use of the automatic reference counting class for ssg* data in flightgear.

18 years agoSync. w. JSBSim CVS.
ehofman [Wed, 8 Feb 2006 09:15:57 +0000 (09:15 +0000)]
Sync. w. JSBSim CVS.

18 years agoemit to different message properties:
mfranz [Tue, 7 Feb 2006 22:35:22 +0000 (22:35 +0000)]
emit to different message properties:
/sim/messages/{atc,pilot,ai-plane,ground,approach}
These can the be used for differenct screen.log colors and for different
voices. (Aircraft & tutoruals may want to write to /sim/messages/copilot)

18 years agoadd al-info
mfranz [Sun, 5 Feb 2006 16:41:47 +0000 (16:41 +0000)]
add al-info

18 years agoVivian MEAZZA:
mfranz [Sun, 5 Feb 2006 11:33:08 +0000 (11:33 +0000)]
Vivian MEAZZA:

"Bug fix - ensure all TACAN channels are included"

18 years agocosmetics
mfranz [Sat, 4 Feb 2006 23:27:31 +0000 (23:27 +0000)]
cosmetics

18 years agopublic domain
mfranz [Sat, 4 Feb 2006 23:07:41 +0000 (23:07 +0000)]
public domain

18 years agoexport ATC message to /sim/messages/atc
mfranz [Sat, 4 Feb 2006 16:55:05 +0000 (16:55 +0000)]
export ATC message to /sim/messages/atc

18 years agostore garbage collector id (again) in the listener class, and free the
mfranz [Sat, 4 Feb 2006 16:37:25 +0000 (16:37 +0000)]
store garbage collector id (again) in the listener class, and free the
handler on destruction. There's no explicit Nasal command for removing
a listener, but deleting the node should fully remove them.

18 years agomake room for more font specifications in style files
mfranz [Sat, 4 Feb 2006 13:06:47 +0000 (13:06 +0000)]
make room for more font specifications in style files

18 years agotypo
mfranz [Sat, 4 Feb 2006 01:03:41 +0000 (01:03 +0000)]
typo

18 years agoRemove unused local variables
fredb [Fri, 3 Feb 2006 21:04:37 +0000 (21:04 +0000)]
Remove unused local variables

18 years agoonly write coordinates on button press, and not again on release
mfranz [Fri, 3 Feb 2006 11:39:04 +0000 (11:39 +0000)]
only write coordinates on button press, and not again on release

18 years agofix for deadlock problem (as suggested by Andy)
mfranz [Thu, 2 Feb 2006 18:03:07 +0000 (18:03 +0000)]
fix for deadlock problem (as suggested by Andy)

18 years agoVassilii Khachaturov:
ehofman [Thu, 2 Feb 2006 09:57:33 +0000 (09:57 +0000)]
Vassilii Khachaturov:

Fix the current buggy rain orientation behaviour for the views attached to the
aircraft (while still inheriting bugs with the views attached to anything else).

18 years agoPrevent a warning.
ehofman [Thu, 2 Feb 2006 09:40:27 +0000 (09:40 +0000)]
Prevent a warning.

18 years agoSync. w. JSBSim CVS
ehofman [Thu, 2 Feb 2006 09:35:25 +0000 (09:35 +0000)]
Sync. w. JSBSim CVS

18 years agocosmetics
mfranz [Thu, 2 Feb 2006 00:47:30 +0000 (00:47 +0000)]
cosmetics

18 years agobetter use zero sensitive area to detect a missing (or inoperable) button,
mfranz [Thu, 2 Feb 2006 00:00:27 +0000 (00:00 +0000)]
better use zero sensitive area to detect a missing (or inoperable) button,
because a missing <button> default to 0, which makes a lot of sense

18 years agopanel_io.cxx: if an action doesn't have a button, fire its bindings
mfranz [Wed, 1 Feb 2006 23:52:36 +0000 (23:52 +0000)]
panel_io.cxx: if an action doesn't have a button, fire its bindings
    immediately and then throw it away; this is useful for initialization
    purposes (see dme.xml)

cockpit.cxx: warnings--; typos--

18 years agofix 2D compass
mfranz [Wed, 1 Feb 2006 20:54:17 +0000 (20:54 +0000)]
fix 2D compass

18 years agoAdd OpenAL 1.0 backwards compatibility and OS-X support.
ehofman [Wed, 1 Feb 2006 13:27:36 +0000 (13:27 +0000)]
Add OpenAL 1.0 backwards compatibility and OS-X support.

18 years agoAdd a gl-info equivalent for OpenAL.
ehofman [Tue, 31 Jan 2006 18:20:49 +0000 (18:20 +0000)]
Add a gl-info equivalent for OpenAL.

18 years agoTie the sun halo texture to point sprites.
ehofman [Tue, 31 Jan 2006 15:14:45 +0000 (15:14 +0000)]
Tie the sun halo texture to point sprites.

18 years agoVivian MEAZZA:
mfranz [Mon, 30 Jan 2006 22:08:53 +0000 (22:08 +0000)]
Vivian MEAZZA:

"Implement the repeat function for submodels. Default value is 'false' "

18 years agoAdd the fact that an absolute value will be used for log and log10.
ehofman [Mon, 30 Jan 2006 20:34:31 +0000 (20:34 +0000)]
Add the fact that an absolute value will be used for log and log10.

18 years agoOlaf Flebbe:
ehofman [Mon, 30 Jan 2006 13:44:56 +0000 (13:44 +0000)]
Olaf Flebbe:

I had massive problems with tower.cxx, so I decided to doublecheck all
containers and iterators in order and found lot of potential problems.

Now I can fly with "debug on" of KSFO for minutes without problems.

The fix for AIMgr is from Mathias, but I reworked it. So blame me, not him.

18 years agoDurk Talsma:
ehofman [Mon, 30 Jan 2006 13:29:49 +0000 (13:29 +0000)]
Durk Talsma:

- Feet to meter conversion mistake (in AI getGround elev)
- Improved ground following code (not yet perfect, but for now no one will
  notice it within the marginal altitiude differences at the taxitrack or
  runway)
- Exclusion of the "AI" directory witihin data/Aircraft in
  main/init/fgSearchAircraft, to prevent AI aircraft to be picked up by the
  aircraft search function

18 years agosupport optional setlistener() arg to fire callback function initially
mfranz [Mon, 30 Jan 2006 12:29:58 +0000 (12:29 +0000)]
support optional setlistener() arg to fire callback function initially

18 years agoMathias Fröhlich:
ehofman [Mon, 30 Jan 2006 10:54:10 +0000 (10:54 +0000)]
Mathias Fröhlich:

Jon Stockill wrote:
> I've just discovered that when using the null fdm I'm not getting
> updates to /position/ground-elev-m any more. So I can't actually
> retrieve the terrain elevation. Is there somewhere else in the property
> tree I could read this from?

The attached patch fixes this problem.

18 years agoMathias Fröhlich:
ehofman [Mon, 30 Jan 2006 10:50:28 +0000 (10:50 +0000)]
Mathias Fröhlich:

This patch limits the maximum simtime we do simulation computations for.
That is highly sensible if you run flightgear in valgrind or some realy slow
debug build. In such a case it is possible that flightgear gets totally
unresponsible, because simulation time might increase slower than real time.
That patch introduces a maximum simulation time per rendered frame to limit
that effect.

If the property /sim/max-simtime-per-frame is set to something strictly
positive, the simulation time is limited to that value.
The default is unchanged - no limit.

Anyway, from the point of view of gui responsiveness and responsiveness to
realtime controls like joystick inputs it might be a good idea to limit that
by default to say 1 second. If you have less than 1fps, flightgear is
unplayable anyway and I believe we do not longer need to care for realtime
correctness for that case ...

18 years agoon closing a dialog write the last position back, so that the caller can
mfranz [Sun, 29 Jan 2006 21:21:56 +0000 (21:21 +0000)]
on closing a dialog write the last position back, so that the caller can
open it there again next time