1
0
Fork 0
Commit graph

17 commits

Author SHA1 Message Date
curt
0d30a845d0 Move sun/solaris specific stuff to compiler.h 1999-01-27 04:50:18 +00:00
curt
308f7d4d3e Sun portability hack. 1999-01-21 20:14:18 +00:00
curt
12dac83b21 Convert fgTIMESTAMP to FGTimeStamp which holds usec instead of ms. 1999-01-09 13:37:32 +00:00
curt
9a8b4dab10 Portability changes and updates from Bernie Bright. 1999-01-07 20:25:32 +00:00
curt
59b20e610c Converted "struct fg_timestamp" to "class fgTIMESTAMP" and added some
convenience inline operators.
1998-12-04 01:32:46 +00:00
curt
a83788c587 Borland portability tweaks. 1998-11-23 21:48:09 +00:00
curt
b10ec55403 Log message clean ups. 1998-11-09 23:41:51 +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
c4dbcd55b1 Include/fg_callback.hxx
Moved code inline to stop g++ 2.7 from complaining.

Simulator/Time/event.[ch]xx
  Changed return type of fgEVENT::printStat().  void caused g++ 2.7 to
  complain bitterly.

Minor bugfix and changes.

Simulator/Main/GLUTmain.cxx
  Added missing type to idle_state definition - eliminates a warning.

Simulator/Main/fg_init.cxx
  Changes to airport lookup.

Simulator/Main/options.cxx
  Uses fg_gzifstream when loading config file.
1998-09-15 02:09:24 +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
9b94c66383 Tweak ... 1998-08-20 15:12:26 +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
d093a9422b Rewrote event.cxx in C++ as a class using STL for the internal event list
and run queue this removes the arbitrary list sizes and makes things much
more dynamic.  Because this is C++-classified we can now have multiple
event_tables if we'd ever want them.
1998-05-22 21:14:53 +00:00
curt
0b782544a3 Edited cvs log messages in source files ... bad bad bad! 1998-04-25 22:06:24 +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
Renamed from Time/event.c (Browse further)