]> git.mxchange.org Git - simgear.git/log
simgear.git
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.

22 years agoSkip drawing clear cloud layers.
david [Fri, 17 May 2002 16:53:19 +0000 (16:53 +0000)]
Skip drawing clear cloud layers.

22 years agoBernie Bright:
curt [Fri, 17 May 2002 14:38:03 +0000 (14:38 +0000)]
Bernie Bright:
I've defined snprintf as _snprintf in compiler.h for MSVC and MINGW
targets and removed duplicate definitions from FG sources.

22 years agoPreparation for making dynamic cloud layers -- moved cloud state out
david [Thu, 16 May 2002 23:16:39 +0000 (23:16 +0000)]
Preparation for making dynamic cloud layers -- moved cloud state out
of sky.[ch]xx and into cloud.[ch]xx, and added setters for modifying
the state of an existing layer.

22 years agoRemoved SG_STATIC_CONST define.
curt [Thu, 16 May 2002 02:44:35 +0000 (02:44 +0000)]
Removed SG_STATIC_CONST define.

22 years agoMinor tweaks.
curt [Thu, 16 May 2002 02:30:06 +0000 (02:30 +0000)]
Minor tweaks.

22 years agoErik Hofman:
curt [Wed, 15 May 2002 19:21:54 +0000 (19:21 +0000)]
Erik Hofman:
Some small patches to make the code Irix/Muli platform compatible and
one small fix to make it plib-1.4.2 compatible also.

22 years agoAdded SG_COMPILER macro. This is a string that identifies the build
curt [Tue, 14 May 2002 18:59:03 +0000 (18:59 +0000)]
Added SG_COMPILER macro.  This is a string that identifies the build
compiler and version.  It might be useful to display it during program
startup.

22 years agoModified to work with the new SGPropertyNode_ptr class.
david [Fri, 10 May 2002 22:58:03 +0000 (22:58 +0000)]
Modified to work with the new SGPropertyNode_ptr class.

22 years agoPatch from Frederic Bouvier:
david [Fri, 10 May 2002 22:57:36 +0000 (22:57 +0000)]
Patch from Frederic Bouvier:

I have modified the SGPropertyNode interface to support node removal
and address the issues you mention yesterday.

I added the SGPropertyNode_ptr class that is a smart pointer that
increment and decrement a counter in SGPropertyNode. The _children
vector is changed to a vector<SGPropertyNode_ptr> in order for the
node to hold a reference to its children. I also added a
_removedChildren vector of the same type. When removeChild is called
with the keep parameter set to true, the reference is removed from
_children and inserted in _removedChildren, and the attribute REMOVED
is set. When getChild is called with create set to true, the _children
vector is searched, then the _removedChildren and then a new node is
created. If a resurrected node is returned, the REMOVED bit is cleared.
The static const int LAST_USED_ATTRIBUTE is also added.

The footprint of this patch is light. SGPropertyNode is one int
longer in size, SGPropertyNode_ptr is one pointer large without
virtual functions. Some functions can be inlined if your current
policy change.

The FlightGear patch is to take account the change in the getChildren
function that now returns a vector<SGPropertyNode_ptr>. If the
removeChild functionnality is to be added in FlightGear, all those
SGPropertyNode * floating around should be changed to
SGPropertyNode_ptr.

22 years agoMac OS X fixes from Jonathan Polley.
david [Fri, 10 May 2002 21:33:12 +0000 (21:33 +0000)]
Mac OS X fixes from Jonathan Polley.

22 years agoIgnore binaries.
david [Fri, 10 May 2002 21:31:55 +0000 (21:31 +0000)]
Ignore binaries.

22 years agoEliminate an unsigned-int comparison warning.
david [Fri, 10 May 2002 21:31:15 +0000 (21:31 +0000)]
Eliminate an unsigned-int comparison warning.

22 years agoBernie Bright:
curt [Fri, 10 May 2002 13:53:22 +0000 (13:53 +0000)]
Bernie Bright:

Here's a first cut at SGSocket reimplemented using plib.net.  I've
maintained the same TCP server behaviour, that is only one client
connection at a time.  I don't think it is possible within the current
framework to handle simultaneous clients.

I've also added two simple test programs, tcp_client and tcp_server.

22 years agoBernie Bright:
curt [Fri, 10 May 2002 13:32:44 +0000 (13:32 +0000)]
Bernie Bright:

Here is a total rewrite of the strutils package.  I've reimplemented the
trimleft(), trimright() and trim() functions as lstrip(), rstrip() and
strip() respectively.  Additionally I've added a split() function that
behaves like its perl/python equivalent.  Just the thing for splitting
comma separated option strings or space separated telnet commands and
arguments.  I've also enclosed the whole thing in a namespace
simgear::strutils.  Since I seem to be the only one who uses these
functions, SimGear and FlightGear compile without change.

PS It is no coincidence that the new function names bear an uncanny
resemblance to the python functions of the same name.

22 years agoUpdated MSVC project files.
curt [Fri, 10 May 2002 13:31:44 +0000 (13:31 +0000)]
Updated MSVC project files.

22 years agoMake the skydome interface a little more flexible so we can scale the dome
curt [Sat, 27 Apr 2002 03:19:45 +0000 (03:19 +0000)]
Make the skydome interface a little more flexible so we can scale the dome
for other applications.

22 years agoPatches from Erik Hoffman:
david [Thu, 25 Apr 2002 15:09:10 +0000 (15:09 +0000)]
Patches from Erik Hoffman:

Tbis is a first patch in a series to clean up SimGear by removing
warning messages. Most of them are straight forwared, but in pops.hxx
the compile complaints about "type qualifier is meaningless on return
type". I think it's up to you to decide if you want that part applied.

22 years agoPatch from Melchior Franz:
david [Thu, 25 Apr 2002 14:56:03 +0000 (14:56 +0000)]
Patch from Melchior Franz:

From the cosmetics department ...

22 years agoPatch from Melchior Franz:
david [Thu, 25 Apr 2002 14:55:40 +0000 (14:55 +0000)]
Patch from Melchior Franz:

magvar and magdip are used before their initialization

22 years agoMake sure README.MSVC goes in the distribution.
curt [Tue, 23 Apr 2002 01:56:51 +0000 (01:56 +0000)]
Make sure README.MSVC goes in the distribution.

22 years agoMake sure zlib.dsp goes in the distribution.
curt [Tue, 23 Apr 2002 01:55:48 +0000 (01:55 +0000)]
Make sure zlib.dsp goes in the distribution.

22 years agoUpdated am2dsp.cfg file for creating MSVC project files.
curt [Mon, 22 Apr 2002 20:37:31 +0000 (20:37 +0000)]
Updated am2dsp.cfg file for creating MSVC project files.
New README.MSVC.
New src-libs/zlib.dsp for building zlib.

22 years agoBump up version number, remove boost from src-libs/Makefile.am
curt [Sat, 20 Apr 2002 22:03:35 +0000 (22:03 +0000)]
Bump up version number, remove boost from src-libs/Makefile.am