1
0
Fork 0
Commit graph

8 commits

Author SHA1 Message Date
curt
7e240adff1 Converted to Point3D class. 1998-10-16 00:51:46 +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
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
1bfa270128 polar3d.h renamed to polar3d.hxx 1998-07-08 14:48:38 +00:00
curt
cbdc65f55a Converted fgLIGHT to a C++ class. 1998-05-20 20:54:16 +00:00
curt
0419841486 Fine tuning mktime() support because of varying behavior on different
platforms.
1998-05-02 01:53:17 +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