curt
00ccbd1f25
Added initial support for native SGI compilers.
1999-02-26 22:08:34 +00:00
curt
b8d59efa71
Modifications to incorporate Jon S. Berndts flight model code.
1999-02-05 21:28:09 +00:00
curt
91cb0e2a99
MSVC++ portability changes by Bernie Bright:
...
Lib/Serial/serial.[ch]xx: Initial Windows support - incomplete.
Simulator/Astro/stars.cxx: typo? included <stdio> instead of <cstdio>
Simulator/Cockpit/hud.cxx: Added Standard headers
Simulator/Cockpit/panel.cxx: Redefinition of default parameter
Simulator/Flight/flight.cxx: Replaced cout with FG_LOG. Deleted <stdio.h>
Simulator/Main/fg_init.cxx:
Simulator/Main/GLUTmain.cxx:
Simulator/Main/options.hxx: Shuffled <fg_serial.hxx> dependency
Simulator/Objects/material.hxx:
Simulator/Time/timestamp.hxx: VC++ friend kludge
Simulator/Scenery/tile.[ch]xx: Fixed using std::X declarations
Simulator/Main/views.hxx: Added a constant
1999-02-02 20:13:29 +00:00
curt
3e918d1df1
Game mode fixes from Norman Vine.
...
Initial altitude setting tweaks and fixes (especially for when starting
below sea level.)
1999-01-27 04:49:17 +00:00
curt
24fc48a0d5
Tweaked FDM interface.
...
Testing check sum support for NMEA serial output.
1999-01-20 13:42:22 +00:00
curt
de4713bf2a
MacOS portability changes contributed by "Robert Puyol" <puyol@abvent.fr>
1999-01-19 20:57:00 +00:00
curt
12dac83b21
Convert fgTIMESTAMP to FGTimeStamp which holds usec instead of ms.
1999-01-09 13:37:32 +00:00
curt
529e57a87c
Beginning work on compensating for sim time vs. real world time "jitter".
1999-01-08 03:23:51 +00:00
curt
e8d0a16e41
Updated struct fgGENERAL to class FGGeneral.
1999-01-07 20:24:43 +00:00
curt
e4d747e7ac
New frame rate counting mechanism.
1998-12-18 23:40:55 +00:00
curt
790657391d
Fixed view frustum culling accuracy bug so we can look out the sides and
...
back without tri-stripes dropping out.
1998-12-11 20:26:25 +00:00
curt
f450f4a9af
Converted "class fgVIEW" to "class FGView" and updated to make data
...
members private and make required accessor functions.
1998-12-09 18:50:12 +00:00
curt
800b484493
Fixed a problem with the initial starting altitude. "v->abs_view_pos" wasn't
...
being calculated correctly at the beginning causing the first terrain
intersection to fail, returning a ground altitude of zero, causing the plane
to free fall for one frame, until the ground altitude was corrected, but now
being under the ground we got a big bounce and the plane always ended up
upside down.
1998-12-06 14:52:54 +00:00
curt
1c789b7ab6
Turned "struct fgWEATHER" into "class FGWeather".
1998-12-06 13:51:20 +00:00
curt
71f334cc0d
Renamed class fgFLIGHT to class FGState as per request by JSB.
1998-12-05 15:53:59 +00:00
curt
ef620f3170
Looking into a problem with cur_view_params.abs_view_pos initialization.
1998-12-05 14:19:51 +00:00
curt
7fbb963a39
Converted fgFLIGHT to a class.
1998-12-03 01:14:58 +00:00
curt
74e2b27308
Fiddling with when I can get info from the opengl driver.
1998-11-23 20:51:26 +00:00
curt
732282a357
Try to detect Mesa/Glide/Voodoo and chose the appropriate resolution.
1998-11-20 01:02:35 +00:00
curt
f2234416b0
Added pow() macro bug work around.
...
Added support for starting FGFS at various resolutions.
Added some initial serial port support.
Specify default log levels in main().
1998-11-16 13:59:58 +00:00
curt
8aa30c3d30
Added Michael Johnson's audio patches for testing.
...
Also did a few tweaks to avoid numerical problems when starting at a place
with no (or bogus) scenery.
1998-11-11 00:24:00 +00:00
curt
4fee7f9df2
Tweaks for the instrument panel.
1998-11-09 23:39:22 +00:00
curt
2c2b68fc47
Enable release builds using the --without-logging option to the configure
...
script. Also a couple log message cleanups, plus some C to C++ comment
conversion.
1998-11-07 19:07:06 +00:00
curt
c74350c4fe
Converted to new logstream debugging facility. This allows release
...
builds with no messages at all (and no performance impact) by using
the -DFG_NDEBUG flag.
1998-11-06 21:17:31 +00:00
curt
80b8037230
Changes to support GLUT joystick routines as fall back.
1998-10-27 02:14:21 +00:00
curt
bab1b9c2e5
Turned "struct fgCONTROLS" into a class, with inlined accessor functions.
1998-10-25 14:08:37 +00:00
curt
309f1543a9
Changes to use the new joystick library if it is available.
1998-10-25 10:57:18 +00:00
curt
5b752bfb5f
C++ ifying ...
1998-10-17 01:33:52 +00:00
curt
bf5fb5108b
C++-ifying.
1998-10-16 23:26:44 +00:00
curt
7e240adff1
Converted to Point3D class.
1998-10-16 00:51:46 +00:00
curt
3e24bc7e23
Added an "auto throttle"
1998-10-02 12:46:43 +00:00
curt
c464527318
Use working() instead of !not_working() for audio.
1998-09-29 14:58:18 +00:00
curt
a09d8f2d62
Autopilot mods.
1998-09-29 02:03:36 +00:00
curt
6b2447c6c4
Check if audio "working()" before doing audio manipulations.
1998-09-26 13:18:35 +00:00
curt
be2f27bd66
Added support for pitch and volume envelopes and tied them to the
...
throttle setting.
1998-09-25 16:02:07 +00:00
curt
6f91b7db68
Changes for new Astro code.
1998-09-15 04:27:27 +00:00
curt
c4dbcd55b1
Include/fg_callback.hxx
...
Moved code inline to stop g++ 2.7 from complaining.
Simulator/Time/event.[ch]xx
Changed return type of fgEVENT::printStat(). void caused g++ 2.7 to
complain bitterly.
Minor bugfix and changes.
Simulator/Main/GLUTmain.cxx
Added missing type to idle_state definition - eliminates a warning.
Simulator/Main/fg_init.cxx
Changes to airport lookup.
Simulator/Main/options.cxx
Uses fg_gzifstream when loading config file.
1998-09-15 02:09:24 +00:00
curt
723f54c78b
Only use GLUT_STENCIL if the instument panel has been requested.
1998-09-09 16:25:39 +00:00
curt
48ea415f69
Added new cockpit code from Friedemann Reinhard
...
<mpt218@faupt212.physik.uni-erlangen.de>
1998-08-28 18:14:39 +00:00
curt
283a23159a
Contributions from Bernie Bright <bbright@c031.aone.net.au>
...
- use strings for fg_root and airport_id and added methods to return
them as strings,
- inlined all access methods,
- made the parsing functions private methods,
- deleted some unused functions.
- propogated some of these changes out a bit further.
1998-08-27 17:01:55 +00:00
curt
e33dbca814
Attempting to iron out seg faults and crashes.
...
Did some shuffling to fix a initialization order problem between view
position, scenery elevation.
1998-08-22 14:49:55 +00:00
curt
3eb6f1d640
Reshuffled some of the code in and around views.[ch]xx
1998-08-20 20:32:31 +00:00
curt
f1b0e32e37
Added GameGLUT support.
1998-08-20 15:10:33 +00:00
curt
b15b1909c6
Master volume from 30% -> 80%
1998-08-12 21:01:47 +00:00
curt
e81eeba64f
Output position & orientation when pausing.
...
Eliminated libtool use.
Added options to specify initial position and orientation.
Changed default fov to 55 degrees.
Added command line option to start in paused or unpaused state.
1998-07-30 23:48:24 +00:00
curt
6d427da8d8
Added a pause command "p"
...
Fixed some initialization order problems between pui and glut.
Added an --enable/disable-sound option.
1998-07-27 18:41:23 +00:00
curt
009c34bd23
Set near clip plane to 0.5 meters when close to the ground. Also, let the view get a bit closer to the ground before hitting the hard limit.
1998-07-24 21:56:59 +00:00
curt
f6f21702ce
Debugging output tweaks.
...
Cast glGetString to (char *) to avoid compiler errors.
Optimizations to fgGluLookAt() by Norman Vine.
1998-07-24 21:39:08 +00:00
curt
0347fcc173
Clear to adjusted fog color (for sunrise/sunset effects)
...
Make call to fog sunrise/sunset adjustment method.
Add a stdc++ library bug work around to fg_init.cxx
1998-07-22 21:40:43 +00:00
curt
a6f9590baf
Tweaked color buffer clearing defaults. We clear the color buffer if we
...
are doing textures. Assumptions: If we are doing textures we have hardware
support that can clear the color buffer for "free." If we are doing software
rendering with textures, then the extra clear time gets lost in the noise.
1998-07-20 12:49:44 +00:00