Mercurial > mm7
comparison mm7_5.cpp @ 690:26dfde53decd
ui fixing
author | Gloval |
---|---|
date | Sat, 16 Mar 2013 01:25:15 +0400 |
parents | c0bfb386b15f |
children | e0a1fccc89b1 277c05c3a89f |
comparison
equal
deleted
inserted
replaced
689:c89e0b2d8ea6 | 690:26dfde53decd |
---|---|
16603 Source[0] = 0; | 16603 Source[0] = 0; |
16604 if ( (v8 & 0x3F) == (v7 & 0x3F) ) | 16604 if ( (v8 & 0x3F) == (v7 & 0x3F) ) |
16605 { | 16605 { |
16606 strcpy(a2, "%s\n\n"); | 16606 strcpy(a2, "%s\n\n"); |
16607 v24 = GetSkillColor(pPlayer->classType, uPlayerSkillType, 1); | 16607 v24 = GetSkillColor(pPlayer->classType, uPlayerSkillType, 1); |
16608 sprintf(Source, "\xC" "%05d", v24); | 16608 sprintf(Source, "\f%05d", v24); |
16609 strcat(a2, Source); | 16609 strcat(a2, Source); |
16610 strcat(a2, "%s\t%03d:\t%03d%s\t000\n"); | 16610 strcat(a2, "%s\t%03d:\t%03d%s\t000\n"); |
16611 v25 = GetSkillColor(pPlayer->classType, uPlayerSkillType, 2); | 16611 v25 = GetSkillColor(pPlayer->classType, uPlayerSkillType, 2); |
16612 sprintf(Source, "\xC" "%05d", v25); | 16612 sprintf(Source, "\f%05d", v25); |
16613 strcat(a2, Source); | 16613 strcat(a2, Source); |
16614 strcat(a2, "%s\t%03d:\t%03d%s\t000\n"); | 16614 strcat(a2, "%s\t%03d:\t%03d%s\t000\n"); |
16615 v26 = GetSkillColor(pPlayer->classType, uPlayerSkillType, 3); | 16615 v26 = GetSkillColor(pPlayer->classType, uPlayerSkillType, 3); |
16616 sprintf(Source, "\xC" "%05d", v26); | 16616 sprintf(Source, "\f%05d", v26); |
16617 strcat(a2, Source); | 16617 strcat(a2, Source); |
16618 strcat(a2, "%s\t%03d:\t%03d%s\t000\n"); | 16618 strcat(a2, "%s\t%03d:\t%03d%s\t000\n"); |
16619 v27 = pPlayer->classType; | 16619 v27 = pPlayer->classType; |
16620 v28 = uPlayerSkillType; | 16620 v28 = uPlayerSkillType; |
16621 v29 = GetSkillColor(v27, uPlayerSkillType, 4); | 16621 v29 = GetSkillColor(v27, uPlayerSkillType, 4); |
16622 sprintf(Source, "\xC" "%05d", v29); | 16622 sprintf(Source, "\f%05d", v29); |
16623 strcat(a2, Source); | 16623 strcat(a2, Source); |
16624 strcat(a2, "%s\t%03d:\t%03d%s\t000\n"); | 16624 strcat(a2, "%s\t%03d:\t%03d%s\t000\n"); |
16625 | 16625 |
16626 v23 = static_sub_417BB5_out_string; | 16626 v23 = static_sub_417BB5_out_string; |
16627 sprintf(static_sub_417BB5_out_string, a2, pSkillDesc[v28], pGlobalTXT_LocalizationStrings[431], // Normal | 16627 sprintf(static_sub_417BB5_out_string, a2, pSkillDesc[v28], pGlobalTXT_LocalizationStrings[431], // Normal |
16632 } | 16632 } |
16633 else | 16633 else |
16634 { | 16634 { |
16635 strcpy(a2, "%s\n\n"); | 16635 strcpy(a2, "%s\n\n"); |
16636 v9 = GetSkillColor(pPlayer->classType, uPlayerSkillType, 1); | 16636 v9 = GetSkillColor(pPlayer->classType, uPlayerSkillType, 1); |
16637 sprintf(Source, "\xC" "%05d", v9); | 16637 sprintf(Source, "\f%05d", v9); |
16638 strcat(a2, Source); | 16638 strcat(a2, Source); |
16639 strcat(a2, "%s\t%03d:\t%03d%s\t000\n"); | 16639 strcat(a2, "%s\t%03d:\t%03d%s\t000\n"); |
16640 v10 = GetSkillColor(pPlayer->classType, uPlayerSkillType, 2); | 16640 v10 = GetSkillColor(pPlayer->classType, uPlayerSkillType, 2); |
16641 sprintf(Source, "\xC" "%05d", v10); | 16641 sprintf(Source, "\f%05d", v10); |
16642 strcat(a2, Source); | 16642 strcat(a2, Source); |
16643 strcat(a2, "%s\t%03d:\t%03d%s\t000\n"); | 16643 strcat(a2, "%s\t%03d:\t%03d%s\t000\n"); |
16644 v11 = GetSkillColor(pPlayer->classType, uPlayerSkillType, 3); | 16644 v11 = GetSkillColor(pPlayer->classType, uPlayerSkillType, 3); |
16645 sprintf(Source, "\xC" "%05d", v11); | 16645 sprintf(Source, "\f%05d", v11); |
16646 strcat(a2, Source); | 16646 strcat(a2, Source); |
16647 strcat(a2, "%s\t%03d:\t%03d%s\t000\n"); | 16647 strcat(a2, "%s\t%03d:\t%03d%s\t000\n"); |
16648 v12 = uPlayerSkillType; | 16648 v12 = uPlayerSkillType; |
16649 v13 = GetSkillColor(pPlayer->classType, uPlayerSkillType, 4); | 16649 v13 = GetSkillColor(pPlayer->classType, uPlayerSkillType, 4); |
16650 sprintf(Source, "\xC" "%05d", v13); | 16650 sprintf(Source, "\f%05d", v13); |
16651 strcat(a2, Source); | 16651 strcat(a2, Source); |
16652 strcat(a2, "%s\t%03d:\t%03d%s\t000\n\n"); | 16652 strcat(a2, "%s\t%03d:\t%03d%s\t000\n\n"); |
16653 v14 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0xFFu); | 16653 v14 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0xFFu); |
16654 sprintf(Source, "\xC" "%05d", v14); | 16654 sprintf(Source, "\f%05d", v14); |
16655 strcat(a2, Source); | 16655 strcat(a2, Source); |
16656 strcat(a2, "%s: +%d"); | 16656 strcat(a2, "%s: +%d"); |
16657 v15 = v12; | 16657 v15 = v12; |
16658 v16 = (int)(v35 + 5); | 16658 v16 = (int)(v35 + 5); |
16659 v15 = (PLAYER_SKILL_TYPE)((int)v15 * 4); | 16659 v15 = (PLAYER_SKILL_TYPE)((int)v15 * 4); |
17101 | 17101 |
17102 pPlayer = &pParty->pPlayers[uPlayerID-1]; | 17102 pPlayer = &pParty->pPlayers[uPlayerID-1]; |
17103 v2 = pIcons_LOD->LoadTexture("fr_stats", TEXTURE_16BIT_PALETTE); | 17103 v2 = pIcons_LOD->LoadTexture("fr_stats", TEXTURE_16BIT_PALETTE); |
17104 pRenderer->DrawTextureIndexed(8, 8, (Texture *)(v2 != -1 ? (int)&pIcons_LOD->pTextures[v2] : 0)); | 17104 pRenderer->DrawTextureIndexed(8, 8, (Texture *)(v2 != -1 ? (int)&pIcons_LOD->pTextures[v2] : 0)); |
17105 v3 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0x9Bu); | 17105 v3 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0x9Bu); |
17106 sprintf(pTmpBuf, "\xC" "%05d", v3); | 17106 sprintf(pTmpBuf, "\f%05d", v3); |
17107 sprintf(pTmpBuf2, pGlobalTXT_LocalizationStrings[429], pPlayer->pName, pClassNames[pPlayer->classType]);//^Pi[%s] %s | 17107 sprintf(pTmpBuf2, pGlobalTXT_LocalizationStrings[429], pPlayer->pName, pClassNames[pPlayer->classType]);//^Pi[%s] %s |
17108 strcat(pTmpBuf, pTmpBuf2); | 17108 strcat(pTmpBuf, pTmpBuf2); |
17109 if ( pPlayer->uSkillPoints ) | 17109 if ( pPlayer->uSkillPoints ) |
17110 v4 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0, 0xFFu, 0); | 17110 v4 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0, 0xFFu, 0); |
17111 else | 17111 else |
17112 v4 = 0xFFFFu; | 17112 v4 = 0xFFFFu; |
17113 sprintf(pTmpBuf2, "\xC" "00000\xD" "180%s: \xC%05d%d\xC" "00000\n\n\n", pGlobalTXT_LocalizationStrings[207], v4, pPlayer->uSkillPoints);//Skill points | 17113 sprintf(pTmpBuf2, "\f00000\r180%s: \f%05d%d\f00000\n\n\n", pGlobalTXT_LocalizationStrings[207], v4, pPlayer->uSkillPoints);//Skill points |
17114 strcat(pTmpBuf, pTmpBuf2); | 17114 strcat(pTmpBuf, pTmpBuf2); |
17115 pGUIWindow_CurrentMenu->DrawText(pFontArrus, 26, 18, 0, pTmpBuf, 0, 0, 0); | 17115 pGUIWindow_CurrentMenu->DrawText(pFontArrus, 26, 18, 0, pTmpBuf, 0, 0, 0); |
17116 v5 = pPlayer->GetBaseStrength(); | 17116 v5 = pPlayer->GetBaseStrength(); |
17117 v6 = pPlayer->GetActualMight(); | 17117 v6 = pPlayer->GetActualMight(); |
17118 v7 = pPlayer->GetBaseStrength(); | 17118 v7 = pPlayer->GetBaseStrength(); |