diff Texture.cpp @ 2334:ddb803517a48

unused local variables I commented
author Ritor1
date Wed, 02 Apr 2014 21:05:19 +0600
parents a01d3cf9ff83
children 6e3ca612f132
line wrap: on
line diff
--- a/Texture.cpp	Wed Apr 02 20:53:47 2014 +0600
+++ b/Texture.cpp	Wed Apr 02 21:05:19 2014 +0600
@@ -606,7 +606,7 @@
 //----- (0040F037) --------------------------------------------------------
 signed int RGBTexture::DecodePCX(char *pPcx, unsigned __int16 *pOutPixels, unsigned int uNumPixels)
 {
-  signed int result; // eax@2
+//  signed int result; // eax@2
   unsigned char test_byte; // edx@3
   unsigned int read_offset; // ebx@37
   unsigned int row_position; // edi@40
@@ -617,7 +617,7 @@
   unsigned short *temp_dec_position; 
   PCXHeader1 psx_head1;
   PCXHeader2 psx_head2;
-	short int width, height;
+//	short int width, height;
 	BYTE  color_map[48];	// Colormap for 16-color images
 
  
@@ -1111,18 +1111,18 @@
 //----- (0040EAD8) --------------------------------------------------------
 unsigned int RGBTexture::LoadFromFILE(FILE *pFile, unsigned int mode, unsigned int bCloseFile)
 {
-  signed int result; // eax@2
-  unsigned char test_byte; // edx@3
+//  signed int result; // eax@2
+//  unsigned char test_byte; // edx@3
   //unsigned int read_offset; // ebx@37
-  unsigned int row_position; // edi@40
-  unsigned char value; // cl@63
-  char count; // [sp+50h] [bp-Ch]@43
-  unsigned short current_line; // [sp+54h] [bp-8h]@38
-  unsigned short *dec_position; 
-  unsigned short *temp_dec_position; 
+//  unsigned int row_position; // edi@40
+//  unsigned char value; // cl@63
+//  char count; // [sp+50h] [bp-Ch]@43
+//  unsigned short current_line; // [sp+54h] [bp-8h]@38
+//  unsigned short *dec_position; 
+//  unsigned short *temp_dec_position; 
   PCXHeader1 psx_head1;
   PCXHeader2 psx_head2;
-	short int width, height;
+//	short int width, height;
 	BYTE  color_map[48];	// Colormap for 16-color images
 
   unsigned int num_r_bits = 5;
@@ -1314,15 +1314,15 @@
   char v8; // cl@4
   signed int v14; // ecx@19
   signed int v15; // ecx@24
-  int v16; // eax@57
-  unsigned __int16 *v17; // ecx@57
-  unsigned __int16 *v18; // edi@57
-  signed int x; // eax@59
-  unsigned __int16 *v20; // edi@64
-  signed int v21; // eax@66
-  unsigned __int16 *v22; // edi@71
-  signed int v23; // eax@73
-  int v24; // eax@78
+//  int v16; // eax@57
+//  unsigned __int16 *v17; // ecx@57
+//  unsigned __int16 *v18; // edi@57
+//  signed int x; // eax@59
+//  unsigned __int16 *v20; // edi@64
+//  signed int v21; // eax@66
+//  unsigned __int16 *v22; // edi@71
+//  signed int v23; // eax@73
+//  int v24; // eax@78
   char v25[48]; // [sp+Ch] [bp-54h]@3
   PCXHeader1 pcx_header1;
   PCXHeader2 pcx_header2;