/[gr2lib]/trunk/gr2lib_UnitTest/Program.cs
ViewVC logotype

Diff of /trunk/gr2lib_UnitTest/Program.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/gr2lib_UnitTest/Program.cs	2010/07/24 05:43:04	190
+++ trunk/gr2lib_UnitTest/Program.cs	2010/07/24 06:31:50	191
@@ -202,94 +202,6 @@
                     editor.ShowDialog();
 
                     #region Granny2Data Update Testing Code (Code used to check if values were changed/updated)
-                    //Console.WriteLine();
-                    //if (grn_file.GrannyFileInfo.HaveArtToolInfo)
-                    //{
-                    //    Console.WriteLine("Art Tool Info:");
-                    //    Console.WriteLine("\tTool Name: " + editor.GrannyFile.GrannyFileInfo.ArtToolInfo.FromArtToolName);
-                    //    Console.WriteLine("\tTool Units Per Meter: " + editor.GrannyFile.GrannyFileInfo.ArtToolInfo.UnitsPerMeter);
-                    //}
-                    //if (grn_file.GrannyFileInfo.HaveExporterInfo)
-                    //{
-                    //    Console.WriteLine("Exporter Info:");
-                    //    Console.WriteLine("\tExporter Name: " + editor.GrannyFile.GrannyFileInfo.ExporterInfo.ExporterName);
-                    //    Console.WriteLine("\tExporter Version: " + editor.GrannyFile.GrannyFileInfo.ExporterInfo.Version);
-                    //    Console.WriteLine("\tExporter ExtendedData: " + editor.GrannyFile.GrannyFileInfo.ExporterInfo.ExtendedData);
-                    //}
-                    //else { Console.WriteLine("Exporter Info: " + "No Exporter Info Available"); }
-
-                    //if (grn_file.GrannyFileInfo.HaveTextures)
-                    //{
-                    //    Console.WriteLine("Texture List -> Texture[0]:");
-                    //    ReadTexture(new List<Texture>() { grn_file.GrannyFileInfo.Textures[0] });
-                    //}
-
-
-                    //// Get ShiftForComponent, BitsForComponent
-                    //Texture t = grn_file.GrannyFileInfo.Textures[0];
-
-                    //Console.WriteLine("\tTexture Type Name: " + t.TextureType.Name);
-                    //Console.WriteLine("\tTexture Type Value: " + (int)t.TextureType.Value);
-                    //Console.WriteLine("\tTexture Type (ToString): " + t.TextureType.ToString());
-
-                    //Console.WriteLine("\tBytes Per Pixel: " + t.Layout.BytesPerPixel);
-                    //Console.WriteLine("\tShiftForComponent: " + new arraytostring<int, int[]>(t.Layout.ShiftForComponent, false));
-                    //Console.WriteLine("\tBitsForComponent: " + new arraytostring<int, int[]>(t.Layout.BitsForComponent, false));
-
-                    //Console.WriteLine();
-
-                    //Console.WriteLine("granny_pixel_layouts.GrannyARGB8888PixelFormat");
-                    //Console.WriteLine("\tBytes Per Pixel: " + granny_pixel_layouts.GrannyARGB8888PixelFormat.BytesPerPixel);
-                    //Console.WriteLine("\tShiftForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyARGB8888PixelFormat.ShiftForComponent, false));
-                    //Console.WriteLine("\tBitsForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyARGB8888PixelFormat.BitsForComponent, false));
-                    //Console.WriteLine("granny_pixel_layouts.GrannyBGR555PixelFormat");
-                    //Console.WriteLine("\tBytes Per Pixel: " + granny_pixel_layouts.GrannyBGR555PixelFormat.BytesPerPixel);
-                    //Console.WriteLine("\tShiftForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyBGR555PixelFormat.ShiftForComponent, false));
-                    //Console.WriteLine("\tBitsForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyBGR555PixelFormat.BitsForComponent, false));
-                    //Console.WriteLine("granny_pixel_layouts.GrannyBGR565PixelFormat");
-                    //Console.WriteLine("\tBytes Per Pixel: " + granny_pixel_layouts.GrannyBGR565PixelFormat.BytesPerPixel);
-                    //Console.WriteLine("\tShiftForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyBGR565PixelFormat.ShiftForComponent, false));
-                    //Console.WriteLine("\tBitsForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyBGR565PixelFormat.BitsForComponent, false));                   
-                    //Console.WriteLine("granny_pixel_layouts.GrannyRGB565PixelFormat");
-                    //Console.WriteLine("\tBytes Per Pixel: " + granny_pixel_layouts.GrannyRGB565PixelFormat.BytesPerPixel);
-                    //Console.WriteLine("\tShiftForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyRGB565PixelFormat.ShiftForComponent, false));
-                    //Console.WriteLine("\tBitsForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyRGB565PixelFormat.BitsForComponent, false));
-                    //Console.WriteLine("granny_pixel_layouts.GrannyBGR888PixelFormat");
-                    //Console.WriteLine("\tBytes Per Pixel: " + granny_pixel_layouts.GrannyBGR888PixelFormat.BytesPerPixel);
-                    //Console.WriteLine("\tShiftForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyBGR888PixelFormat.ShiftForComponent, false));
-                    //Console.WriteLine("\tBitsForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyBGR888PixelFormat.BitsForComponent, false));
-                    //Console.WriteLine("granny_pixel_layouts.GrannyBGRA8888PixelFormat");
-                    //Console.WriteLine("\tBytes Per Pixel: " + granny_pixel_layouts.GrannyBGRA8888PixelFormat.BytesPerPixel);
-                    //Console.WriteLine("\tShiftForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyBGRA8888PixelFormat.ShiftForComponent, false));
-                    //Console.WriteLine("\tBitsForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyBGRA8888PixelFormat.BitsForComponent, false));
-                    //Console.WriteLine("granny_pixel_layouts.GrannyBGRA5551PixelFormat");
-                    //Console.WriteLine("\tBytes Per Pixel: " + granny_pixel_layouts.GrannyBGRA5551PixelFormat.BytesPerPixel);
-                    //Console.WriteLine("\tShiftForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyBGRA5551PixelFormat.ShiftForComponent, false));
-                    //Console.WriteLine("\tBitsForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyBGRA5551PixelFormat.BitsForComponent, false));
-                    //Console.WriteLine("granny_pixel_layouts.GrannyBGRA8888PixelFormat");
-                    //Console.WriteLine("\tBytes Per Pixel: " + granny_pixel_layouts.GrannyBGRA8888PixelFormat.BytesPerPixel);
-                    //Console.WriteLine("\tShiftForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyBGRA8888PixelFormat.ShiftForComponent, false));
-                    //Console.WriteLine("\tBitsForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyBGRA8888PixelFormat.BitsForComponent, false));
-                    //Console.WriteLine("granny_pixel_layouts.GrannyRGB555PixelFormat");
-                    //Console.WriteLine("\tBytes Per Pixel: " + granny_pixel_layouts.GrannyRGB555PixelFormat.BytesPerPixel);
-                    //Console.WriteLine("\tShiftForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyRGB555PixelFormat.ShiftForComponent, false));
-                    //Console.WriteLine("\tBitsForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyRGB555PixelFormat.BitsForComponent, false));
-                    //Console.WriteLine("granny_pixel_layouts.GrannyRGB888PixelFormat");
-                    //Console.WriteLine("\tBytes Per Pixel: " + granny_pixel_layouts.GrannyRGB888PixelFormat.BytesPerPixel);
-                    //Console.WriteLine("\tShiftForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyRGB888PixelFormat.ShiftForComponent, false));
-                    //Console.WriteLine("\tBitsForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyRGB888PixelFormat.BitsForComponent, false));
-                    //Console.WriteLine("granny_pixel_layouts.GrannyRGBA4444PixelFormat");
-                    //Console.WriteLine("\tBytes Per Pixel: " + granny_pixel_layouts.GrannyRGBA4444PixelFormat.BytesPerPixel);
-                    //Console.WriteLine("\tShiftForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyRGBA4444PixelFormat.ShiftForComponent, false));
-                    //Console.WriteLine("\tBitsForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyRGBA4444PixelFormat.BitsForComponent, false));
-                    //Console.WriteLine("granny_pixel_layouts.GrannyRGBA5551PixelFormat");
-                    //Console.WriteLine("\tBytes Per Pixel: " + granny_pixel_layouts.GrannyRGBA5551PixelFormat.BytesPerPixel);
-                    //Console.WriteLine("\tShiftForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyRGBA5551PixelFormat.ShiftForComponent, false));
-                    //Console.WriteLine("\tBitsForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyRGBA5551PixelFormat.BitsForComponent, false));
-                    //Console.WriteLine("granny_pixel_layouts.GrannyRGBA8888PixelFormat");
-                    //Console.WriteLine("\tBytes Per Pixel: " + granny_pixel_layouts.GrannyRGBA8888PixelFormat.BytesPerPixel);
-                    //Console.WriteLine("\tShiftForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyRGBA8888PixelFormat.ShiftForComponent, false));
-                    //Console.WriteLine("\tBitsForComponent: " + new arraytostring<int, int[]>(granny_pixel_layouts.GrannyRGBA8888PixelFormat.BitsForComponent, false));
                     #endregion
 
                     Console.WriteLine("Press {ENTER} to Continue."); Console.ReadLine();

 

  ViewVC Help
Powered by ViewVC 1.1.22