| 655 | } |
| 656 | |
| 657 | void LoadItemData(ItemStruct *pItem) |
| 658 | { |
| 659 | CopyInt(tbuff, &pItem->_iSeed); |
| 660 | CopyShort(tbuff, &pItem->_iCreateInfo); |
| 661 | tbuff += 2; // Alignment |
| 662 | CopyInt(tbuff, &pItem->_itype); |
| 663 | CopyInt(tbuff, &pItem->_ix); |
| 664 | CopyInt(tbuff, &pItem->_iy); |
| 665 | CopyInt(tbuff, &pItem->_iAnimFlag); |
| 666 | tbuff += 4; // Skip pointer _iAnimData |
| 667 | CopyInt(tbuff, &pItem->_iAnimLen); |
| 668 | CopyInt(tbuff, &pItem->_iAnimFrame); |
| 669 | CopyInt(tbuff, &pItem->_iAnimWidth); |
| 670 | CopyInt(tbuff, &pItem->_iAnimWidth2); |
| 671 | CopyInt(tbuff, &pItem->_iDelFlag); |
| 672 | CopyChar(tbuff, &pItem->_iSelFlag); |
| 673 | tbuff += 3; // Alignment |
| 674 | CopyInt(tbuff, &pItem->_iPostDraw); |
| 675 | CopyInt(tbuff, &pItem->_iIdentified); |
| 676 | CopyChar(tbuff, &pItem->_iMagical); |
| 677 | CopyBytes(tbuff, 64, &pItem->_iName); |
| 678 | CopyBytes(tbuff, 64, &pItem->_iIName); |
| 679 | CopyChar(tbuff, &pItem->_iLoc); |
| 680 | CopyChar(tbuff, &pItem->_iClass); |
| 681 | tbuff += 1; // Alignment |
| 682 | CopyInt(tbuff, &pItem->_iCurs); |
| 683 | CopyInt(tbuff, &pItem->_ivalue); |
| 684 | CopyInt(tbuff, &pItem->_iIvalue); |
| 685 | CopyInt(tbuff, &pItem->_iMinDam); |
| 686 | CopyInt(tbuff, &pItem->_iMaxDam); |
| 687 | CopyInt(tbuff, &pItem->_iAC); |
| 688 | CopyInt(tbuff, &pItem->_iFlags); |
| 689 | CopyInt(tbuff, &pItem->_iMiscId); |
| 690 | CopyInt(tbuff, &pItem->_iSpell); |
| 691 | CopyInt(tbuff, &pItem->_iCharges); |
| 692 | CopyInt(tbuff, &pItem->_iMaxCharges); |
| 693 | CopyInt(tbuff, &pItem->_iDurability); |
| 694 | CopyInt(tbuff, &pItem->_iMaxDur); |
| 695 | CopyInt(tbuff, &pItem->_iPLDam); |
| 696 | CopyInt(tbuff, &pItem->_iPLToHit); |
| 697 | CopyInt(tbuff, &pItem->_iPLAC); |
| 698 | CopyInt(tbuff, &pItem->_iPLStr); |
| 699 | CopyInt(tbuff, &pItem->_iPLMag); |
| 700 | CopyInt(tbuff, &pItem->_iPLDex); |
| 701 | CopyInt(tbuff, &pItem->_iPLVit); |
| 702 | CopyInt(tbuff, &pItem->_iPLFR); |
| 703 | CopyInt(tbuff, &pItem->_iPLLR); |
| 704 | CopyInt(tbuff, &pItem->_iPLMR); |
| 705 | CopyInt(tbuff, &pItem->_iPLMana); |
| 706 | CopyInt(tbuff, &pItem->_iPLHP); |
| 707 | CopyInt(tbuff, &pItem->_iPLDamMod); |
| 708 | CopyInt(tbuff, &pItem->_iPLGetHit); |
| 709 | CopyInt(tbuff, &pItem->_iPLLight); |
| 710 | CopyChar(tbuff, &pItem->_iSplLvlAdd); |
| 711 | CopyChar(tbuff, &pItem->_iRequest); |
| 712 | tbuff += 2; // Alignment |
| 713 | CopyInt(tbuff, &pItem->_iUid); |
| 714 | CopyInt(tbuff, &pItem->_iFMinDam); |
no test coverage detected