1
0
Fork 0
Commit graph

23 commits

Author SHA1 Message Date
curt
7fbb963a39 Converted fgFLIGHT to a class. 1998-12-03 01:14:58 +00:00
curt
3866a42bec FG_LOG() message tweaks. 1998-11-16 14:00:28 +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
2612ab0ab3 Check for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers)
Other misc. tweaks.
1998-11-02 18:25:34 +00:00
curt
5b752bfb5f C++ ifying ... 1998-10-17 01:33:52 +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
b5cf8b7323 Changes for new astro code. 1998-09-15 04:27:49 +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
2b706a6528 Rewrote sidereal_course with simpler parameters. 1998-08-24 20:12:16 +00:00
curt
fcdc2cf4c9 Added a local routine to update lighting params every frame when time is
accelerated.
1998-08-05 00:19:33 +00:00
curt
d887239929 Sgi build tweaks.
Pause support.
1998-07-30 23:48:54 +00:00
curt
05e3836b52 Added a pause option. 1998-07-27 18:42:22 +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
2f40b08c03 Build only static libraries.
Declare memmove/memset for Sloaris.
Rewrote fg_time.c routine to get LST start seconds to better handle
  Solaris, and be easier to port, and understand the GMT vs. local
  timezone issues.
1998-06-12 00:59:52 +00:00
curt
274ba49906 Incorporated some automake conditionals to try to support mktime() correctly
on a wider variety of platforms.
Added the declaration of memmove needed by the stl which apparently
solaris only defines for cc compilations and not for c++ (__STDC__)
1998-06-05 18:18:12 +00:00
curt
850ba99158 misc updates. 1998-05-30 01:57:25 +00:00
curt
0419841486 Fine tuning mktime() support because of varying behavior on different
platforms.
1998-05-02 01:53:17 +00:00
curt
67cc5c5482 Fixed a horible bug that cause the time to be *WAY* off when compiling
with the CygWin32 compiler.  This may not yet completely address other
Win32 compilers, but we'll have to take them on a case by case basis.
1998-04-28 21:45:34 +00:00
curt
5bbd08091c Type-ified fgTIME and fgVIEW. 1998-04-28 01:22:16 +00:00
curt
0b782544a3 Edited cvs log messages in source files ... bad bad bad! 1998-04-25 22:06:24 +00:00
curt
dd4a17a011 Cleaned up initialization sequence to eliminate interdependencies
between sun position, lighting, and view position.  This creates a
valid single pass initialization path.
1998-04-25 20:24: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