Mercurial > mm7
diff Party.cpp @ 1014:a704435d3285
comtinue player cleaning
author | Gloval |
---|---|
date | Sun, 19 May 2013 20:38:49 +0400 |
parents | ae747684f644 |
children | 306ec23b37df |
line wrap: on
line diff
--- a/Party.cpp Sun May 19 12:13:42 2013 +0400 +++ b/Party.cpp Sun May 19 20:38:49 2013 +0400 @@ -331,9 +331,9 @@ memset(pHirelings, 0, 2 * sizeof(*pHirelings)); strcpy(this->pPlayers[0].pName, pGlobalTXT_LocalizationStrings[509]); //Zoltan - pParty->pPlayers[0].field_1928 = 17; - pParty->pPlayers[0].uFace = 17; - pParty->pPlayers[0].field_1924 = 17; + pParty->pPlayers[0].uPrevFace = 17; + pParty->pPlayers[0].uCurrentFace = 17; + pParty->pPlayers[0].uPrevVoiceID = 17; pParty->pPlayers[0].uVoiceID = 17; pParty->pPlayers[0].uMight = 30; pParty->pPlayers[0].uIntelligence = 5; @@ -346,9 +346,9 @@ pParty->pPlayers[0].pActiveSkills[PLAYER_SKILL_ARMSMASTER] = 1; // armsmaster pParty->pPlayers[0].pActiveSkills[PLAYER_SKILL_BOW] = 1; // bow pParty->pPlayers[0].pActiveSkills[PLAYER_SKILL_SWORD] = 1; // sword - pParty->pPlayers[1].field_1928 = 3; - pParty->pPlayers[1].uFace = 3; - pParty->pPlayers[1].field_1924 = 3; + pParty->pPlayers[1].uPrevFace = 3; + pParty->pPlayers[1].uCurrentFace = 3; + pParty->pPlayers[1].uPrevVoiceID = 3; pParty->pPlayers[1].uVoiceID = 3; strcpy(pParty->pPlayers[1].pName, pGlobalTXT_LocalizationStrings[506]); //Roderic pParty->pPlayers[1].uMight = 13; @@ -362,9 +362,9 @@ pParty->pPlayers[1].pActiveSkills[PLAYER_SKILL_STEALING] = 1; // stealing pParty->pPlayers[1].pActiveSkills[PLAYER_SKILL_DAGGER] = 1; // dagger pParty->pPlayers[1].pActiveSkills[PLAYER_SKILL_TRAP_DISARM] = 1; // disarm trap - pParty->pPlayers[2].field_1928 = 14; - pParty->pPlayers[2].uFace = 14; - pParty->pPlayers[2].field_1924 = 14; + pParty->pPlayers[2].uPrevFace = 14; + pParty->pPlayers[2].uCurrentFace = 14; + pParty->pPlayers[2].uPrevVoiceID = 14; pParty->pPlayers[2].uVoiceID = 14; strcpy(pParty->pPlayers[2].pName, pGlobalTXT_LocalizationStrings[508]); // Serena pParty->pPlayers[2].uMight = 12; @@ -380,13 +380,13 @@ pParty->pPlayers[2].pActiveSkills[PLAYER_SKILL_MACE] = 1; // mace strcpy(pParty->pPlayers[3].pName, pGlobalTXT_LocalizationStrings[507]); // Alexis v3 = 10; - pParty->pPlayers[3].field_1928 = 10; - pParty->pPlayers[3].uFace = 10; + pParty->pPlayers[3].uPrevFace = 10; + pParty->pPlayers[3].uCurrentFace = 10; //pResMagicBase = (int)&pParty->pPlayers[0].sResMagicBase; pParty->pPlayers[3].uEndurance = 13; pParty->pPlayers[3].uAccuracy = 13; pParty->pPlayers[3].uSpeed = 13; - pParty->pPlayers[3].field_1924 = 10; + pParty->pPlayers[3].uPrevVoiceID = 10; pParty->pPlayers[3].uVoiceID = 10; pParty->pPlayers[3].uMight = 5; pParty->pPlayers[3].uIntelligence = 30; @@ -600,8 +600,8 @@ pPlayers[1].Reset(PLAYER_CLASS_THEIF); pPlayers[2].Reset(PLAYER_CLASS_CLERIC); pPlayers[3].Reset(PLAYER_CLASS_SORCERER); - pPlayers[0].uFace = 17; - pPlayers[0].field_1924 = 17; + pPlayers[0].uCurrentFace = 17; + pPlayers[0].uPrevVoiceID = 17; pPlayers[0].uVoiceID = 17; pPlayers[0].SetInitialStats(); @@ -642,8 +642,8 @@ strcpy(pPlayers[0].pName, pGlobalTXT_LocalizationStrings[509]); - pPlayers[1].uFace = 3; - pPlayers[1].field_1924 = 3; + pPlayers[1].uCurrentFace = 3; + pPlayers[1].uPrevVoiceID = 3; pPlayers[1].uVoiceID = 3; pPlayers[1].SetInitialStats(); v7 = SEX_MALE; @@ -683,8 +683,8 @@ pPlayers[1].uSex = v7; pPlayers[1].RandomizeName(); strcpy(pPlayers[1].pName, pGlobalTXT_LocalizationStrings[506]); - pPlayers[2].uFace = 14; - pPlayers[2].field_1924 = 14; + pPlayers[2].uCurrentFace = 14; + pPlayers[2].uPrevVoiceID = 14; pPlayers[2].uVoiceID = 14; pPlayers[2].SetInitialStats(); v8 = SEX_MALE; @@ -724,8 +724,8 @@ pPlayers[2].uSex = v8; pPlayers[2].RandomizeName(); strcpy(pPlayers[2].pName, pGlobalTXT_LocalizationStrings[508]); - pPlayers[3].uFace = 10; - pPlayers[3].field_1924 = 10; + pPlayers[3].uCurrentFace = 10; + pPlayers[3].uPrevVoiceID = 10; pPlayers[3].uVoiceID = 10; pPlayers[3].SetInitialStats(); v9 = SEX_MALE;