diff DecorationList.cpp @ 2274:90f56da08d76

small cleaning
author Ritor1
date Fri, 14 Mar 2014 09:32:25 +0600
parents aff7a7b072b7
children 8193a64c7461
line wrap: on
line diff
--- a/DecorationList.cpp	Thu Feb 27 00:36:31 2014 +0100
+++ b/DecorationList.cpp	Fri Mar 14 09:32:25 2014 +0600
@@ -47,13 +47,13 @@
   FILE *v6; // ST18_4@12
   char *i; // eax@12
   unsigned __int16 v8; // ax@16
-  const char *v9; // ST20_4@16
-  const char *v10; // ST18_4@16
-  __int16 v11; // ax@16
-  const char *v12; // ST14_4@16
-  unsigned __int16 v13; // ax@16
+  //const char *v9; // ST20_4@16
+  //const char *v10; // ST18_4@16
+  //__int16 v11; // ax@16
+  //const char *v12; // ST14_4@16
+  //unsigned __int16 v13; // ax@16
   const char *v14; // ST10_4@16
-  __int16 v15; // ax@16
+  //__int16 v15; // ax@16
   const char *v16; // ST0C_4@16
   unsigned __int8 v17; // al@16
   const char *v18; // ST08_4@16
@@ -120,30 +120,30 @@
     {
       strcpy(v2->pDecorations[v2->uNumDecorations].pName, v42.pProperties[1]);
       v8 = pSpriteFrameTable->FastFindSprite(v2->pDecorations[v2->uNumDecorations].pName);
-      v9 = v42.pProperties[2];
+      //v9 = v42.pProperties[2];
       v2->pDecorations[v2->uNumDecorations].uSpriteID = v8;
-      strcpy(v2->pDecorations[v2->uNumDecorations].field_20, v9);
-      v10 = v42.pProperties[3];
+      strcpy(v2->pDecorations[v2->uNumDecorations].field_20, v42.pProperties[2]);
+      //v10 = v42.pProperties[3];
       v2->pDecorations[v2->uNumDecorations].uType = 0;
-      v11 = atoi(v10);
-      v12 = v42.pProperties[4];
-      v2->pDecorations[v2->uNumDecorations].uRadius = v11;
-      v13 = atoi(v12);
-      v14 = v42.pProperties[5];
-      v2->pDecorations[v2->uNumDecorations].uDecorationHeight = v13;
-      v15 = atoi(v14);
-      v16 = v42.pProperties[6];
-      v2->pDecorations[v2->uNumDecorations].uLightRadius = v15;
-      v17 = atoi(v16);
-      v18 = v42.pProperties[7];
-      v2->pDecorations[v2->uNumDecorations].uColoredLightRed = v17;
-      v19 = atoi(v18);
-      v20 = v42.pProperties[8];
-      v2->pDecorations[v2->uNumDecorations].uColoredLightGreen = v19;
-      v21 = atoi(v20);
-      v22 = v42.pProperties[9];
-      v2->pDecorations[v2->uNumDecorations].uColoredLightBlue = v21;
-      v2->pDecorations[v2->uNumDecorations].uSoundID = atoi(v22);
+      //v11 = atoi(v42.pProperties[3]);
+      //v12 = v42.pProperties[4];
+      v2->pDecorations[v2->uNumDecorations].uRadius = atoi(v42.pProperties[3]);
+      //v13 = atoi(v42.pProperties[4]);
+      //v14 = v42.pProperties[5];
+      v2->pDecorations[v2->uNumDecorations].uDecorationHeight = atoi(v42.pProperties[4]);
+      //v15 = atoi(v42.pProperties[5]);
+      //v16 = v42.pProperties[6];
+      v2->pDecorations[v2->uNumDecorations].uLightRadius = atoi(v42.pProperties[5]);
+      //v17 = atoi(v42.pProperties[6]);
+      //v18 = v42.pProperties[7];
+      v2->pDecorations[v2->uNumDecorations].uColoredLightRed = atoi(v42.pProperties[6]);
+      //v19 = atoi(v42.pProperties[7]);
+      //v20 = v42.pProperties[8];
+      v2->pDecorations[v2->uNumDecorations].uColoredLightGreen = atoi(v42.pProperties[7]);
+      //v21 = atoi(v42.pProperties[8]);
+      //v22 = v42.pProperties[9];
+      v2->pDecorations[v2->uNumDecorations].uColoredLightBlue = atoi(v42.pProperties[8]);
+      v2->pDecorations[v2->uNumDecorations].uSoundID = atoi(v42.pProperties[9]);
       v25 = __OFSUB__(v42.uPropCount, 10);
       v23 = v42.uPropCount == 10;
       v24 = v42.uPropCount - 10 < 0;