annotate LayingItem.h @ 10:5983336e1300

Слияние
author Серик@ПончиК
date Wed, 10 Oct 2012 22:30:37 +0600
parents 8b8875f5b359
children
rev   line source
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
1 #pragma once
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
2 #include "VectorTypes.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3 #include "Items.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6 /* 72 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 struct LayingItem
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10 LayingItem();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11 int Create(int yaw, int pitch, int a4, int a5);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12 void _46BEF1_apply_spells();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13 __int16 _438E35();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15 static void UpdateObject_fn0_BLV(unsigned int uLayingItemID);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 static void UpdateObject_fn0_ODM(unsigned int uLayingItemID);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 static void _42F933(unsigned int uLayingItemID);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 unsigned __int16 uItemType;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 unsigned __int16 uObjectDescID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 struct Vec3_int_ vPosition;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23 struct Vec3_short_ vVelocity;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24 unsigned __int16 uFacing;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25 unsigned __int16 uSoundID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 unsigned __int16 uAttributes;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27 __int16 uSectorID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 unsigned __int16 uSpriteFrameID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 __int16 field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30 __int16 field_22;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31 struct ItemGen stru_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32 int field_48;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33 int field_4C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34 int field_50;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
35 int field_54;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
36 int field_58;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37 int field_5C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38 char field_60_distance_related_prolly_lod;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
39 char field_61;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
40 char field_62[14];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
41 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
42 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
43
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
45
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46 extern size_t uNumLayingItems;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
47 extern LayingItem pLayingItems[1000];