diff Overlays.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/Overlays.h	Fri Oct 05 16:07:14 2012 +0200
@@ -0,0 +1,79 @@
+#pragma once
+
+
+/*  282 */
+#pragma pack(push, 1)
+struct OtherOverlay
+{
+  OtherOverlay();
+  void Reset();
+
+  __int16 field_0;
+  __int16 field_2;
+  __int16 field_4;
+  __int16 field_6;
+  __int16 field_8;
+  __int16 field_A;
+  __int16 field_C;
+  __int16 field_E;
+  int field_10;
+};
+#pragma pack(pop)
+
+/*   63 */
+#pragma pack(push, 1)
+struct OtherOverlayList
+{
+  inline OtherOverlayList():  //----- (0045848D)
+    field_3E8(0), field_3EC(0)
+  {}
+    
+  int _4418B1(int a2, int a3, int a4, int a5);
+  int _4418B6(int uOverlayID, __int16 a3, int a4, int a5, __int16 a6);
+  unsigned int _441964(int a2);
+
+  OtherOverlay pOverlays[50];
+  int field_3E8;
+  int field_3EC;
+};
+#pragma pack(pop)
+
+
+
+
+/*   52 */
+#pragma pack(push, 1)
+struct OverlayDesc
+{
+  unsigned __int16 uOverlayID;
+  unsigned __int16 uOverlayType;
+  unsigned __int16 uSpriteFramesetID;
+  __int16 field_6;
+};
+#pragma pack(pop)
+
+
+
+#pragma pack(push, 1)
+struct OverlayList
+{
+  inline OverlayList():  //----- (00458474)
+    uNumOverlays(0), pOverlays(nullptr)
+  {}
+
+  void ToFile();
+  void FromFile(void *pSerialized);
+  bool FromFileTxt(const char *Args);
+  void InitializeSprites();
+
+
+  unsigned int uNumOverlays;
+  struct OverlayDesc *pOverlays;
+};
+#pragma pack(pop)
+
+
+
+
+extern struct OtherOverlayList *pOtherOverlayList; // idb
+extern struct OverlayList *pOverlayList;
\ No newline at end of file