1
0
Fork 0
Commit graph

26 commits

Author SHA1 Message Date
curt
b8d59efa71 Modifications to incorporate Jon S. Berndts flight model code. 1999-02-05 21:28:09 +00:00
curt
9a8b4dab10 Portability changes and updates from Bernie Bright. 1999-01-07 20:25:32 +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
7fbb963a39 Converted fgFLIGHT to a class. 1998-12-03 01:14:58 +00:00
curt
a83788c587 Borland portability tweaks. 1998-11-23 21:48:09 +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
995729b5a1 Tweaked sunrise/sunset colors. 1998-10-20 18:41:53 +00:00
curt
5b752bfb5f C++ ifying ... 1998-10-17 01:33:52 +00:00
curt
50ea8bd446 Bernie Bright writes:
I've created some new classes to enable pointers-to-functions and
  pointers-to-class-methods to be treated like objects.  These objects
  can be registered with fgEVENT_MGR.

  File "Include/fg_callback.hxx" contains the callback class defns.

  Modified fgEVENT and fgEVENT_MGR to use the callback classes.  Also
  some minor tweaks to STL usage.

  Added file "Include/fg_stl_config.h" to deal with STL portability
  issues.  I've added an initial config for egcs (and probably gcc-2.8.x).
  I don't have access to Visual C++ so I've left that for someone else.
  This file is influenced by the stl_config.h file delivered with egcs.

  Added "Include/auto_ptr.hxx" which contains an implementation of the
  STL auto_ptr class which is not provided in all STL implementations
  and is needed to use the callback classes.

  Deleted fgLightUpdate() which was just a wrapper to call
  fgLIGHT::Update().

  Modified fg_init.cxx to register two method callbacks in place of the
  old wrapper functions.
1998-08-29 13:11:31 +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
9d608dd593 Shuffled $FG_ROOT file layout. 1998-08-25 20:53:24 +00:00
curt
5e9a45af0c Adjusted dusk/dawn lighting ... 1998-08-06 12:47:22 +00:00
curt
3786e0665c Output message tweaks. 1998-07-24 21:42:25 +00:00
curt
ffa2a0feb3 fg_time.cxx: Removed call to ctime() in a printf() which should be harmless
but seems to be triggering a bug.
light.cxx: Added code to adjust fog color based on sunrise/sunset effects
  and view orientation.  This is an attempt to match the fog color to the
  sky color in the center of the screen.  You see discrepancies at the
  edges, but what else can be done?
sunpos.cxx: Caculate local direction to sun here.  (what compass direction
  do we need to face to point directly at sun)
1998-07-22 21:45:37 +00:00
curt
4abe562805 Wrote access functions for current fgOPTIONS. 1998-07-13 21:00:09 +00:00
curt
1bfa270128 polar3d.h renamed to polar3d.hxx 1998-07-08 14:48:38 +00:00
curt
437c0b6f29 Renamed <Table>.table to be <Table> so we can add a .gz under DOS. 1998-05-29 20:37:51 +00:00
curt
cbdc65f55a Converted fgLIGHT to a C++ class. 1998-05-20 20:54:16 +00:00
curt
37df3de51d Root path info moved to fgOPTIONS. 1998-05-13 18:25:34 +00:00
curt
9d733bf6f4 Made fog color slightly bluish. 1998-05-11 18:18:51 +00:00
curt
6382b36f23 polar.h -> polar3d.h 1998-05-03 00:46:45 +00:00
curt
5bbd08091c Type-ified fgTIME and fgVIEW. 1998-04-28 01:22:16 +00:00
curt
4a487175c9 "struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd. 1998-04-26 05:10:00 +00:00
curt
2addcf2e76 Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
Fog color fixes.
Separated out lighting calcs into their own file.
1998-04-24 00:52:24 +00:00
curt
73ed3c180e C++ - ifiing the code a bit.
Starting to reorginize some of the lighting calcs to use a table lookup.
1998-04-22 13:24:04 +00:00