Beispiel #1
0
        public void LoadPMD(string root, string dir, string name)
        {
            RenderSets.Add(new RenderSet("builtin:nomotion", "screen"));
            RenderSets.Add(new RenderSet("builtin:nomotion_alpha", "screen"));

            string path    = root + dir + name;
            var    surface = new PMD(path);

            surface.SetupShellSurface();
            Surface = surface;

            AddTextures(root, dir);

            // Load ends
            Surface.Animation = false;
            Surface.Loaded    = true;

            Log.Debug("Shell", "PMD load ends.");
        }
Beispiel #2
0
        public void LoadPMD(string root, string dir, string name)
        {
            RenderSets.Add(new RenderSet("builtin:nomotion", "screen"));
            RenderSets.Add(new RenderSet("builtin:nomotion_alpha", "screen"));

            string path = root + dir + name;
            var surface = new PMD (path);
            surface.SetupShellSurface ();
            Surface = surface;

            AddTextures (root, dir);

            // Load ends
            Surface.Animation = false;
            Surface.Loaded = true;

            Log.Debug ("Shell", "PMD load ends.");
        }