| 610 | } |
| 611 | |
| 612 | void LoadObject(int i) |
| 613 | { |
| 614 | ObjectStruct *pObject = &object[i]; |
| 615 | |
| 616 | CopyInt(tbuff, &pObject->_otype); |
| 617 | CopyInt(tbuff, &pObject->_ox); |
| 618 | CopyInt(tbuff, &pObject->_oy); |
| 619 | CopyInt(tbuff, &pObject->_oLight); |
| 620 | CopyInt(tbuff, &pObject->_oAnimFlag); |
| 621 | tbuff += 4; // Skip pointer _oAnimData |
| 622 | CopyInt(tbuff, &pObject->_oAnimDelay); |
| 623 | CopyInt(tbuff, &pObject->_oAnimCnt); |
| 624 | CopyInt(tbuff, &pObject->_oAnimLen); |
| 625 | CopyInt(tbuff, &pObject->_oAnimFrame); |
| 626 | CopyInt(tbuff, &pObject->_oAnimWidth); |
| 627 | CopyInt(tbuff, &pObject->_oAnimWidth2); |
| 628 | CopyInt(tbuff, &pObject->_oDelFlag); |
| 629 | CopyChar(tbuff, &pObject->_oBreak); |
| 630 | tbuff += 3; // Alignment |
| 631 | CopyInt(tbuff, &pObject->_oSolidFlag); |
| 632 | CopyInt(tbuff, &pObject->_oMissFlag); |
| 633 | |
| 634 | CopyChar(tbuff, &pObject->_oSelFlag); |
| 635 | tbuff += 3; // Alignment |
| 636 | CopyInt(tbuff, &pObject->_oPreFlag); |
| 637 | CopyInt(tbuff, &pObject->_oTrapFlag); |
| 638 | CopyInt(tbuff, &pObject->_oDoorFlag); |
| 639 | CopyInt(tbuff, &pObject->_olid); |
| 640 | CopyInt(tbuff, &pObject->_oRndSeed); |
| 641 | CopyInt(tbuff, &pObject->_oVar1); |
| 642 | CopyInt(tbuff, &pObject->_oVar2); |
| 643 | CopyInt(tbuff, &pObject->_oVar3); |
| 644 | CopyInt(tbuff, &pObject->_oVar4); |
| 645 | CopyInt(tbuff, &pObject->_oVar5); |
| 646 | CopyInt(tbuff, &pObject->_oVar6); |
| 647 | CopyInt(tbuff, &pObject->_oVar7); |
| 648 | CopyInt(tbuff, &pObject->_oVar8); |
| 649 | } |
| 650 | |
| 651 | void LoadItem(int i) |
| 652 | { |