comparison Player.h @ 1006:e865f349aa41

ui cleanup
author Gloval
date Sat, 18 May 2013 22:01:26 +0400
parents c5d8ea1e6ccb
children 446175a32a15
comparison
equal deleted inserted replaced
1004:eac5af72b614 1006:e865f349aa41
425 }; 425 };
426 426
427 #pragma pack(push, 1) 427 #pragma pack(push, 1)
428 struct Player 428 struct Player
429 { 429 {
430 enum Condition: unsigned __int32 430 enum Condition: unsigned __int32
431 { 431 {
432 Condition_Cursed = 0, 432 Condition_Cursed = 0,
433 Condition_Weak = 1, 433 Condition_Weak = 1,
434 Condition_Sleep = 2, 434 Condition_Sleep = 2,
435 Condition_Fear = 3, 435 Condition_Fear = 3,
436 Condition_Drunk = 4, 436 Condition_Drunk = 4,
446 Condition_Dead = 14, 446 Condition_Dead = 14,
447 Condition_Pertified = 15, 447 Condition_Pertified = 15,
448 Condition_Eradicated = 16, 448 Condition_Eradicated = 16,
449 Condition_Zombie = 17, 449 Condition_Zombie = 17,
450 Condition_Good = 18 450 Condition_Good = 18
451 }; 451 };
452 452
453 Player(); 453 Player();
454 454
455 void SetVariable(enum VariableType var, signed int a3); 455 void SetVariable(enum VariableType var, signed int a3);
456 void AddVariable(enum VariableType var, signed int val); 456 void AddVariable(enum VariableType var, signed int val);
544 int WearItem(unsigned int uItemID); 544 int WearItem(unsigned int uItemID);
545 int AddItem(unsigned int uSlot, unsigned int uItemID); 545 int AddItem(unsigned int uSlot, unsigned int uItemID);
546 int AddItem2(unsigned int uSlot, ItemGen *Src); 546 int AddItem2(unsigned int uSlot, ItemGen *Src);
547 int CreateItemInInventory2(unsigned int uSlot, ItemGen *Src); 547 int CreateItemInInventory2(unsigned int uSlot, ItemGen *Src);
548 bool _49298B(ItemGen *a2, int a3, int a4); 548 bool _49298B(ItemGen *a2, int a3, int a4);
549 unsigned int RemoveItemAtInventoryIndex(unsigned int uSlot); 549 void RemoveItemAtInventoryIndex(unsigned int uSlot);
550 bool CanAct(); 550 bool CanAct();
551 bool CanSteal(); 551 bool CanSteal();
552 bool CanEquip_RaceAndAlignmentCheck(unsigned int uItemID); 552 bool CanEquip_RaceAndAlignmentCheck(unsigned int uItemID);
553 int SetCondition(unsigned int uConditionIdx, int a3); 553 int SetCondition(unsigned int uConditionIdx, int a3);
554 int _49327B(unsigned int uClass, int a3); 554 int _49327B(unsigned int uClass, int a3);