mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 00:09:19 +02:00
environment-centric light level, groundwork for delayed texture upload, minor bug fixes
This commit is contained in:
@@ -2582,7 +2582,6 @@ bool TGround::Init(std::string File)
|
||||
// TFileStream *fs;
|
||||
// int size;
|
||||
std::string subpath = Global::asCurrentSceneryPath; // "scenery/";
|
||||
auto const tokencount = cParser::countTokens( File, subpath );
|
||||
cParser parser(File, cParser::buffer_FILE, subpath, Global::bLoadTraction);
|
||||
std::string token;
|
||||
|
||||
@@ -2623,7 +2622,7 @@ bool TGround::Init(std::string File)
|
||||
while (token != "") //(!Parser->EndOfFile)
|
||||
{
|
||||
++processed;
|
||||
if( processed % 25 == 0 )
|
||||
if( processed % 1000 == 0 )
|
||||
{
|
||||
UILayer.set_progress( parser.getProgress(), parser.getFullProgress() );
|
||||
GfxRenderer.Render();
|
||||
|
||||
Reference in New Issue
Block a user