bool viewSurfaceLightmap(string[] args, Gk3Main.Console console) { if (args.Length != 2) { return(false); } int surface; if (int.TryParse(args[1], out surface) == false) { return(false); } TextureViewer viewer = new TextureViewer(); viewer.DisplaySurfaceLightmap(Gk3Main.SceneManager.CurrentRoom, Gk3Main.SceneManager.CurrentLightmaps, surface); viewer.Show(); return(true); }