comparison Player.cpp @ 916:897b10712a1a

UIShop_Buy_Identify_Repair little clean and rename
author Ritor1
date Thu, 25 Apr 2013 17:37:00 +0600
parents 4dc2252e0b03
children ae9e2a339b09
comparison
equal deleted inserted replaced
915:9efbe4bff7ac 916:897b10712a1a
364 price = uRealValue; 364 price = uRealValue;
365 return price; 365 return price;
366 } 366 }
367 367
368 //----- (004B8179) -------------------------------------------------------- 368 //----- (004B8179) --------------------------------------------------------
369 int Player::_4B8179(float a2) 369 int Player::GetPriceIdentification(float a2)
370 { 370 {
371 signed int v2; // esi@1 371 signed int v2; // esi@1
372 int v3; // ecx@1 372 int v3; // ecx@1
373 signed int result; // eax@3 373 signed int result; // eax@3
374 374
381 result = v3; 381 result = v3;
382 return result; 382 return result;
383 } 383 }
384 384
385 //----- (004B81C3) -------------------------------------------------------- 385 //----- (004B81C3) --------------------------------------------------------
386 int Player::_4B81C3(int a2, float a3) 386 int Player::GetPriceRepair(int a2, float a3)
387 { 387 {
388 signed int v3; // esi@1 388 signed int v3; // esi@1
389 int v4; // ecx@1 389 int v4; // ecx@1
390 signed int result; // eax@3 390 signed int result; // eax@3
391 391
1884 goto LABEL_39; 1884 goto LABEL_39;
1885 goto LABEL_38; 1885 goto LABEL_38;
1886 } 1886 }
1887 if ( a5 == 4 ) 1887 if ( a5 == 4 )
1888 { 1888 {
1889 v22 = v27->_4B8179(*v14); 1889 v22 = v27->GetPriceIdentification(*v14);
1890 goto LABEL_35; 1890 goto LABEL_35;
1891 } 1891 }
1892 if ( a5 == 5 ) 1892 if ( a5 == 5 )
1893 { 1893 {
1894 v20 = *v14; 1894 v20 = *v14;
1895 v21 = pItem->GetValue(); 1895 v21 = pItem->GetValue();
1896 v22 = v27->_4B81C3(v21, v20); 1896 v22 = v27->GetPriceRepair(v21, v20);
1897 LABEL_35: 1897 LABEL_35:
1898 v17 = v22; 1898 v17 = v22;
1899 goto LABEL_39; 1899 goto LABEL_39;
1900 } 1900 }
1901 if ( a5 != 6 ) 1901 if ( a5 != 6 )