]> git.mxchange.org Git - simgear.git/log
simgear.git
20 years agoBug fixes. The priority queue wasn't handling boundary conditions at
andy [Sun, 7 Dec 2003 19:53:34 +0000 (19:53 +0000)]
Bug fixes.  The priority queue wasn't handling boundary conditions at
the edge of the table properly.  The new code is half the size -- it
*has* to be correct, right?

20 years agoProperty interpolator subsystem. A utility, primarily for Nasal scripts
andy [Fri, 5 Dec 2003 01:49:44 +0000 (01:49 +0000)]
Property interpolator subsystem.  A utility, primarily for Nasal scripts

20 years agoAdded setsize() and subvec() library functions
andy [Fri, 5 Dec 2003 01:49:02 +0000 (01:49 +0000)]
Added setsize() and subvec() library functions

20 years agoA first attempt on detecting endianness and number of bits
ehofman [Mon, 1 Dec 2003 18:57:32 +0000 (18:57 +0000)]
A first attempt on detecting endianness and number of bits

20 years agoRename IRIX to irix_string in simgear/compatibility and assign "simgear/compatibility...
ehofman [Mon, 1 Dec 2003 18:56:53 +0000 (18:56 +0000)]
Rename IRIX to irix_string in simgear/compatibility and assign "simgear/compatibility/irix_string" to STL_STRING for IRIX

20 years agoAdd Nasal Vs. 1.5
ehofman [Mon, 1 Dec 2003 14:33:45 +0000 (14:33 +0000)]
Add Nasal Vs. 1.5

20 years agoAttempt to fix a bug in SGSocket::read() affecting TCP style sockets.
curt [Thu, 27 Nov 2003 13:24:26 +0000 (13:24 +0000)]
Attempt to fix a bug in SGSocket::read() affecting TCP style sockets.

20 years agoRevert an IRIX/O2 only setting again
ehofman [Thu, 27 Nov 2003 10:23:13 +0000 (10:23 +0000)]
Revert an IRIX/O2 only setting again

20 years agoPortability fix
ehofman [Thu, 27 Nov 2003 10:22:29 +0000 (10:22 +0000)]
Portability fix

20 years agoMake sure autogenerated files don't show up
ehofman [Wed, 26 Nov 2003 14:42:05 +0000 (14:42 +0000)]
Make sure autogenerated files don't show up

20 years agoPortability fixes
ehofman [Wed, 26 Nov 2003 14:39:46 +0000 (14:39 +0000)]
Portability fixes

20 years agorename libnasal.a to libsgnasal.a to match the existing SimGear library
curt [Tue, 25 Nov 2003 22:49:02 +0000 (22:49 +0000)]
rename libnasal.a to libsgnasal.a to match the existing SimGear library
naming convention.

20 years agoMSVC > 6.0 fix
ehofman [Tue, 25 Nov 2003 21:45:56 +0000 (21:45 +0000)]
MSVC > 6.0 fix

20 years agoNasal and event manager updates from Andy Ross.
curt [Tue, 25 Nov 2003 21:26:01 +0000 (21:26 +0000)]
Nasal and event manager updates from Andy Ross.

20 years agoVersion 1.3 of Andy Ross's "NASAL" embedded scripting language.
curt [Tue, 25 Nov 2003 20:16:28 +0000 (20:16 +0000)]
Version 1.3 of Andy Ross's "NASAL" embedded scripting language.

20 years agoMinor changes to logging messages (to STDOUT).
david [Mon, 24 Nov 2003 17:41:43 +0000 (17:41 +0000)]
Minor changes to logging messages (to STDOUT).

20 years agoMacOS X fixes
ehofman [Sun, 23 Nov 2003 10:04:45 +0000 (10:04 +0000)]
MacOS X fixes

20 years agoFIx a typo
ehofman [Fri, 21 Nov 2003 21:56:57 +0000 (21:56 +0000)]
FIx a typo

20 years agoFrederic Bouvier wrote:
ehofman [Wed, 19 Nov 2003 15:16:21 +0000 (15:16 +0000)]
Frederic Bouvier wrote:
> When a c172 is on one machine, I only got segfault on an animation
> not found. This animation is named ControlsGroup and I guess
> that one object name referenced in this null animation no
> longer exist in the .ac model. I say that because the
> preceding one is analogous and works.
>
> So I would say the multiplayer works, except when there is a c172.

It seems that this animation refers to 'PanelInstruments' that is
a panel outside the model, so, when loaded with SGModelLib::load_model
the object is not found in the model and there is a non tested
read access through a null pointer in sgMakeAnimation.

20 years agoChange istringstream back to a typedef so there is no need to redefine every class...
ehofman [Sun, 9 Nov 2003 08:56:09 +0000 (08:56 +0000)]
Change istringstream back to a typedef so there is no need to redefine every class memeber.

20 years agoSave on a number of CPU costly strcmp calls when using the blend function
ehofman [Tue, 4 Nov 2003 13:25:23 +0000 (13:25 +0000)]
Save on a number of CPU costly strcmp calls when using the blend function

20 years agoUpdates for the official 0.3.4 version.
curt [Wed, 22 Oct 2003 19:21:24 +0000 (19:21 +0000)]
Updates for the official 0.3.4 version.

20 years agoShoot, I was trying to hunt down a bug that wasn't even caused by the sstream impleme...
ehofman [Mon, 20 Oct 2003 19:53:35 +0000 (19:53 +0000)]
Shoot, I was trying to hunt down a bug that wasn't even caused by the sstream implementation! Back out some of the previous patches

20 years agoAnd don't forget to free up the used memory.
ehofman [Mon, 20 Oct 2003 19:38:27 +0000 (19:38 +0000)]
And don't forget to free up the used memory.

20 years agoMake it easy on myself (and make it work as a bonus)
ehofman [Mon, 20 Oct 2003 19:32:50 +0000 (19:32 +0000)]
Make it easy on myself (and make it work as a bonus)

20 years agoLast fixes
ehofman [Mon, 20 Oct 2003 12:14:10 +0000 (12:14 +0000)]
Last fixes

20 years agoSafety updates
ehofman [Mon, 20 Oct 2003 09:41:26 +0000 (09:41 +0000)]
Safety updates

20 years agofixes and updates for fgrun
ehofman [Mon, 20 Oct 2003 09:06:13 +0000 (09:06 +0000)]
fixes and updates for fgrun

20 years agoFix a problem which was introduced in the previous patch
ehofman [Thu, 16 Oct 2003 14:53:14 +0000 (14:53 +0000)]
Fix a problem which was introduced in the previous patch

20 years agoFix a problem where older IRIX compilers needed a typecast for certain opperations
ehofman [Thu, 16 Oct 2003 12:51:47 +0000 (12:51 +0000)]
Fix a problem where older IRIX compilers needed a typecast for certain opperations

20 years agoVarious updates for the upcoming 0.3.4 release.
curt [Wed, 15 Oct 2003 20:15:29 +0000 (20:15 +0000)]
Various updates for the upcoming 0.3.4 release.

20 years agoFix a stragling left over reference to metakit.
curt [Wed, 15 Oct 2003 20:01:41 +0000 (20:01 +0000)]
Fix a stragling left over reference to metakit.

20 years agoAdd the ability to set three levels of detail for static scenery using the property...
ehofman [Sun, 28 Sep 2003 08:38:48 +0000 (08:38 +0000)]
Add the ability to set three levels of detail for static scenery using the property tree

20 years agoFix a dependency problem
ehofman [Thu, 25 Sep 2003 08:22:40 +0000 (08:22 +0000)]
Fix a dependency problem

20 years agoA couple changes to allow separate handling of VASI/PAPI lights which
curt [Wed, 24 Sep 2003 19:56:51 +0000 (19:56 +0000)]
A couple changes to allow separate handling of VASI/PAPI lights which
generally are turned on all the time.

20 years agoFix a problem where the compiler would mix up two function declarations because the...
ehofman [Wed, 24 Sep 2003 19:06:59 +0000 (19:06 +0000)]
Fix a problem where the compiler would mix up two function declarations because the one wich has SGSubsystem in it's options list expected a const SGSubsystem, but it was called with a plain SGSubsystem

20 years agoMove FGEventMgr and FGSubsystemMgr over to SimGear, add SGEventMgr to FlightGear...
ehofman [Wed, 24 Sep 2003 17:19:22 +0000 (17:19 +0000)]
Move FGEventMgr and FGSubsystemMgr over to SimGear, add SGEventMgr to FlightGear's globals structre and some small code cleanups

20 years agoVarious tweaks to handling taxiway lighting.
curt [Tue, 23 Sep 2003 23:06:50 +0000 (23:06 +0000)]
Various tweaks to handling taxiway lighting.

20 years agoFix a problem where the upper cloud layers are drawn with the sun punch through value
ehofman [Tue, 23 Sep 2003 08:42:20 +0000 (08:42 +0000)]
Fix a problem where the upper cloud layers are drawn with the sun punch through value

20 years agoFix a problem where the cloud layers suddenly change color when looking towards the sun
ehofman [Mon, 22 Sep 2003 12:32:03 +0000 (12:32 +0000)]
Fix a problem where the cloud layers suddenly change color when looking towards the sun

20 years agoInitialize some variables before using them
ehofman [Wed, 17 Sep 2003 17:59:28 +0000 (17:59 +0000)]
Initialize some variables before using them

20 years agoFrederic Bouvier:
ehofman [Sat, 13 Sep 2003 11:45:47 +0000 (11:45 +0000)]
Frederic Bouvier:
This patch is there to correct a problem that prevent to load static objects when specifying a relative fg-root or a different, relative, fg-scenery. It appears that there is a mix between fg-root, fg-scenery and PLIB's model-dir.
It has been reported on the list that users are not able to see the buildings, especially those running the win32 builds because they run 'runfgfs.bat' that set FG_ROOT=./DATA.

I decided not to use model-dir because it just add confusion and to build a valid path earlier.

20 years agoAdd support for win32-pthreads in MSVC.NET
ehofman [Sat, 13 Sep 2003 11:33:49 +0000 (11:33 +0000)]
Add support for win32-pthreads in MSVC.NET

20 years agoFix a problem for systems with older headers
ehofman [Fri, 12 Sep 2003 21:24:52 +0000 (21:24 +0000)]
Fix a problem for systems with older headers

20 years agoUse default OpenGL material colors
ehofman [Tue, 9 Sep 2003 14:33:29 +0000 (14:33 +0000)]
Use default OpenGL material colors

20 years agoChange the defaults color specifications
ehofman [Mon, 8 Sep 2003 13:11:19 +0000 (13:11 +0000)]
Change the defaults color specifications

20 years agoAdd a blend animation
ehofman [Fri, 5 Sep 2003 12:36:01 +0000 (12:36 +0000)]
Add a blend animation

20 years agoUpdate some light parameters
ehofman [Tue, 2 Sep 2003 09:11:21 +0000 (09:11 +0000)]
Update some light parameters

20 years agoFix the box like cloud layer appearance
ehofman [Sun, 31 Aug 2003 09:23:48 +0000 (09:23 +0000)]
Fix the box like cloud layer appearance

20 years agoFix some lighting values.
curt [Sun, 31 Aug 2003 03:12:27 +0000 (03:12 +0000)]
Fix some lighting values.

20 years agoNew automake, new problems. Use $base_LIBS where $LIBS was automatically added before
ehofman [Fri, 29 Aug 2003 07:35:55 +0000 (07:35 +0000)]
New automake, new problems. Use $base_LIBS where $LIBS was automatically added before

20 years agoRemove metakit from src-libs, remove metakit check from configure script,
curt [Fri, 29 Aug 2003 04:19:56 +0000 (04:19 +0000)]
Remove metakit from src-libs, remove metakit check from configure script,
remove README.metakit.

20 years agoActually use the calculated position in the layer list. This prevents the use of...
ehofman [Fri, 22 Aug 2003 16:58:01 +0000 (16:58 +0000)]
Actually use the calculated position in the layer list. This prevents the use of glDepthMask(). Clean up the code some.

20 years agoClouds3D crashes because there is no Light
ehofman [Fri, 22 Aug 2003 16:18:33 +0000 (16:18 +0000)]
Clouds3D crashes because there is no Light

20 years agoDisable depth buffer writes while drawing the layers and some cosmetic updates
ehofman [Fri, 22 Aug 2003 09:48:49 +0000 (09:48 +0000)]
Disable depth buffer writes while drawing the layers and some cosmetic updates

20 years agoA patch from Frederic Bouvier which performs z-buffer ordering of the cloud layers...
ehofman [Fri, 22 Aug 2003 08:07:21 +0000 (08:07 +0000)]
A patch from Frederic Bouvier which performs z-buffer ordering of the cloud layers to prevent transparency problems with other (se mi) transparent objects. Good work Frederic!

20 years agoAdjust the layer span and amount of curving based on the eleveation of the layer
ehofman [Tue, 19 Aug 2003 12:04:15 +0000 (12:04 +0000)]
Adjust the layer span and amount of curving based on the eleveation of the layer

20 years agoMacOS X fixes
ehofman [Tue, 19 Aug 2003 08:25:16 +0000 (08:25 +0000)]
MacOS X fixes

20 years agoGive calc_tex_coords() a more conformant name: sgCalcTexCoords()
curt [Tue, 19 Aug 2003 02:08:16 +0000 (02:08 +0000)]
Give calc_tex_coords() a more conformant name: sgCalcTexCoords()

20 years agoFrederic Bouvier:
ehofman [Sat, 16 Aug 2003 12:30:25 +0000 (12:30 +0000)]
Frederic Bouvier:
This patch was inspired by Norman. Otherwise there is a segfault on Linux because the global variable tries to access OGL before a valid context is initialized.

20 years agoDon't use glGet because of performance issues
ehofman [Fri, 15 Aug 2003 17:44:36 +0000 (17:44 +0000)]
Don't use glGet because of performance issues

20 years agoAdd support for NVidia cards with a broken OpenGL implementation
ehofman [Fri, 15 Aug 2003 17:19:22 +0000 (17:19 +0000)]
Add support for NVidia cards with a broken OpenGL implementation

20 years agoA small update to the fog punch through code
ehofman [Thu, 14 Aug 2003 12:32:58 +0000 (12:32 +0000)]
A small update to the fog punch through code

20 years agoAdjust the fog punch through effect for oursun
ehofman [Thu, 14 Aug 2003 09:58:48 +0000 (09:58 +0000)]
Adjust the fog punch through effect for oursun

20 years agoMSVC fixes
ehofman [Tue, 12 Aug 2003 19:26:03 +0000 (19:26 +0000)]
MSVC fixes

20 years agoRemove extraneous/unneeded dependencies on glut. SimGear should no longer
curt [Mon, 11 Aug 2003 21:16:53 +0000 (21:16 +0000)]
Remove extraneous/unneeded dependencies on glut.  SimGear should no longer
have any glut dependies.

20 years agoRemove "glut" dependency.
curt [Mon, 11 Aug 2003 21:14:48 +0000 (21:14 +0000)]
Remove "glut" dependency.

- SkyContext.[ch]pp needs to query the window size, but apparently doesn't
  do anything with it.  We can hard wire a size and the cloud code seems to
  behave fine.

- SkyLight.[ch]pp depends on glut_shapes so I copied over the code so it
  can access those routines locally.  (The routines that are used are
  simply combining calls to libGLU.a

20 years agoOops, it doesn't do much good to declare a function as "static" in the .hxx
curt [Mon, 11 Aug 2003 19:42:08 +0000 (19:42 +0000)]
Oops, it doesn't do much good to declare a function as "static" in the .hxx

20 years agoOnly use the ";" delimiter under WIN32
curt [Sat, 9 Aug 2003 02:54:15 +0000 (02:54 +0000)]
Only use the ";" delimiter under WIN32

20 years agoAdd a routines that takes a search path (separated by sgSearchPathSep) and
curt [Fri, 8 Aug 2003 19:54:49 +0000 (19:54 +0000)]
Add a routines that takes a search path (separated by sgSearchPathSep) and
seperates them into a vector of strings which it then returns.

20 years agoGo back to a function that actually does check wheter endian swapping needs to be...
ehofman [Thu, 7 Aug 2003 14:11:35 +0000 (14:11 +0000)]
Go back to a function that actually does check wheter endian swapping needs to be done

20 years agoAdd support for using textures as a basis for cloud fields. This is not yet completel...
ehofman [Thu, 7 Aug 2003 12:34:23 +0000 (12:34 +0000)]
Add support for using textures as a basis for cloud fields. This is not yet completely finished. The orientation is not right.

20 years agoAdd support for rgba textures
ehofman [Thu, 7 Aug 2003 12:31:16 +0000 (12:31 +0000)]
Add support for rgba textures

20 years agoImprove endian awareness somehwat. Still not therer though
ehofman [Wed, 6 Aug 2003 17:54:19 +0000 (17:54 +0000)]
Improve endian awareness somehwat. Still not therer though

20 years agoMelchior FRANZ: Make the clouds3d code valgrind clean
ehofman [Tue, 5 Aug 2003 18:59:58 +0000 (18:59 +0000)]
Melchior FRANZ: Make the clouds3d code valgrind clean

20 years agoChanged "GL/glut.h" to <GL/glut.h>
curt [Tue, 5 Aug 2003 14:45:42 +0000 (14:45 +0000)]
Changed "GL/glut.h" to <GL/glut.h>

20 years agoPut clouds3d back in the build proces after (hopefully) fixing all the build problems
ehofman [Mon, 4 Aug 2003 17:29:30 +0000 (17:29 +0000)]
Put clouds3d back in the build proces after (hopefully) fixing all the build problems

20 years agoAdd dynamic glMultiTextureARB detection
ehofman [Mon, 4 Aug 2003 17:10:52 +0000 (17:10 +0000)]
Add dynamic glMultiTextureARB detection

20 years agoAdd a safety precausion
ehofman [Mon, 4 Aug 2003 17:05:12 +0000 (17:05 +0000)]
Add a safety precausion

20 years agoAdd runtime detection of glActiveTextureARB
ehofman [Mon, 4 Aug 2003 12:54:57 +0000 (12:54 +0000)]
Add runtime detection of glActiveTextureARB

20 years agoPre-initialize the variables driving the external force
ehofman [Mon, 4 Aug 2003 12:07:04 +0000 (12:07 +0000)]
Pre-initialize the variables driving the external force

20 years agoNorman Vine:
ehofman [Sun, 3 Aug 2003 21:23:21 +0000 (21:23 +0000)]
Norman Vine:
Note that SSG and OpenGL use different representations
of Matrices.

1) SSG is row major and OpenGL is column major

2) SSG uses a Z is up whereas conventionally OpenGL uses
   Z is pointing into the screen
   ie this just requires swapping the Y and the Z axis < columns >
   and negating the new Y column

3) Now since SSG eventually calls OpenGL SSG must do this
   for us behind the scenes or else things just wouldn't work
   so inorder to get Clouds3D to render in the proper location
   we should just need to use the Matrix that SSG uses for a Camera
   Matrix and pass this directly to the Clouds3D Camers

20 years agoHide an obvious mistake by defining our own ulEndianLittleDouble function for now
ehofman [Sun, 3 Aug 2003 08:25:26 +0000 (08:25 +0000)]
Hide an obvious mistake by defining our own ulEndianLittleDouble function for now

20 years agoAdjust the fog according to visibillity
ehofman [Fri, 1 Aug 2003 14:20:20 +0000 (14:20 +0000)]
Adjust the fog according to visibillity

20 years agoAdd cloud movement direction and speed
ehofman [Thu, 31 Jul 2003 14:46:24 +0000 (14:46 +0000)]
Add cloud movement direction and speed

20 years agoKeep the stack clean
ehofman [Thu, 31 Jul 2003 09:04:32 +0000 (09:04 +0000)]
Keep the stack clean

20 years agoActually commit the code changes which impliment a "scale" animation type.
curt [Fri, 25 Jul 2003 14:48:02 +0000 (14:48 +0000)]
Actually commit the code changes which impliment a "scale" animation type.

20 years agoMSVC warning fixes
ehofman [Wed, 23 Jul 2003 09:59:39 +0000 (09:59 +0000)]
MSVC warning fixes

20 years agoJim Wilson:
ehofman [Mon, 21 Jul 2003 08:37:22 +0000 (08:37 +0000)]
Jim Wilson:
Fixed texture translation so step and scroll values work with interpolation tables as well.  Moved step/scroll calculation to utility function to improve code readability.

20 years agoFix a typo
ehofman [Wed, 16 Jul 2003 11:32:08 +0000 (11:32 +0000)]
Fix a typo

20 years agoDon't bother other develoers with problems caused by MipsPro (version < 7.3) compilers
ehofman [Sun, 13 Jul 2003 12:34:52 +0000 (12:34 +0000)]
Don't bother other develoers with problems caused by MipsPro (version < 7.3) compilers

20 years agoDon't check for OpenGL libraries without at least including -lm
ehofman [Sat, 12 Jul 2003 09:18:54 +0000 (09:18 +0000)]
Don't check for OpenGL libraries without at least including -lm

20 years agoAttempt to get these files back to a compilable state.
curt [Fri, 11 Jul 2003 17:50:32 +0000 (17:50 +0000)]
Attempt to get these files back to a compilable state.

20 years agoDon't use floats where ints are more appropriate
ehofman [Fri, 11 Jul 2003 10:55:17 +0000 (10:55 +0000)]
Don't use floats where ints are more appropriate

20 years agoAllow removing of the texture data after it is sent to OpenGL
ehofman [Fri, 11 Jul 2003 09:57:28 +0000 (09:57 +0000)]
Allow removing of the texture data after it is sent to OpenGL

21 years agoSync he configure script with that one from FLightGear by splitting the LIBS cariable...
ehofman [Thu, 10 Jul 2003 10:02:10 +0000 (10:02 +0000)]
Sync he configure script with that one from FLightGear by splitting the LIBS cariable into a base_LIBS, opengl_LIBS, network_LIBS and thread_LIBS variable

21 years agoJim Wilson:
ehofman [Thu, 10 Jul 2003 09:49:29 +0000 (09:49 +0000)]
Jim Wilson:
This update adds the ability to do multiple texture transforms (Steve B. thinks supporting them at the plib level would be inefficient, which is probably true).

Removed units (e.g. "_m") from texture translation property and variable names since the texture translation values are dimensionless.

Added the ability to specify a scroll factor for stepped texture animation that needs to scroll smoothly when approaching the step interval (e.g. odometer movement).

21 years agoDon't delete the texture data after sending it to OpenGL.
ehofman [Thu, 10 Jul 2003 09:14:34 +0000 (09:14 +0000)]
Don't delete the texture data after sending it to OpenGL.

21 years agoA couple more sanity checking tweaks for texture freeing.
curt [Wed, 9 Jul 2003 20:58:39 +0000 (20:58 +0000)]
A couple more sanity checking tweaks for texture freeing.

21 years agoPrevent deleting the texture data for a second time in the destructor
ehofman [Wed, 9 Jul 2003 20:51:04 +0000 (20:51 +0000)]
Prevent deleting the texture data for a second time in the destructor