From: curt Date: Tue, 27 Jan 1998 00:47:59 +0000 (+0000) Subject: Incorporated Paul Bleisch's new debug message X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b7eab24f1443df22dd16b87179dd106f9ba966f2;p=simgear.git Incorporated Paul Bleisch's new debug message system and commandline/config file processing code. --- diff --git a/Math/fg_geodesy.c b/Math/fg_geodesy.c index aefb751e..e90ac85d 100644 --- a/Math/fg_geodesy.c +++ b/Math/fg_geodesy.c @@ -14,7 +14,7 @@ #include #include -#include +#include /* ONE_SECOND is pi/180/60/60, or about 100 feet at earths' equator */ @@ -140,6 +140,10 @@ void fgGeodToGeoc( double lat_geod, double alt, double *sl_radius, $Header$ $Log$ +Revision 1.4 1998/01/27 00:47:59 curt +Incorporated Paul Bleisch's new debug message +system and commandline/config file processing code. + Revision 1.3 1998/01/19 19:27:12 curt Merged in make system changes from Bob Kuehne This should simplify things tremendously. @@ -201,10 +205,14 @@ Initial Flight Gear revision. /* $Log$ -/* Revision 1.3 1998/01/19 19:27:12 curt -/* Merged in make system changes from Bob Kuehne -/* This should simplify things tremendously. +/* Revision 1.4 1998/01/27 00:47:59 curt +/* Incorporated Paul Bleisch's new debug message +/* system and commandline/config file processing code. /* + * Revision 1.3 1998/01/19 19:27:12 curt + * Merged in make system changes from Bob Kuehne + * This should simplify things tremendously. + * * Revision 1.2 1997/12/15 23:54:54 curt * Add xgl wrappers for debugging. * Generate terrain normals on the fly. diff --git a/Math/fg_random.c b/Math/fg_random.c index 5a2f588e..73ed67f1 100644 --- a/Math/fg_random.c +++ b/Math/fg_random.c @@ -27,6 +27,7 @@ #include #include /* for random(), srandom() */ #include /* for time() to seed srandom() */ +#include
#include "fg_random.h" @@ -41,7 +42,7 @@ /* Seed the random number generater with time() so we don't see the * same sequence every time */ void fg_srandom(void) { - printf("Seeding random number generater\n"); + fgPrintf( FG_MATH, FG_INFO, "Seeding random number generater\n"); #ifdef USE_RAND srand(time(NULL)); @@ -62,9 +63,13 @@ double fg_random(void) { /* $Log$ -/* Revision 1.2 1997/12/30 20:47:48 curt -/* Integrated new event manager with subsystem initializations. +/* Revision 1.3 1998/01/27 00:47:59 curt +/* Incorporated Paul Bleisch's new debug message +/* system and commandline/config file processing code. /* + * Revision 1.2 1997/12/30 20:47:48 curt + * Integrated new event manager with subsystem initializations. + * * Revision 1.1 1997/07/30 16:04:09 curt * Moved random routines from Utils/ to Math/ * diff --git a/Math/polar.c b/Math/polar.c index 3d8d7ba2..1bd1283b 100644 --- a/Math/polar.c +++ b/Math/polar.c @@ -28,7 +28,7 @@ #include #include -#include +#include /* we can save these values between calls for efficiency */ @@ -101,10 +101,14 @@ struct fgCartesianPoint fgRotateCartesianPoint(struct fgCartesianPoint p) { /* $Log$ -/* Revision 1.4 1998/01/19 19:27:12 curt -/* Merged in make system changes from Bob Kuehne -/* This should simplify things tremendously. +/* Revision 1.5 1998/01/27 00:48:00 curt +/* Incorporated Paul Bleisch's new debug message +/* system and commandline/config file processing code. /* + * Revision 1.4 1998/01/19 19:27:12 curt + * Merged in make system changes from Bob Kuehne + * This should simplify things tremendously. + * * Revision 1.3 1997/12/15 23:54:54 curt * Add xgl wrappers for debugging. * Generate terrain normals on the fly. diff --git a/Math/polar.h b/Math/polar.h index 3fdc7846..cc7ff3cd 100644 --- a/Math/polar.h +++ b/Math/polar.h @@ -28,7 +28,7 @@ #define _POLAR_H -#include +#include /* Convert a polar coordinate to a cartesian coordinate. Lon and Lat @@ -63,9 +63,13 @@ struct fgCartesianPoint fgRotateCartesianPoint(struct fgCartesianPoint p); /* $Log$ -/* Revision 1.6 1998/01/22 02:59:39 curt -/* Changed #ifdef FILE_H to #ifdef _FILE_H +/* Revision 1.7 1998/01/27 00:48:00 curt +/* Incorporated Paul Bleisch's new debug message +/* system and commandline/config file processing code. /* + * Revision 1.6 1998/01/22 02:59:39 curt + * Changed #ifdef FILE_H to #ifdef _FILE_H + * * Revision 1.5 1998/01/19 19:27:13 curt * Merged in make system changes from Bob Kuehne * This should simplify things tremendously.