]> git.mxchange.org Git - simgear.git/log
simgear.git
17 years agoCsaba HALASZ: when a path_cache ceases to exist, unregister from all nodes
mfranz [Sat, 17 Feb 2007 10:50:49 +0000 (10:50 +0000)]
Csaba HALASZ: when a path_cache ceases to exist, unregister from all nodes
              that had been told that this node is linking to them

mf: remove old erase-by-key methods; they are now unused and always were
    problematic, so they won't be used in the future either

17 years ago- don't leak node in both hash_table::bucket::erase()
mfranz [Fri, 16 Feb 2007 15:32:21 +0000 (15:32 +0000)]
- don't leak node in both hash_table::bucket::erase()
- remove bad code from hash_table::bucket::erase(const char *) that was
  introduced with the last patch. (This function isn't used anywhere and
  is scheduled for removal. Leaving it in for now as a reference.)
- remove leaves first in remove_from_path_caches()

- cosmetics: indentation, one trailing space, variable name change, comment
  (Sorrry for mixing that with actual code, but I think it's easy to see.)

17 years agoDon't crash when destroying a SGBinding object if the property node it
andy [Wed, 14 Feb 2007 23:14:00 +0000 (23:14 +0000)]
Don't crash when destroying a SGBinding object if the property node it
was loaded from lacks a parent.  Patch from ndim on IRC

17 years agoMaik JUSTUS:
mfranz [Sun, 11 Feb 2007 11:05:23 +0000 (11:05 +0000)]
Maik JUSTUS:

"""
- make every node maintain list of properties that link to it
- add functions to erase node by address from hash bucket/entry in their
  path caches, so that all references can be removed
- if a node is removed, it (and all children, grandchildren, ...) calls
  all linked properties to remove them from their path-cache

This fixes problems with the aerotow over multiplayer and maybe some
other problems, where nodes are queried by name.
"""

17 years ago"bias" argument to texture animations by Ron Jensen
andy [Wed, 7 Feb 2007 19:21:24 +0000 (19:21 +0000)]
"bias" argument to texture animations by Ron Jensen

17 years agofix error message
mfranz [Mon, 5 Feb 2007 21:41:40 +0000 (21:41 +0000)]
fix error message

17 years agoModified Files:
frohlich [Fri, 2 Feb 2007 18:16:42 +0000 (18:16 +0000)]
Modified Files:
ephemeris.cxx ephemeris.hxx stardata.cxx:
one must not do changes just before checkin,
one most not do changes just before checkin,
[ last message repeated 100 times ]

17 years agoModified Files:
frohlich [Fri, 2 Feb 2007 18:09:27 +0000 (18:09 +0000)]
Modified Files:
ephemeris.cxx ephemeris.hxx stardata.cxx stardata.hxx: Throw out sg.h

17 years agoModified Files:
frohlich [Fri, 2 Feb 2007 07:00:54 +0000 (07:00 +0000)]
Modified Files:
simgear/scene/util/SGNodeMasks.hxx
simgear/scene/model/animation.cxx:
More finegrained cull masks

17 years agoModified Files:
frohlich [Wed, 31 Jan 2007 21:40:59 +0000 (21:40 +0000)]
Modified Files:
projects/VC8/SimGear.vcproj: Olaf Flebbe: renenable static build

17 years agoModified Files:
frohlich [Tue, 30 Jan 2007 20:12:15 +0000 (20:12 +0000)]
Modified Files:
SGIntersect.hxx SGVec3.hxx SGVec4.hxx: Add convinience methods

17 years agorestore 'double checked locking'
fredb [Mon, 29 Jan 2007 08:19:13 +0000 (08:19 +0000)]
restore 'double checked locking'

17 years agoModified Files:
frohlich [Sun, 28 Jan 2007 20:04:56 +0000 (20:04 +0000)]
Modified Files:
  model.cxx: Better texture sharing, fix problem with rotation order

17 years agoModified Files:
frohlich [Sun, 28 Jan 2007 20:03:43 +0000 (20:03 +0000)]
Modified Files:
simgear/structure/SGAtomic.cxx: Plug memory leak originating from
wrong atomic fallback operations.

17 years agoEnsure a reference on the cube map texture is always held
fredb [Fri, 26 Jan 2007 20:30:02 +0000 (20:30 +0000)]
Ensure a reference on the cube map texture is always held

17 years ago*** empty log message ***
ehofman [Tue, 23 Jan 2007 10:07:36 +0000 (10:07 +0000)]
*** empty log message ***

17 years agoBetter fix for the constant scale factor problem
fredb [Sun, 21 Jan 2007 11:15:36 +0000 (11:15 +0000)]
Better fix for the constant scale factor problem

17 years agoSupport constant scaling factor
fredb [Sun, 21 Jan 2007 10:33:34 +0000 (10:33 +0000)]
Support constant scaling factor

17 years agoDon't segfault when dir is empty
fredb [Tue, 16 Jan 2007 21:34:18 +0000 (21:34 +0000)]
Don't segfault when dir is empty

17 years agoModified Files:
frohlich [Mon, 15 Jan 2007 19:01:20 +0000 (19:01 +0000)]
Modified Files:
animation.cxx: Add a visible configuration option to the pick
animation.

17 years agoModified Files:
frohlich [Mon, 15 Jan 2007 17:32:17 +0000 (17:32 +0000)]
Modified Files:
projects/VC8/SimGear.vcproj: Olaf Flebbe, MSVC8 buildsystem changes.

17 years agowritePropeties(): create dir if necessary
mfranz [Fri, 12 Jan 2007 21:24:50 +0000 (21:24 +0000)]
writePropeties(): create dir if necessary

17 years agoUpdate MSVC 7.1 project file and fix win32 compilation
fredb [Tue, 9 Jan 2007 21:58:04 +0000 (21:58 +0000)]
Update MSVC 7.1 project file and fix win32 compilation

17 years agoModified Files:
frohlich [Sun, 7 Jan 2007 12:25:32 +0000 (12:25 +0000)]
Modified Files:
SGSceneUserData.hxx SGSceneUserData.cxx: Remove default argument

17 years agoModified Files:
frohlich [Sun, 7 Jan 2007 11:53:21 +0000 (11:53 +0000)]
Modified Files:
animation.cxx: Change the pick animation to better handle different
mouse buttons.

17 years agoModified Files:
frohlich [Sun, 7 Jan 2007 11:52:19 +0000 (11:52 +0000)]
Modified Files:
SGSceneUserData.hxx SGPickCallback.hxx Makefile.am
Added Files:
SGSceneUserData.cxx: Cleanup and replace the pick callback with
such a list.

17 years agoModified Files:
frohlich [Sun, 7 Jan 2007 08:34:03 +0000 (08:34 +0000)]
Modified Files:
animation.cxx: Add a button argument to that animation.
The default is to accept any mouse button.

17 years agoAdd a prototype simgear_config.h for MSVC 7.1 and a rule to build it.
fredb [Sat, 6 Jan 2007 17:01:58 +0000 (17:01 +0000)]
Add a prototype simgear_config.h for MSVC 7.1 and a rule to build it.

17 years agoAdd a prototype simgear_config.h for MSVC 7.1 and a rule to build it.
fredb [Sat, 6 Jan 2007 16:52:50 +0000 (16:52 +0000)]
Add a prototype simgear_config.h for MSVC 7.1 and a rule to build it.
At Olaf requests, add MSVC 8 specific symbols to remove pedantic warnings

17 years agoRemove redundant directory ( projects as a whole is already there )
fredb [Sat, 6 Jan 2007 16:47:57 +0000 (16:47 +0000)]
Remove redundant directory ( projects as a whole is already there )

17 years agoModified Files:
frohlich [Sat, 6 Jan 2007 15:08:40 +0000 (15:08 +0000)]
Modified Files:
moon.cxx: The moo's state like it was with plib

17 years agoRefresh MSVC6 project file
fredb [Sat, 6 Jan 2007 14:45:21 +0000 (14:45 +0000)]
Refresh MSVC6 project file

17 years agoFix a typo
fredb [Sat, 6 Jan 2007 14:44:54 +0000 (14:44 +0000)]
Fix a typo

17 years agoAdd SGBinding.[ch]xx to the MSVC 7.1 project
fredb [Thu, 4 Jan 2007 22:24:23 +0000 (22:24 +0000)]
Add SGBinding.[ch]xx to the MSVC 7.1 project

17 years agostd::find is defined in <algorithm>
fredb [Thu, 4 Jan 2007 22:23:40 +0000 (22:23 +0000)]
std::find is defined in <algorithm>

17 years agoModified Files:
frohlich [Thu, 4 Jan 2007 12:55:16 +0000 (12:55 +0000)]
Modified Files:
Makefile.am animation.cxx animation.hxx: Add animation to execute
a command on scenery pick

17 years agoModified Files:
frohlich [Thu, 4 Jan 2007 12:52:50 +0000 (12:52 +0000)]
Modified Files:
Makefile.am SGNodeMasks.hxx
Added Files:
SGPickCallback.hxx SGSceneUserData.hxx: Preparations for generic
scenery picking.

17 years agoModified Files:
frohlich [Thu, 4 Jan 2007 12:51:13 +0000 (12:51 +0000)]
Modified Files:
condition.hxx: Also derive from SGReferenced

17 years agoModified Files:
frohlich [Thu, 4 Jan 2007 12:47:12 +0000 (12:47 +0000)]
Modified Files:
Makefile.am commands.cxx commands.hxx
Added Files:
SGBinding.cxx SGBinding.hxx: Move FGBinding to SGBinding

17 years agoModified Files:
frohlich [Thu, 28 Dec 2006 13:25:14 +0000 (13:25 +0000)]
Modified Files:
SGIntersect.hxx: Make it compile with win32

17 years agoModified Files:
frohlich [Wed, 27 Dec 2006 10:33:37 +0000 (10:33 +0000)]
Modified Files:
obj.cxx: Some kind of polygon offset for GL_POINTS.

17 years agoModified Files:
frohlich [Wed, 27 Dec 2006 10:07:19 +0000 (10:07 +0000)]
Modified Files:
Makefile.am SGReferenced.hxx
Added Files:
SGAtomic.cxx SGAtomic.hxx:
Make the reference counts thread safe.

17 years agoModified Files:
frohlich [Wed, 27 Dec 2006 09:23:39 +0000 (09:23 +0000)]
Modified Files:
Makefile.am SGMathTest.cxx SGQuat.hxx SGVec3.hxx
Added Files:
SGBox.hxx SGGeometry.hxx SGGeometryFwd.hxx SGGeometryTest.cxx
SGIntersect.hxx SGLineSegment.hxx SGPlane.hxx SGRay.hxx
SGSphere.hxx SGTriangle.hxx:
Small updates to the vector code, new geometry and collision
classes for use with a bv tree to speed up collission tests.
Also included is a rought unit test for the collissions.

17 years agoWether you like it or not, MispPro needs these libraries referenced
ehofman [Sat, 23 Dec 2006 12:15:05 +0000 (12:15 +0000)]
Wether you like it or not, MispPro needs these libraries referenced

17 years agomemcpy needs #include <string.h>
fredb [Sun, 17 Dec 2006 17:52:15 +0000 (17:52 +0000)]
memcpy needs #include <string.h>

17 years agoPort jpgfactory to OSG
fredb [Sat, 16 Dec 2006 17:29:16 +0000 (17:29 +0000)]
Port jpgfactory to OSG

17 years agoProject files for MSVC 7.1 aka .NET 2003
fredb [Sat, 16 Dec 2006 13:12:48 +0000 (13:12 +0000)]
Project files for MSVC 7.1 aka .NET 2003

17 years agoModified Files:
frohlich [Thu, 14 Dec 2006 05:24:16 +0000 (05:24 +0000)]
Modified Files:
simgear/math/SGVec3.hxx: fix spelling

17 years agoModified Files:
frohlich [Fri, 8 Dec 2006 12:22:10 +0000 (12:22 +0000)]
Modified Files:
simgear/scene/sky/bbcache.cxx simgear/scene/sky/bbcache.hxx
simgear/scene/sky/cloudfield.cxx

17 years agoModified Files:
frohlich [Fri, 8 Dec 2006 12:17:30 +0000 (12:17 +0000)]
Modified Files:
SGVec3.hxx: Generate any perpandicular vector to a given one.

17 years agoModified Files:
frohlich [Fri, 8 Dec 2006 12:16:56 +0000 (12:16 +0000)]
Modified Files:
point3d.hxx: Add explicit conversion functions to SGVec*

17 years agoModified Files:
frohlich [Tue, 5 Dec 2006 06:14:41 +0000 (06:14 +0000)]
Modified Files:
simgear/scene/model/animation.cxx: Fix a problem of muliple
texturre transform not finding the correct configuration.

17 years agoReturn void instead of bool.
frohlich [Tue, 5 Dec 2006 05:43:13 +0000 (05:43 +0000)]
Return void instead of bool.

17 years agoModified Files:
frohlich [Sun, 3 Dec 2006 17:44:27 +0000 (17:44 +0000)]
Modified Files:
simgear/screen/extensions.hxx: Make it compile on macos

17 years agoModified Files:
frohlich [Sun, 3 Dec 2006 17:27:46 +0000 (17:27 +0000)]
Modified Files:
simgear/scene/material/mat.cxx: Put solid scenery into the
opaque render bin

17 years agoModified Files:
frohlich [Sun, 3 Dec 2006 17:02:40 +0000 (17:02 +0000)]
Modified Files:
simgear/scene/util/SGNodeMasks.hxx: Add pickable bit

17 years agoModified Files:
frohlich [Sun, 3 Dec 2006 16:57:20 +0000 (16:57 +0000)]
Modified Files:
simgear/scene/model/Makefile.am
simgear/scene/model/animation.cxx
simgear/scene/model/animation.hxx
simgear/scene/model/model.cxx
simgear/scene/model/persparam.cxx
simgear/scene/model/persparam.hxx
simgear/scene/model/shadanim.cxx
Added Files:
simgear/scene/model/SGMaterialAnimation.cxx
simgear/scene/model/SGMaterialAnimation.hxx
Big animation overhaul. Improoves animation correctness.

17 years agoModified Files:
frohlich [Sun, 3 Dec 2006 16:46:23 +0000 (16:46 +0000)]
Modified Files:
SGUpdateVisitor.hxx: Include light information.

17 years agoModified Files:
frohlich [Sat, 2 Dec 2006 15:59:23 +0000 (15:59 +0000)]
Modified Files:
        SGMisc.hxx: Add clip and periodic normalize functions.

17 years agoModified Files:
frohlich [Sat, 2 Dec 2006 15:57:55 +0000 (15:57 +0000)]
Modified Files:
SGVec2.hxx SGVec3.hxx SGVec4.hxx: Add inf norm function

17 years agoModified Files:
frohlich [Sat, 2 Dec 2006 15:56:55 +0000 (15:56 +0000)]
Modified Files:
interpolater.cxx interpolater.hxx: Enable reading tables directly
from our dom like tree.

17 years agoModified Files:
frohlich [Mon, 27 Nov 2006 17:11:35 +0000 (17:11 +0000)]
Modified Files:
simgear/scene/sky/oursun.cxx: Fix the 'sun has wrong size' bug.
Thanks to Mark Akermann.

17 years agoModified Files:
frohlich [Tue, 21 Nov 2006 18:44:54 +0000 (18:44 +0000)]
Modified Files:
simgear/math/interpolater.cxx simgear/math/interpolater.hxx
simgear/props/condition.cxx simgear/props/condition.hxx
simgear/scene/model/animation.cxx
simgear/scene/model/animation.hxx: Optimize interpolation table
lookup by using a std::map.

17 years agoModified Files:
frohlich [Tue, 21 Nov 2006 18:39:57 +0000 (18:39 +0000)]
Modified Files:
SGVec2.hxx SGVec3.hxx SGVec4.hxx: Implement min/max for vectors

17 years agoModified Files:
frohlich [Mon, 20 Nov 2006 18:19:02 +0000 (18:19 +0000)]
Modified Files:
model.cxx: Tweak model optimizations

17 years agoModified Files:
frohlich [Mon, 20 Nov 2006 18:17:56 +0000 (18:17 +0000)]
Modified Files:
placementtrans.cxx placementtrans.hxx: Make use of that view
        information in the update visitor

17 years agoModified Files:
frohlich [Mon, 20 Nov 2006 18:15:34 +0000 (18:15 +0000)]
Modified Files:
SGUpdateVisitor.hxx: Store some view imformation in the
update visitor.

17 years agoMac fix from Ima Sudonim
fredb [Sat, 18 Nov 2006 18:58:51 +0000 (18:58 +0000)]
Mac fix from Ima Sudonim

17 years agoModified Files:
frohlich [Tue, 14 Nov 2006 21:15:20 +0000 (21:15 +0000)]
Modified Files:
VC8/SimGear.vcproj: Import buildsystem from Olaf Flebbe

17 years agoModified Files:
frohlich [Tue, 14 Nov 2006 21:09:44 +0000 (21:09 +0000)]
Modified Files:
animation.hxx animation.cxx: Improove material/texture/blend animation

17 years agoModified Files:
frohlich [Sun, 12 Nov 2006 10:32:42 +0000 (10:32 +0000)]
Modified Files:
animation.cxx animation.hxx: Fix crash on A-10 load

17 years agoModified Files:
frohlich [Sun, 12 Nov 2006 07:28:59 +0000 (07:28 +0000)]
Modified Files:
model.cxx: Leave it to osg when to do mipmapping.

17 years agoModified Files:
frohlich [Sun, 12 Nov 2006 07:23:42 +0000 (07:23 +0000)]
Modified Files:
model.cxx: Reset the database path past the whole model is loaded

17 years agoModified Files:
frohlich [Sun, 12 Nov 2006 07:22:44 +0000 (07:22 +0000)]
Modified Files:
SGQuat.hxx: Make const method const

17 years agoModified Files:
frohlich [Fri, 10 Nov 2006 05:30:37 +0000 (05:30 +0000)]
Modified Files:
simgear/scene/material/mat.cxx
simgear/scene/material/matlib.cxx simgear/scene/sky/cloud.cxx
simgear/scene/sky/dome.cxx simgear/scene/sky/moon.cxx
simgear/scene/sky/oursun.cxx simgear/scene/sky/sphere.cxx
simgear/scene/sky/stars.cxx simgear/scene/tgdb/apt_signs.cxx
simgear/scene/tgdb/leaf.cxx simgear/scene/tgdb/leaf.hxx
simgear/scene/tgdb/obj.cxx simgear/scene/tgdb/pt_lights.cxx
simgear/scene/util/SGDebugDrawCallback.hxx
simgear/screen/Makefile.am: Use color arrays for every geode.
Just use osg::Material instead of osg::Material and the associated
mode.

17 years agoModified Files:
frohlich [Thu, 9 Nov 2006 05:42:06 +0000 (05:42 +0000)]
Modified Files:
scene/model/model.cxx: Next step in direction liveries

17 years agocopysign is already in compiler.h
fredb [Tue, 7 Nov 2006 21:31:17 +0000 (21:31 +0000)]
copysign is already in compiler.h

17 years agoModified Files:
frohlich [Tue, 7 Nov 2006 17:49:36 +0000 (17:49 +0000)]
Modified Files:
simgear/screen/extensions.cxx simgear/screen/extensions.hxx: Avoid
the assumption that with glx-1.4 glXGetProcAddress is available -
use dlsym to get that function.

17 years agoThis class is for plib only
fredb [Tue, 7 Nov 2006 07:22:48 +0000 (07:22 +0000)]
This class is for plib only

17 years agoModified Files:
frohlich [Tue, 7 Nov 2006 06:40:35 +0000 (06:40 +0000)]
Modified Files:
mat.cxx: Fix dark scenery problem.

17 years agoModified Files:
frohlich [Tue, 7 Nov 2006 06:02:47 +0000 (06:02 +0000)]
Modified Files:
simgear/Makefile.am: Make 'make distclean' work

17 years agoModified Files:
frohlich [Tue, 7 Nov 2006 05:55:46 +0000 (05:55 +0000)]
Modified Files:
projects/VC8/SimGear.vcproj: Olaf Flebbe: updated project files

17 years agoModified Files:
frohlich [Tue, 7 Nov 2006 05:47:00 +0000 (05:47 +0000)]
Modified Files:
simgear/scene/util/SGUpdateVisitor.hxx: Only traverse active
children.

17 years agoModified Files:
frohlich [Tue, 7 Nov 2006 05:46:25 +0000 (05:46 +0000)]
Modified Files:
simgear/scene/util/SGDebugDrawCallback.hxx
simgear/math/SGQuat.hxx: Olaf Flebbe: Make it compile on some more
win32 variants.

17 years agoDon't try to load textures when no name is given
fredb [Mon, 6 Nov 2006 21:59:02 +0000 (21:59 +0000)]
Don't try to load textures when no name is given

17 years agoAttempt to fix the APIENTRY problem. It looks like a problem in OSG, or a conflict...
fredb [Fri, 3 Nov 2006 18:08:46 +0000 (18:08 +0000)]
Attempt to fix the APIENTRY problem. It looks like a problem in OSG, or a conflict between OSG and plib/pui

17 years agoFor some reason I don't know yet, the APIENTRY stuff in osg/GL is broken for some...
fredb [Fri, 3 Nov 2006 10:04:58 +0000 (10:04 +0000)]
For some reason I don't know yet, the APIENTRY stuff in osg/GL is broken for some files. Include the real windows.h until we find why.

17 years agoadd copysign definition for MSVC
fredb [Fri, 3 Nov 2006 09:57:02 +0000 (09:57 +0000)]
add copysign definition for MSVC

17 years agoWin32 compilation fix
fredb [Thu, 2 Nov 2006 17:40:54 +0000 (17:40 +0000)]
Win32 compilation fix

17 years agoModified Files:
frohlich [Thu, 2 Nov 2006 13:37:23 +0000 (13:37 +0000)]
Modified Files:
SGMath.hxx: Attempt to help IRIX builds

17 years agoModified Files:
frohlich [Thu, 2 Nov 2006 06:15:14 +0000 (06:15 +0000)]
Modified Files:
projects/VC8/SimGear.sln projects/VC8/SimGear.vcproj: Import Olafs
project files

17 years agoModified Files:
frohlich [Wed, 1 Nov 2006 21:25:21 +0000 (21:25 +0000)]
Modified Files:
Makefile.am SGMath.hxx SGMathFwd.hxx SGMatrix.hxx SGQuat.hxx
Added Files:
SGVec2.hxx
Improove the matrix functions. Improove the quaterion functions.
Add the 2d vector.

17 years ago+ .deps/
mfranz [Wed, 1 Nov 2006 21:24:24 +0000 (21:24 +0000)]
+ .deps/

17 years agoModified Files:
frohlich [Tue, 31 Oct 2006 06:26:50 +0000 (06:26 +0000)]
Modified Files:
simgear/scene/model/Makefile.am
simgear/scene/model/animation.cxx
simgear/scene/model/animation.hxx
simgear/scene/model/modellib.cxx
simgear/scene/model/modellib.hxx
Removed Files:
simgear/scene/model/personality.cxx
simgear/scene/model/personality.hxx:
Updates to the animation system.
Personality can be implemented easier now

17 years agoModified Files:
frohlich [Tue, 31 Oct 2006 06:14:38 +0000 (06:14 +0000)]
Modified Files:
  Makefile.am SGStateAttributeVisitor.hxx
  SGTextureStateAttributeVisitor.hxx
Added Files:
SGStateAttributeVisitor.cxx SGTextureStateAttributeVisitor.cxx:
Move implementation into cxx files

17 years agoModified Files:
frohlich [Tue, 31 Oct 2006 05:37:45 +0000 (05:37 +0000)]
Modified Files:
simgear/math/SGQuat.hxx: Initialize with zero not with null pointer

17 years agoModified Files:
frohlich [Tue, 31 Oct 2006 05:36:50 +0000 (05:36 +0000)]
Modified Files:
simgear/screen/extensions.cxx simgear/screen/extensions.hxx:
use glXGetProcAddress if approriate

17 years agoModified Files:
frohlich [Tue, 31 Oct 2006 05:33:48 +0000 (05:33 +0000)]
Modified Files:
simgear/timing/timestamp.hxx: Remove reimplemented default
implementations

17 years agoModified Files:
frohlich [Mon, 30 Oct 2006 19:56:09 +0000 (19:56 +0000)]
Modified Files:
configure.ac: Add a configure flag for osg

17 years agoMakefile(.in)
mfranz [Sun, 29 Oct 2006 20:08:27 +0000 (20:08 +0000)]
Makefile(.in)