Mathias Froehlich
cd773e4764
Add sleep implementations to SGTimeStamp.
...
Implement sleeping to an absolute timestamp
as well as sleeping for a relative time in
SGtimeStamp.
The reason for including this into SGTimeStamp
is that the timestamps internals are required to
do accurate sleeps to and absolute timestamp
for the posix timer implementation.
2011-10-28 18:45:23 +02:00
James Turner
f14ffd5b1d
Fix a bug affecting TerraGear, and extend unit-tests to cover this. (SGPath::file returned an empty string for paths with no directory separator)
2011-10-28 12:57:07 +01:00
James Turner
e34f597fe2
Add sound test programs to the CMake build.
2011-10-28 12:29:26 +01:00
James Turner
95ddc04a73
Fix assorted compiler warnings found by Clang
2011-10-28 12:07:35 +01:00
Torsten Dreyer
c6d5cbd52c
Keep VC90 project file working with SGAtomic
2011-10-27 08:18:54 +02:00
James Turner
75b695664a
Change (revert!) behaviour of SGPath::base, which broke TerraGear, when used with multiple file suffixes (hgt.zip, for example). Test cases updated to match TG-required behaviour.
2011-10-26 19:57:57 +01:00
James Turner
59ecf48b72
Support stream output by SGPath directly.
2011-10-25 21:44:57 +01:00
James Turner
2fb13c76f5
Address warnings found via Clang - especially related to destructor visibility with ref_ptrs of various kinds.
2011-10-24 18:09:42 +01:00
Mathias Froehlich
7438aea869
Fix SGAtomic mutex logic.
2011-10-23 23:27:38 +02:00
Mathias Froehlich
83772c87ac
Rework SGAtomic, move more into the implementation.
...
Mainly move many cases into the implementation file.
2011-10-23 23:03:15 +02:00
James Turner
6250f675db
Fixes for headless mode.
2011-10-23 17:56:28 +01:00
James Turner
a31639682b
Use a compile test to see if we need to provide the GCC atomic built-ins ourselves, or not.
2011-10-23 15:59:27 +01:00
James Turner
576979c562
Make lat/lon points in the ocean tile configurable at run-time. Not hooked up to a property yet, but soon.
2011-10-23 11:26:19 +01:00
Stuart Buchanan
a1bb62f43c
Fixes to 3D clouds
...
- Wrap 3D clouds (e.g. Global Weather) on the surface of a sphere rather than on a plane. Cloud altitude no-longer increases with distance from the start position
- Fix altitude of individual clouds, which where being places approx 1/2 the sprite height too high. Note that this means sprite positions in the cloud are the center of the cloud rather than the bottom.
- Improve LOD radii, which were far too large.
2011-10-22 21:28:09 +01:00
James Turner
5eec2e7889
Support for creating a source package via CPack
2011-10-22 15:37:17 +01:00
James Turner
f4bb236c04
Add FUZZY_COMPARE to me tar unit-test, tolerate lower-order imprecision in FPUs
2011-10-21 11:21:52 +01:00
James Turner
c82df0590d
SGPath rename wrapper. Let's see what Win32 makes of it.
2011-10-21 09:36:33 +01:00
James Turner
43e13f0cf2
Remove-on-destroy option for simgear::Dir, to help with cleaning up temporary directories.
2011-10-21 09:36:10 +01:00
James Turner
63a8209a83
Remove using std:: from the metar header, remove HTTP support, add very basic unit-test harness.
2011-10-21 09:35:37 +01:00
James Turner
7984f055e2
string list joining, and a test case for that and splitting.
2011-10-20 11:12:54 +01:00
James Turner
8cb716fe8e
std:: namespace fixes.
2011-10-17 09:50:35 +01:00
James Turner
9cdf5ab9a1
Add another helper to strutils, to compare version strings.
2011-10-17 09:50:21 +01:00
Csaba Halasz
bcf7ed501d
Compile fix: add this-> in SGExpression.hxx due to two-phase name lookup (reported by gcc 4.7)
2011-10-16 14:00:39 +02:00
Frederic Bouvier
09b0dd2b2d
Fix windows build
2011-10-15 09:42:15 +02:00
James Turner
04a47dfb8d
Use mkdtemp where available, avoiding linker warnings about dangerous tempnam
2011-10-15 02:06:35 +01:00
James Turner
bc9b3f6ff1
Unit test for SGBinObj, and fix a bug in large-indice handling the test revealed.
2011-10-14 21:57:34 +01:00
James Turner
086a30e61a
Add default constructor to simgear::Dir
2011-10-14 19:28:21 +01:00
James Turner
3397066343
One more Linux compile fix.
2011-08-31 07:26:11 -07:00
James Turner
d1d8c68bf1
Missing include on Linux
2011-10-14 12:05:31 +01:00
James Turner
d37bf8a4ae
SGPath/Dir extensions to ease file handling in TerraGear. Also a unit-test, shocking.
2011-10-14 11:37:36 +01:00
James Turner
e4e31be7d4
Fix BTG writer for non-included index arrays.
2011-10-12 17:01:52 +01:00
ThorstenB
5ede8c12ba
Make SGModelPlacement safe on reinit
...
Remove old model When init is called multiple times (i.e. reinit).
Also allow explicit removal of submodel (= init(0) ).
2011-10-11 21:28:37 +02:00
Torsten Dreyer
db509f4075
Merge branch 'next' of gitorious.org:fg/simgear into next
2011-10-08 20:36:20 +02:00
Mathias Froehlich
85e58b4a49
hla: for rti13 queue all callbacks.
...
This is to avoid running into the rti13 ambassadors
recursion guards. Newer rti standards will not requires this.
2011-10-08 17:44:53 +02:00
Martin Spott
64b6a4ebf2
Add missing header for printf
2011-10-07 09:57:09 +02:00
Martin Spott
a0c48de39d
Merge branch 'next' of git.gitorious.org:fg/simgear into next
2011-10-07 09:39:12 +02:00
James Turner
d9a281c493
Support for 32-bit vertex indices in BTG files
2011-10-06 21:28:55 +01:00
Torsten Dreyer
eb52f38c47
Stuart Buchanan:
...
A further fix to the cloud placement, to make it more accurate over longer distances.
2011-10-06 16:49:09 +02:00
Torsten Dreyer
c1f51d5be7
Stuart Buchanan:
...
Add additional lighting factors for 3D clouds so you can set the bottom, middle, top, and shade lighting factors.
2011-10-06 16:47:03 +02:00
Torsten Dreyer
08cb2039c5
Merge commit 'refs/merge-requests/12' of git://gitorious.org/fg/simgear into merge-requests/12
2011-10-06 16:42:36 +02:00
Mathias Froehlich
6485ea4051
hla: Add flush queue request, fix comments.
2011-10-05 21:03:52 +02:00
Frederic Bouvier
aa9e91f926
Fix win32 build of decode_binobj
2011-10-05 08:13:31 +02:00
Mathias Froehlich
70ac6614e8
hla: Remove interface functions that should not be called explicitly.
2011-10-04 21:07:24 +02:00
Mathias Froehlich
64ce231705
hla: Initially request update for subscribed unowned attributes.
2011-10-04 20:55:44 +02:00
Mathias Froehlich
7a98f89e1b
hla: provide a more general property data element implementation.
2011-10-04 20:32:34 +02:00
Mathias Froehlich
264e336a49
hla: add missing file fir the last commit.
2011-10-04 20:27:59 +02:00
Mathias Froehlich
595328963a
hla: provide a data type visitor building a default data element tree.
2011-10-04 20:21:12 +02:00
Mathias Froehlich
d951a55be0
hla: detect string and opaque data types.
2011-10-04 19:48:34 +02:00
James Turner
7ffc84fb86
Fix decode_bin linkage with GNU ld.
2011-10-04 17:53:53 +01:00
James Turner
5871b54172
Build decode_bin helper under CMake.
2011-10-04 15:06:12 +01:00