]> git.mxchange.org Git - simgear.git/log
simgear.git
21 years agoConvert char* to string to prevent stdup/malloc/free
ehofman [Mon, 19 May 2003 15:40:11 +0000 (15:40 +0000)]
Convert char* to string to prevent stdup/malloc/free

21 years agoAdd a gamma correction function
ehofman [Sat, 17 May 2003 12:43:47 +0000 (12:43 +0000)]
Add a gamma correction function

21 years agoAdjust sunset/sun rise color scheme
ehofman [Fri, 16 May 2003 16:32:47 +0000 (16:32 +0000)]
Adjust sunset/sun rise color scheme

21 years agoForgot to #include <vector>
curt [Fri, 16 May 2003 13:22:03 +0000 (13:22 +0000)]
Forgot to #include <vector>

21 years agoI missed committing t hese changes yesterday.
curt [Fri, 16 May 2003 11:40:07 +0000 (11:40 +0000)]
I missed committing t hese changes yesterday.

21 years agoA patch from Frederic Bouvier to correct a naming problem caused bu Curts work. This...
ehofman [Fri, 16 May 2003 08:51:24 +0000 (08:51 +0000)]
A patch from Frederic Bouvier to correct a naming problem caused bu Curts work. This gets FlightGear/SimGear compiling again

21 years agoVarious code massaging.
curt [Thu, 15 May 2003 21:35:31 +0000 (21:35 +0000)]
Various code massaging.

21 years agoRename matobj -> matmodel.
curt [Thu, 15 May 2003 16:19:56 +0000 (16:19 +0000)]
Rename matobj -> matmodel.

21 years agoSeparate out the SGMaterial::Object{,Group} code into it's own source file.
curt [Thu, 15 May 2003 15:08:39 +0000 (15:08 +0000)]
Separate out the SGMaterial::Object{,Group} code into it's own source file.

21 years agoAdd some missing requirements
ehofman [Wed, 14 May 2003 20:36:20 +0000 (20:36 +0000)]
Add some missing requirements

21 years agoJust a bit of renaming.
curt [Wed, 14 May 2003 19:31:53 +0000 (19:31 +0000)]
Just a bit of renaming.

21 years agoMoved some low level scene graph construction code over to simgear/scene/tgdb/
curt [Wed, 14 May 2003 19:20:36 +0000 (19:20 +0000)]
Moved some low level scene graph construction code over to simgear/scene/tgdb/

21 years agoRemoved global instance of the material manager. Each application will
curt [Wed, 14 May 2003 18:27:25 +0000 (18:27 +0000)]
Removed global instance of the material manager.  Each application will
need to create it's own instance itself.

21 years agoRemoved non-textured and flat shaded support because it really clutters up
curt [Tue, 13 May 2003 19:05:09 +0000 (19:05 +0000)]
Removed non-textured and flat shaded support because it really clutters up
the API and I don't believe we'd have any hope of running at any kind of
reasonable frame rates on a non-hardware-3d accelerated box these days anyway.

21 years agoMake the current color of the sun available
ehofman [Tue, 13 May 2003 19:00:49 +0000 (19:00 +0000)]
Make the current color of the sun available

21 years agoImprove speed and readabillity
ehofman [Tue, 13 May 2003 17:14:38 +0000 (17:14 +0000)]
Improve speed and readabillity

21 years agoOops, make the cloud layer look more like an inverted bowl than like a sombrero
ehofman [Tue, 13 May 2003 12:11:48 +0000 (12:11 +0000)]
Oops, make the cloud layer look more like an inverted bowl than like a sombrero

21 years agoAdded generated files.
david [Tue, 13 May 2003 10:21:53 +0000 (10:21 +0000)]
Added generated files.

21 years agoAdded props_test program.
david [Tue, 13 May 2003 10:21:36 +0000 (10:21 +0000)]
Added props_test program.

21 years agoCosmetic changes for new code moved into simgear to make the naming scheme
curt [Tue, 13 May 2003 03:18:35 +0000 (03:18 +0000)]
Cosmetic changes for new code moved into simgear to make the naming scheme
better follow simgear conventions.

21 years agoMoved fgfs_src/Object/newmat.[ch]xx and fgfs_src/Object/matlib.[ch]xx into
curt [Mon, 12 May 2003 21:30:25 +0000 (21:30 +0000)]
Moved fgfs_src/Object/newmat.[ch]xx and fgfs_src/Object/matlib.[ch]xx into
simgear/scene/material/

21 years agosimgear/sky/
ehofman [Sun, 11 May 2003 22:29:52 +0000 (22:29 +0000)]
simgear/sky/

21 years agoCygwin build fixes
ehofman [Sun, 11 May 2003 20:54:26 +0000 (20:54 +0000)]
Cygwin build fixes

21 years agoMoved loader.[ch]xx and model.[ch]xx from fgfs/src/Model/ to
curt [Fri, 9 May 2003 20:19:36 +0000 (20:19 +0000)]
Moved loader.[ch]xx and model.[ch]xx from fgfs/src/Model/ to
simgear/scene/model.

21 years agoMinor tweaks and clean ups.
curt [Fri, 9 May 2003 19:37:28 +0000 (19:37 +0000)]
Minor tweaks and clean ups.

21 years agoMoved to SimGear from FlightGear/src/Model/
curt [Fri, 9 May 2003 19:37:10 +0000 (19:37 +0000)]
Moved to SimGear from FlightGear/src/Model/

21 years agoAdded "SG" prefixes to match other SimGear classes.
curt [Fri, 9 May 2003 19:36:41 +0000 (19:36 +0000)]
Added "SG" prefixes to match other SimGear classes.

21 years agoMove the FlightGear sound code over to SimGear
ehofman [Fri, 9 May 2003 17:29:06 +0000 (17:29 +0000)]
Move the FlightGear sound code over to SimGear

21 years agoignore certain files for CVS commits
ehofman [Thu, 8 May 2003 21:42:59 +0000 (21:42 +0000)]
ignore certain files for CVS commits

21 years agoSplit out animation code from fgfs-src/Model/model.[ch]xx and move it over
curt [Thu, 8 May 2003 16:32:17 +0000 (16:32 +0000)]
Split out animation code from fgfs-src/Model/model.[ch]xx and move it over
here.

21 years agoRemoved some extraneous debugging output. Hey, this one was subtle. Due
curt [Wed, 7 May 2003 01:59:03 +0000 (01:59 +0000)]
Removed some extraneous debugging output.  Hey, this one was subtle.  Due
to const/no-const variants of the prop->getNode() method, the 2nd bool
argument was getting promoted to an int so it would match a method with
a const SGPropertyNode * as the first argument.  But that made
it match the wrong version of prop->getNode() and things were failing.
Yikes!  This is one I could have stared at for days to figure out so I'm
glad I caught on to the problem. :-)

21 years ago- Moved some property specific code into simgear/props/
curt [Tue, 6 May 2003 23:40:43 +0000 (23:40 +0000)]
- Moved some property specific code into simgear/props/
- Split out the condition code from fgfs/src/Main/fg_props and put it
  in it's own source file in simgear/props/
- Created a scene subdirectory for scenery, model, and material property
  related code.
- Moved location.[ch]xx into simgear/scene/model/
- The location and condition code had dependencies on flightgear's global
  state (all the globals-> stuff, the flightgear property tree, etc.)  SimGear
  code can't depend on it so that data has to be passed as parameters to the
  functions/methods/constructors.

21 years agoAlso update the makefile.am
curt [Mon, 5 May 2003 15:54:00 +0000 (15:54 +0000)]
Also update the makefile.am

21 years agoLong on my todo list ...
curt [Mon, 5 May 2003 15:48:45 +0000 (15:48 +0000)]
Long on my todo list ...
Upgrade the distributed metakit to a newer version that hopefully fixes
some of the platform problems with the previous version.

21 years agoPass doubles as const ref's to save a couble bytes of stack space and
curt [Mon, 14 Apr 2003 17:58:03 +0000 (17:58 +0000)]
Pass doubles as const ref's to save a couble bytes of stack space and
presumably a tiny bit of function call time.

21 years agoFixup for windows machines
ehofman [Sun, 13 Apr 2003 21:16:52 +0000 (21:16 +0000)]
Fixup for windows machines

21 years agoMove the texture object to the screen directory for the sake of library dependencies
ehofman [Sat, 12 Apr 2003 09:42:45 +0000 (09:42 +0000)]
Move the texture object to the screen directory for the sake of library dependencies

21 years agoMove the texture object to the screen directory for the sake of library dependencies
ehofman [Sat, 12 Apr 2003 09:29:18 +0000 (09:29 +0000)]
Move the texture object to the screen directory for the sake of library dependencies

21 years agoremove a refference to a directory that doesn't exists yet
ehofman [Fri, 11 Apr 2003 12:51:36 +0000 (12:51 +0000)]
remove a refference to a directory that doesn't exists yet

21 years agoremove a depreciated file
ehofman [Thu, 10 Apr 2003 21:38:01 +0000 (21:38 +0000)]
remove a depreciated file

21 years agoRemove a depreciated file
ehofman [Thu, 10 Apr 2003 21:37:11 +0000 (21:37 +0000)]
Remove a depreciated file

21 years agoa small update
ehofman [Thu, 10 Apr 2003 09:31:12 +0000 (09:31 +0000)]
a small update

21 years agoremove a depreciated file
ehofman [Thu, 10 Apr 2003 09:27:02 +0000 (09:27 +0000)]
remove a depreciated file

21 years agoget rid of malloc()
ehofman [Thu, 10 Apr 2003 09:26:03 +0000 (09:26 +0000)]
get rid of malloc()

21 years agoDepreciate a wrapper header file
ehofman [Thu, 10 Apr 2003 08:01:18 +0000 (08:01 +0000)]
Depreciate a wrapper header file

21 years agoUpdate a SimGear/FlightGear inconsistancy
ehofman [Wed, 9 Apr 2003 20:59:21 +0000 (20:59 +0000)]
Update a SimGear/FlightGear inconsistancy

21 years agoFix a booboo
ehofman [Wed, 9 Apr 2003 20:33:24 +0000 (20:33 +0000)]
Fix a booboo

21 years agofix a booboo
ehofman [Wed, 9 Apr 2003 20:26:12 +0000 (20:26 +0000)]
fix a booboo

21 years agoAdd out own texture object
ehofman [Wed, 9 Apr 2003 20:24:52 +0000 (20:24 +0000)]
Add out own texture object

21 years agoUse "coverage" instead of "type".
david [Sat, 5 Apr 2003 03:32:18 +0000 (03:32 +0000)]
Use "coverage" instead of "type".

Rename "mostly-cloudy" to "broken" and "mostly-sunny" to "scattered",
to follow standard weather terminology.

Add "few".

21 years agoMake debug levels an integer
ehofman [Sat, 22 Mar 2003 10:34:38 +0000 (10:34 +0000)]
Make debug levels an integer

21 years agoadd Air Traffic Controll to the list of possible debug sections
ehofman [Thu, 20 Mar 2003 12:14:11 +0000 (12:14 +0000)]
add Air Traffic Controll to the list of possible debug sections

21 years agoimproved STL compatibility header files
ehofman [Wed, 19 Mar 2003 16:16:47 +0000 (16:16 +0000)]
improved STL compatibility header files

21 years agoRemove 3d clouds from the default build. These can still be built manually
curt [Mon, 10 Mar 2003 16:58:53 +0000 (16:58 +0000)]
Remove 3d clouds from the default build.  These can still be built manually
if desired, no code is being removed.

21 years agoPatch from Frederic Bouvier:
david [Sun, 2 Mar 2003 16:35:08 +0000 (16:35 +0000)]
Patch from Frederic Bouvier:

I am trying to compile tabbed_values.cxx and found that it requires
assert.h to compile with MSVC (on Linux, it must be included indirectly).
There is a patch below

21 years agoAdded tabbed_test program.
david [Sun, 2 Mar 2003 16:34:42 +0000 (16:34 +0000)]
Added tabbed_test program.

21 years agoPatches from Erik Hofman (for Irix? I've lost the original message).
david [Sun, 2 Mar 2003 14:52:05 +0000 (14:52 +0000)]
Patches from Erik Hofman (for Irix? I've lost the original message).

21 years agoBernie Bright:
curt [Fri, 28 Feb 2003 01:02:26 +0000 (01:02 +0000)]
Bernie Bright:

Could the file(), dir(), base() and extension() functions be made const member
functions.  As it stands they cannot be applied to const reference/pointer
values which limits their usefulness.

Curt:

Yes.

21 years agoAdd some convenience functions to the SGPath function.
curt [Wed, 26 Feb 2003 19:50:14 +0000 (19:50 +0000)]
Add some convenience functions to the SGPath function.

21 years agoOops, missed this the first time.
curt [Sat, 15 Feb 2003 18:53:44 +0000 (18:53 +0000)]
Oops, missed this the first time.

21 years agoJames Turner:
curt [Sat, 15 Feb 2003 18:43:59 +0000 (18:43 +0000)]
James Turner:

- added a new class in simgear/misc, SGTabbedValues, which parses a
  null-terminated string of data separated by tabs into fields, and
  supports safe conversion into various other datatypes.

21 years agoJames Turner:
curt [Sat, 15 Feb 2003 18:43:06 +0000 (18:43 +0000)]
James Turner:

- added a 'filename' helper to SGPath, corresponding to the 'directory'
helper but returning just the filename portion of the name.

21 years agoFix a typo in the FreeBSD support section.
curt [Fri, 7 Feb 2003 17:35:37 +0000 (17:35 +0000)]
Fix a typo in the FreeBSD support section.

21 years agoMisc. tweaks that have been laying around.
curt [Thu, 23 Jan 2003 21:59:07 +0000 (21:59 +0000)]
Misc. tweaks that have been laying around.

21 years agoFreeBSD pthread and malloc fixes.
curt [Thu, 23 Jan 2003 15:16:51 +0000 (15:16 +0000)]
FreeBSD pthread and malloc fixes.

21 years agoSome how the contents of this file got doubled up ...
curt [Thu, 2 Jan 2003 20:11:20 +0000 (20:11 +0000)]
Some how the contents of this file got doubled up ...

21 years agoPatches from Erik Hofman for SGI compatibility:
david [Tue, 31 Dec 2002 18:03:26 +0000 (18:03 +0000)]
Patches from Erik Hofman for SGI compatibility:

Some more cmall changes to the SimGear header files and removed the
SG_HAVE_NATIVE_SGI_COMPILERS dependancies from FlightGear.

I've added a seperate JSBSim patch for the JSBSim source tree.

21 years agoPatch from Erik Hofman:
david [Tue, 31 Dec 2002 14:47:34 +0000 (14:47 +0000)]
Patch from Erik Hofman:

This patch adds some more functionality to the header files and removes
*all* dependencies on SG_HAVE_NATIVE_SGI_COMPILERS in the SimGear code!

[dpm: I had to add some additional SG_USING_STD declarations to make
it compile]

21 years agoAdded missing Makefile.am from Erik Hofman.
david [Mon, 30 Dec 2002 22:33:34 +0000 (22:33 +0000)]
Added missing Makefile.am from Erik Hofman.

21 years agoIRIX/MipsPro patches from Erik Hofman:
david [Mon, 30 Dec 2002 21:33:56 +0000 (21:33 +0000)]
IRIX/MipsPro patches from Erik Hofman:

This patch adds some missing default ISO C++ headers to SimGear,
especially usefull for Irix/MipsPro. To the best of my knowledge this
only affects the Irix/MipsPro compiler combination although it might be
usefull for others as well.

This patch does not yet remove any compiler specific code, but that
would be my next task. The powerfull macros as defined in the compiler.h
file allowed me to split it up into multiple patches.

21 years agoSome trivial typo corrections.
david [Sat, 21 Dec 2002 13:40:50 +0000 (13:40 +0000)]
Some trivial typo corrections.

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.

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

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

21 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.

21 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.

21 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.

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

21 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.

21 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.

21 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.

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

21 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.

21 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.

21 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.

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

21 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.

21 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

21 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.

21 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.

21 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.