]> git.mxchange.org Git - flightgear.git/log
flightgear.git
19 years agoUse the default included aircraft.
ehofman [Fri, 11 Nov 2005 13:45:35 +0000 (13:45 +0000)]
Use the default included aircraft.

19 years agoFred: let the bool function actually return something
mfranz [Fri, 11 Nov 2005 07:17:26 +0000 (07:17 +0000)]
Fred: let the bool function actually return something

19 years agov0.9.9-pre3 updates.
curt [Fri, 11 Nov 2005 01:24:23 +0000 (01:24 +0000)]
v0.9.9-pre3 updates.

19 years agoUpdate.
curt [Fri, 11 Nov 2005 00:56:12 +0000 (00:56 +0000)]
Update.

19 years agoOops, typo.
andy [Thu, 10 Nov 2005 22:13:35 +0000 (22:13 +0000)]
Oops, typo.

19 years agoPredicate "engine running" on the out-of-fuel properties.
andy [Thu, 10 Nov 2005 22:12:31 +0000 (22:12 +0000)]
Predicate "engine running" on the out-of-fuel properties.

19 years agoNo-op checkin: Add some Surface test code (#if'd out) so I don't need
andy [Thu, 10 Nov 2005 20:28:13 +0000 (20:28 +0000)]
No-op checkin: Add some Surface test code (#if'd out) so I don't need
to write it again if the subject comes up.

19 years agoFix stall widths for the "auxilliary" (reverse flow) stalls so they
andy [Thu, 10 Nov 2005 20:26:37 +0000 (20:26 +0000)]
Fix stall widths for the "auxilliary" (reverse flow) stalls so they
are sharp, as intended.  These were are never seen in practice; I
found the problem while looking at 360 degree lift curve graphs
looking for discontinuities.

19 years agoUpdates to the list of files included in the released base package.
curt [Thu, 10 Nov 2005 15:39:36 +0000 (15:39 +0000)]
Updates to the list of files included in the released base package.

19 years agoExpose the strut compression.
ehofman [Thu, 10 Nov 2005 10:04:33 +0000 (10:04 +0000)]
Expose the strut compression.

19 years agoSmall bug fix, get the weighted average of the same side.
ehofman [Thu, 10 Nov 2005 10:02:00 +0000 (10:02 +0000)]
Small bug fix, get the weighted average of the same side.

19 years agoArchitectural fix allowing the "tip" popups (FOV, view name, etc...)
andy [Wed, 9 Nov 2005 20:34:46 +0000 (20:34 +0000)]
Architectural fix allowing the "tip" popups (FOV, view name, etc...)
to pop themselves down while the simulator is paused.

The problem was with the "real time" queue in the event manager,
causing the third argument of Nasal's settimer() (a flag for "sim
time") to be ignored.  Inverts the default sense of the argument, as
there are lots of uses of settimer() in the current code, almost none
of which want to use real time.

Note this fix introduces a header file incompatibility in SimGear --
be sure to update.

19 years agov0.9.9-pre2 updates.
curt [Wed, 9 Nov 2005 19:18:48 +0000 (19:18 +0000)]
v0.9.9-pre2 updates.

19 years agoUpdates.
curt [Wed, 9 Nov 2005 18:54:44 +0000 (18:54 +0000)]
Updates.

19 years agodistinguish editable and non editable textboxes; the former will usually
mfranz [Wed, 9 Nov 2005 18:23:55 +0000 (18:23 +0000)]
distinguish editable and non editable textboxes; the former will usually
be colored like input fields, while the others will be colored like normal
text

19 years agoprepare for pending plib change: set combobox/selectbox input field colors
mfranz [Wed, 9 Nov 2005 17:59:53 +0000 (17:59 +0000)]
prepare for pending plib change: set combobox/selectbox input field colors
to other color than "Yeukky Pink"; #undef'ed for older plib versions; plib
patch will be made available in case fgfs 0.9.9 is released before plib 0.8.5

19 years agoreinit(): destroy, reload and re-open dialogs (menu: Debug -> GUI Reload)
mfranz [Wed, 9 Nov 2005 17:16:59 +0000 (17:16 +0000)]
reinit(): destroy, reload and re-open dialogs (menu: Debug -> GUI Reload)
redraw(): redraw gui without distroying dialogs (fgcommand "gui-redaw"/Shift-F10)

This change makes sure that Nasal-generated and dynamic dialogs can be
re-opened correctly when cycling through themes.

19 years agoMathias Fröhlich:
curt [Wed, 9 Nov 2005 17:08:04 +0000 (17:08 +0000)]
Mathias Fröhlich:

Take any arbitrary vector (not necessarily vertical) and intersect it with
the current set of loaded terrain tiles.  Returns lon, lat, elev.  This
could have a multitude of useful applications such as testing line of sight
between two objects, faking a terrain following lookahead radar system,
virtual georeferencing, etc.

19 years agoreplace hard-coded HUD config dialog with NewGUI dialog
mfranz [Wed, 9 Nov 2005 10:47:40 +0000 (10:47 +0000)]
replace hard-coded HUD config dialog with NewGUI dialog

19 years agoUpdates.
curt [Tue, 8 Nov 2005 18:41:19 +0000 (18:41 +0000)]
Updates.

19 years agodon't destroy iterated map entries; delete _menubar; restore closed
mfranz [Tue, 8 Nov 2005 18:18:55 +0000 (18:18 +0000)]
don't destroy iterated map entries; delete _menubar; restore closed
non-nasal dialogs

19 years agoDon't use the [] notation here to test for the existence of a map member,
mfranz [Tue, 8 Nov 2005 11:05:50 +0000 (11:05 +0000)]
Don't use the [] notation here to test for the existence of a map member,
because this creates an empty entry if it didn't exist. This made the
activation of the dialog mandatory before the next gui subsystem update()
happened. Otherwise fgfs segfaulted.

19 years ago*** empty log message ***
ehofman [Tue, 8 Nov 2005 10:02:17 +0000 (10:02 +0000)]
*** empty log message ***

19 years agoHarald JOHNSEN: really disable fog
ehofman [Tue, 8 Nov 2005 10:00:24 +0000 (10:00 +0000)]
Harald JOHNSEN: really disable fog

19 years agoUpdates.
curt [Mon, 7 Nov 2005 16:19:03 +0000 (16:19 +0000)]
Updates.

19 years agointerpret negative dialog <x> and <y> coordinates as distance from the
mfranz [Sun, 6 Nov 2005 23:53:30 +0000 (23:53 +0000)]
interpret negative dialog <x> and <y> coordinates as distance from the
right/upper screen edge (analogous to the --geometry spec), assuming
that we never want to draw outside the screen area; for this to work
we need to write the original x/y coords back to overwrite the absolute,
positive values that the layouter stored there

19 years ago0.9.9-pre1 updates.
curt [Sun, 6 Nov 2005 21:37:52 +0000 (21:37 +0000)]
0.9.9-pre1 updates.

19 years agoForce fuel flow to zero when the engine isn't running.
andy [Sun, 6 Nov 2005 17:11:50 +0000 (17:11 +0000)]
Force fuel flow to zero when the engine isn't running.

19 years agobacking out all changes to non-depreciated symbols/functions: plib's cvs
mfranz [Sun, 6 Nov 2005 14:27:17 +0000 (14:27 +0000)]
backing out all changes to non-depreciated symbols/functions: plib's cvs
isn't tagged, so we can't easily say what was added after the last stable
release

19 years agobacking out all changes to non-depreciated symbols/functions: plib's cvs
mfranz [Sun, 6 Nov 2005 14:22:02 +0000 (14:22 +0000)]
backing out all changes to non-depreciated symbols/functions: plib's cvs
isn't tagged, so we can't easily say what was added after the last stable
release

19 years agoPUCLASS_LIST is already defined in <plib/puAux.h>.
mfranz [Sun, 6 Nov 2005 13:38:21 +0000 (13:38 +0000)]
PUCLASS_LIST is already defined in <plib/puAux.h>.

19 years agoUpdates in preparation for the v0.9.9 coming sometime [hopefully] soon.
curt [Sun, 6 Nov 2005 02:40:08 +0000 (02:40 +0000)]
Updates in preparation for the v0.9.9 coming sometime [hopefully] soon.

19 years agoAdmin updates.
curt [Sat, 5 Nov 2005 20:04:04 +0000 (20:04 +0000)]
Admin updates.

19 years agoWhite space fix.
curt [Sat, 5 Nov 2005 20:03:36 +0000 (20:03 +0000)]
White space fix.

19 years agoimplement <key> property for key names: <keynum>27</keynum> == <key>Esc</key>
mfranz [Sat, 5 Nov 2005 18:41:43 +0000 (18:41 +0000)]
implement <key> property for key names: <keynum>27</keynum> == <key>Esc</key>

19 years agoswitch from depreciated pui functions to the "new", supported ones
mfranz [Sat, 5 Nov 2005 09:51:01 +0000 (09:51 +0000)]
switch from depreciated pui functions to the "new", supported ones
(OK'ed by Curt)

19 years agoreplace depreciated plib symbols with their new forms
mfranz [Fri, 4 Nov 2005 22:20:35 +0000 (22:20 +0000)]
replace depreciated plib symbols with their new forms

19 years agoMathias Fröhlich:
ehofman [Fri, 4 Nov 2005 14:49:15 +0000 (14:49 +0000)]
Mathias Fröhlich:

I have now fixed the problem that flying below bridges was broken by some
groundcache work.

19 years agoreturn correct input object
mfranz [Thu, 3 Nov 2005 20:15:05 +0000 (20:15 +0000)]
return correct input object

19 years agoVivian reported that the caster angle of the Hunter was experiencing
andy [Wed, 2 Nov 2005 18:34:06 +0000 (18:34 +0000)]
Vivian reported that the caster angle of the Hunter was experiencing
"jitter" when the aircraft was stopped.  This is a fundamental
characteristic of the gear model, and can't be fixed without major
surgery (and not a small amount of blinding insight).  But we can at
least clamp it so the value can't change unless the wheel is moving
with a nontrivial velocity (5cm/sec in this case).

19 years agocleanup
mfranz [Wed, 2 Nov 2005 13:52:01 +0000 (13:52 +0000)]
cleanup

19 years agomake transmission buttons accessible via accelerator keys "1", "2", etc.
mfranz [Wed, 2 Nov 2005 13:16:58 +0000 (13:16 +0000)]
make transmission buttons accessible via accelerator keys "1", "2", etc.

19 years agoallow to trigger widgets via accelerator key, which is defined via "keynum"
mfranz [Wed, 2 Nov 2005 13:11:19 +0000 (13:11 +0000)]
allow to trigger widgets via accelerator key, which is defined via "keynum"
property (e.g. <keynum>49</keynum>). The numbers are the same as in
keyboard.xml. (Could later be replaced/enhanced with <key>Ctrl-a</key>
notation.) This does, of course, only work for widgets with assigned
bindings.

19 years agoIn the process of changing, adding and removing files the last few years
ehofman [Tue, 1 Nov 2005 13:41:49 +0000 (13:41 +0000)]
In the process of changing, adding and removing files the last few years
there was the situation where four directories contained jst two files,
of which three directories were aircraft related, and one directory contained
test code from Curt that might be better of in SimGear anyhow.

This is just a patch to move a bunch of files to new locations. In case of
local changes to any of them you can do the following:

move replay.[ch]xx from src/Replay to src/Aircraft
move control.[ch]xx from src/Control to src/Aircraft
move ssgEntityArray.[ch]xx from src/Objects to simgear/screen

In addition it has been decided only to use .[ch]xx files in all directories
unless it's contained within an FDM specific directory, in which case the
author is free to do whatever (s)he wants.

In this repspect the following files have been renamed in src/Multiplayer:

tiny_xdr.[ch]pp has become tiny_xdr.[ch]xx
multiplaymgr.[ch]pp has become multiplaymgr.[ch]xx

19 years agosimplification
mfranz [Sun, 30 Oct 2005 20:52:54 +0000 (20:52 +0000)]
simplification

19 years agofix min/max coordinates; spelling; cosmetics
mfranz [Sun, 30 Oct 2005 19:59:53 +0000 (19:59 +0000)]
fix min/max coordinates; spelling; cosmetics

19 years agoOliver Schroeder:
ehofman [Sun, 30 Oct 2005 18:01:51 +0000 (18:01 +0000)]
Oliver Schroeder:

This is mainly an intermediate patch. I've restructured the network code.

19 years agoscript to fix UV faces for some low-end nVidia cards
mfranz [Sun, 30 Oct 2005 17:15:45 +0000 (17:15 +0000)]
script to fix UV faces for some low-end nVidia cards

19 years agocosmetics
mfranz [Sun, 30 Oct 2005 16:06:08 +0000 (16:06 +0000)]
cosmetics

19 years agoRemove old and unauthorized cruft.
ehofman [Sun, 30 Oct 2005 14:39:05 +0000 (14:39 +0000)]
Remove old and unauthorized cruft.

19 years agoHarald JOHNSEN:
mfranz [Sun, 30 Oct 2005 10:50:36 +0000 (10:50 +0000)]
Harald JOHNSEN:

"the model is deref'd and deleted when the refcount is null *but* it is
still referenced in the ai model list, so next time you ask for it you will
have a reference on something deleted"

19 years agoFix speling mistakes and some small adjustments.
ehofman [Sun, 30 Oct 2005 09:51:04 +0000 (09:51 +0000)]
Fix speling mistakes and some small adjustments.

19 years agosearch recursively for named node (i.e. one with matching <name> child);
mfranz [Thu, 27 Oct 2005 17:15:47 +0000 (17:15 +0000)]
search recursively for named node (i.e. one with matching <name> child);
should probably move to fg_props.cxx

19 years agoVerbosity fixes.
curt [Thu, 27 Oct 2005 14:38:33 +0000 (14:38 +0000)]
Verbosity fixes.

19 years agoJim Wilson: Adjusting the near clip plane to 0.10 units (approx 3 inches) is less...
ehofman [Thu, 27 Oct 2005 08:40:12 +0000 (08:40 +0000)]
Jim Wilson: Adjusting the near clip plane to 0.10 units (approx 3 inches) is less ambitious, a bit more forgiving for the 3D modelers, and perfectly adequate.

19 years agoFred: replace the C++ sthe 'and' by the C style '&&' for compatibility.
ehofman [Thu, 27 Oct 2005 08:23:28 +0000 (08:23 +0000)]
Fred: replace the C++ sthe 'and' by the C style '&&' for compatibility.

19 years agoReplace hard-coded dialogs with NewGUI/XML dialogs, where some widgets
mfranz [Wed, 26 Oct 2005 18:20:27 +0000 (18:20 +0000)]
Replace hard-coded dialogs with NewGUI/XML dialogs, where some widgets
and text strings are filled in before displaying. For testing: the new
dialogs are available under menu -> ATC -> Frequencies, and when
communicating with ATC (' key). This isn't completely finished yet, and
will probably profit from some feedback from the ATC folks.
tower.cxx: remove redundant "if (foo) delete foo".

19 years ago'nother Cygwin fix.
ehofman [Wed, 26 Oct 2005 12:23:18 +0000 (12:23 +0000)]
'nother Cygwin fix.

19 years agoCygwin fix.
ehofman [Wed, 26 Oct 2005 11:00:18 +0000 (11:00 +0000)]
Cygwin fix.

19 years agoAlex Romosan:
ehofman [Wed, 26 Oct 2005 09:03:49 +0000 (09:03 +0000)]
Alex Romosan:

I tried to make sure accessor functions which return by reference act
on const objects. also replaced some iterators with const_iterator
and a few return/pass by reference that were missed the first time
around.

19 years agoI guess there was something in Alex' patch that wasn't all that fortunate.
ehofman [Tue, 25 Oct 2005 16:28:46 +0000 (16:28 +0000)]
I guess there was something in Alex' patch that wasn't all that fortunate.

19 years agoAlex Romosan:
ehofman [Tue, 25 Oct 2005 13:49:55 +0000 (13:49 +0000)]
Alex Romosan:

* Use "const string&" rather than "string" in function calls when appropriate.
* Use "const Point3D&" instead of "Pint3D" in function calls when appropriate.
* Improved course calculation in calc_gc_course_dist()
* Safer thread handling code.

Vassilii Khachaturov:

Dont use "const Point3D&" for return types unless you're absolutely sure.

Erik Hofman:

* Use SGD_(2)PI(_[24]) as defined in simgear/constants.h rather than
  calculating it by hand every time.

19 years agoVassilii Khachaturov:
ehofman [Tue, 25 Oct 2005 08:57:33 +0000 (08:57 +0000)]
Vassilii Khachaturov:

this patch eliminates some cut-and-paste,
as well as makes some frequently used strings const static at the same
time. A couple of interfaces are decorated with 'const' on the parameters
that are such, in line with other such interfaces where const is used.

"NINE" changed to "NINER", to match ICAO practice and the current FGFS
voice data.

A fixed buffer, sprintf and a warning comment replaced w/ostringstream.

Alex Romosan:

+string ConvertRwyNumToSpokenString(const string s) {

this should be string ConvertRwyNumToSpokenString(const string& s)
so we don't make unnecessary copies.

19 years agoRemove DOS line endings.
ehofman [Mon, 24 Oct 2005 08:48:19 +0000 (08:48 +0000)]
Remove DOS line endings.

19 years agoreduce noise
mfranz [Sun, 23 Oct 2005 18:21:12 +0000 (18:21 +0000)]
reduce noise

19 years ago... and don't keep. This causes nasty, mysterious bugs and has no advantages.
mfranz [Sun, 23 Oct 2005 16:13:53 +0000 (16:13 +0000)]
... and don't keep. This causes nasty, mysterious bugs and has no advantages.

19 years agoadd support for removeChildren(): takes one name as optional argument
mfranz [Sun, 23 Oct 2005 16:10:32 +0000 (16:10 +0000)]
add support for removeChildren(): takes one name as optional argument
and removes all children with this name; if no name is given, removes
all children  (OK'ed by Andy)

19 years agoAdd support for seasonal textures: --prop:/sim/startup/season=winter for now.
ehofman [Sun, 23 Oct 2005 13:48:36 +0000 (13:48 +0000)]
Add support for seasonal textures: --prop:/sim/startup/season=winter for now.

19 years agomake use of the new removeChildren()
mfranz [Sun, 23 Oct 2005 12:32:15 +0000 (12:32 +0000)]
make use of the new removeChildren()

19 years ago'keep' defaults to true (which is a bad choice -- we never really want
mfranz [Sun, 23 Oct 2005 10:19:05 +0000 (10:19 +0000)]
'keep' defaults to true (which is a bad choice -- we never really want
children saved away when removing a node). This caused gui bindings to
fail in some rare cases --> don't keep.

19 years agothis may be informative on first sight, but not when output in a loop
mfranz [Sat, 22 Oct 2005 19:33:32 +0000 (19:33 +0000)]
this may be informative on first sight, but not when output in a loop

19 years agoWe never want to know if a dialog is there or not. If we ask for one and
mfranz [Sat, 22 Oct 2005 16:51:27 +0000 (16:51 +0000)]
We never want to know if a dialog is there or not. If we ask for one and
it isn't there, this is a bug. Thus centralize the error message so that it
doesn't have to be repeated everywhere. Of course, the calling code should
still consider that a returned property node may be 0.

19 years agoVassilii Khachaturov:
ehofman [Sat, 22 Oct 2005 13:37:13 +0000 (13:37 +0000)]
Vassilii Khachaturov:

I found that all the current users of the companion
function, findByFreq() actually did assume radians despite the misleading
comment in the .hxx and .cxx saying it's degrees. I've fixed the
comment now, and no longer change the Navaids code. The new Navaids user
in NewWaypoint() is now passing radians to the findByIdent().

Note that along with fixing the comments in the navlist.hxx, I removed
an obsolete method findByLoc() declaration (there is no definition
anywhere).

19 years agoVassilii Khachaturov thought that these messages are actually debug messages and...
ehofman [Sat, 22 Oct 2005 11:26:58 +0000 (11:26 +0000)]
Vassilii Khachaturov thought that these messages are actually debug messages and I tend to agree.

19 years agoIma Sudonim:
ehofman [Sat, 22 Oct 2005 11:22:05 +0000 (11:22 +0000)]
Ima Sudonim:

CygWin/gcc-3.4.4 updates.

I replaced my cygwin compiler with 3.4.4, did a make clean of plib, simgear,
and flightgear, then did a make install of all three. With the included changes,
everything builds fine, and runs fine.

19 years ago- spelling
mfranz [Fri, 21 Oct 2005 19:34:51 +0000 (19:34 +0000)]
- spelling
- write file name in quotes

19 years agoExpose the "spool-time" of a Jet engine as a configuration parameter.
andy [Fri, 21 Oct 2005 19:30:58 +0000 (19:30 +0000)]
Expose the "spool-time" of a Jet engine as a configuration parameter.
This apparently got forgotten -- the tunable was there, but nothing
exposed it in the parser.

19 years agospelling fix & remove a couple of trailing spaces
mfranz [Fri, 21 Oct 2005 19:24:16 +0000 (19:24 +0000)]
spelling fix & remove a couple of trailing spaces

19 years agoFix <text> alignment. Because our <text> widget is an empty puObject's
mfranz [Fri, 21 Oct 2005 18:50:58 +0000 (18:50 +0000)]
Fix <text> alignment. Because our <text> widget is an empty puObject's
label, we need to compensate for the gap in-between: PUSTR_RGAP (pu.h).
Without that, all text appears shifted right.

19 years agoadd support for a <hide> property, which hides whole XML groups (widgets
mfranz [Fri, 21 Oct 2005 17:47:48 +0000 (17:47 +0000)]
add support for a <hide> property, which hides whole XML groups (widgets
or data blocks) from layouter and dialog creator. This is required for
dynamically generated/modified dialogs. Parts in the XML file can be
hidden and turned on by the C++ code. Other hidden parts can be used
as templates that are multiply used. Hidden datablocks can contain
strings that are used in dialog context, that are easier to translate
or modify in the XML file.

19 years agoDepreciate HUGE in favor of HUGE_VAL.
ehofman [Thu, 20 Oct 2005 13:56:16 +0000 (13:56 +0000)]
Depreciate HUGE in favor of HUGE_VAL.

19 years agoReplace hard-coded message boxes by ones managed by the gui subsystem.
mfranz [Thu, 20 Oct 2005 13:05:02 +0000 (13:05 +0000)]
Replace hard-coded message boxes by ones managed by the gui subsystem.
Remove obsolete functions.

19 years agoAdd method to get the property root node of named dialogs. This is
mfranz [Thu, 20 Oct 2005 11:15:00 +0000 (11:15 +0000)]
Add method to get the property root node of named dialogs. This is
necessary to edit dialog contents from C++, and will allow us to
finally let all the hardcoded dialogs be handled by the "gui"
subsystem.

19 years agoCygwin fix.
ehofman [Thu, 20 Oct 2005 08:48:32 +0000 (08:48 +0000)]
Cygwin fix.

19 years agoFeature addition from Vassilii allows the user to set the tower
andy [Wed, 19 Oct 2005 19:21:45 +0000 (19:21 +0000)]
Feature addition from Vassilii allows the user to set the tower
location with an airport ID by watching the property with a listener.
Moderately rewritten from the original patch for style.

19 years agoPiston engine oil temperature model from David Luff:
andy [Wed, 19 Oct 2005 18:52:57 +0000 (18:52 +0000)]
Piston engine oil temperature model from David Luff:

Attached is a patch to add oil temperature to the YASim piston engine
model.  This brings to life one of the pa28-161's otherwise 'dead'
guages.  It's a pretty simple 'model' based on temperatures and warmup
times I've observed in the labs on auto engines and run through my
dodgy-memory filter.  It does the job of populating the guage with
something plausible though.

19 years agoMust include config.h before plib headers to prevent them from default
andy [Wed, 19 Oct 2005 18:40:19 +0000 (18:40 +0000)]
Must include config.h before plib headers to prevent them from default
to glut (which breaks SDL builds).

19 years agoDurk Talsma:
ehofman [Tue, 18 Oct 2005 18:44:37 +0000 (18:44 +0000)]
Durk Talsma:

Auf Niederlandisch:
Bij deze de patch voor de taxiway code. Deze code is nog gebaseerd
op de bestaaande architectuur, gebaseerd op de FGAirport class in simple.[ch]xx
Ik heb me voornamelijk gericht op nieuwe functionaliteit; de volgende
submissie zal waarschijnlijk bestaan uit opschoning, opsplitsing en een
implementatie van de nieuwe airport architectuur, zoals voorgesteld door
David Luff.

En Anglais:
Here is the patch for the taxiway code. This code is still based on the
exsisting architecture, which is based on the FGAirport class in simple.[ch]xx
I've aimed mostly at new functionality; The next batch will probably contain
code cleanups, splitups and the implementation fo the new airport architecture,
as proposed by David Luff.

19 years agoMathias Froehlich: fix refcounting problem that caused submodel crashes
mfranz [Tue, 18 Oct 2005 18:01:43 +0000 (18:01 +0000)]
Mathias Froehlich: fix refcounting problem that caused submodel crashes

19 years agoOlaf Flebbe: Mathias asked me to write down instructions for MinGW.
ehofman [Tue, 18 Oct 2005 16:38:54 +0000 (16:38 +0000)]
Olaf Flebbe: Mathias asked me to write down instructions for MinGW.

19 years agoHarald JOHNSEN:
ehofman [Sun, 16 Oct 2005 17:31:06 +0000 (17:31 +0000)]
Harald JOHNSEN:

I have corrected a few bugs with the owner draw gauge, weather radar code and heat-haze effect.

- od_gauge.cxx :
  corrected a rendering bug where the generated texture was only visible
  from a certain angle or distance ;
  corrected the search of textures inside the aircraft scene graph ;

- wxRadar.cxx :
  the echo of clouds was lost when the pilot was not looking in the
  plane direction ;

19 years agoWhy not just use the provided constructor, then we know for sure what the
curt [Sun, 16 Oct 2005 11:11:06 +0000 (11:11 +0000)]
Why not just use the provided constructor, then we know for sure what the
values will be initialized to.

19 years agoLadislav Michnovic:
ehofman [Sun, 16 Oct 2005 09:05:40 +0000 (09:05 +0000)]
Ladislav Michnovic:

Using new gcc 4.0 I have some serios warnings about uninitialized
variables, that are used. I created a patch, but I have no idea if it
is possible to do it my way. Can you check this out please?

Erik: I've modified the patch slightly based on the contents of an older
      version of hitlist.cxx. I think this is correct now.

19 years agoUpdates from Vassilii Khachaturov as suggested by George Patterson
ehofman [Sun, 16 Oct 2005 08:24:43 +0000 (08:24 +0000)]
Updates from Vassilii Khachaturov as suggested by George Patterson

19 years agoAllow a single vacuum system to be driven by multiple pumps. This allows
curt [Sat, 15 Oct 2005 20:03:17 +0000 (20:03 +0000)]
Allow a single vacuum system to be driven by multiple pumps.  This allows
modeling of a simple single vacuum system with a pump source on each engine
in a multiengine aircraft.  The highest rpm engine takes priority for driving
the vacuum system.

19 years agoDon't use the this pointer for referencing the AIModels anymore, this
ehofman [Sat, 15 Oct 2005 14:55:51 +0000 (14:55 +0000)]
Don't use the this pointer for referencing the AIModels anymore, this
turns out to get problematic on 64-bit systems. Instead use a regular
int based approach.

19 years agoMathias Fröhlich:
ehofman [Sat, 15 Oct 2005 14:51:52 +0000 (14:51 +0000)]
Mathias Fröhlich:

I had a quick view over the ssgBase::ref() calls in flightgear.
I made them all symmetric and used ssgDeRefDelete to dereference them.
This has the basic advantage that ssgDeRefDelete additionaly deletes the
memory instead of just decrementing the reference cound without deletion ...

This includes an incorrect deref instead of a ssgDeRefDelete in the placement
transform registration I introduced earlier. I believe that this causes the
problems with long flights (unverified, but with a big propability).

19 years agoVivian caught some missing length conversions in the gear offset
andy [Fri, 14 Oct 2005 21:27:33 +0000 (21:27 +0000)]
Vivian caught some missing length conversions in the gear offset
properties (What are these for?  I have no memory of these
properties...)

19 years agoSupport gear compression along axes other than vertical (Vivian needs
andy [Fri, 14 Oct 2005 21:20:51 +0000 (21:20 +0000)]
Support gear compression along axes other than vertical (Vivian needs
it for the B-29).  The gear model itself has supported this always,
but there was no interface from the XML file.  Should be backwards
compatible.  I don't think I broke anything...

19 years agoMathias Fröhlich:
ehofman [Fri, 14 Oct 2005 16:25:14 +0000 (16:25 +0000)]
Mathias Fröhlich:

I have done a valgrind run in flightgear. Just start it up and close it at the
fist change I had about half an hour later.

source-leak.diff:
   Also two minor ones, but leaks ...