ehofman
d93b79ae90
Clean up the output of the help and show-aircraft options a bit by setting log-level to alert prior to showing the output
2003-09-22 11:35:21 +00:00
ehofman
591cfcedfb
Allow the log-level to be set as early as possible
2003-09-22 09:31:36 +00:00
ehofman
7d6cafba6e
Use the log level environment already set up by David instead of mine
2003-09-22 09:22:05 +00:00
ehofman
e0dda6ad52
A small fix to have a smoot transition of cloud colors when in time warp mode
2003-09-20 11:05:12 +00:00
ehofman
a33ad90ed7
Convert fgLIGHT to FGLight and make it FGSubsystem compatible. Let the subsystem manager handle it and let FGLight::update() handle the repositioning of the sun and the moon.
2003-09-20 09:38:32 +00:00
curt
7807a68fa3
Another step towards making aircraft more self contained. YASim aircraft
...
now read the config file out of the individual aircraft directory rather
than the collective Aircraft-yasim/ directory (which is now obsolete.)
This requires a corresponding update of the base package cvs.
2003-09-20 03:33:06 +00:00
curt
46caf8576b
Update --showaircraft and --aircraft= options to recursively search the
...
$FGROOT/data/Aircraft hierarchy. There could be some long term performance
concerns if a person has a *huge* collection of aircraft or a really slow
file system, but I see zero performance blip here from recursing the default
CVS tree. We should also allow the user to specify the whole path to the
-set.xml file if they don't want to recurse ... this way we could eventually
come up with an aircraft selection dialog box on the front end so the user
could manually walk the tree to the desired aircraft. There also the system
wouldn't have to search for the aircraft.
2003-09-19 20:06:27 +00:00
curt
b262586763
Fix a couple compiler warnings.
2003-09-19 20:03:43 +00:00
ehofman
7d6aea909d
Remove some unused UIUC specific code
2003-09-18 09:33:13 +00:00
curt
b354f30930
Oops fix a small bug resetting to "real-clock" time.
2003-09-17 15:58:40 +00:00
curt
a217c563ba
Clean up the timeofday setting code a bit more, consolodate the solver
...
functions (note to Norman: I looked at the web page you listed and that
looks like a good idea, but I don't have time right now to go through and
debug an entirely new routine. What we have works well enough for now I hope!)
2003-09-17 15:49:15 +00:00
ehofman
15f45ad9a5
Reorginize the code just before fgMainLoop a bit so that the lighting update actually has any effect
2003-09-17 10:02:36 +00:00
curt
5d6eafc091
Oops, get rid of some extraneous debugging output.
2003-09-16 22:38:41 +00:00
curt
7f2757a7ab
Expose the time of day setting through the fg_command and property interface
...
so a gui interface can be built.
2003-09-16 22:35:16 +00:00
curt
b10715833c
Fix a few potential gotcha's in setting up start time.
2003-09-16 22:34:22 +00:00
curt
9bb782ce72
Added a command line option to specify a starting time of day in the sense of:
...
--timeofday=dawn
--timeofday=dusk
--timeofday=noon
--timeofday=midnight
2003-09-15 22:55:39 +00:00
ehofman
13d8e0edab
Allow -jsbsim, -yasim or -uiuc in the name of the configuration file when it resides in it's own subdirectory
2003-09-15 16:00:18 +00:00
ehofman
4d6b14a08c
Add support for loading aircraft which have the configuration file inside it's own subdirectory
2003-09-15 14:21:16 +00:00
ehofman
b7e3f95300
Add support for <aircraft>-set.xml configuration files inside it's own subdirectory. This applies only to the --show-aircraft option for now.
2003-09-15 14:07:50 +00:00
ehofman
7249aaea33
Frederic Bouvier:
...
This patch is there to correct a problem that prevent to load static objects when specifying a relative fg-root or a different, relative, fg-scenery. It appears that there is a mix between fg-root, fg-scenery and PLIB's model-dir.
It has been reported on the list that users are not able to see the buildings, especially those running the win32 builds because they run 'runfgfs.bat' that set FG_ROOT=./DATA.
I decided not to use model-dir because it just add confusion and to build a valid path earlier.
2003-09-13 11:47:30 +00:00
ehofman
2be37c04fe
Enable two sided lighting calculations when specular highlight is enabled
2003-09-13 09:27:50 +00:00
ehofman
dd963990dc
Turn back to default lighting when specular-highlight gets disabled
2003-09-12 22:09:54 +00:00
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
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
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
ehofman
82ba3ebbde
Remove a possible glut dependency and do some code cleaning
2003-08-29 16:46:21 +00:00
curt
ff2740f085
Remove the last traces of metakit (hopefully) :-)
2003-08-29 04:42:43 +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
6665d7d609
Remove one dependence on MetaKit.
2003-08-28 20:53:08 +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
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
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
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
ehofman
1263b55c8e
Fix a problem with MSVC and fix some typos
2003-08-09 13:31:44 +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
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
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
ehofman
c1fa7f95bd
Comment out the UIUC ground trimming code
2003-07-27 07:49:33 +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
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
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