Commit Graph

1256 Commits

Author SHA1 Message Date
david
a616aa8e55 Ignore generated files. 2004-03-23 19:03:40 +00:00
andy
05b9166c25 Fix GC interaction. The "me" reference to a method call was being
popped off the stack in a situation where it could be garbage
collected.  I believe this is the source of the spurious "non-object
have no members" bug that has been reported.
2004-03-23 00:42:56 +00:00
ehofman
71770eb92e Let the cloud layers follow the earth's surface. If you want the clouds to touch the horizon, just increase the spaen. 2004-03-22 21:31:24 +00:00
ehofman
2089a2a956 These test should not be needed when properly using OpnGL colors. 2004-03-22 20:03:53 +00:00
curt
488efa2316 Tweaks for 0.3.5.pre1 release. 2004-03-22 19:12:23 +00:00
curt
44551dad2d Better color component sanity checking. 2004-03-22 19:12:07 +00:00
ehofman
00e0e72bca Frederic Bouvier:
If the input string of sgSplitPath is empty, it returned a list with one empty string, not an empty list.
2004-03-21 21:54:51 +00:00
ehofman
a611b70087 Frederic Bouvier:
The message 'Alert: catching up on tile delete queue'
comes from the fact that 48 tiles are scheduled and
added to the cache at startup before the plane location
is initialized. My proposed patch is to initialize
SGLocation with an invalid position and detect this
fact before scheduling tiles. I prefer to do that
rather than testing for lon and lat being 0,0 because
it is a valid position and someone could want to fly
near Accra.
2004-03-20 22:41:40 +00:00
ehofman
757ed2dfe7 Frederic Bouvier:
This patch is for windows only. It hides the console window
until there is a message to print. It only support SG_LOG,
that I think is the right way to display something in FG.
2004-03-20 22:38:13 +00:00
ehofman
8971a67aca Another Cygwin fix. This seems to take care of things proeprly. 2004-03-18 09:25:28 +00:00
ehofman
5a343da5cc Disable deselecting the branch if it becomes translucent because it crashes the UFO. 2004-03-17 15:20:20 +00:00
ehofman
4c77c1691b Remove an unused library since FlightGear dropped support for WeatherCM. Users are highly encouraged to use environment/metar instead. 2004-03-17 10:45:32 +00:00
ehofman
aadff33011 Attempt to fix the Cygwin build problem for once and for all 2004-03-17 10:31:34 +00:00
curt
25d7705379 Various changes in preparation for the 0.3.5 release. 2004-03-17 04:22:09 +00:00
ehofman
867ba3c7da Hopefully the last Cygwin fix 2004-03-16 14:25:15 +00:00
ehofman
3f08d9604e Further refinement of the Cygwin problem as suggested by Frederic. 2004-03-16 09:39:22 +00:00
ehofman
5d813aa4d0 Attempt to fix a nasty Cygwin problem. 2004-03-16 09:24:14 +00:00
ehofman
ce3a1ddcb0 Limmit the change in sun color due to visibility to a saner range. 2004-03-12 18:55:22 +00:00
ehofman
e37752f957 Use a more clever way to deselect a fully translucent leaf. 2004-03-12 17:38:57 +00:00
ehofman
40d920ddc9 Unselect the branch if the object has become fully translucent. 2004-03-12 10:09:09 +00:00
ehofman
4362eb79e6 Update for non-conformal (older) compilers 2004-03-12 08:59:12 +00:00
ehofman
f6c9af488b MacOS X refinement 2004-03-08 08:59:58 +00:00
ehofman
a34ac6a596 Silently ignore texture files that are not present. 2004-03-07 18:47:37 +00:00
ehofman
3b3baa996b MSVC .NET 2003 fix 2004-03-07 09:36:31 +00:00
ehofman
d6b81a9721 MacOS X 10.3 fix 2004-03-07 09:28:48 +00:00
curt
a460c753e7 Work around a limitation of gc_calc_course_dist(). When the start and end
points are too close together, this routine can return a course of "nan"
but the distance is valid.  Someday someone who understands the math should
rewrite the gc_calc_course_dist() routine so it is more robust, but for now
it's easiest to simply check for a nan result and code around the limitation.
2004-03-03 21:37:41 +00:00
curt
9f59e956fa #define isnan _isnan for MSVC and Mingwin. 2004-03-03 21:35:38 +00:00
ehofman
bd02eb8e6b Remove a typo 2004-03-03 20:06:28 +00:00
ehofman
a266790a25 Put Curt's cloud movement fix back in 2004-03-03 20:05:18 +00:00
ehofman
3462e3b6c1 MSVC .NET 2003 fix. 2004-03-03 19:59:44 +00:00
ehofman
ed29944b91 Add const back in the function 2004-03-03 19:54:24 +00:00
ehofman
a0251b3256 Some small fixes 2004-03-03 19:48:28 +00:00
ehofman
557474095f A real MSVC fix this time 2004-03-02 15:18:18 +00:00
ehofman
b7dd267807 Revert the last change, MSVC still doesn't like it. 2004-03-02 14:58:58 +00:00
ehofman
58a0b1d2c3 MSVC fixes 2004-03-02 14:49:01 +00:00
ehofman
d8acc3a8f2 Use a round-robin scheme rather than returning a random textured state. 2004-03-02 13:28:12 +00:00
ehofman
5f21c75e02 Make it possible to define multiple texture for a material (multiple <texture> entries in the materials.xml file). The code can return a random texture, or a pre defined texture upon request (default is random) 2004-03-02 10:51:13 +00:00
curt
79d72b6292 Add front() methods SGQueue, SGLockedQueue, and SGBlockingQueue so that the
can be used more interchangably with a regular STL queue.
2004-02-28 18:51:20 +00:00
david
aa67c738a1 Load submodels before animations, so that we can animate submodels.
Allow submodels to be named when they are loaded.
2004-02-27 03:30:01 +00:00
ehofman
117628bf7e Melchior FRANZ:
Add proxy support to the metar class. Authorization is untested, but everything else works. Martin will have to tell us ...
2004-02-26 09:46:36 +00:00
ehofman
70dbbf52f0 Melchior FRANZ:
Here are some updates for the metar class:

- support for empty visibility group
- support for 4-alnum IACO ids (rather than only 4-alpha)
- better diagnosis in exception messages
- check for 404 http response
- replace last constant by constants.h definition
2004-02-23 20:07:20 +00:00
curt
99bf2c6f9e Comment out an improperly written constructor. 2004-02-23 01:34:31 +00:00
ehofman
3fdeea7f65 An ugly hack to get MipsPro 7.4.1 working on IRIX 6
.5.20 (Yuck)
2004-02-20 16:07:51 +00:00
andy
ea9d110036 Fix from Richard Harke for 64 bit systems. The reftag was left
uninitialized by naNum().  If it happened to be constructing it on the
stack in a location previously occupied by a real reference, it would
generate a corrupt naRef.
2004-02-20 15:10:49 +00:00
ehofman
16ad232e0d Changes to tke sky dome coloring 2004-02-18 14:33:16 +00:00
ehofman
5b8e5fce20 Remove an extra sgSetVec call 2004-02-17 14:40:05 +00:00
david
0633d703d0 Be a little quieter at the default debug level. 2004-02-07 21:36:20 +00:00
ehofman
ec6ce9fcd8 Move the new metar class from FlightGear to SimGear 2004-02-02 10:12:31 +00:00
andy
c9e53d5a30 Yank the MSVC special handling. It turns out it was becuase "strlen"
has special voodoo in the parser.  That's much more cleanly handled by
renaming the function than by #ifdef'ing.
2004-02-01 17:47:08 +00:00
curt
828e10773c Fix a slight ambiguity in variable names. 2004-01-31 19:50:35 +00:00