Mercurial > mm7
comparison mm7_4.cpp @ 1275:7569c88d9cb0
renamed a few unnamed functions
author | Grumpy7 |
---|---|
date | Sat, 15 Jun 2013 06:51:04 +0200 |
parents | 33e360a9b4bf |
children | 1803172dffd9 |
comparison
equal
deleted
inserted
replaced
1274:351bc06722f2 | 1275:7569c88d9cb0 |
---|---|
3592 case 25: | 3592 case 25: |
3593 { | 3593 { |
3594 v37 = &p2DEvents[(signed int)a4 - 1].fPriceMultiplier; | 3594 v37 = &p2DEvents[(signed int)a4 - 1].fPriceMultiplier; |
3595 v38 = *v37; | 3595 v38 = *v37; |
3596 v39 = a3->GetValue(); | 3596 v39 = a3->GetValue(); |
3597 v29 = pPlayer->_4B8233(v39, v38); | 3597 v29 = pPlayer->GetBaseBuyingPrice(v39, v38); |
3598 switch ( a5 ) | 3598 switch ( a5 ) |
3599 { | 3599 { |
3600 case 3: | 3600 case 3: |
3601 v44 = *v37; | 3601 v44 = *v37; |
3602 v45 = a3->GetValue(); | 3602 v45 = a3->GetValue(); |
3603 v29 = pPlayer->_4B8213(v45, v44); | 3603 v29 = pPlayer->GetBaseSellingPrice(v45, v44); |
3604 break; | 3604 break; |
3605 case 4: | 3605 case 4: |
3606 v29 = pPlayer->_4B824B(*v37); | 3606 v29 = pPlayer->GetBaseIdentifyPrice(*v37); |
3607 break; | 3607 break; |
3608 case 5: | 3608 case 5: |
3609 v42 = *v37; | 3609 v42 = *v37; |
3610 v43 = a3->GetValue(); | 3610 v43 = a3->GetValue(); |
3611 v29 = pPlayer->_4B8265(v43, v42); | 3611 v29 = pPlayer->GetBaseRepairPrice(v43, v42); |
3612 break; | 3612 break; |
3613 case 6: | 3613 case 6: |
3614 v40 = *v37; | 3614 v40 = *v37; |
3615 v41 = a3->GetValue(); | 3615 v41 = a3->GetValue(); |
3616 v29 = pPlayer->_4B8213(v41, v40) / 2; | 3616 v29 = pPlayer->GetBaseSellingPrice(v41, v40) / 2; |
3617 break; | 3617 break; |
3618 } | 3618 } |
3619 goto _continue_sprintf; | 3619 goto _continue_sprintf; |
3620 } | 3620 } |
3621 | 3621 |