Mercurial > mm7
comparison mm7_1.cpp @ 81:377535d6e366
structure boundaries fixed in many places. fixed quests, notes, awards, calendar.
author | zipi |
---|---|
date | Sun, 03 Feb 2013 15:36:54 +0000 |
parents | 2b798f781d1d |
children | 1faa29fd4c2d |
comparison
equal
deleted
inserted
replaced
80:48f69ae3bc8d | 81:377535d6e366 |
---|---|
689 v21 = result; | 689 v21 = result; |
690 if ( (signed int)result < dword_506524 ) | 690 if ( (signed int)result < dword_506524 ) |
691 { | 691 { |
692 while ( 1 ) | 692 while ( 1 ) |
693 { | 693 { |
694 v5 = pStru179->field_0[v21]; | 694 v5 = pStru179.field_0[v21]; |
695 v20 = 8 * pStru179->field_0[v21]; | 695 v20 = 8 * pStru179.field_0[v21]; |
696 v6 = (char *)dword_723E80_award_related[v20 / 4]; | 696 v6 = (char *)pAwards[v20/8-1].pText;//(char *)dword_723E80_award_related[v20 / 4]; |
697 if ( v5 != 1 ) | 697 if ( v5 != 1 ) |
698 break; | 698 break; |
699 v17 = pParty->uFine; | 699 v17 = pParty->uFine; |
700 LABEL_42: | 700 LABEL_42: |
701 sprintf(pTmpBuf, v6, v17); | 701 sprintf(pTmpBuf, v6, v17); |
702 v6 = pTmpBuf; | 702 v6 = pTmpBuf; |
703 LABEL_43: | 703 LABEL_43: |
704 v14 = dword_723E84[v20 / 4]; | 704 v14 = pAwards[v20/8-1].uSort;//dword_723E84[v20 / 4]; |
705 ++dword_506520; | 705 ++dword_506520; |
706 v15 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat( | 706 v15 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat( |
707 pAwardsTextColors[3 * v14 % 6], | 707 pAwardsTextColors[3 * v14 % 6], |
708 pAwardsTextColors[3 * v14 % 6 + 1], | 708 pAwardsTextColors[3 * v14 % 6 + 1], |
709 pAwardsTextColors[3 * v14 % 6 + 2]); | 709 pAwardsTextColors[3 * v14 % 6 + 2]); |