diff PlayerFrameTable.h @ 0:9c0607679772

init
author Ritor1
date Sat, 12 Jan 2013 09:45:18 +0600
parents
children 1c471f3629fb
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PlayerFrameTable.h	Sat Jan 12 09:45:18 2013 +0600
@@ -0,0 +1,40 @@
+#pragma once
+
+
+
+/*   46 */
+#pragma pack(push, 1)
+struct PlayerFrame
+{
+  __int16 uSequenceID;
+  unsigned __int16 uTextureID;
+  __int16 uAnimTime;
+  __int16 uAnimLength;
+  __int16 uFlags;
+};
+#pragma pack(pop)
+
+
+/*   47 */
+#pragma pack(push, 1)
+struct PlayerFrameTable
+{
+  inline PlayerFrameTable():
+    uNumFrames(0), pFrames(nullptr)
+  {}
+
+  unsigned int GetFrameIdBy_field0(int uField0);
+  PlayerFrame *GetFrameBy_x(unsigned int uFramesetID, unsigned int uFrameID);
+  PlayerFrame *GetFrameBy_y(int *a2, int *a3, int a4);
+  void ToFile();
+  void FromFile(void *pSerialized);
+  int FromFileTxt(const char *Args);
+
+  unsigned int uNumFrames;
+  struct PlayerFrame *pFrames;
+};
+#pragma pack(pop)
+
+
+
+extern struct PlayerFrameTable *pPlayerFrameTable; // idb
\ No newline at end of file