1
0
Fork 0
Commit graph

20 commits

Author SHA1 Message Date
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
1209546e08 Renamed FlightGear/Simulator/Flight to FlightGear/Simulator/FDM since
Jon accepted my offer to do this and thought it was a good idea.
1999-02-01 21:33:23 +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
71f334cc0d Renamed class fgFLIGHT to class FGState as per request by JSB. 1998-12-05 15:53:59 +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
032806000b Optimizations by Norman Vine. 1998-09-08 15:04:33 +00:00
curt
ac2c904dc6 Added i/I to toggle full vs. minimal HUD.
Added a --hud-tris vs --hud-culled option.
Moved options accessor funtions to options.hxx.
1998-08-24 20:11:12 +00:00
curt
3eb6f1d640 Reshuffled some of the code in and around views.[ch]xx 1998-08-20 20:32:31 +00:00
curt
0099b307bc polar3d.h renamed to polar3d.hxx
vector.h renamed to vector.hxx
updated audio support so it waits to create audio classes (and tie up
  /dev/dsp) until the mpg123 player is finished.
1998-07-08 14:45:07 +00:00
curt
2be63aa0fb Add my own version of gluLookAt() (which is nearly identical to the
Mesa/glu version.)  But, by calculating the Model View matrix our selves
we can save this matrix without having to read it back in from the video
card.  This hopefully allows us to save a few cpu cycles when rendering
out the fragments because we can just use glLoadMatrixd() with the
precalculated matrix for each tile rather than doing a push(), translate(),
pop() for every fragment.

Panel status defaults to off for now until it gets a bit more developed.

Extract OpenGL driver info on initialization.
1998-07-04 00:52:22 +00:00
curt
2cd509d3de View optimizations by Norman Vine. 1998-05-27 02:24:05 +00:00
curt
fdc94bd13a First pass at view frustum culling now operational. 1998-05-17 16:59:03 +00:00
curt
65cc9a9e66 C++ - ified views.[ch]xx
Shuffled some additional view parameters into the fgVIEW class.
Changed tile-radius to tile-diameter because it is a much better
  name.
Added a WORLD_TO_EYE transformation to views.cxx.  This allows us
 to transform world space to eye space for view frustum culling.
1998-05-16 13:08:34 +00:00
curt
1f5aeb1d46 Updated polartocart conversion routine. 1998-05-02 01:51:01 +00:00
curt
7352183ad9 Type-ified fgTIME and fgVIEW.
Added a command line option to disable textures.
1998-04-28 01:20:20 +00:00
curt
0b782544a3 Edited cvs log messages in source files ... bad bad bad! 1998-04-25 22:06:24 +00:00
curt
f4c7a35129 Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
Trying out some different option parsing code.
Some code reorganization.
1998-04-24 00:49:17 +00:00
curt
920eefd4a7 C++ - ifing the code.
Starting a bit of reorganization of lighting code.
1998-04-22 13:25:39 +00:00
Renamed from Main/views.h (Browse further)