diff mm7_6.cpp @ 781:d170f23f70d1

tidy, code moving
author zipi
date Sun, 24 Mar 2013 01:27:34 +0000
parents 6daaa2f18d0d
children b3e08a496778
line wrap: on
line diff
--- a/mm7_6.cpp	Sun Mar 24 00:42:55 2013 +0000
+++ b/mm7_6.cpp	Sun Mar 24 01:27:34 2013 +0000
@@ -452,94 +452,6 @@
   return result;
 }
 
-
-
-//----- (004361EF) --------------------------------------------------------
-IndoorCameraD3D::IndoorCameraD3D()
-{
-  IndoorCameraD3D *v1; // esi@1
-  //double v2; // st7@1
-  //double v3; // st6@1
-  //double v4; // st5@1
-  //double v5; // st7@1
-  //double v6; // st6@1
-  //double v7; // st5@1
-
-  v1 = this;
-  //IndoorCameraD3D_Vec3::IndoorCameraD3D_Vec3(&this->field_4);
-  //IndoorCameraD3D_Vec3::IndoorCameraD3D_Vec3(&v1->field_14);
-  //IndoorCameraD3D_Vec3::IndoorCameraD3D_Vec3(&v1->field_24);
-  /*_eh_vector_constructor_iterator_(v1->std__vector_000034_prolly_frustrum,
-    24,
-    6,
-    (void (__thiscall *)(void *))IndoorCameraD3D_Vec4::IndoorCameraD3D_Vec4,
-    (void (__thiscall *)(void *))IndoorCameraD3D_Vec4::dtor);*/
-  //v2 = 0;//(double)pBLVRenderParams->vPartyPos.z;
-  //v3 = 0;//(double)pBLVRenderParams->vPartyPos.y;
-  //v4 = 0;//(double)pBLVRenderParams->vPartyPos.x;
-  v1->field_108 = 0.0;
-  v1->blv_party_x = 0;
-  v1->blv_party_y = 0;
-  v1->blv_party_z = 0;
-  //v5 = 0;//(double)pBLVRenderParams->vPartyPos.z;
-  //v6 = 0;//(double)pBLVRenderParams->vPartyPos.y;
-  //v7 = 300;//(double)(pBLVRenderParams->vPartyPos.x + 300);
-  v1->field_138 = 0.0;
-  v1->blv_party_x_2 = 300;
-  v1->blv_party_y_2 = 0;
-  v1->blv_party_z_2 = 0;
-  v1->field_168 = 0.0;
-  v1->field_198 = 0.0;
-  v1->field_1C8 = 0.0;
-  v1->field_1F8 = 0.0;
-  v1->field_228 = 0.0;
-  v1->field_258 = 0.0;
-  v1->field_288 = 0.0;
-  v1->field_2B8 = 0.0;
-  v1->field_2E8 = 0.0;
-  v1->field_2BC = 0.0;
-  v1->field_2C0 = 0.0;
-  v1->field_2C4 = 0.0;
-  v1->field_318 = 0.0;
-  v1->field_2EC = 0.0;
-  v1->field_2F0 = 0.0;
-  v1->field_2F4 = 0.0;
-  v1->field_348 = 0.0;
-  v1->field_31C = 0.0;
-  v1->field_320 = 0.0;
-  v1->field_324 = 0.0;
-  v1->field_378 = 0.0;
-  v1->field_34C = 0.0;
-  v1->field_350 = 0.0;
-  v1->field_354 = 0.0;
-  for (uint i = 0; i < 16384; ++i)
-  {
-    list_0037C[i].field_0 = 0;
-    list_0037C[i].flt_30 = 0.0f;
-  }
-
-  list_0037C_size = 0;
-  for (uint i = 0; i < 256; ++i)
-    list_E0380[i].mm7__vector_000004_size = 0;
-  /*v10 = v1->list_E0380;
-  v12 = 256;
-  do
-  {
-    v10->mm7__vector_000004_size = 0;
-    //mm7__vector_constructor(
-    //  v10->mm7__vector_000004,
-    //  48,
-    //  64,
-    //  (int (__thiscall *)(int))IndoorCameraD3D_stru1::IndoorCameraD3D_stru1);
-    //++v10;
-    --v12;
-  }
-  while ( v12 );*/
-  list_E0380_size = 0;
-  //v1->vdestructor_ptr = &stru8_pvdtor;
-}
-
-
 //----- (004254D2) --------------------------------------------------------
 int __fastcall sr_4254D2(signed int a1)
 {
@@ -1243,9 +1155,6 @@
   return result;
 }
 
-
-
-
 //----- (004268E3) --------------------------------------------------------
 int __fastcall _4268E3_smthn_to_a1r5g5b5(unsigned int uColor)
 {
@@ -1290,8 +1199,6 @@
 // 50C994: using guessed type int dword_50C994;
 // 50C998: using guessed type int dword_50C998_turnbased_icon_1A;
 
-
-
 //----- (004269A2) --------------------------------------------------------
 int __fastcall sub_4269A2_GivePartyExp(unsigned int a1)
 {
@@ -1703,7 +1610,6 @@
   return result;
 }
 
-
 //----- (0042704B) --------------------------------------------------------
 bool stru319::special_ability_use_check(Actor *pActor, int a2)
 {
@@ -2160,7 +2066,6 @@
   return result;
 }
 
-
 //----- (00427769) --------------------------------------------------------
 bool __fastcall sub_427769_spell(unsigned int uSpellID)
 {
@@ -2486,8 +2391,6 @@
     }
 }
 
-
-
 //----- (00427D48) --------------------------------------------------------
 void stru277::_427D48(unsigned int uPlayerID)
 {
@@ -7604,15 +7507,12 @@
   return v3;
 }
 
-
-
 //----- (0042EB78) --------------------------------------------------------
 int IconFrameTable::GetIconAnimLength(unsigned int uIconID)
 {
   return 8 * this->pIcons[uIconID].uAnimLength;
 }
 
-
 const wchar_t *UIMessage2String(UIMessageType msg)
 {
   #define CASE(xxx) case xxx: _swprintf(b, L"%03X/%s", msg, L#xxx); return b;
@@ -7711,7 +7611,6 @@
   #undef CASE
 }
 
-
 //----- (0042EB8D) --------------------------------------------------------
 void GUIMessageQueue::AddMessageImpl(UIMessageType msg, int param, unsigned int a4, const char *file, int line)
 {
@@ -8106,7 +8005,6 @@
   return 0;
 }
 
-
 //----- (0042F3D6) --------------------------------------------------------
 void InitializeTurnBasedAnimations(void *_this)
 {
@@ -8505,8 +8403,6 @@
   return result;
 }
 
-
-
 //----- (0042FB5C) --------------------------------------------------------
 bool __fastcall sub_42FB5C(signed int a1)
 {
@@ -9133,4 +9029,3 @@
     AsyncKeyboard::LeaveCriticalSection();
   }
 }
-