1
0
Fork 0
Commit graph

941 commits

Author SHA1 Message Date
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
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
curt
fff2989853 Modified the replay system to work without enabling the master or clock freeze. 2003-07-18 14:14:24 +00:00
curt
75861ec95d Avoid collecting garbage data before the FDM is initialized. 2003-07-18 01:51:45 +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
david
2da219ef5e Update magvar model before using it to initialize compass error. 2003-07-17 00:26:38 +00:00
david
34e4ff4922 Kludge the HI error so that it initially matches the magnetic variation. 2003-07-17 00:06:03 +00:00
david
6077e8a824 Added options to set up avionics from the command line:
--nav1=[radial:]frequency
  --nav2=[radial:]frequency
  --adf=[rotation:]frequency
  --dme="nav1"|"nav2"|frequency
2003-07-16 23:34:07 +00:00
david
16e9d1940b Don't snap to runway heading if an offset azimuth is supplied. 2003-07-16 19:12:02 +00:00
ehofman
a0d90b9746 Framerate independent viewer fixes from Melchior FRANZ 2003-07-14 14:20:45 +00:00
ehofman
3179cb441a Make it possible to either select the 2d or the 3d HUD 2003-07-14 13:57:11 +00:00