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."); }
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."); }