Mercurial > mm7
comparison UIHouses.cpp @ 791:346f7069676a
Indoor::GetSector and various stuff
author | Nomad |
---|---|
date | Mon, 25 Mar 2013 05:27:18 +0200 |
parents | f004c7ceb7bd |
children | 9359c114f98c |
comparison
equal
deleted
inserted
replaced
790:1e2be0f5eb30 | 791:346f7069676a |
---|---|
1482 //v36 = (signed __int64)(*(float *)&p2DEvents_minus1__24[13 * (unsigned int)v8->ptr_1C] * 500.0); | 1482 //v36 = (signed __int64)(*(float *)&p2DEvents_minus1__24[13 * (unsigned int)v8->ptr_1C] * 500.0); |
1483 v36 = (signed __int64)(p2DEvents[(unsigned int)v8->ptr_1C - 1].flt_24 * 500.0); | 1483 v36 = (signed __int64)(p2DEvents[(unsigned int)v8->ptr_1C - 1].flt_24 * 500.0); |
1484 v37 = v36 * (100 - pPlayers[uActiveCharacter]->GetMerchant()) / 100; | 1484 v37 = v36 * (100 - pPlayers[uActiveCharacter]->GetMerchant()) / 100; |
1485 if ( v37 < v36 / 3 ) | 1485 if ( v37 < v36 / 3 ) |
1486 v37 = v36 / 3; | 1486 v37 = v36 / 3; |
1487 | |
1488 __debugbreak(); | |
1489 //pSkillAvailabilityPerClass[8 + v58->uClass][4 + v23] | |
1490 // or | |
1491 //byte_4ED970_skill_learn_ability_by_class_table[v58->uClass][v23 - 36] | |
1492 // or | |
1493 //byte_4ED970_skill_learn_ability_by_class_table[v58->uClass - 1][v23 + 1] | |
1494 | 1487 |
1495 //if (false) | 1488 //if (false) |
1496 if(byte_4ED970_skill_learn_ability_by_class_table[v35->classType][uMessageParam-36]) | 1489 if(byte_4ED970_skill_learn_ability_by_class_table[v35->classType][uMessageParam-36]) |
1497 //if ( *(&byte_4ED94C[37 * v35->uClass] + v55) ) | 1490 //if ( *(&byte_4ED94C[37 * v35->uClass] + v55) ) |
1498 { | 1491 { |