James Turner
e99c3d4705
Collapse SGGeoCoord into SGTimeZone, and switch timezone search to cartesian math.
2010-07-29 10:12:00 +01:00
James Turner
d23491646a
Use a custom 'findDataFile' method in key places, and hook this into a callback set on SGModelLib.
2010-07-29 01:05:24 +01:00
Erik Hofman
1d740a63bd
C++ify some code
2010-07-27 15:57:36 +02:00
Erik Hofman
d1897fabf0
Small bugfix, the previous test always sets _property (these days)
2010-07-27 14:51:44 +02:00
Erik Hofman
d4178d6440
Merge branch 'next' of git://gitorious.org/fg/simgear into next
2010-07-27 10:15:28 +02:00
James Turner
f4d42289d4
More ignore rules for Git.
2010-07-27 00:21:44 +01:00
Erik Hofman
d0def466da
Merge branch 'next' of git://gitorious.org/fg/simgear into next
2010-07-25 10:29:25 +02:00
James Turner
959f44502b
Fix simgear::Dir::children on Linux where dirent->d_type might be 0; always use stat() to determine file type. Thanks to Alex Romonsan for helping debugging this!
2010-07-24 10:27:50 +01:00
Erik Hofman
1840541f6d
Merge branch 'next' of git://gitorious.org/fg/simgear into next
2010-07-23 20:05:40 +02:00
Cutis L. Olson
c5ec6927b3
Add a method to set particle wind using from heading (deg) and speed (kt)
2010-07-23 09:01:49 -05:00
James Turner
7beaf3705e
Add closest-point calculation to SGRay, to replace a vector.h helper.
2010-07-23 13:04:09 +01:00
Erik Hofman
792ffa2d26
Merge branch 'next' of git://gitorious.org/fg/simgear into next
2010-07-23 13:57:53 +02:00
James Turner
bbd61977f1
Change SGPath::exists to use stat(), fix '.' and '..' handling on Windows, add simgear::Dir version of exists().
2010-07-23 07:54:10 +01:00
James Turner
e3d1fa2686
Merge branch 'next' of git@gitorious.org:fg/simgear into next
2010-07-23 06:30:37 +01:00
James Turner
293d3b4fb3
Fix Win32 compilation of raw_socket.
2010-07-23 06:30:02 +01:00
James Turner
e1d8155565
Linux build fixes, now netSocket.h is no longer included.
2010-07-22 22:06:02 +01:00
James Turner
c37b27a926
I greatly dislike GNU automake.
2010-07-22 21:27:11 +01:00
James Turner
6b3a05e23f
Move PLIB netSocket into SimGear, as simgear::Socket, and update the wrapper classes.
2010-07-22 20:02:37 +01:00
Erik Hofman
0e92bb58b0
Merge branch 'next' of git://gitorious.org/fg/simgear into next
2010-07-22 08:57:04 +02:00
James Turner
63cbd4deb0
On Unix, check for symlinks from readdir(), and look through them (using stat()) to discern target type.
2010-07-21 22:08:06 +01:00
Frederic Bouvier
17bcd4e2ab
Add a new function alias for MSVC: strcasecmp -> stricmp
2010-07-19 22:36:01 +02:00
Frederic Bouvier
72f301c655
Merge branch 'next' of git://gitorious.org/fg/simgear into fredb/winbuild
2010-07-19 20:02:41 +02:00
Erik Hofman
a62a8518b9
Merge branch 'next' of git://gitorious.org/fg/simgear into next
2010-07-16 20:20:28 +02:00
Torsten Dreyer
fa169d6aa2
Merge branch 'next' of gitorious.org:fg/simgear into next
2010-07-16 18:35:55 +02:00
Torsten Dreyer
d2bcb86e1e
Warning fix: compare signed/unsigned
2010-07-16 18:34:39 +02:00
Torsten Dreyer
ed7361622b
Warning fix: unused variable in TextureBuilder.cxx
2010-07-16 18:19:56 +02:00
James Turner
3117ec5a7d
Fix simgear::Dir compilation on some Unix setups, thanks Anders.
2010-07-16 08:40:07 +01:00
James Turner
cb4716f403
Initial work on simgear::Dir, replacement for PLIB ulDir functions.
2010-07-15 09:40:46 +01:00
Erik Hofman
b48c0e968f
Merge branch 'next' of git://gitorious.org/fg/simgear into next
2010-07-14 12:19:08 +02:00
James Turner
aa2ed5fb0c
Allow tasks to be removed from the EventManager by name.
2010-07-13 13:07:35 +01:00
Erik Hofman
8b7a279c61
Merge branch 'next' of git://gitorious.org/fg/simgear into next
2010-07-09 08:53:56 +02:00
James Turner
b286e9d337
Add two more subsystem groups, to aid in fixing bug 141.
2010-07-08 23:21:25 +01:00
Erik Hofman
d671c3d9fa
At some points Flightgear stops and restarts the entire sample group containing the looping background/engine noise. But it does not restart the individual (looping) samples in the group. So now the background noise dies when resetting the sim or changing aircraft location.
2010-06-29 08:28:38 +02:00
Erik Hofman
7086f2dc89
brehmt:
...
When a sample's state constantly is "changed" (because sth. keeps updating the
sample in each update loop), then SGSampleGroup::update never ever checked if
the sample had already stopped playing by itself.
The attached patch reorders the last two conditions. It now first checks if a
sample has already stopped playing, before checking if there's sth to update.
2010-06-28 08:12:23 +02:00
Frederic Bouvier
7e8bb9ea00
Merge branch 'next' of git://gitorious.org/fg/simgear into fredb/winbuild
2010-06-19 08:14:26 +02:00
Frederic Bouvier
4e46bb6671
Merge branch 'master' of git://gitorious.org/fg/simgear into fredb/winbuild
2010-06-19 08:14:02 +02:00
Tim Moore
de35658096
Merge remote branch 'gitorious/next' into next
2010-06-17 23:46:52 +02:00
Tim Moore
034f5db3bd
use an additional shader program map keyed using the resolved shader filenames
2010-06-17 23:45:27 +02:00
James Turner
57375bfd73
Merge commit 'b846e33' into next
2010-06-17 21:40:09 +01:00
James Turner
b846e33ee3
Extend Magvar interface to use SGGeod.
2010-06-17 21:39:10 +01:00
James Turner
cc9b817f0e
Extend SGSubsystemGroup, to allow running a fixed dt time, internally
2010-06-16 18:02:41 +01:00
Tim Moore
0d419aba8a
Add bool and int uniform types for shaders, and vertex-program-two-sided
...
vertex-program-two-sided is an extra parameter written by the code
that creates effects from state sets generated by the ac3d loader. The
objective of this work is to support a workaround for broken
gl_FrontFacing on some Macintosh machines.
2010-06-15 19:05:18 +02:00
James Turner
ae22321d9c
Automake changes to Hudson 'make check' runs.
...
Includes moving the OpenAL test programs to 'noinst' so they don't run as part of make check
2010-06-14 12:38:41 +01:00
James Turner
87169febf8
Const-ify some ephemeris accessors, so they can be tied.
2010-06-14 10:23:06 +01:00
James Turner
dd044844e5
Add radial intersection code to SGGeodesy, and test coverage for geocentric helpers.
2010-06-14 10:15:44 +01:00
James Turner
0c8c596ee5
Fix longitude sign convention of geocentric routines
...
(derived from the Williams aviation formulary, with W longitude +ve)
2010-06-11 18:38:43 +02:00
James Turner
b9496fef1d
Merge branch 'topics/condexp' into next
2010-05-27 15:19:38 +01:00
James Turner
b4b9d3a4b7
Support constant true and false values in conditions.
2010-05-27 15:19:04 +01:00
James Turner
0128c89f8d
Merge branch 'topics/condexp' into next
2010-05-26 19:29:28 +01:00
James Turner
9e77d06c72
Support <table>s in expression XML.
2010-05-26 19:28:42 +01:00