ehofman
9812739a71
Add the posibillity to disable specular highlight because it looks like some implementations switch over to sofware rendering when this is enabled
2003-09-12 21:43:01 +00:00
ehofman
774faa157d
Make it possible for textured object to change color to white when lit by a strong light source. This might affect rendering time a bit
2003-09-12 09:27:19 +00:00
curt
5705ad715b
Changes to facilitate replaying the last "n" seconds.
2003-09-11 19:36:04 +00:00
david
72be3f287a
Added --failure option.
2003-09-10 01:29:19 +00:00
daveluff
d3b7c2ac10
Fix a couple of bugs that resulted in ATIS not being heard at airports with AI traffic active
2003-09-05 13:58:51 +00:00
daveluff
b898c5e4ff
Change the start of descent point of the AI plane when the circuit has been extended when following previous traffic - it should not land short now, although it can land a way down the runway if start of descent should occur during a turn, since it doesnt start descending until the turn is finished
2003-09-05 10:26:11 +00:00
daveluff
be274df23b
Guard against update(...) getting called before init(...)
2003-09-05 10:23:20 +00:00
daveluff
1520fd648e
Output a few properties for AI code devel convienience - probably temporary
2003-09-05 10:22:18 +00:00
daveluff
3f162abf09
Whitespace cleanup
2003-09-05 10:21:29 +00:00
ehofman
3e98bccbaf
Remove unused gamma corrections
2003-09-03 18:47:48 +00:00
ehofman
ffd64f7a8c
Fix a reset bug for at least JSBSim by removing some apperently old UIUC code. This falls in the same category as the code from main.cxx which was recently removed by advice from the UIUC developers.
2003-09-03 17:10:52 +00:00
curt
c81fbb937a
David Luff:
...
Firstly, the search of a given runway number was coming out wrong if the
reverse of the one actually in the database was given, resulting in the AI
plane going to the wrong runway. This was caused by the fact that if the
reverse runway number to the one wanted was matched then revrwyno was
assigned to rwy.rwy_no, whereas actually it was the original runwayno that
should have been assigned.
Secondly, whilst instrumenting the search with couts to see what was going
wrong, I noticed that one runway would come up loads of times. It turns
out that this is because taxiways and the next airport line were loaded in
as the last runway, with only the type changed, in the constructor. Thus
the total number of runway entries for all except the last airport equalled
(no-of-runways + no-of-taxiways + 1). I've changed a couple of lines to
fix this.
[Curt: this was partially fixed last week, but now it should be completely
fixed. Thanks Dave!]
2003-09-02 19:12:11 +00:00
david
2ce5cbf854
Add a --ceiling=FT_AGL[:THICKNESS_AGL] option to create a default
...
overcast ceiling at the given altitude AGL, optionally with the given
thickness (or default to 2000 ft).
2003-09-01 22:58:19 +00:00
david
fccea06ed3
Roll out last change for now. It kills the mag compass on the default
...
172, and seems to have unpredictable results depending on the drawing
order.
2003-09-01 22:03:46 +00:00
ehofman
7a29fc0613
Average sunlight and ambient light instead of multiplying it
2003-08-29 22:13:05 +00:00
curt
27a36e6059
- The latest volley in the FlightGear lighting wars.
...
- Ambient is based off the lookup table only.
- Diffuse is based off of the lookup table, but multiplied by a combination
of sun/fog colors.
The result is a bit more ambient light at dusk and night since the world is
never 100% dark. And we still get nice sunset/sunrise colored illumination
of surfaces that are directly illuminated by the sun.
2003-08-29 21:24:13 +00:00
curt
1cbcd89e5e
I had to make a small mod to the runways.dat format, code changes to handle
...
that.
2003-08-29 20:27:48 +00:00
ehofman
1dea70fffa
Use the glPointParameter function pointer rather than the function itself
2003-08-29 16:50:20 +00:00
ehofman
82ba3ebbde
Remove a possible glut dependency and do some code cleaning
2003-08-29 16:46:21 +00:00
ehofman
3ba01fa762
New automake, new problems. Add $base_LIBS for programs since $LIBS isn't substituted automatically anymore
2003-08-29 09:03:49 +00:00
curt
ff2740f085
Remove the last traces of metakit (hopefully) :-)
2003-08-29 04:42:43 +00:00
curt
314c324556
Depricated ...
2003-08-29 04:12:34 +00:00
curt
e6859e4fe0
Redo the runway database scheme to use a flat/ascii file and load the entire
...
database into memory at the start. This should completely eliminate any
dependencies we have on metakit.
2003-08-29 04:11:23 +00:00
curt
f0ddd9048f
Fix a small oops on my part.
2003-08-28 21:05:01 +00:00
curt
212f5d66bf
Depricated ...
2003-08-28 21:04:12 +00:00
curt
6665d7d609
Remove one dependence on MetaKit.
2003-08-28 20:53:08 +00:00
curt
b23183f018
Put the id of the tile we are flying over into the property tree for
...
convenience of debugging.
2003-08-28 20:52:34 +00:00
curt
c86c81dad0
Minor tweak.
2003-08-28 20:52:05 +00:00
ehofman
69d0052375
Fix an undeclared function refference in one of the supported compiler environments
2003-08-25 12:41:40 +00:00
ehofman
ced6b4f520
Updates needed for z-ordewring of the cloud layers
2003-08-22 08:05:00 +00:00
ehofman
9c2cc7c309
Rename every instance of GLUT_H to FG_GLUT_H to prevent a freeglut naming clash
2003-08-22 08:03:10 +00:00
ehofman
6f8aa7b331
Change GLUT_H to FG_GLUT_H to prevent a naming clash with freeglut.
2003-08-21 09:12:12 +00:00
ehofman
32cb0df98e
Add support for moving cloud layers
2003-08-19 13:06:51 +00:00
ehofman
fb3717003e
Fix some network layer issues. Some htonl() calls didn't use the return value.
2003-08-18 11:11:08 +00:00
ehofman
c745a8f956
Add a comment on how to enable an alternative HOT algorithm that enables one to fly underneath static objects
2003-08-18 09:34:12 +00:00
ehofman
a3fb470f7c
Fix a bug where a test was perfromed on a variable that wasn;'t even initialized (and wrong) and add support for tab and space as a seperator
2003-08-18 09:26:26 +00:00
ehofman
0caaeffbc6
Some small (linux) fixes
2003-08-17 10:03:36 +00:00
ehofman
5ae096b225
Reorganization of main.cxx
2003-08-17 09:54:41 +00:00
ehofman
830ce9108c
Disable depth buffer writes for 2D insturments. This should prevent z-buffer fighting
2003-08-16 11:35:04 +00:00
ehofman
be863ee240
Work around a problem in certain NVidia adapters hat don't support fgPushAttrib(FG_FOG_BIT)
2003-08-15 17:47:34 +00:00
ehofman
99a85c780c
Add a description for using extensions and a description of the generic protocol configuration file
2003-08-15 16:17:37 +00:00
curt
0179cab894
Norman Vine:
...
Attached patch gets rid of all mention of GLUT from the cockpit directory.
2003-08-12 15:57:17 +00:00
curt
bcb10efa50
Remove several unneeded glut dependencies. Note, this doesn't signal an
...
immediate end to glut, only that I'm going through and cleaning up (and
taking inventory of the actual glut dependencies in case I want to investigate
SDL.)
2003-08-11 21:50:22 +00:00
curt
80e98bdc57
Compiler squawked because a typed function had no return, create a dummy value
...
to return.
2003-08-11 19:33:49 +00:00
curt
e5221f3758
Fix some compiler warnings.
2003-08-11 19:31:50 +00:00
ehofman
fc29f5d522
Back out the patch that made fgLoadAircraft a static function
2003-08-11 17:34:16 +00:00
ehofman
0f6b618381
Make the aircraft loader function static
2003-08-11 08:50:30 +00:00
ehofman
0a7cc77d5e
Initialize some variables
2003-08-11 08:35:29 +00:00
ehofman
1263b55c8e
Fix a problem with MSVC and fix some typos
2003-08-09 13:31:44 +00:00
curt
02b758c87b
Oops, fix a typo.
2003-08-09 02:45:23 +00:00