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
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
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
curt
b206ef0a4b
Add support for specifying a ";" delimited list of scenery locations to
...
search when loading scenery tiles. (I am not set on using ";" as the
delimiter because it is a command separator in unix, but ":" is a critical
part of the windows file naming scheme (c:\foo\bar) so that is even worse.)
Example:
--fg-scenery=/stage/fgfs04/curt/Scenery-0.9.1/Scenery;/stage/helio1/curt/Scenery
-0.7.9
2003-08-08 20:11:22 +00:00
ehofman
85feefa59f
Add partial support for using textures as a basis for cloud field geenration
2003-08-07 12:38:17 +00:00
david
1d4a7659fc
Fix drag when engine is shut down, by avoiding negative RPM.
...
The Propeller class ignored negative RPM but still returned a torque
value, which ratcheted up a higher and higher negative RPM until drag
overwhelmed the aircraft.
In reality, the propeller should windmill at a reasonable postive RPM,
introducing a constant drag on the aircraft -- the propeller should
*not* stop unless the plane is flying very slowly. That's a future
project.
2003-08-06 21:38:01 +00:00
curt
c2684e9bc6
Norman Vine:
...
Add commands to increase/decrease the fog visibility.
2003-08-06 17:13:42 +00:00
ehofman
6834e86f94
Add 3d cloud support back in
2003-08-04 17:57:15 +00:00
ehofman
7ede111d12
Add a /test/scene_lighting property to switch between new and old behavior
2003-08-04 09:34:55 +00:00
ehofman
3d07fa8bda
Update the ambient, diffuse and specular scenery colors to match the real world more closely
2003-08-03 09:54:02 +00:00
ehofman
a315df50f8
Update scene lighting
2003-08-02 12:45:15 +00:00
curt
807c4047dd
Add support for communicating a flap motor failure.
2003-08-01 19:37:20 +00:00
curt
562ce6f5e2
Ooops, I added another item to what I write to the buffer, but
...
forgot to make it big enough to hold the new item. This was manifesting
itself as a crash on reset (if the ExternalPipe FDM was being used.)
2003-08-01 17:06:11 +00:00
curt
55f97b218e
Interpolate failure conditions since they are part of the struct (more
...
of a formality for consistancies sake than a useful thing.)
2003-08-01 00:25:10 +00:00
curt
6d0456df08
Add several common engine faults to the net_ctrls structure.
2003-08-01 00:22:57 +00:00
curt
e6958608ce
Annunciators cannot work if electrical system is not serviceable.
2003-08-01 00:22:14 +00:00
ehofman
5898b8f828
Needed for SimGear update
2003-07-31 14:47:56 +00:00
ehofman
62ce453136
Use a pointer to a structure instead of a large number of variables when calling a function to keep the stack clean
2003-07-31 09:06:15 +00:00
curt
29dcc1ca1e
Compute teh altitude-agl if the remote end isn't sending it.
2003-07-31 01:44:40 +00:00
curt
429a5067d8
Make the property tree reading slightly more robust.
2003-07-31 01:43:57 +00:00
curt
b4d0b6dcd4
Fix a property name spelling error.
2003-07-31 01:41:46 +00:00
curt
d805b8166b
Fix several mispellings of servicable->serviceable.
2003-07-30 00:43:25 +00:00
mselig
c0eea29af8
Fixes namespace conflict with the variable ch. Changed to chord_h.
2003-07-27 17:54:18 +00:00
ehofman
c1fa7f95bd
Comment out the UIUC ground trimming code
2003-07-27 07:49:33 +00:00
david
f4b3f7a003
Ignore generated files.
2003-07-26 10:53:58 +00:00
ehofman
0ff5f409c0
Add the abillity to attach a propeller thruster to a turbine engine
2003-07-26 09:12:54 +00:00
ehofman
860545bfa9
This patch increases the threshold below which the uiuc models are forced above the ground.
2003-07-26 07:56:46 +00:00
mselig
7dd8eb61d0
Comments added to printf statments.
2003-07-26 00:19:14 +00:00
curt
ae1470d3d1
Do a santity check in case net->course_deviation_deg is bogus.
2003-07-25 20:10:09 +00:00
curt
c5110a3650
Try to make the replay system honor /sim/speed-up, but not fully working yet.
2003-07-25 20:09:30 +00:00
mselig
658a838ea0
Includes mods to greatly shorten the uiuc_recorder.cpp code.
2003-07-25 17:55:27 +00:00
mselig
6adfea97e4
Fixes compiler warning related to this gcc message: This file includes at least one deprecated or antiquated header. Also, mods made to improve the uiuc_recorder code.
2003-07-25 17:55:20 +00:00
mselig
6ae39d57fa
Fixes compiler warning related to this gcc message: This file includes at least one deprecated or antiquated header.
2003-07-25 17:53:53 +00:00
mselig
2606555bf6
UIUC code initilization mods to tidy things up a bit.
2003-07-25 17:53:35 +00:00
mselig
9f518ef343
Adds a basic FDM model for LaRCsim debugging purposes.
2003-07-25 17:53:13 +00:00
mselig
27a7b7f5d9
Adds a basic FDM model for LaRCsim debugging purposes. There is a bug in FGFS-LaRCsim that I have yet to put my finger on.
2003-07-25 17:53:08 +00:00
ehofman
ae8199be38
Melchior FRANZ:
...
The jitter is most likely caused by the irregular frame rate and CPU clock dependent intervals. There's no easy way around that. I tried some fancy interpolation and all that -- to no avail.
2003-07-24 15:00:16 +00:00
ehofman
a2b71872ad
This fixes the K to F conversion for the EGT output
2003-07-24 14:43:11 +00:00
curt
6bbc51c058
Fix an oversight/inefficiency spotted by Frederic Bouvier. We were passing a
...
*copy* of a very large data set to a function.
2003-07-23 17:50:45 +00:00
curt
3c41f15f18
Geoff McLane:
...
Attached is a 'slightly' updated config.h-msvc6 file.
You will note i have only couched the JOYSTICK into an #ifndef
and add the needed GLUT_H
2003-07-23 14:36:33 +00:00
curt
8e5d7cd156
Remove some debugging output.
2003-07-23 13:48:19 +00:00
curt
51b0331eb9
Fix a typo ...
2003-07-23 03:19:08 +00:00
curt
c672417725
Add gear animation effects to replay.
2003-07-22 23:46:11 +00:00
curt
b8ac00f0a6
Finish the list of values that need to be interpolated every frame.
2003-07-22 20:06:03 +00:00
curt
33afeef6f1
Handle agl data correctly (so that ultimately the replay system can place
...
aircraft shadows correctly.)
2003-07-22 20:05:38 +00:00
ehofman
9b545fd648
Fix a bug that would occur on 5GHz computers, and disable the altitude damping feature.
2003-07-22 08:51:31 +00:00
ehofman
e47c97844d
Fix a devide by zero bug"src/Autopilot/newauto.cxx
2003-07-22 08:13:10 +00:00
david
45b16ad0c9
Eliminate divide-by-zero error. AI should spin down gradually again.
2003-07-22 02:05:50 +00:00
ehofman
4124ac31d7
This backs out only the target climb rate calculation fix for the time being,
...
maybe for good
2003-07-19 14:15:11 +00:00
curt
fff2989853
Modified the replay system to work without enabling the master or clock freeze.
2003-07-18 14:14:24 +00:00
ehofman
f2a2b21661
Small patch to expose the localizer property (e.g., true for ILS localizer)
2003-07-18 08:22:54 +00:00
ehofman
9c6fbbccea
Fixes for MSVC and MipsPro
2003-07-18 08:14:21 +00:00
curt
75861ec95d
Avoid collecting garbage data before the FDM is initialized.
2003-07-18 01:51:45 +00:00
curt
a3b28d16af
Improvements to the replay subsystem.
...
- Handle rotational interpolation across the "zero" point.
- Bug fixes to the rotational interpolator
- Change intervals for medium term and long term data recorders.
2003-07-17 21:21:00 +00:00
curt
419f09f804
Curt:
...
I have added a fledgling replay system that records flight data and control
positions during the flight.
I have added an internal command called "replay" which will trigger a replay
of the entire saved flight data set. This could be bound to a keyboard or
menu command, in fact this entire module is screaming for someone to build
a gui to control playback speed, amount of playback, etc.
This is the initial version so there are kinks that still need to be worked
out, please be patient.
2003-07-17 18:24:17 +00:00
ehofman
9c22c5678c
Jim Wilson:
...
These changes should preserve previous functionality (with the exception of a
couple bug fixes).
Bugs fixed:
- AP no longer resets the error accumulator when switching altitude modes or
just closing the autopilot GUI. It will not be necessary to collect the barf
bags after selecting a new altitude anymore. Makes things much smoother.
- climb_rate calculation in the altitude hold mode included a factor that made
sense for the c172. It is now scaled according to the configuration's target
climb rate.
Additions:
Autothrottle (supports speed control only) is more configurable and accurate.
VerticalSpeed mode added (automatically arms to altitude if flown toward
altitude setting).
Exposed various properties, added new lock properties.
2003-07-17 08:52:36 +00:00
tony
36183cbc3d
Make initTheta() use the results of the search it performs.
2003-07-17 02:32:39 +00:00
david
2da219ef5e
Update magvar model before using it to initialize compass error.
2003-07-17 00:26:38 +00:00