0
|
1 #pragma once
|
|
2 #include "VectorTypes.h"
|
|
3 #include "Items.h"
|
|
4
|
|
5
|
|
6 /* 72 */
|
|
7 #pragma pack(push, 1)
|
|
8 struct LayingItem
|
|
9 {
|
|
10 LayingItem();
|
|
11 int Create(int yaw, int pitch, int a4, int a5);
|
|
12 void _46BEF1_apply_spells();
|
|
13 __int16 _438E35();
|
|
14
|
|
15 static void UpdateObject_fn0_BLV(unsigned int uLayingItemID);
|
|
16 static void UpdateObject_fn0_ODM(unsigned int uLayingItemID);
|
|
17 static void _42F933(unsigned int uLayingItemID);
|
|
18
|
|
19
|
|
20 unsigned __int16 uItemType;
|
|
21 unsigned __int16 uObjectDescID;
|
|
22 struct Vec3_int_ vPosition;
|
|
23 struct Vec3_short_ vVelocity;
|
|
24 unsigned __int16 uFacing;
|
|
25 unsigned __int16 uSoundID;
|
|
26 unsigned __int16 uAttributes;
|
|
27 __int16 uSectorID;
|
|
28 unsigned __int16 uSpriteFrameID;
|
|
29 __int16 field_20;
|
|
30 __int16 field_22;
|
|
31 struct ItemGen stru_24;
|
|
32 int field_48;
|
|
33 int field_4C;
|
|
34 int field_50;
|
|
35 int field_54;
|
|
36 int field_58;
|
|
37 int field_5C;
|
|
38 char field_60_distance_related_prolly_lod;
|
|
39 char field_61;
|
|
40 char field_62[14];
|
|
41 };
|
|
42 #pragma pack(pop)
|
|
43
|
|
44
|
|
45
|
|
46 extern size_t uNumLayingItems;
|
|
47 extern LayingItem pLayingItems[1000]; |