comparison Player.cpp @ 2163:9aa0a5d90454

fall_speed
author Ritor1
date Wed, 15 Jan 2014 17:35:41 +0600
parents 67a83bc1a7de
children e1e4a8a20b5f
comparison
equal deleted inserted replaced
2162:5e1f535bad58 2163:9aa0a5d90454
4270 signed int v67; // [sp-4h] [bp-30h]@77 4270 signed int v67; // [sp-4h] [bp-30h]@77
4271 const char *v68; // [sp-4h] [bp-30h]@89 4271 const char *v68; // [sp-4h] [bp-30h]@89
4272 char v72; // [sp+20h] [bp-Ch]@68 4272 char v72; // [sp+20h] [bp-Ch]@68
4273 signed int v73; // [sp+24h] [bp-8h]@1 4273 signed int v73; // [sp+24h] [bp-8h]@1
4274 const char* v74; // [sp+24h] [bp-8h]@23 4274 const char* v74; // [sp+24h] [bp-8h]@23
4275 Player *thisb; // [sp+28h] [bp-4h]@1 4275 //Player *thisb; // [sp+28h] [bp-4h]@1
4276 unsigned int thisa; // [sp+28h] [bp-4h]@22 4276 unsigned int thisa; // [sp+28h] [bp-4h]@22
4277 4277
4278 thisb = this; 4278 //thisb = this;
4279 playerAffected = &pParty->pPlayers[player_num-1]; 4279 playerAffected = &pParty->pPlayers[player_num-1];
4280 v73 = 1; 4280 v73 = 1;
4281 if ( pParty->bTurnBasedModeOn == 1 && (pTurnEngine->turn_stage == 1 || pTurnEngine->turn_stage == 3) ) 4281 if ( pParty->bTurnBasedModeOn == 1 && (pTurnEngine->turn_stage == 1 || pTurnEngine->turn_stage == 3) )
4282 return; 4282 return;
4283 if ( pParty->pPickedItem.GetItemEquipType() == EQUIP_REAGENT ) 4283 if ( pParty->pPickedItem.GetItemEquipType() == EQUIP_REAGENT )
4316 if ( v73 ) 4316 if ( v73 )
4317 { 4317 {
4318 if ( pParty->bTurnBasedModeOn ) 4318 if ( pParty->bTurnBasedModeOn )
4319 { 4319 {
4320 pParty->pTurnBasedPlayerRecoveryTimes[player_num-1] = 100; 4320 pParty->pTurnBasedPlayerRecoveryTimes[player_num-1] = 100;
4321 thisb->SetRecoveryTime(100); 4321 this->SetRecoveryTime(100);
4322 pTurnEngine->ApplyPlayerAction(); 4322 pTurnEngine->ApplyPlayerAction();
4323 } 4323 }
4324 else 4324 else
4325 { 4325 {
4326 thisb->SetRecoveryTime((int)(flt_6BE3A4_debug_recmod1 * 213.3333333333333)); 4326 this->SetRecoveryTime((int)(flt_6BE3A4_debug_recmod1 * 213.3333333333333));
4327 } 4327 }
4328 } 4328 }
4329 pMouse->RemoveHoldingItem(); 4329 pMouse->RemoveHoldingItem();
4330 return; 4330 return;
4331 } 4331 }
4612 if ( v73 ) 4612 if ( v73 )
4613 { 4613 {
4614 if ( pParty->bTurnBasedModeOn ) 4614 if ( pParty->bTurnBasedModeOn )
4615 { 4615 {
4616 pParty->pTurnBasedPlayerRecoveryTimes[player_num-1] = 100; 4616 pParty->pTurnBasedPlayerRecoveryTimes[player_num-1] = 100;
4617 thisb->SetRecoveryTime(100); 4617 this->SetRecoveryTime(100);
4618 pTurnEngine->ApplyPlayerAction(); 4618 pTurnEngine->ApplyPlayerAction();
4619 } 4619 }
4620 else 4620 else
4621 { 4621 {
4622 thisb->SetRecoveryTime((int)(flt_6BE3A4_debug_recmod1 * 213.3333333333333)); 4622 this->SetRecoveryTime((int)(flt_6BE3A4_debug_recmod1 * 213.3333333333333));
4623 } 4623 }
4624 } 4624 }
4625 pMouse->RemoveHoldingItem(); 4625 pMouse->RemoveHoldingItem();
4626 return; 4626 return;
4627 } 4627 }