예제 #1
0
        public GuiResourceLoading(GameWindow window)
        {
            CommonResources.Load();
            PluginManager.AddPlugin(new FileSystemRaw(new DirectoryInfo("Plugins\\System")));
            ResourceReader.ClearCache();
            ClientResources.Load(window);
            BoundingBoxRenderer.Load();

            _background      = ResourceReader.ReadTexture("System/Textures/Gui/ResourceLoadingBackground.png");
            _progressBar     = ResourceReader.ReadTexture("System/Textures/Gui/Progressbar.png");
            _progressBarFull = ResourceReader.ReadTexture("System/Textures/Gui/ProgressbarFull.png");

            Start(false);
        }