comparison Arcomage.cpp @ 463:f7b91ef98ab2

shopgenerators done, except config tables
author Gloval
date Mon, 25 Feb 2013 08:30:49 +0400
parents ea55d6414029
children 4bd56919f075
comparison
equal deleted inserted replaced
462:37090bd974f9 463:f7b91ef98ab2
5673 { 5673 {
5674 if ( !(unsigned __int16)_449B57_test_bit((unsigned __int8 *)v11, 1) ) 5674 if ( !(unsigned __int16)_449B57_test_bit((unsigned __int8 *)v11, 1) )
5675 _449B7E_toggle_bit((unsigned char *)v11, 103, 1u); 5675 _449B7E_toggle_bit((unsigned char *)v11, 103, 1u);
5676 v11 += 6972; 5676 v11 += 6972;
5677 } 5677 }
5678 while ( (signed int)v11 < (signed int)((char *)&pParty->field_777C[36] + 2) ); 5678 while ( (signed int)v11 < (signed int)((char *)&pParty->StandartItemsInShops[36] + 2) );
5679 ++pParty->field_874; 5679 ++pParty->field_874;
5680 if ( pParty->field_874 > 1000000 ) 5680 if ( pParty->field_874 > 1000000 )
5681 pParty->field_874 = 1000000; 5681 pParty->field_874 = 1000000;
5682 } 5682 }
5683 else 5683 else
5687 { 5687 {
5688 if ( !(unsigned __int16)_449B57_test_bit((unsigned __int8 *)v12, 1) ) 5688 if ( !(unsigned __int16)_449B57_test_bit((unsigned __int8 *)v12, 1) )
5689 _449B7E_toggle_bit((unsigned char *)v12, 104, 1u); 5689 _449B7E_toggle_bit((unsigned char *)v12, 104, 1u);
5690 v12 += 6972; 5690 v12 += 6972;
5691 } 5691 }
5692 while ( (signed int)v12 < (signed int)((char *)&pParty->field_777C[36] + 2) ); 5692 while ( (signed int)v12 < (signed int)((char *)&pParty->StandartItemsInShops[36] + 2) );
5693 ++pParty->field_878; 5693 ++pParty->field_878;
5694 if ( pParty->field_878 > 1000000 ) 5694 if ( pParty->field_878 > 1000000 )
5695 pParty->field_878 = 1000000; 5695 pParty->field_878 = 1000000;
5696 } 5696 }
5697 return 0; 5697 return 0;