Commit Graph

2024 Commits

Author SHA1 Message Date
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
ehofman
34b5c1a1b9 Activate the driver fog workaround again. It doesn't seem to be solved yet. 2004-01-29 18:25:55 +00:00
curt
b2a7975493 Frederic BOUVIER:
Win32 serial port communication fixes.
2004-01-27 15:55:47 +00:00
ehofman
f0af686d17 Make sure all libraries are used to test for certain functions 2004-01-27 09:41:33 +00:00
ehofman
eda1121054 Fix a mistake 2004-01-26 19:59:36 +00:00
ehofman
d97eb240d9 Clean up the Pre-, and PostDraw functions a bit. Especially the glPushAttrib has had some attention. The NVidia hack is commented out for now. 2004-01-24 12:08:12 +00:00
ehofman
8c296d96c7 Fix an initialization problem 2004-01-19 13:37:26 +00:00
curt
65a49bb6e4 Oops, I originally had ramped the vasi/papi color transition the wrong way.
So as you passed through the target glide slope from low to high it would
be colored: red -> white -> small range of transition to red -> white.
Now it goes the right way so you get: red -> smooth transition to -> white.
You can tell you are getting high if you see the bottom vasi start to turn
pink ... etc. etc. hopefully just like in real life.
2004-01-16 17:37:05 +00:00
ehofman
cfedc90fdd Try to prevent a devide by zero situation 2004-01-15 14:23:06 +00:00
ehofman
5665a62938 Don't do any calculations when thay are not needed 2004-01-15 14:22:03 +00:00
ehofman
36521869ae Make sure MispPro compilers < 7.4 still work 2004-01-15 14:21:31 +00:00
curt
84fd7a49ad The emissive values just don't seem like the right thing to do. You suddenly
see the dark side of the moon quite clearly, which usually isn't the case.

The rest of the moon still seems a bit oversaturated right now ...
2004-01-14 18:02:58 +00:00
curt
24b5f05522 Make the vasi lights slightly larger/brighter. 2004-01-09 16:49:13 +00:00
ehofman
17415424bf Use the same coloring scheme for the moon and the sun, add a bit of light reflection to the moon 2004-01-09 10:19:00 +00:00
ehofman
920c0fdb62 Updates to the alpha-test animation class 2004-01-08 10:38:29 +00:00
ehofman
40414f2823 Updates to the alpha-test animation class 2004-01-08 10:25:23 +00:00
ehofman
3d43bc0480 Frederic Bouvier:
The attached patch adds a new animation class, called SGAlphaTestAnimation, to enable alpha test in 3D models.
This will remove many artefact caused by painting order of translucent models, and I need it for an upcoming model. In addition, I added a min-factor and a max-factor to the range animation to modulate min-m, min-property, max-m or max-property.
2004-01-07 09:07:57 +00:00
curt
7bee5f1ab6 Smarter vasi coloring. 2003-12-30 07:04:05 +00:00
curt
a43f5c8d21 Track some additional data required for computing vasi/papi colors. 2003-12-30 05:53:50 +00:00
curt
8361069344 Go with an all white texture for vasi/papi lights. We will vary the
background color externally to change from white to red.
2003-12-30 05:53:03 +00:00
ehofman
c9661e2732 Add a number of Metar related constants 2003-12-27 13:41:02 +00:00
ehofman
bd13cf84a1 Resolve some dependency problems 2003-12-27 09:31:02 +00:00
ehofman
e54cfc002b Updates to support sgi's MIPSpro compiler version 7.4 and newer. This also fixes a number of C++ issues where FlightGear didn't follow the standard. 2003-12-26 13:55:09 +00:00
andy
5aac63d9f5 Parse/GC interaction fixed.
Remove the OP_NEWARGS "optimization" (it wasn't).
2003-12-22 19:27:51 +00:00
ehofman
6a19bbee7d Melchior FRANZ:
There are constructors for sg_io_exception that don't initialize the
location. In this case getFormattedMessage does still output an extra
line with " at" followed by ... nothing. Looks silly.
2003-12-19 17:44:30 +00:00
andy
2e5c4b4515 Rewrite sg_geodesy. The new version is more accurate to the WGS84
standard and includes a sgCartToGeod() function which is 100%
symmetric (down to the precision of a double) with sgGeodToCart().
2003-12-19 02:40:33 +00:00
ehofman
79d1aaf7f5 Melchior FRANZ:
There's another problem with sg_socket.cxx: the timeout value is
hardcoded as 0. This is appropriate for servers as they continuously
poll the socket and never want to wait for clients. But clients
*do* want to wait a few seconds for a server response.
2003-12-14 14:45:29 +00:00
ehofman
a659969bcf Make sure both client and server situations are hendled properly 2003-12-14 10:07:51 +00:00
ehofman
53bdf9dac4 Revert to the previous version 2003-12-11 15:26:23 +00:00
ehofman
ad394fb090 fgrun fixes 2003-12-11 13:17:45 +00:00
andy
92a123a47d Extra i++ led to a "double skip" when parsing a \r\n pair. So a DOS
file would look like it was all on one line, and a comment would skip
to the end of the file.
2003-12-08 16:55:50 +00:00
andy
755173bd2e Bug fixes. The priority queue wasn't handling boundary conditions at
the edge of the table properly.  The new code is half the size -- it
*has* to be correct, right?
2003-12-07 19:53:34 +00:00
andy
27477402c9 Property interpolator subsystem. A utility, primarily for Nasal scripts 2003-12-05 01:49:44 +00:00