57a3b0fd1emath: Move lerp function into SGMisc.
Mathias Froehlich
2012-03-03 11:56:40 +01:00
9414874e1dscenery: inline SGGenTile into its single caller.
Mathias Froehlich
2012-03-03 10:45:15 +01:00
9e46820c57scenery: Route loader options through the btg loader.
Mathias Froehlich
2012-03-03 10:37:54 +01:00
3020990121Evaluate <condition> statements in materials.xml at tile loading time rather than on startup. This will allow changing between winter and summer textures in-sim, and also allow more interesting regional textures to be defined.
Stuart Buchanan
2012-03-02 23:04:18 +00:00
27219e0f58hla: Fix timeAdvanceAvailable handling when no federate is regulating.
Mathias Froehlich
2012-03-02 22:25:47 +01:00
a72d858034More robust checking of file extensions courtesy of the SGPath. Thanks to Mathias FROHLICH.
Stuart Buchanan
2012-02-27 21:27:27 +00:00
39d45e9e0aHandle dds object masks properly: 1) Only flip the object-mask if the texture xor the object mask is dds 2) Handle NTFS file systems where the extension may be .DDS rather than .dds.
Stuart Buchanan
2012-02-26 22:38:38 +00:00
4fae9039c1Correct spacing between buildings.
Stuart Buchanan
2012-02-26 22:38:04 +00:00
b7fa1d4f02#537 linker issues due to clock_gettime/librt dependencies Simplify dependency check and make it work for Debian.
ThorstenB
2012-02-24 22:20:37 +01:00
f1c2afacc4Revert "Try to fix MSVC template instantiation issue with SGVec dependencies."
ThorstenB
2012-02-24 22:00:58 +01:00
8aed0e75dfTry to fix MSVC template instantiation issue with SGVec dependencies.
ThorstenB
2012-02-24 21:47:00 +01:00
cf2619613dStop objects from overlapping the edge of the triangle in which they are placed. This should stop buildings encroaching roads etc.
Stuart Buchanan
2012-02-23 20:10:02 +00:00
2a9d39f201Allow (ab)using findDataFile to also search directories again.
ThorstenB
2012-02-19 14:38:52 +01:00
ae0b8eb3b3Make tsync part of libSimGearCore when building shared libraries
ThorstenB
2012-02-19 14:36:33 +01:00
63081c94a1hla: Add new header containing some enums.
Mathias Froehlich
2012-02-18 17:13:45 +01:00
c39926dd72hla: Rename AttributePathPair to StringPathPair.
Mathias Froehlich
2012-02-18 16:49:17 +01:00
4683e7e9c9hla: Do not introduce an empty enumerated data type.
Mathias Froehlich
2012-02-18 13:20:25 +01:00
dc9163f801hla: rename HLAVariantData* to HLAVariantRecordData*
Mathias Froehlich
2012-02-18 11:44:00 +01:00
441dc41715Don't untie a property when loading from xml
Torsten Dreyer
2012-02-15 14:54:02 +01:00
811f156ad1#658: better bugfix for findDataFile issue Fixes the more basic probelm of "SGModelLib::findDataFile" resolving an empty file name to the fgdata (directory) path. findData_File_ should never return a _directory_ path, only valid _file_ names.
ThorstenB
2012-02-11 10:55:13 +01:00
2a0e9d31e1#658: avoid crash when Textures.high is missing Don't resolve the empty file name, which would result in the fgdata directory path (instead of a path to a file). Eventually this resulted in a segfault, partly due to a bug in "osgDB::readImageFile", which reports "success" when given a directory (instead of a file) path, though it doesn't return a valid image object.
ThorstenB
2012-02-11 09:54:53 +01:00
cfda390557#658: avoid crash when Textures.high is missing Don't resolve the empty file name, which would result in the fgdata directory path (instead of a path to a file). Eventually this resulted in a segfault, partly due to a bug in "osgDB::readImageFile", which reports "success" when given a directory (instead of a file) path, though it doesn't return a valid image object.
version/2.6.0-final
ThorstenB
2012-02-11 09:54:53 +01:00
c473cd7213Fall back to taking tree textures from Terrain/ if they are not found under Terrain.high, consistent with the other textures in materials.xml.
Stuart Buchanan
2012-02-10 22:49:20 +00:00
1af8aacd1ddisable annoying clang warning
Olaf Flebbe
2012-01-08 22:41:42 +01:00
5eb9acd8b6Olaf Flebbe: Avoid infinite recursion in simgear::Dir::create when using it with a relative path.
ThorstenB
2012-02-10 22:36:24 +01:00
c41d504a29disable annoying clang warning
Olaf Flebbe
2012-01-08 22:41:42 +01:00
93c115fc5cOlaf Flebbe: Avoid infinite recursion in simgear::Dir::create when using it with a relative path.
ThorstenB
2012-02-10 22:36:24 +01:00
6bc9eb950fRetire tree-density and wood-size, as they have been superseded by object masking.
Stuart Buchanan
2012-02-07 21:12:41 +00:00
593c884f14Random object and vegetation masking based on bitmap file.
Stuart Buchanan
2012-02-05 23:05:57 +00:00
b753646aafMove JPEG dependency Alas, JPEG_FACTORY is in SimGearScene, not SimGearCore...
ThorstenB
2012-01-29 14:39:48 +01:00
9d20de068cMove JPEG dependency Alas, JPEG_FACTORY is in SimGearScene, not SimGearCore...
ThorstenB
2012-01-29 14:39:48 +01:00
dd07ab0436Correct dependency of shared simgear libraries with enabled JPEG_FACTORY.
ThorstenB
2012-01-29 14:28:49 +01:00
96c2e4d3abCorrect dependency of shared simgear libraries with enabled JPEG_FACTORY.
ThorstenB
2012-01-29 14:28:49 +01:00
73f9cd05cdLower the compressed texture message for the release branch.
Mathias Froehlich
2012-01-19 07:38:33 +01:00
0e4428fe79Improve the compressed texture message.
Mathias Froehlich
2012-01-19 07:33:56 +01:00
165d2ea978Improve the compressed texture message.
Mathias Froehlich
2012-01-19 07:33:56 +01:00
0702272097Switch Impostors off by default, set reasonabl LOD and Impostor ranges.
Stuart Buchanan
2012-01-17 22:13:42 +00:00
965c8ccfd2Improved 3D clouds 1) Impostors 2) One drawable per cloud rather than a single drawable shared by all clouds.
Stuart Buchanan
2011-12-17 13:02:54 +00:00
7e2dc443ecUse the original filename for the compressed image message.
Mathias Froehlich
2012-01-15 13:07:35 +01:00
21f2e1f250#599: Don't crash when a path does not exist.
ThorstenB
2012-01-13 19:58:45 +01:00
cee8c5b5c7#199: ADd method to return the absolute (real) path.
ThorstenB
2012-01-12 21:44:15 +01:00
7ee2633164Do not disable the portability warnings on mac/win.
Mathias Froehlich
2012-01-12 18:49:54 +01:00
6c31a721b8#ifdefs for option GL texture compression constants - should fix Windows as well as Mac
James Turner
2012-01-11 23:41:02 +00:00
8fc97ea1ceLog images containing data depending on an extension.
Mathias Froehlich
2012-01-08 23:16:57 +01:00
423eba3733Alas. Fix #pragma magic for GCC <= 4.5. push/pop was introduced for GCC4.6 only - so avoid it. Also, properly fix the fgets warning.
ThorstenB
2012-01-09 22:18:17 +01:00
49a23fdc2eFix final simgear GCC warnings.
ThorstenB
2012-01-09 21:51:09 +01:00
fddac2443dMore #pragma magic. Same magic as for SGSphere.
ThorstenB
2012-01-09 21:49:34 +01:00
cc47d33b32Adjust LoD ranges for 3D clouds so that they become visible at maximum range, taking into account the current cloud visibility range, and the possible size of the clouds themselves.
Stuart Buchanan
2012-01-02 23:10:20 +00:00
68625e48b9Fix compiler warning / test issue.
ThorstenB
2012-01-02 23:04:40 +01:00
3496d64a52sounds tied to listeners are never out of range
Erik Hofman
2011-12-30 11:16:58 +01:00
f97ced2240Add version suffix when building shared objects
ThorstenB
2011-12-29 14:45:29 +01:00
3d44f1c825Revert changes to xmlparse.[ch]
Torsten Dreyer
2011-12-26 11:40:57 +01:00
306c58e7edSome more trivial warning fixes
Torsten Dreyer
2011-12-25 20:28:38 +01:00
cc2234bf54Degarde lack of free sounds message from alert to bulk for this release.
Erik Hofman
2011-12-24 11:13:49 +01:00
368d280da2surpress unitialized variuable warning for SGSphere() only
Erik Hofman
2011-12-20 10:08:20 +01:00
4faf727f1bDo not initialize _center to save unneeded initialization time.
Erik Hofman
2011-12-20 10:00:33 +01:00
f28e472f59Throw a warning even is NDEBUG is defined
Erik Hofman
2011-12-19 15:34:11 +01:00
69c5d5c86eIntialize to prevent a 'may be used uninitialized' warning
Erik Hofman
2011-12-19 15:29:25 +01:00
f9332b813eIntialize to prevent a 'may be used uninitialized' warning
Erik Hofman
2011-12-19 15:28:11 +01:00
052ce499c9Intialize the center to prevent a 'may be used uninitialized' warning
Erik Hofman
2011-12-19 15:25:58 +01:00
54db2e0ab1#479: avoid issues due to trailing path separators Cut trailing separators when converting from string to sgpath. Also, SGPath::fix does NOT replace ":". It only replaces "\" with "/", so the "i!=1" check for Windows made no sense (rule #9: never believe a source code comment).
ThorstenB
2011-12-18 17:04:31 +01:00
b261836f71#512: fix compatibility issue with boost 1.48.0 Thanks to handigehansje.
ThorstenB
2011-12-18 14:06:27 +01:00
a0290954d6Return ReadResult::FILE_NOT_HANDLED for unknown extensions.
Mathias Froehlich
2011-12-17 19:08:18 +01:00
112eb04079Add new files in the MSVC project
Frederic Bouvier
2011-12-17 16:45:19 +01:00
a92ea7f822No need to start non looping samples automatically when getting in-range.
Erik Hofman
2011-12-13 11:40:08 +01:00
b57b223a59Add an out_of_range property to sound samples. If set the sound is set to non playing (which allows the OpenAL sound the be free'd)
Erik Hofman
2011-12-13 11:09:12 +01:00
f377c75dbdAdd vi(m) .swp files and a [Bb]uild directory
Erik Hofman
2011-12-12 13:20:49 +01:00
8d3de8dee5Free OpenAL sounds of objects that are farther away than the max_distance.
Erik Hofman
2011-12-12 13:19:43 +01:00
cfdf992600Improve logging classes. Replace SG_GENERAL by more specific log classes in many places.
ThorstenB
2011-12-11 13:57:11 +01:00
ff2eb6d2d3Properly handle stereo wav files; remove data buffer and set buffer to FAILED_BUFFER
Erik Hofman
2011-12-07 10:41:57 +01:00
97fcf48caafix sound buffer resource leak Openal doesn't remove buffers unless they were disconnected form their source.
ThorstenB
2011-12-04 21:25:42 +01:00
e17b3a753esound: fix "source" resource leak Sound resources were eaten up when a sample could not be loaded. Restores sound for aircraft attempting to use stereo files for sound effects. However, when loading fails, sound code still tries to load the same file again and again (always resulting in the same "stereo files not supported" error), which slows down simulation.
ThorstenB
2011-12-04 20:16:36 +01:00
865b0a3e56sound manager: report a few more errors
ThorstenB
2011-12-04 17:10:58 +01:00
0d1ddc5f44Fix a copy/paste typo in Effect depth attributes
Frederic Bouvier
2011-12-01 19:45:18 +01:00
6780a0c8d4Fixed lib64 auto-detection (again) Reverting the "LIB_SUFFIX" change. Assuming recent change was unintentional (otherwise let me know James! :) ).
ThorstenB
2011-11-30 19:50:09 +01:00