diff LayingItem.h @ 0:8b8875f5b359

Initial commit
author Nomad
date Fri, 05 Oct 2012 16:07:14 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LayingItem.h	Fri Oct 05 16:07:14 2012 +0200
@@ -0,0 +1,47 @@
+#pragma once
+#include "VectorTypes.h"
+#include "Items.h"
+
+
+/*   72 */
+#pragma pack(push, 1)
+struct LayingItem
+{
+  LayingItem();
+  int Create(int yaw, int pitch, int a4, int a5);
+  void _46BEF1_apply_spells();
+  __int16 _438E35();
+
+  static void UpdateObject_fn0_BLV(unsigned int uLayingItemID);
+  static void UpdateObject_fn0_ODM(unsigned int uLayingItemID);
+  static void _42F933(unsigned int uLayingItemID);
+
+
+  unsigned __int16 uItemType;
+  unsigned __int16 uObjectDescID;
+  struct Vec3_int_ vPosition;
+  struct Vec3_short_ vVelocity;
+  unsigned __int16 uFacing;
+  unsigned __int16 uSoundID;
+  unsigned __int16 uAttributes;
+  __int16 uSectorID;
+  unsigned __int16 uSpriteFrameID;
+  __int16 field_20;
+  __int16 field_22;
+  struct ItemGen stru_24;
+  int field_48;
+  int field_4C;
+  int field_50;
+  int field_54;
+  int field_58;
+  int field_5C;
+  char field_60_distance_related_prolly_lod;
+  char field_61;
+  char field_62[14];
+};
+#pragma pack(pop)
+
+
+
+extern size_t uNumLayingItems;
+extern LayingItem pLayingItems[1000];
\ No newline at end of file