InitLoading() static private méthode

Initializes the textures used for the loading screen
static private InitLoading ( ) : void
Résultat void
Exemple #1
0
 // load
 internal static void Load(string RouteFile, Encoding RouteEncoding)
 {
     // members
     Renderer.InitLoading();
     RouteProgress              = 0.0;
     TrainProgress              = 0.0;
     TrainProgressCurrentSum    = 0.0;
     TrainProgressCurrentWeight = 1.0;
     Cancel               = false;
     Complete             = false;
     CurrentRouteFile     = RouteFile;
     CurrentRouteEncoding = RouteEncoding;
     // thread
     Loading.LoadAsynchronously(CurrentRouteFile, Encoding.UTF8);
     RouteViewer.LoadingScreenLoop();
 }