9bae445624Fix a typo
fredb
2007-08-12 13:32:42 +00:00
30529ccdf5Modified Files: projects/VC7.1/SimGear.vcproj projects/VC8/SimGear.vcproj simgear/math/Makefile.am simgear/math/SGGeoc.hxx simgear/math/SGGeodesy.cxx simgear/math/SGGeodesy.hxx simgear/math/polar3d.hxx simgear/math/sg_geodesy.hxx simgear/math/sg_types.hxx Removed Files: simgear/math/polar3d.cxx simgear/math/sg_geodesy.cxx simgear/math/sg_memory.h: Remove sg_memory.h It is unused anyway and should not be required in a c++ world. Move distance course functions to the SG* type system. Move the implementation into SGGeodesy.cxx. Remove some of the old Point3D Based sg* functions that are already unused.
frohlich
2007-08-07 05:26:21 +00:00
a8a02d3a2eModified Files: projects/VC8/SimGear.vcproj: MSVC8 Build system updates from Olaf Flebbe.
frohlich
2007-08-07 04:59:09 +00:00
5da33ca244Melchior discovered that call(call) would crash due to a longstanding bug with argument parsing
andy
2007-08-01 22:46:12 +00:00
04c1e95f08Fix crash in code generator for some bad lvalue expressions
andy
2007-08-01 22:33:01 +00:00
2186fc1fc7Add ppc64 to the list of supported platforms based on testing by Tom Callaway at Red Hat
andy
2007-07-31 20:57:21 +00:00
ccbc5abec6Remove an extern SGSky *thesky reference that isn't used in the code anyway. The original code forced a dependency in SimGear back to something that is defined globaly in FlightGear, not a great strategy for a library with some "general purpose" intentions.
curt
2007-07-31 01:21:21 +00:00
7aa6fd479dOSG Reader and Writer for BTG files
timoore
2007-07-29 22:32:58 +00:00
3fcc16c1a0Modified Files: simgear/math/SGGeoc.hxx: Fix unit conversion problem
frohlich
2007-07-27 19:27:24 +00:00
b3e0298189SimGear: Typo in Thanks file
timoore
2007-07-23 22:00:31 +00:00
7e1fe7d852SimGear: Properly print compilers in configure.ac
timoore
2007-07-23 21:45:11 +00:00
5d7d77d4b6Allow parallel make ("make -j2") by giving make the opportunity to determine dependencies.
timoore
2007-07-22 22:37:26 +00:00
418856769bSupport for reading and writing nodes in .osg files, plus some new accessors.
timoore
2007-07-22 20:06:20 +00:00
ecb4dc57b4Maik JUSTUS: workaround for broken Doppler effect in OpenAL
mfranz
2007-07-22 13:50:24 +00:00
89d426470bMaik JUSTUS: Doppler fixes (add option to turn off Doppler for sounds that shouldn't be affected -- marker beep, ATIS messages, etc.)
BEFORE_OPENAL_DOPPLER_WORKAROUND
mfranz
2007-07-22 13:33:23 +00:00
23c7a1b5b7- close loophole through which one could sneak in illegal property names containing slashes, colons and all sorts of evil characters. In Nasal this could be done via props.globals.getChild("1!@#$//[]{}", 0, 1).setValue(0); The cause is that getChild() hands the given name directly over to an alternative SGPropertyNode ("convenience") constructor which sets the name without any checks. - unify exception messages: first character is lower case
mfranz
2007-07-17 14:52:51 +00:00
d4a4428e64Modified Files: simgear/route/waypoint.hxx simgear/route/waypoint.cxx: Use const refs where possible.
frohlich
2007-07-08 08:43:15 +00:00
2dfc057135replace exit() by throw sg_exception(). Of course, we have to be aware that interdependencies between sg libs are generally unwelcome, but sg_exception is a rather basic part, and it's already used by xml, props, scene, sound and, of course, structure. Since props and xml are core libs, we can assume that sg_exceptions are available. (OK'ed by Curt)
mfranz
2007-07-02 15:42:19 +00:00
a25eebef9badd SG_ORIGIN macro that expands to a string __FILE__":"__LINE__ Note that __LINE__ is a number and can't be directly used in string context, which makes the macro worthwhile. (IMHO :-)
mfranz
2007-07-02 12:55:10 +00:00
741c4ca15aback out last changes (radar patch)
mfranz
2007-06-29 22:45:37 +00:00
0bcdf2e4dceasyxml.cxx: add missing endXML visitor call testEasyXML.cxx: beef it up
sm-lastmain
mfranz
2007-06-29 10:46:52 +00:00
cd5a720211Vivian MEAZZA: add support for aircraft radar signatures
mfranz
2007-06-24 08:09:07 +00:00
5cb04946b0don't only complain that the volume is larger than 1.0, but say how much it actually is
mfranz
2007-06-23 16:48:01 +00:00
80bcaa49e6Nick WARNE: add file name to screenshot info line
mfranz
2007-06-14 20:20:18 +00:00
0096c1bb02advance tracing messages from SG_INFO to SG_ALERT. If a developer has demanded tracing, then he shouldn't get these important messages buried in thousands of lines of meaningless bulk.
mfranz
2007-06-11 16:09:50 +00:00
38b37a068d- allow for (rather unusual) ////// cloud groups - fix potential use of uninitialized memory: dew
mfranz
2007-06-09 18:36:56 +00:00
0281f31df2Modified Files: simgear/scene/material/mat.cxx simgear/scene/material/mat.hxx simgear/scene/util/SGSceneFeatures.cxx simgear/scene/util/SGSceneFeatures.hxx: Olaf Flebbe: Make use of SGSceneFeatues for anisotropic filtering, clean up.
frohlich
2007-06-08 06:50:16 +00:00
40b182c550Removed Files: simgear/scene/tgdb/leaf.cxx: Now obsolete but not yet removed.
frohlich
2007-06-08 06:40:56 +00:00
d1dedc7511Modified Files: scene/tgdb/SGOceanTile.cxx: add missing transform for the ocean tile.
frohlich
2007-06-03 18:28:14 +00:00
04cd9b3eb6Modified Files: simgear/scene/model/model.cxx simgear/scene/util/SGSceneFeatures.cxx simgear/scene/util/SGSceneFeatures.hxx: Make sure textures are shared. Do not rely on a graphics context to be available on model loading.
frohlich
2007-06-03 18:21:04 +00:00
de6003367dSync with Nasal upstream. Mostly fixes to naContinue(), which FlightGear doesn't use. Also includes a performance fix for the call() builtin that should help Melchior, who was measuring lower performance for the props.Node() interface than the getprop/setprop API.
andy
2007-05-30 22:49:41 +00:00
a8ba041b67Modified Files: simgear/scene/model/SGMaterialAnimation.cxx: Olaf Flebbe: Use brakets around bitwise operations. Greetings from LinuxTag, Berlin ... :)
frohlich
2007-05-30 13:07:05 +00:00
e700fc6f34I guess we aren't using explicit destructors here.
curt
2007-05-30 12:34:24 +00:00
af29d3d257Make an explicit destructor so the compiler doesn't get confused about non matching exception types with the implicitely defined destructor.
curt
2007-05-29 19:38:17 +00:00
8bd903dd96Modified Files: SGAtomic.hxx: Also use atomic compiler intrinsics on SGI
frohlich
2007-05-28 05:06:14 +00:00
560c100484Modified Files: simgear/bucket/newbucket.cxx simgear/bucket/newbucket.hxx simgear/io/decode_binobj.cxx simgear/io/sg_binobj.cxx simgear/io/sg_binobj.hxx simgear/math/SGVec2.hxx simgear/math/SGVec3.hxx simgear/math/SGVec4.hxx simgear/scene/material/mat.hxx simgear/scene/material/matlib.cxx simgear/scene/material/matlib.hxx simgear/scene/model/Makefile.am simgear/scene/tgdb/Makefile.am simgear/scene/tgdb/obj.cxx simgear/scene/tgdb/obj.hxx simgear/scene/tgdb/pt_lights.cxx simgear/scene/tgdb/pt_lights.hxx simgear/scene/util/Makefile.am simgear/scene/util/SGNodeMasks.hxx simgear/scene/util/SGTextureStateAttributeVisitor.cxx Added Files: simgear/scene/model/SGOffsetTransform.cxx simgear/scene/model/SGOffsetTransform.hxx simgear/scene/tgdb/SGDirectionalLightBin.hxx simgear/scene/tgdb/SGLightBin.hxx simgear/scene/tgdb/SGOceanTile.cxx simgear/scene/tgdb/SGOceanTile.hxx simgear/scene/tgdb/SGTexturedTriangleBin.hxx simgear/scene/tgdb/SGTriangleBin.hxx simgear/scene/tgdb/SGVasiDrawable.cxx simgear/scene/tgdb/SGVasiDrawable.hxx simgear/scene/tgdb/SGVertexArrayBin.hxx simgear/scene/util/SGEnlargeBoundingBox.cxx simgear/scene/util/SGEnlargeBoundingBox.hxx simgear/scene/util/SGSceneFeatures.cxx simgear/scene/util/SGSceneFeatures.hxx Removed Files: simgear/scene/tgdb/leaf.hxx simgear/scene/tgdb/vasi.hxx: Reorganize tile loaders. Build bigger leafs for the tiles. Move runway light colors into materials.xml. Split out classes that might be useful at other places. Avoid static storage on binobject loading.
frohlich
2007-05-28 05:00:28 +00:00
52444d177bGCC on ppc linux uses a different architecture symbol than the same compiler on OS X
andy
2007-05-25 15:49:10 +00:00
b4f7ff29efModified Files: SGVec3.hxx: Fix a problem in perpendicular triangle computation. Solves problem with invalid triangles in ground picking ...
frohlich
2007-05-18 07:29:37 +00:00
f7c6a5bfa2Modified Files: SGVec2.hxx SGVec3.hxx SGVec4.hxx point3d.hxx: Provide ordering relations for use with std::less in tree bases std:: containers.
frohlich
2007-05-18 04:46:11 +00:00
6fe14f7a6bFix a compiler warning.
curt
2007-05-16 16:08:17 +00:00
786e5addd8Fix various compiler warnings.
curt
2007-05-16 16:07:03 +00:00
2e9a15f523Tim Moore
mfranz
2007-05-15 22:28:08 +00:00
bb0d2ddc53add Mathias and Maik (to make it look less selfish that I add myself :-) I'm sure I forgot a lot of people, but it's a start.
mfranz
2007-05-15 22:02:06 +00:00
a85da04601Add method to return the number of attached listeners. Listeners have become a much more important feature than they were two years or something ago, and it's helpful for debugging and exploration to get this important node property shown in property tree dumps or in the property browser (verbose mode).
mfranz
2007-05-07 14:03:44 +00:00
414f1c27e4- fix bug where a property tree saved with writeProperties() and read back in with readProperties() would not look the same, because element indices of '0' were even dropped when a node has a "secret" value *and* children
mfranz
2007-05-06 17:33:15 +00:00
c76e2eb900better warning text for <global> in material animations
mfranz
2007-05-05 11:16:35 +00:00
c523e15302Modified Files: SGMaterialAnimation.cxx SGMaterialAnimation.hxx: Tim Moore: overhaul the material animation.
frohlich
2007-05-05 09:15:18 +00:00
2dc8de295dModified Files: simgear/scene/model/animation.hxx simgear/scene/model/shadanim.cxx: Tim Moore: the crom shader.
frohlich
2007-05-03 19:46:13 +00:00
d645fd6327Empty vectors work much better as the result of sorting an empty array than nil does...
andy
2007-05-02 22:29:35 +00:00
219a7f3a07Fix crash when sorting newly-allocated empty vectors
andy
2007-05-02 22:24:45 +00:00
d95e3e0055don't rely on a compressed scanline being properly closed (GIMP apparently generates corrupted files)
mfranz
2007-04-28 23:13:13 +00:00
2cc31ff425SGTexture::read_rgb(a)_texture: - support greyscale and greyscale/alpha format - cleanup & make it faster
mfranz
2007-04-28 12:30:38 +00:00
8258fd7d9fModified Files: projects/VC8/SimGear.vcproj: Olaf Flebbe: Updates to the win32 build system.
frohlich
2007-04-21 12:24:43 +00:00
784cca2233Modified Files: simgear/scene/material/mat.cxx simgear/scene/material/mat.hxx: Olaf Flebbe: make anisotroüpic filtering configurable.
frohlich
2007-04-21 12:13:16 +00:00
436539a700Melchior found a bug with negative values in default function arguments
andy
2007-04-06 20:35:38 +00:00
dcb3da9f28sync with Nasal CVS (added a sort() builtin)
andy
2007-04-06 14:52:06 +00:00
a354c841f1Csaba HALASZ: - fix bug that messed up leg distances after inserting and deleting waypoints not at the end of the route - move add_waypoint() and delete_waypoint from hxx to cxx - beef up routetest
mfranz
2007-04-06 09:54:35 +00:00
cba6db752bAvoid potential memory leak problems when exceptions are thrown by using reference objects
fredb
2007-04-03 11:25:07 +00:00
a458e26581Fix typo in _M_IX86
andy
2007-04-02 21:32:41 +00:00
9d68727a84Rewrite substr() to properly clamp its argument ranges and handle negative start arguments as offset-from-end values
andy
2007-04-02 18:28:38 +00:00
38b9a874e0Add missing free functions for win32
andy
2007-04-02 17:34:47 +00:00
7a680fb9f2Use __FUNCTION__, which works on gcc and MSVC 7/8, instead of __func__, which while standardized works only with gcc. I'll wait for bug reports from VC6 before bothering with fallback code...
andy
2007-04-02 16:14:54 +00:00
a5f9262adbMelchior points out that NaN/Inf behavior is not platform-independent. So toss a runtime error ("floating point error") when any of the math library functions produce a non-finite value. Note that these are not the only locations that can do that (simply dividing by zero will produce an Inf), but it's still proper behavior.
andy
2007-03-30 16:42:22 +00:00
b05e32fa8cSync with Nasal CVS (soon to become Nasal 1.1). Notable new features:
andy
2007-03-29 18:50:12 +00:00
53d8cff835Csaba HALASZ: when a path_cache ceases to exist, unregister from all nodes that had been told that this node is linking to them
mfranz
2007-02-17 10:50:49 +00:00
00fe97ff88- don't leak node in both hash_table:🪣:erase() - remove bad code from hash_table:🪣: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()
mfranz
2007-02-16 15:32:21 +00:00
607511fd64Don't crash when destroying a SGBinding object if the property node it was loaded from lacks a parent. Patch from ndim on IRC
andy
2007-02-14 23:14:00 +00:00
4d91bc5908Modified 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 ]
frohlich
2007-02-02 18:16:42 +00:00