]> git.mxchange.org Git - simgear.git/log
simgear.git
21 years agoMingwin fix from Norman Vine.
curt [Wed, 18 Dec 2002 21:54:04 +0000 (21:54 +0000)]
Mingwin fix from Norman Vine.

21 years agoRemove -lmk4 from the LIBS after the version check is complete.
curt [Wed, 11 Dec 2002 19:57:00 +0000 (19:57 +0000)]
Remove -lmk4 from the LIBS after the version check is complete.

21 years agoMore tweaks to the configure script.
curt [Tue, 10 Dec 2002 20:54:08 +0000 (20:54 +0000)]
More tweaks to the configure script.

21 years ago- Refactoring configure.ac a bit to use $host (please test on your platform)
curt [Tue, 10 Dec 2002 19:12:34 +0000 (19:12 +0000)]
- Refactoring configure.ac a bit to use $host (please test on your platform)
- Use include GLUT_H instead of refering to the file directly since Mac
  unfortunately chose to put this in GLUT/glut.h :-(

21 years agoJames Turner:
curt [Mon, 9 Dec 2002 22:36:38 +0000 (22:36 +0000)]
James Turner:

I've had to hack Simgear's configure.ac quite a bit [for Mac OS X],
using the Plib one as a reference.
The basic construct (a big switch statement based on the target
type) is nice, I think, since it moves lots of IRIX / cygwin / OS-X
specialties out of the way cleanly. Much more re-factoring of the
current tests in configure is possible if people are able to test.

21 years agoUpdated for 0.3.1
curt [Wed, 4 Dec 2002 19:47:57 +0000 (19:47 +0000)]
Updated for 0.3.1

21 years agoFixes for 0.3.1 release.
curt [Wed, 4 Dec 2002 19:46:12 +0000 (19:46 +0000)]
Fixes for 0.3.1 release.

21 years agoUpdated for 0.3.0 release.
curt [Tue, 3 Dec 2002 18:27:04 +0000 (18:27 +0000)]
Updated for 0.3.0 release.

21 years agoUpdated version number
curt [Tue, 3 Dec 2002 18:19:41 +0000 (18:19 +0000)]
Updated version number

21 years ago#include <simgear_config.h> as necessary.
curt [Tue, 3 Dec 2002 13:13:16 +0000 (13:13 +0000)]
#include <simgear_config.h> as necessary.

22 years agoNOMINMAX fix ...
curt [Mon, 2 Dec 2002 22:12:22 +0000 (22:12 +0000)]
NOMINMAX fix ...

22 years agoIncludes patch from Erik Hofman.
david [Sun, 17 Nov 2002 11:07:40 +0000 (11:07 +0000)]
Includes patch from Erik Hofman.

22 years agoCygwin patch from Patrick Staehlin:
david [Sun, 17 Nov 2002 00:42:17 +0000 (00:42 +0000)]
Cygwin patch from Patrick Staehlin:

To compile the development CVS version of FlightGear(0.9.0) i had to
apply some small changes to SimGear and FlightGear.

The changes need probably some additional ifdefs for other platforms but
since my linux-hd crashed i can't verify that.

22 years agoMS patch from Norm Vine to fix min/max macro defs.
david [Sun, 17 Nov 2002 00:34:40 +0000 (00:34 +0000)]
MS patch from Norm Vine to fix min/max macro defs.

22 years agoAllow 'include' attribute on root PropertyList element.
david [Mon, 11 Nov 2002 14:40:16 +0000 (14:40 +0000)]
Allow 'include' attribute on root PropertyList element.

22 years agoSimplified the command-manager interface.
david [Sat, 26 Oct 2002 01:18:03 +0000 (01:18 +0000)]
Simplified the command-manager interface.

22 years agoErik Hofman: fix an Irix build problem.
curt [Thu, 24 Oct 2002 13:59:33 +0000 (13:59 +0000)]
Erik Hofman: fix an Irix build problem.

22 years agoChange int to GLenum for portability.
david [Fri, 18 Oct 2002 20:25:21 +0000 (20:25 +0000)]
Change int to GLenum for portability.

22 years agoJohn W:
curt [Fri, 4 Oct 2002 16:44:23 +0000 (16:44 +0000)]
John W:

Attached is the new, improved SkyCloud.cpp. Tested on west coast @ KSFO and
east @ KJFK. Don't have any southern hemisphere or other airports to test
against, but you might give it a go and see what happens

Probably a good idea to add some user options to set cloud altitude, startup
position, etc, but for now this should suffice.

22 years agoFixes from Mark Harris.
curt [Thu, 3 Oct 2002 19:00:01 +0000 (19:00 +0000)]
Fixes from Mark Harris.

22 years agoFix a texture state problem that caused clouds to occasionally flash all white.
curt [Thu, 3 Oct 2002 18:44:34 +0000 (18:44 +0000)]
Fix a texture state problem that caused clouds to occasionally flash all white.

22 years agoJohn Wojnaroski:
curt [Thu, 3 Oct 2002 02:52:55 +0000 (02:52 +0000)]
John Wojnaroski:

Attached are the new files to transform the cloud field for local lat/lon.

22 years agoref() the cloud states before use so that if we are dyanmically creating and
curt [Wed, 2 Oct 2002 16:03:25 +0000 (16:03 +0000)]
ref() the cloud states before use so that if we are dyanmically creating and
deleting cloud layers we don't inadvertantly delete a cloud state.

22 years agoFix a tyop.
curt [Sun, 22 Sep 2002 03:42:26 +0000 (03:42 +0000)]
Fix a tyop.

22 years agoDid I forget to commit John's loader patch?
curt [Fri, 20 Sep 2002 18:10:28 +0000 (18:10 +0000)]
Did I forget to commit John's loader patch?
Ran dos2unix on extgl.*
Include <simgear_config.h> from extgl.h so it properly picks up the WIN32
symbol.

22 years agoAdded extgl.c and extgl.h
curt [Thu, 19 Sep 2002 02:30:52 +0000 (02:30 +0000)]
Added extgl.c and extgl.h

22 years agoTweaks to build system following removal of interpreter subdir.
curt [Wed, 18 Sep 2002 20:38:40 +0000 (20:38 +0000)]
Tweaks to build system following removal of interpreter subdir.

22 years agoRemoved simgear/interpreter directory; most likely we will use the new
david [Wed, 18 Sep 2002 20:27:17 +0000 (20:27 +0000)]
Removed simgear/interpreter directory; most likely we will use the new
PSL interpreted language in plib.

22 years agoErik Hofman:
curt [Wed, 18 Sep 2002 19:41:52 +0000 (19:41 +0000)]
Erik Hofman:

This patch fixes and STL problem, and adds (compile time) support for
architextures that don't support multitexturing.

22 years agoRemoved unnecessary files.
curt [Wed, 18 Sep 2002 18:47:47 +0000 (18:47 +0000)]
Removed unnecessary files.

22 years agoNorman's most recent 3d clouds code tweaks.
curt [Wed, 18 Sep 2002 14:24:19 +0000 (14:24 +0000)]
Norman's most recent 3d clouds code tweaks.

22 years agoLatest changes from John.
curt [Tue, 17 Sep 2002 16:08:00 +0000 (16:08 +0000)]
Latest changes from John.

22 years agoBuild with other simgear header files from source tree, not those that are
curt [Tue, 17 Sep 2002 01:16:18 +0000 (01:16 +0000)]
Build with other simgear header files from source tree, not those that are
installed.

22 years agoLatest changes from John Wojnaroski.
curt [Mon, 16 Sep 2002 14:55:31 +0000 (14:55 +0000)]
Latest changes from John Wojnaroski.

22 years agoRolled Norm's change back out; update needs to be called earlier.
david [Mon, 16 Sep 2002 13:13:49 +0000 (13:13 +0000)]
Rolled Norm's change back out; update needs to be called earlier.

22 years agoPatches from Norm Vine to get clouds working (and add some debugging
david [Mon, 16 Sep 2002 02:26:20 +0000 (02:26 +0000)]
Patches from Norm Vine to get clouds working (and add some debugging
information).

22 years agoIgnore generated files.
david [Sun, 15 Sep 2002 10:42:54 +0000 (10:42 +0000)]
Ignore generated files.

22 years agoChange the header install directory.
curt [Sun, 15 Sep 2002 04:32:28 +0000 (04:32 +0000)]
Change the header install directory.
Clean up a couple warnings.

22 years agoAdded autom4te.cache.
david [Sat, 14 Sep 2002 16:06:22 +0000 (16:06 +0000)]
Added autom4te.cache.

22 years agoAdded stamp-h1.
david [Sat, 14 Sep 2002 16:05:58 +0000 (16:05 +0000)]
Added stamp-h1.

22 years agoRemoved /usr/local/include (as with plib).
david [Sat, 14 Sep 2002 16:05:41 +0000 (16:05 +0000)]
Removed /usr/local/include (as with plib).

22 years agoAdded newlines and did other clean-ups to eliminate errors and
david [Sat, 14 Sep 2002 16:03:39 +0000 (16:03 +0000)]
Added newlines and did other clean-ups to eliminate errors and
minimize warnings compiling with g++ 3.2.

22 years agoUpgrade the version number.
curt [Fri, 13 Sep 2002 23:19:14 +0000 (23:19 +0000)]
Upgrade the version number.

22 years agoAdded simgear/sky/clouds3d to the build system.
curt [Fri, 13 Sep 2002 22:51:40 +0000 (22:51 +0000)]
Added simgear/sky/clouds3d to the build system.

22 years agoTweak lib name.
curt [Fri, 13 Sep 2002 20:36:19 +0000 (20:36 +0000)]
Tweak lib name.

22 years agoInitial revision.
curt [Fri, 13 Sep 2002 20:29:04 +0000 (20:29 +0000)]
Initial revision.

22 years agoInitial revision
curt [Sat, 7 Sep 2002 02:58:19 +0000 (02:58 +0000)]
Initial revision

22 years agoFor version 0.2.0
curt [Sat, 7 Sep 2002 01:45:46 +0000 (01:45 +0000)]
For version 0.2.0

22 years agoUpdated ...
curt [Sat, 7 Sep 2002 01:33:17 +0000 (01:33 +0000)]
Updated ...

22 years agoGetting ready for 0.2.0 stable release.
curt [Sat, 7 Sep 2002 01:25:02 +0000 (01:25 +0000)]
Getting ready for 0.2.0 stable release.

22 years agoFixes to allow MingW compilation.
curt [Fri, 6 Sep 2002 20:05:40 +0000 (20:05 +0000)]
Fixes to allow MingW compilation.

22 years agoFixes to better support the native irix compilers.
curt [Fri, 6 Sep 2002 15:30:11 +0000 (15:30 +0000)]
Fixes to better support the native irix compilers.

22 years agoAutomake version check is only done in autogen.sh and not in configure.
curt [Tue, 3 Sep 2002 21:44:44 +0000 (21:44 +0000)]
Automake version check is only done in autogen.sh and not in configure.

22 years agoFix a typo in acinclude.m4
curt [Tue, 3 Sep 2002 02:52:39 +0000 (02:52 +0000)]
Fix a typo in acinclude.m4

22 years agoAdditional configure changes.
curt [Mon, 2 Sep 2002 22:18:31 +0000 (22:18 +0000)]
Additional configure changes.

22 years agoTweaks for next prerelease.
curt [Mon, 2 Sep 2002 04:08:01 +0000 (04:08 +0000)]
Tweaks for next prerelease.

22 years agoMinor tweaks.
curt [Mon, 2 Sep 2002 03:43:05 +0000 (03:43 +0000)]
Minor tweaks.

22 years agoMake sure interpreters/ gets included with "make dist"
curt [Mon, 2 Sep 2002 03:41:39 +0000 (03:41 +0000)]
Make sure interpreters/ gets included with "make dist"

22 years agoPreparation for next pre-release.
curt [Sat, 31 Aug 2002 18:39:07 +0000 (18:39 +0000)]
Preparation for next pre-release.

22 years agoMore clean ups.
curt [Sat, 31 Aug 2002 13:18:49 +0000 (13:18 +0000)]
More clean ups.

22 years agoAdditional build system tweaks, regenerated the .dsp/.dsw's.
curt [Fri, 30 Aug 2002 15:03:30 +0000 (15:03 +0000)]
Additional build system tweaks, regenerated the .dsp/.dsw's.

22 years agoSeveral fixes and tweaks.
curt [Thu, 29 Aug 2002 14:00:35 +0000 (14:00 +0000)]
Several fixes and tweaks.

22 years agoAttempting more fixes to our autoconf/make scripts.
curt [Wed, 28 Aug 2002 14:08:12 +0000 (14:08 +0000)]
Attempting more fixes to our autoconf/make scripts.

22 years agoAdditional tweaks that got lost somehow.
curt [Tue, 27 Aug 2002 21:48:51 +0000 (21:48 +0000)]
Additional tweaks that got lost somehow.

22 years agoOoops, minor typo fixed.
curt [Tue, 27 Aug 2002 21:45:48 +0000 (21:45 +0000)]
Ooops, minor typo fixed.

22 years agoModernize the autoconf scripts a bit.
curt [Tue, 27 Aug 2002 21:44:39 +0000 (21:44 +0000)]
Modernize the autoconf scripts a bit.

22 years agoAdd #ifdef'd out support for plibs cheesy lens flare object.
curt [Tue, 27 Aug 2002 21:43:35 +0000 (21:43 +0000)]
Add #ifdef'd out support for plibs cheesy lens flare object.

22 years agoTidy up the autoconf/automake configuration a bit.
curt [Sun, 25 Aug 2002 17:31:47 +0000 (17:31 +0000)]
Tidy up the autoconf/automake configuration a bit.

- Removed some old cruft.

- Removed some support for older versions of automake which technically was
  correct, but caused the newer automakes to squawk warnings during an
  initial sanity check (which isn't done very intelligently.)

  NOTE: this fix is technically not correct for older version of automake.
  These older version use the variable "INCLUDES" internally and could have
  them already set to an important value.  That is why we were appending
  our values to them.  However, newer versions of automake don't set this
  value themselves so it is an error to append to a non-existant variable.
  We seem to "get away" with overwriting the value on older versions of
  automake, but if you have problems, consider upgrading to at least
  automake-1.5.

22 years agoIt probably is better not to hide warning messages. Removed spaces from
curt [Sat, 24 Aug 2002 18:21:49 +0000 (18:21 +0000)]
It probably is better not to hide warning messages.  Removed spaces from
AC_DEFINE( SYMBOL ) -> AC_DEFINE(SYMBOL)

22 years agoBrandon Bergren:
curt [Sat, 24 Aug 2002 03:54:45 +0000 (03:54 +0000)]
Brandon Bergren:

2. I changed Simgear's autogen.sh so it is quieter, and errors out if
autoheader or autoconf fails.  It puts all error output in autogen.err, and
deletes it if nothing errored out.  The patch is in (sg.autogen.sh.patch.gz)
This patch applies to flightgear, too.  If someone doesn't like what I did
here, please speak up!  I really believe that this patch will help cause
less confusion among people new to compiling flightgear.

22 years agoBernie Bright:
curt [Fri, 23 Aug 2002 17:52:10 +0000 (17:52 +0000)]
Bernie Bright:

Here are some changes that gave me a significant frame rate increase of about 10 fps with random objects disabled.  The interesting thing is that these changes aren't in the main loop but are in tile loader.  My guess is that I've reduced the memory footprint just enough to reduce CPU cache misses, though I have no hard evidence of this.

Initially I modified all SGBinObject member functions to pass/return by reference instead of by-value.  This gives little or no speed up but allows for some optimizations in fgBinObjLoad().  It is these changes that reduce the number of memory allocations.  Needless copying of vectors, and vectors of vectors, can be very memory intensive, especially if they are large.

Anyway I would be interested to see if you get similar results.  I would emphasize that the frame rate increase only occurs with random objects disabled.  I lose about 10-15 fps on my GF2MX 32MB with random objects, probably a fill-rate limitation or texture memory thing.

22 years agoChange from Norman Vine to add new random-number algorithm.
david [Mon, 5 Aug 2002 18:43:28 +0000 (18:43 +0000)]
Change from Norman Vine to add new random-number algorithm.

22 years agoRandom-number seed patch from Erik Hofman.
david [Wed, 31 Jul 2002 17:14:29 +0000 (17:14 +0000)]
Random-number seed patch from Erik Hofman.

22 years agoRemove efence support in favor of valgrind.
curt [Tue, 30 Jul 2002 14:10:08 +0000 (14:10 +0000)]
Remove efence support in favor of valgrind.

22 years agoRemove ECMAScript interpreter from the default build for now. It can
david [Tue, 30 Jul 2002 11:58:34 +0000 (11:58 +0000)]
Remove ECMAScript interpreter from the default build for now.  It can
still be built from inside the directory.

22 years agoPatch from Cameron Moore:
david [Thu, 18 Jul 2002 20:30:18 +0000 (20:30 +0000)]
Patch from Cameron Moore:

* Fixed (un)signed comparison

22 years agoPatch from Cameron Moore:
david [Thu, 18 Jul 2002 20:30:02 +0000 (20:30 +0000)]
Patch from Cameron Moore:

* Rearranged member initializers to shut gcc -Wall up

22 years agoAdded JavaScript interpreter, repackaged by Tony Peden. It's not tied
david [Thu, 18 Jul 2002 20:27:46 +0000 (20:27 +0000)]
Added JavaScript interpreter, repackaged by Tony Peden.  It's not tied
into anything yet, but it builds OK inside SimGear.

22 years agoDowngrade cloud-base alert to a debug warning.
david [Thu, 18 Jul 2002 20:23:30 +0000 (20:23 +0000)]
Downgrade cloud-base alert to a debug warning.

22 years agoQuick fix for bug reported by Julian Foad, where the simplify flag was
david [Thu, 18 Jul 2002 20:04:50 +0000 (20:04 +0000)]
Quick fix for bug reported by Julian Foad, where the simplify flag was
not honoured after the first call.  This isn't all that efficient, and
the return type probably should change to string eventually, but this
fix avoids changing the headers for now.

22 years agoFix deletes in destructor.
david [Sat, 6 Jul 2002 15:00:37 +0000 (15:00 +0000)]
Fix deletes in destructor.

22 years agoAdded new getDisplayName method that gets the name with its index.
david [Sat, 6 Jul 2002 14:58:38 +0000 (14:58 +0000)]
Added new getDisplayName method that gets the name with its index.
Suggested by Julian Foad.

22 years agoMade SGPropertyNode::getPath extremely efficient: it now caches its
david [Sat, 6 Jul 2002 13:19:02 +0000 (13:19 +0000)]
Made SGPropertyNode::getPath extremely efficient: it now caches its
result, so after the first call for any node, it simply tests and
returns a pointer.  This also fixes the problem of buffer conflicts
with make_string.

Added SGPropertyNode::hasChild(const char * name, int index = 0) to
provide a syntactically-cleaner way to test for the existence of a
child node, i.e.

  for (int i = 0; i < 9; i++) {
    if (node->hasChild("foo", i))
      foo[i] = node->getChild("foo", i)->getDoubleValue();
  }

22 years agoAdded simgear_config.h.in
david [Sat, 6 Jul 2002 12:06:40 +0000 (12:06 +0000)]
Added simgear_config.h.in

22 years agoFixed a couple minor compiler warnings.
curt [Wed, 3 Jul 2002 17:35:49 +0000 (17:35 +0000)]
Fixed a couple minor compiler warnings.

22 years agoMSVC++ bug work-around from Frederic Bouvier.
david [Wed, 3 Jul 2002 02:06:23 +0000 (02:06 +0000)]
MSVC++ bug work-around from Frederic Bouvier.

22 years agoFixes for IA-64 with Intel compiler.
curt [Tue, 2 Jul 2002 18:44:20 +0000 (18:44 +0000)]
Fixes for IA-64 with Intel compiler.

22 years agoFixed an MSVC compilation problem reported by Frederic Bouvier.
david [Fri, 28 Jun 2002 17:02:42 +0000 (17:02 +0000)]
Fixed an MSVC compilation problem reported by Frederic Bouvier.

22 years agoFixed bug reported by Julian Foad:
david [Fri, 28 Jun 2002 16:56:14 +0000 (16:56 +0000)]
Fixed bug reported by Julian Foad:

While investigating, I found that SGPropertyNode::getPath returns a
(char *) pointer to the character data of a string on its stack,
i.e. to undefined memory after it returns.  I remember someone was
changing strings to char* for efficiency.  Perhaps this bug was
introduced then.  I'll include a patch for it with my eventual patch
for the above, unless someone beats me to it.  I don't think it
affects any existing callers: they all want a string anyway.

22 years agoPatch from Julian Foad:
david [Fri, 28 Jun 2002 15:55:11 +0000 (15:55 +0000)]
Patch from Julian Foad:

Initialise a "possibly uninitialised" variable (which was already
functionally correct).

[Note from DPM: this patch will be blown away if we ever update to a
newer version of Expat.]

22 years agoPatch from Julian Foad:
david [Fri, 28 Jun 2002 15:54:34 +0000 (15:54 +0000)]
Patch from Julian Foad:

Remove a hack that originally worked around a buffer overflow
elsewhere in the file.  The buffer overflow was fixed long ago, but
the hack was not removed.

22 years agoPatch from Julian Foad:
david [Fri, 28 Jun 2002 15:54:15 +0000 (15:54 +0000)]
Patch from Julian Foad:

Remove trailing comma (unportable).

22 years agoPatch from Julian Foad:
david [Fri, 28 Jun 2002 15:53:58 +0000 (15:53 +0000)]
Patch from Julian Foad:

Remove unused static function (warning because it cannot possibly be used).

22 years agoPatch from Julian Foad:
david [Fri, 28 Jun 2002 15:53:31 +0000 (15:53 +0000)]
Patch from Julian Foad:

This file should be removed from CVS because it is generated by
autogen.sh.

22 years agoSignificant improvements to the change-listener support. There are
david [Tue, 18 Jun 2002 21:17:42 +0000 (21:17 +0000)]
Significant improvements to the change-listener support.  There are
now three different change events, and the listener base class removes
itself from the parent in the destructor.

22 years agoAdded a ptr() method to SGPropertyNode_ptr to get the raw pointer.
david [Tue, 18 Jun 2002 01:26:09 +0000 (01:26 +0000)]
Added a ptr() method to SGPropertyNode_ptr to get the raw pointer.

Added the SGPropertyChangeListener interface and addChangeListener and
firePropertyChange methods.

22 years agoPatch from Melchior Franz:
david [Fri, 7 Jun 2002 17:39:38 +0000 (17:39 +0000)]
Patch from Melchior Franz:

layer_span used uninitialized in SGCloudLayer::rebuild (line 162, 170, etc.)

22 years agoBe more conservative and reuse SSG objects.
david [Wed, 5 Jun 2002 19:12:50 +0000 (19:12 +0000)]
Be more conservative and reuse SSG objects.

22 years agoTry to avoid some memory leaks.
david [Wed, 5 Jun 2002 15:43:04 +0000 (15:43 +0000)]
Try to avoid some memory leaks.

22 years agoInclude the autogen.sh script in the distribution.
curt [Thu, 23 May 2002 13:46:19 +0000 (13:46 +0000)]
Include the autogen.sh script in the distribution.