Renamed <Table>.table to be <Table> so we can add a .gz under DOS.
This commit is contained in:
parent
d6f20aa8be
commit
437c0b6f29
1 changed files with 6 additions and 3 deletions
|
@ -71,7 +71,7 @@ void fgLIGHT::Init( void ) {
|
||||||
path[0] = '\0';
|
path[0] = '\0';
|
||||||
strcat(path, o->fg_root);
|
strcat(path, o->fg_root);
|
||||||
strcat(path, "/Scenery/");
|
strcat(path, "/Scenery/");
|
||||||
strcat(path, "Ambient.table");
|
strcat(path, "Ambient");
|
||||||
// initialize ambient table
|
// initialize ambient table
|
||||||
ambient_tbl = new fgINTERPTABLE(path);
|
ambient_tbl = new fgINTERPTABLE(path);
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ void fgLIGHT::Init( void ) {
|
||||||
path[0] = '\0';
|
path[0] = '\0';
|
||||||
strcat(path, o->fg_root);
|
strcat(path, o->fg_root);
|
||||||
strcat(path, "/Scenery/");
|
strcat(path, "/Scenery/");
|
||||||
strcat(path, "Diffuse.table");
|
strcat(path, "Diffuse");
|
||||||
// initialize diffuse table
|
// initialize diffuse table
|
||||||
diffuse_tbl = new fgINTERPTABLE(path);
|
diffuse_tbl = new fgINTERPTABLE(path);
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ void fgLIGHT::Init( void ) {
|
||||||
path[0] = '\0';
|
path[0] = '\0';
|
||||||
strcat(path, o->fg_root);
|
strcat(path, o->fg_root);
|
||||||
strcat(path, "/Scenery/");
|
strcat(path, "/Scenery/");
|
||||||
strcat(path, "Sky.table");
|
strcat(path, "Sky");
|
||||||
// initialize sky table
|
// initialize sky table
|
||||||
sky_tbl = new fgINTERPTABLE(path);
|
sky_tbl = new fgINTERPTABLE(path);
|
||||||
}
|
}
|
||||||
|
@ -167,6 +167,9 @@ void fgLightUpdate ( void ) {
|
||||||
|
|
||||||
|
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.9 1998/05/29 20:37:51 curt
|
||||||
|
// Renamed <Table>.table to be <Table> so we can add a .gz under DOS.
|
||||||
|
//
|
||||||
// Revision 1.8 1998/05/20 20:54:16 curt
|
// Revision 1.8 1998/05/20 20:54:16 curt
|
||||||
// Converted fgLIGHT to a C++ class.
|
// Converted fgLIGHT to a C++ class.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue