1
0
Fork 0
Commit graph

681 commits

Author SHA1 Message Date
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
dd70057f84 Updated comment delimeter to C++ style. 1998-11-11 00:19:27 +00:00
curt
b10ec55403 Log message clean ups. 1998-11-09 23:41:51 +00:00
curt
f8e4de2d13 Bernie Bright <bbright@c031.aone.net.au> writes:
I've made some changes to the Scenery handling.  Basically just tidy ups.
The main difference is in tile.[ch]xx where I've changed list<fgFRAGMENT> to
vector<fgFRAGMENT>.  Studying our usage patterns this seems reasonable.
Lists are good if you need to insert/delete elements randomly but we
don't do that.  All access seems to be sequential.  Two additional
benefits are smaller memory usage - each list element requires pointers
to the next and previous elements, and faster access - vector iterators
are smaller and faster than list iterators.  This should also help
Charlie Hotchkiss' problem when compiling with Borland and STLport.

./Lib/Bucket/bucketutils.hxx
  Convenience functions for fgBUCKET.

./Simulator/Scenery/tile.cxx
./Simulator/Scenery/tile.hxx
  Changed fragment list to a vector.
  Added some convenience member functions.

./Simulator/Scenery/tilecache.cxx
./Simulator/Scenery/tilecache.hxx
  use const fgBUCKET& instead of fgBUCKET* where appropriate.

./Simulator/Scenery/tilemgr.cxx
./Simulator/Scenery/tilemgr.hxx
  uses all the new convenience functions.
1998-11-09 23:40:46 +00:00
curt
4fee7f9df2 Tweaks for the instrument panel. 1998-11-09 23:39:22 +00:00
curt
3563de2a16 Panel updates from Friedemann. 1998-11-09 23:38:50 +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
ad3ae51348 Changes to track Bernie's updates to fgstream. 1998-11-06 14:46:59 +00:00
curt
197b94fcf4 Changes to the automake/autoconf system to reduce the number of libraries
that are unnecessarily linked into the various executables.
1998-11-04 23:01:39 +00:00
curt
b7daf28f0e Display ft or m in mini-hud next to altitude. 1998-11-03 12:33:11 +00:00
curt
f17926ec54 HUD units now display in feet by default with meters being a command line
option.
1998-11-02 23:04:02 +00:00
curt
2fe733e796 Portability changes for the Borland compiler. 1998-11-02 18:29:00 +00:00
curt
2612ab0ab3 Check for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers)
Other misc. tweaks.
1998-11-02 18:25:34 +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
372eeb7aa7 Completely rewritten to use Steve Baker's joystick interface class. 1998-10-25 10:56:25 +00:00
curt
58b4e200ec Only build the Joystick lib if joystick support is available. 1998-10-25 10:55:07 +00:00
curt
b17f3b1b28 Renamed joystick.[ch] to joystick.[ch]xx
Added js.hxx which is Steve's joystick interface class.
1998-10-24 22:28:13 +00:00
curt
995729b5a1 Tweaked sunrise/sunset colors. 1998-10-20 18:41:53 +00:00
curt
aefbf0cc05 Tweaked texture coordinates, but we still have some problems. :-( 1998-10-20 18:33:55 +00:00
curt
1f49d95eae Tweaked sunset/sunrise colors. 1998-10-20 18:28:30 +00:00
curt
1836f7d8ff Updates to point3d.hxx 1998-10-20 18:26:06 +00:00
curt
5b7e21a859 Removed an extraneous output message. 1998-10-20 15:48:44 +00:00
curt
0bcaef2256 Ctrl-R now reverses default polygon winding so I can see if a hole in the
terrain is a result of improper winding, or if it is just an empty hole.
1998-10-20 14:58:57 +00:00
curt
03005e608b c++-ifying ... 1998-10-18 01:51:04 +00:00
curt
7efee52485 Point3D tweaks. 1998-10-18 01:17:16 +00:00
curt
5b752bfb5f C++ ifying ... 1998-10-17 01:33:52 +00:00
curt
9f1658bba4 Initial revision. 1998-10-17 00:43:58 +00:00
curt
bf5fb5108b C++-ifying. 1998-10-16 23:26:44 +00:00
curt
cf2fa0f213 Renamed flight.[ch] to flight.[ch]xx 1998-10-16 20:16:38 +00:00
curt
eed94c33cf Fixed a bug in the conversion to Point3D. 1998-10-16 18:12:28 +00:00
curt
55ede659bf Mods to display a bit more info when mini-hud is active. 1998-10-16 00:53:00 +00:00
curt
7e240adff1 Converted to Point3D class. 1998-10-16 00:51:46 +00:00
curt
18b093927f Changes from NHV to make the code more dynamic with fewer hard coded limits. 1998-10-12 23:49:17 +00:00
curt
71b78dc87c Fixes to try to break through the win95/98 18.3 fps barrier. 1998-10-02 21:36:09 +00:00
curt
3e24bc7e23 Added an "auto throttle" 1998-10-02 12:46:43 +00:00
curt
49b5ce80c5 More altitude hold tweaks. 1998-10-01 00:37:57 +00:00
curt
fe61ee41f2 A few more altitude-hold refinements. It now appears to be working pretty
good.
1998-09-30 15:28:15 +00:00
curt
3e7030cc4b More fine tuning of altitude hold. 1998-09-29 22:48:31 +00:00
curt
eb81ebae2f Auto pilot tweaks. It looks like I actually got something that is functional.
It's far from perfect and still could use a lot of refining, but it basically
seems to work.
1998-09-29 21:54:23 +00:00
curt
c464527318 Use working() instead of !not_working() for audio. 1998-09-29 14:58:18 +00:00
curt
e929f387a5 c++-ified some comments. 1998-09-29 14:57:00 +00:00
curt
7320d0f346 c++-ified comments. 1998-09-29 14:56:30 +00:00
curt
8e84268b43 Continued tweaking of altitude hold ... still needs more work. 1998-09-29 14:55:29 +00:00
curt
a09d8f2d62 Autopilot mods. 1998-09-29 02:03:36 +00:00
curt
1bafaa31f6 Added a brake + autopilot mods. 1998-09-29 02:02:59 +00:00
curt
156e61d367 Added a rate of climb calculation. 1998-09-29 02:02:40 +00:00
curt
94d4bbdd09 Added a brake. 1998-09-29 02:01:31 +00:00