Minor changes.
This commit is contained in:
parent
ef8ad41461
commit
d0694b34cd
6 changed files with 35 additions and 18 deletions
|
@ -490,14 +490,17 @@ static void fgMainLoop( void ) {
|
||||||
|
|
||||||
/* Calculate model iterations needed */
|
/* Calculate model iterations needed */
|
||||||
elapsed = fgGetTimeInterval();
|
elapsed = fgGetTimeInterval();
|
||||||
fgPrintf( FG_ALL, FG_BULK, "Time interval is = %d, previous remainder is = %d\n",
|
fgPrintf( FG_ALL, FG_BULK,
|
||||||
|
"Time interval is = %d, previous remainder is = %d\n",
|
||||||
elapsed, remainder);
|
elapsed, remainder);
|
||||||
fgPrintf( FG_ALL, FG_BULK, "--> Frame rate is = %.2f\n", 1000.0 / (float)elapsed);
|
fgPrintf( FG_ALL, FG_BULK,
|
||||||
|
"--> Frame rate is = %.2f\n", 1000.0 / (float)elapsed);
|
||||||
elapsed += remainder;
|
elapsed += remainder;
|
||||||
|
|
||||||
multi_loop = ((float)elapsed * 0.001) * DEFAULT_MODEL_HZ;
|
multi_loop = (int)(((float)elapsed * 0.001) * DEFAULT_MODEL_HZ);
|
||||||
remainder = elapsed - ((multi_loop*1000) / DEFAULT_MODEL_HZ);
|
remainder = elapsed - ((multi_loop*1000) / DEFAULT_MODEL_HZ);
|
||||||
fgPrintf( FG_ALL, FG_BULK, "Model iterations needed = %d, new remainder = %d\n",
|
fgPrintf( FG_ALL, FG_BULK,
|
||||||
|
"Model iterations needed = %d, new remainder = %d\n",
|
||||||
multi_loop, remainder);
|
multi_loop, remainder);
|
||||||
|
|
||||||
/* Run flight model */
|
/* Run flight model */
|
||||||
|
@ -647,9 +650,12 @@ int main( int argc, char *argv[] ) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* $Log$
|
/* $Log$
|
||||||
/* Revision 1.59 1998/02/09 22:56:54 curt
|
/* Revision 1.60 1998/02/11 02:50:40 curt
|
||||||
/* Removed "depend" files from cvs control. Other minor make tweaks.
|
/* Minor changes.
|
||||||
/*
|
/*
|
||||||
|
* Revision 1.59 1998/02/09 22:56:54 curt
|
||||||
|
* Removed "depend" files from cvs control. Other minor make tweaks.
|
||||||
|
*
|
||||||
* Revision 1.58 1998/02/09 15:07:49 curt
|
* Revision 1.58 1998/02/09 15:07:49 curt
|
||||||
* Minor tweaks.
|
* Minor tweaks.
|
||||||
*
|
*
|
||||||
|
|
|
@ -181,10 +181,10 @@ void fgInitSubsystems( void ) {
|
||||||
/* FG_Altitude = FG_Runway_altitude + 3.758099; */
|
/* FG_Altitude = FG_Runway_altitude + 3.758099; */
|
||||||
|
|
||||||
/* Initial Position: (GCN) Grand Canyon Airport, AZ */
|
/* Initial Position: (GCN) Grand Canyon Airport, AZ */
|
||||||
/* FG_Longitude = ( -112.1469647 ) * DEG_TO_RAD; */
|
FG_Longitude = ( -112.1469647 ) * DEG_TO_RAD;
|
||||||
/* FG_Latitude = ( 35.9523539 ) * DEG_TO_RAD; */
|
FG_Latitude = ( 35.9523539 ) * DEG_TO_RAD;
|
||||||
/* FG_Runway_altitude = 6606.0; */
|
FG_Runway_altitude = 6606.0;
|
||||||
/* FG_Altitude = FG_Runway_altitude + 3.758099; */
|
FG_Altitude = FG_Runway_altitude + 3.758099;
|
||||||
|
|
||||||
/* A random test position */
|
/* A random test position */
|
||||||
/* FG_Longitude = ( 88128.00 / 3600.0 ) * DEG_TO_RAD; */
|
/* FG_Longitude = ( 88128.00 / 3600.0 ) * DEG_TO_RAD; */
|
||||||
|
@ -334,9 +334,12 @@ void fgInitSubsystems( void ) {
|
||||||
|
|
||||||
|
|
||||||
/* $Log$
|
/* $Log$
|
||||||
/* Revision 1.42 1998/02/09 22:56:58 curt
|
/* Revision 1.43 1998/02/11 02:50:40 curt
|
||||||
/* Removed "depend" files from cvs control. Other minor make tweaks.
|
/* Minor changes.
|
||||||
/*
|
/*
|
||||||
|
* Revision 1.42 1998/02/09 22:56:58 curt
|
||||||
|
* Removed "depend" files from cvs control. Other minor make tweaks.
|
||||||
|
*
|
||||||
* Revision 1.41 1998/02/09 15:07:50 curt
|
* Revision 1.41 1998/02/09 15:07:50 curt
|
||||||
* Minor tweaks.
|
* Minor tweaks.
|
||||||
*
|
*
|
||||||
|
|
|
@ -202,6 +202,8 @@ void fgTileMgrRender( void ) {
|
||||||
index = fgTileCacheExists(&p);
|
index = fgTileCacheExists(&p);
|
||||||
fgTileCacheEntryInfo(index, &display_list, &scenery.center );
|
fgTileCacheEntryInfo(index, &display_list, &scenery.center );
|
||||||
|
|
||||||
|
printf("Current bucket = %d %d %d %d\n", p.lon, p.lat, p.x, p.y );
|
||||||
|
|
||||||
for ( i = 0; i < FG_LOCAL_X_Y; i++ ) {
|
for ( i = 0; i < FG_LOCAL_X_Y; i++ ) {
|
||||||
index = tiles[i];
|
index = tiles[i];
|
||||||
/* fgPrintf( FG_TERRAIN, FG_DEBUG, "Index = %d\n", index); */
|
/* fgPrintf( FG_TERRAIN, FG_DEBUG, "Index = %d\n", index); */
|
||||||
|
@ -222,9 +224,12 @@ void fgTileMgrRender( void ) {
|
||||||
|
|
||||||
|
|
||||||
/* $Log$
|
/* $Log$
|
||||||
/* Revision 1.14 1998/02/09 21:30:19 curt
|
/* Revision 1.15 1998/02/11 02:50:44 curt
|
||||||
/* Fixed a nagging problem with terrain tiles not "quite" matching up perfectly.
|
/* Minor changes.
|
||||||
/*
|
/*
|
||||||
|
* Revision 1.14 1998/02/09 21:30:19 curt
|
||||||
|
* Fixed a nagging problem with terrain tiles not "quite" matching up perfectly.
|
||||||
|
*
|
||||||
* Revision 1.13 1998/02/07 15:29:46 curt
|
* Revision 1.13 1998/02/07 15:29:46 curt
|
||||||
* Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
|
* Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
|
||||||
* <chotchkiss@namg.us.anritsu.com>
|
* <chotchkiss@namg.us.anritsu.com>
|
||||||
|
|
|
@ -2,6 +2,12 @@
|
||||||
| Done
|
| Done
|
||||||
--------------------------------------------------------------------------
|
--------------------------------------------------------------------------
|
||||||
|
|
||||||
|
2/9/98 - Fixed a problem with terrain tiles not quite matching up perfectly.
|
||||||
|
|
||||||
|
2/2/98 - Fix warning when compiling with c++ ... also successfully built
|
||||||
|
with cygnus-g++. There should be nothing holding us back from
|
||||||
|
using C++.
|
||||||
|
|
||||||
1/30/98 - remove Scenery/geometry.c and Scenery/mesh.c
|
1/30/98 - remove Scenery/geometry.c and Scenery/mesh.c
|
||||||
|
|
||||||
1/28/98 - Dynamic unloading of scenery.
|
1/28/98 - Dynamic unloading of scenery.
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
|
|
||||||
12/29/97 - View frustum culling
|
12/29/97 - View frustum culling
|
||||||
|
|
||||||
1/21/98 - Fix warning when compiling with c++ ... still can't build
|
|
||||||
with cygnus-g++
|
|
||||||
|
|
||||||
1/5/98 - Create a development "roadmap"
|
1/5/98 - Create a development "roadmap"
|
||||||
|
|
||||||
12/30/97 - fix winding problem with tri-strips in obj.c (invert normals)
|
12/30/97 - fix winding problem with tri-strips in obj.c (invert normals)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
FG_VERSION_MAJOR = 0
|
FG_VERSION_MAJOR = 0
|
||||||
FG_VERSION_MINOR = 32
|
FG_VERSION_MINOR = 33
|
||||||
FG_VERSION = $(FG_VERSION_MAJOR).$(FG_VERSION_MINOR)
|
FG_VERSION = $(FG_VERSION_MAJOR).$(FG_VERSION_MINOR)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue