comparison Player.h @ 1552:d253172de469

Player::CanFitItem, AddItem, AddItem2 changed changed the retarded 2 dimensional array traversal, changed GetActualAttribute input parameters to get rid of the attrid case
author Grumpy7
date Sat, 07 Sep 2013 10:49:42 +0200
parents a9e8d2a7abb5
children b98812ead5d9
comparison
equal deleted inserted replaced
1551:a9e8d2a7abb5 1552:d253172de469
461 void AddVariable(enum VariableType var, signed int val); 461 void AddVariable(enum VariableType var, signed int val);
462 bool SubtractVariable(enum VariableType VarNum, signed int pValue); 462 bool SubtractVariable(enum VariableType VarNum, signed int pValue);
463 bool CompareVariable(enum VariableType VarNum, signed int pValue); 463 bool CompareVariable(enum VariableType VarNum, signed int pValue);
464 void UseItem_DrinkPotion_etc(signed int a2, int a3); 464 void UseItem_DrinkPotion_etc(signed int a2, int a3);
465 bool AddItem(struct ItemGen *pItem); 465 bool AddItem(struct ItemGen *pItem);
466 int GetActualAttribute(CHARACTER_ATTRIBUTE_TYPE attrId); 466 int GetActualAttribute(CHARACTER_ATTRIBUTE_TYPE attrId, unsigned short Player::* attrValue, unsigned short Player::* attrBonus);
467 int GetBaseStrength(); 467 int GetBaseStrength();
468 int GetBaseIntelligence(); 468 int GetBaseIntelligence();
469 int GetBaseWillpower(); 469 int GetBaseWillpower();
470 int GetBaseEndurance(); 470 int GetBaseEndurance();
471 int GetBaseAccuracy(); 471 int GetBaseAccuracy();