annotate LayingItem.h @ 272:6e585f21a01e

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