Commit Graph

  • 86e32035d7 Remove left over from osg/core dependencies. Mathias Froehlich 2012-03-03 16:05:23 +01:00
  • 80274596df Use simgear internal stuff for the singleton class. Mathias Froehlich 2012-03-03 14:10:37 +01:00
  • 2cc5e776b3 math: Remove SGMath osg dependency. Mathias Froehlich 2012-03-03 13:32:49 +01:00
  • 57a3b0fd1e math: Move lerp function into SGMisc. Mathias Froehlich 2012-03-03 11:56:40 +01:00
  • 9414874e1d scenery: inline SGGenTile into its single caller. Mathias Froehlich 2012-03-03 10:45:15 +01:00
  • 9e46820c57 scenery: Route loader options through the btg loader. Mathias Froehlich 2012-03-03 10:37:54 +01:00
  • 3020990121 Evaluate <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
  • 27219e0f58 hla: Fix timeAdvanceAvailable handling when no federate is regulating. Mathias Froehlich 2012-03-02 22:25:47 +01:00
  • 098441f5fb hla: Add propper attribute dirty handling. Mathias Froehlich 2012-03-02 21:51:59 +01:00
  • a07ca86207 hla: Timestamp support down to the DataElements. Mathias Froehlich 2012-03-02 21:36:08 +01:00
  • e4e3760b3d Fix masked rotation so that it's clockwise from above. Stuart Buchanan 2012-02-28 21:05:54 +00:00
  • 811147d08e Fix string comparison ThorstenB 2012-02-28 08:39:19 +01:00
  • a563cfd0f2 hla: Fix buffer overrun in SGMath vector types. Mathias Froehlich 2012-02-26 13:14:39 +01:00
  • 92f7445bb9 hla: Rework toplevel HLA classes. Mathias Froehlich 2012-02-26 12:04:12 +01:00
  • a72d858034 More robust checking of file extensions courtesy of the SGPath. Thanks to Mathias FROHLICH. Stuart Buchanan 2012-02-27 21:27:27 +00:00
  • 39d45e9e0a Handle 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
  • 4fae9039c1 Correct spacing between buildings. Stuart Buchanan 2012-02-26 22:38:04 +00:00
  • 124db3da8e hla: Introduce backend factory infrastructure. Mathias Froehlich 2012-02-25 18:07:59 +01:00
  • 4bf4091ef7 Remove obsolete comment... ThorstenB 2012-02-24 22:47:18 +01: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
  • f1c2afacc4 Revert "Try to fix MSVC template instantiation issue with SGVec dependencies." ThorstenB 2012-02-24 22:00:58 +01:00
  • 8aed0e75df Try to fix MSVC template instantiation issue with SGVec dependencies. ThorstenB 2012-02-24 21:47:00 +01:00
  • cf2619613d Stop 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
  • 2a9d39f201 Allow (ab)using findDataFile to also search directories again. ThorstenB 2012-02-19 14:38:52 +01:00
  • ae0b8eb3b3 Make tsync part of libSimGearCore when building shared libraries ThorstenB 2012-02-19 14:36:33 +01:00
  • 63081c94a1 hla: Add new header containing some enums. Mathias Froehlich 2012-02-18 17:13:45 +01:00
  • c39926dd72 hla: Rename AttributePathPair to StringPathPair. Mathias Froehlich 2012-02-18 16:49:17 +01:00
  • 4683e7e9c9 hla: Do not introduce an empty enumerated data type. Mathias Froehlich 2012-02-18 13:20:25 +01:00
  • dc9163f801 hla: rename HLAVariantData* to HLAVariantRecordData* Mathias Froehlich 2012-02-18 11:44:00 +01:00
  • 42cc699263 HLAFederate: introduce read*ObjectModelTemplate. Mathias Froehlich 2012-02-18 11:00:28 +01:00
  • 37457fcb33 Remove obsolete ignore pattern for automake generated headers. ThorstenB 2012-02-17 23:46:06 +01:00
  • 441dc41715 Don'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
  • c473cd7213 Fall 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
  • 1af8aacd1d disable annoying clang warning Olaf Flebbe 2012-01-08 22:41:42 +01:00
  • 5eb9acd8b6 Olaf Flebbe: Avoid infinite recursion in simgear::Dir::create when using it with a relative path. ThorstenB 2012-02-10 22:36:24 +01:00
  • c41d504a29 disable annoying clang warning Olaf Flebbe 2012-01-08 22:41:42 +01:00
  • 93c115fc5c Olaf Flebbe: Avoid infinite recursion in simgear::Dir::create when using it with a relative path. ThorstenB 2012-02-10 22:36:24 +01:00
  • 6bc9eb950f Retire tree-density and wood-size, as they have been superseded by object masking. Stuart Buchanan 2012-02-07 21:12:41 +00:00
  • 593c884f14 Random object and vegetation masking based on bitmap file. Stuart Buchanan 2012-02-05 23:05:57 +00:00
  • b753646aaf Move JPEG dependency Alas, JPEG_FACTORY is in SimGearScene, not SimGearCore... ThorstenB 2012-01-29 14:39:48 +01:00
  • 9d20de068c Move JPEG dependency Alas, JPEG_FACTORY is in SimGearScene, not SimGearCore... ThorstenB 2012-01-29 14:39:48 +01:00
  • dd07ab0436 Correct dependency of shared simgear libraries with enabled JPEG_FACTORY. ThorstenB 2012-01-29 14:28:49 +01:00
  • 96c2e4d3ab Correct dependency of shared simgear libraries with enabled JPEG_FACTORY. ThorstenB 2012-01-29 14:28:49 +01:00
  • 73f9cd05cd Lower the compressed texture message for the release branch. Mathias Froehlich 2012-01-19 07:38:33 +01:00
  • 0e4428fe79 Improve the compressed texture message. Mathias Froehlich 2012-01-19 07:33:56 +01:00
  • 165d2ea978 Improve the compressed texture message. Mathias Froehlich 2012-01-19 07:33:56 +01:00
  • 0702272097 Switch Impostors off by default, set reasonabl LOD and Impostor ranges. Stuart Buchanan 2012-01-17 22:13:42 +00:00
  • 965c8ccfd2 Improved 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
  • b20a49b018 bump version number to 2.7.0 version/2.7.0 Torsten Dreyer 2012-01-17 08:35:57 +01:00
  • 5a6b760847 bump version number to 2.6.0 version/2.6.0 Torsten Dreyer 2012-01-17 07:46:13 +01:00
  • 7e2dc443ec Use 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
  • 7ee2633164 Do 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
  • 8fc97ea1ce Log images containing data depending on an extension. Mathias Froehlich 2012-01-08 23:16:57 +01:00
  • 423eba3733 Alas. 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
  • 49a23fdc2e Fix final simgear GCC warnings. ThorstenB 2012-01-09 21:51:09 +01:00
  • fddac2443d More #pragma magic. Same magic as for SGSphere. ThorstenB 2012-01-09 21:49:34 +01:00
  • 182037ad67 Slightly better error message for invalid taxiway signs. ThorstenB 2012-01-09 20:27:27 +01:00
  • 5923956045 #587: don't crash on negative sizes ThorstenB 2012-01-09 20:21:28 +01:00
  • a89b9f6158 #581, invalid gcc pragma syntax Thanks to Olaf Flebbe. ThorstenB 2012-01-09 20:19:26 +01:00
  • d7931a28ce MSVC: don't try to compile unknown pragma Frederic Bouvier 2012-01-03 21:20:37 +01:00
  • cc47d33b32 Adjust 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
  • 68625e48b9 Fix compiler warning / test issue. ThorstenB 2012-01-02 23:04:40 +01:00
  • 3496d64a52 sounds tied to listeners are never out of range Erik Hofman 2011-12-30 11:16:58 +01:00
  • f97ced2240 Add version suffix when building shared objects ThorstenB 2011-12-29 14:45:29 +01:00
  • 3d44f1c825 Revert changes to xmlparse.[ch] Torsten Dreyer 2011-12-26 11:40:57 +01:00
  • 306c58e7ed Some more trivial warning fixes Torsten Dreyer 2011-12-25 20:28:38 +01:00
  • 82588b0daf Remove stray ';' Torsten Dreyer 2011-12-25 20:12:48 +01:00
  • aef8f13290 Use of copy-constructors Torsten Dreyer 2011-12-25 20:11:06 +01:00
  • 4ae7c90d49 Small warning fixes, mostly unused variables Torsten Dreyer 2011-12-25 14:40:07 +01:00
  • cc2234bf54 Degarde lack of free sounds message from alert to bulk for this release. Erik Hofman 2011-12-24 11:13:49 +01:00
  • 368d280da2 surpress unitialized variuable warning for SGSphere() only Erik Hofman 2011-12-20 10:08:20 +01:00
  • 4faf727f1b Do not initialize _center to save unneeded initialization time. Erik Hofman 2011-12-20 10:00:33 +01:00
  • f28e472f59 Throw a warning even is NDEBUG is defined Erik Hofman 2011-12-19 15:34:11 +01:00
  • 69c5d5c86e Intialize to prevent a 'may be used uninitialized' warning Erik Hofman 2011-12-19 15:29:25 +01:00
  • f9332b813e Intialize to prevent a 'may be used uninitialized' warning Erik Hofman 2011-12-19 15:28:11 +01:00
  • 052ce499c9 Intialize 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
  • a0290954d6 Return ReadResult::FILE_NOT_HANDLED for unknown extensions. Mathias Froehlich 2011-12-17 19:08:18 +01:00
  • 112eb04079 Add new files in the MSVC project Frederic Bouvier 2011-12-17 16:45:19 +01:00
  • 057cbe7cc3 Correct scenery load path extension. Mathias Froehlich 2011-12-11 22:19:11 +01:00
  • 945a9e0ac2 Implement osg native scenery paging. Mathias Froehlich 2011-12-11 21:11:18 +01:00
  • a92ea7f822 No need to start non looping samples automatically when getting in-range. Erik Hofman 2011-12-13 11:40:08 +01:00
  • b57b223a59 Add 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
  • f377c75dbd Add vi(m) .swp files and a [Bb]uild directory Erik Hofman 2011-12-12 13:20:49 +01:00
  • 8d3de8dee5 Free OpenAL sounds of objects that are farther away than the max_distance. Erik Hofman 2011-12-12 13:19:43 +01:00
  • cfdf992600 Improve logging classes. Replace SG_GENERAL by more specific log classes in many places. ThorstenB 2011-12-11 13:57:11 +01:00
  • fd8c677b87 Update MSVC 90 project (moved files) Frederic Bouvier 2011-12-10 18:50:08 +01:00
  • ff2eb6d2d3 Properly handle stereo wav files; remove data buffer and set buffer to FAILED_BUFFER Erik Hofman 2011-12-07 10:41:57 +01:00
  • 97fcf48caa fix 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
  • e17b3a753e sound: 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
  • 865b0a3e56 sound manager: report a few more errors ThorstenB 2011-12-04 17:10:58 +01:00
  • 0d1ddc5f44 Fix a copy/paste typo in Effect depth attributes Frederic Bouvier 2011-12-01 19:45:18 +01:00
  • 6780a0c8d4 Fixed 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