Shuffled $FG_ROOT file layout.
This commit is contained in:
parent
26a6fa864d
commit
424ef2f6e9
@ -121,8 +121,8 @@ int fgSolarSystemInit(fgTIME t)
|
|||||||
|
|
||||||
/* build the full path name to the orbital elements database file */
|
/* build the full path name to the orbital elements database file */
|
||||||
current_options.get_fg_root(path);
|
current_options.get_fg_root(path);
|
||||||
strcat(path, "/Scenery/");
|
strcat(path, "/Astro/");
|
||||||
strcat(path, "Planets");
|
strcat(path, "planets");
|
||||||
|
|
||||||
if ( (data = fgopen(path, "rb")) == NULL ) {
|
if ( (data = fgopen(path, "rb")) == NULL ) {
|
||||||
strcpy(gzpath, path);
|
strcpy(gzpath, path);
|
||||||
@ -170,9 +170,12 @@ void fgSolarSystemUpdate(struct OrbElements *planet, fgTIME t)
|
|||||||
|
|
||||||
|
|
||||||
/* $Log$
|
/* $Log$
|
||||||
/* Revision 1.8 1998/08/22 01:18:59 curt
|
/* Revision 1.9 1998/08/25 20:53:28 curt
|
||||||
/* Minor tweaks to avoid using unitialized memory.
|
/* Shuffled $FG_ROOT file layout.
|
||||||
/*
|
/*
|
||||||
|
* Revision 1.8 1998/08/22 01:18:59 curt
|
||||||
|
* Minor tweaks to avoid using unitialized memory.
|
||||||
|
*
|
||||||
* Revision 1.7 1998/07/13 21:00:09 curt
|
* Revision 1.7 1998/07/13 21:00:09 curt
|
||||||
* Wrote access functions for current fgOPTIONS.
|
* Wrote access functions for current fgOPTIONS.
|
||||||
*
|
*
|
||||||
|
@ -80,8 +80,8 @@ int fgStarsInit( void ) {
|
|||||||
|
|
||||||
/* build the full path name to the stars data base file */
|
/* build the full path name to the stars data base file */
|
||||||
current_options.get_fg_root(path);
|
current_options.get_fg_root(path);
|
||||||
strcat(path, "/Scenery/");
|
strcat(path, "/Astro/");
|
||||||
strcat(path, "Stars");
|
strcat(path, "stars");
|
||||||
|
|
||||||
if ( FG_STAR_LEVELS < 4 ) {
|
if ( FG_STAR_LEVELS < 4 ) {
|
||||||
fgPrintf( FG_ASTRO, FG_EXIT, "Big whups in stars.cxx\n");
|
fgPrintf( FG_ASTRO, FG_EXIT, "Big whups in stars.cxx\n");
|
||||||
@ -288,11 +288,14 @@ void fgStarsRender( void ) {
|
|||||||
|
|
||||||
|
|
||||||
/* $Log$
|
/* $Log$
|
||||||
/* Revision 1.10 1998/08/10 20:33:09 curt
|
/* Revision 1.11 1998/08/25 20:53:29 curt
|
||||||
/* Rewrote star loading and rendering to:
|
/* Shuffled $FG_ROOT file layout.
|
||||||
/* 1. significantly improve load speed
|
|
||||||
/* 2. transition from no stars to stars through eight stages.
|
|
||||||
/*
|
/*
|
||||||
|
* Revision 1.10 1998/08/10 20:33:09 curt
|
||||||
|
* Rewrote star loading and rendering to:
|
||||||
|
* 1. significantly improve load speed
|
||||||
|
* 2. transition from no stars to stars through eight stages.
|
||||||
|
*
|
||||||
* Revision 1.9 1998/08/06 12:45:20 curt
|
* Revision 1.9 1998/08/06 12:45:20 curt
|
||||||
* Modified to bring in stars in 8 increments based on magnitude, not number
|
* Modified to bring in stars in 8 increments based on magnitude, not number
|
||||||
* of stars.
|
* of stars.
|
||||||
|
Loading…
Reference in New Issue
Block a user