diff Indoor.h @ 28:18f7a1b94448

Indoor::Load
author Nomad
date Tue, 16 Oct 2012 19:31:34 +0200
parents 540178ef9b18
children e62134245ab0
line wrap: on
line diff
--- a/Indoor.h	Tue Oct 16 01:31:05 2012 +0200
+++ b/Indoor.h	Tue Oct 16 19:31:34 2012 +0200
@@ -362,9 +362,24 @@
 #pragma pack(pop)
 
 
+#pragma pack(push, 1)
+struct BLVMapVertices
+{
+  uint         uNumVertices;
+  BLVMapVertex pVertices[1];
+};
+#pragma pack(pop)
 
 
 
+#pragma pack(push, 1)
+struct IndoorLocation_stru1
+{
+  unsigned __int64 uLastVisitDay;
+  char field_2F4[48];
+};
+#pragma pack(pop)
+
 
 
 /*   89 */
@@ -422,7 +437,7 @@
   struct BLVDoor *pDoors;
   unsigned int uNumNodes;
   struct BSPNode *pNodes;
-  unsigned int *pMapVertices;
+  BLVMapVertices *pMapVertices;
   unsigned __int16 *ptr_2AC;
   unsigned __int16 *ptr_0002B0_sector_rdata;
   unsigned __int16 *ptr_0002B4_doors_ddata;
@@ -430,8 +445,7 @@
   unsigned int uNumSpawnPoints;
   struct SpawnPointMM7 *pSpawnPoints;
   struct DDM_DLV_Header dlv;
-  unsigned __int64 uLastVisitDay;
-  char field_2F4[48];
+  IndoorLocation_stru1 stru1;
   char _visible_outlines[876];
 };
 #pragma pack(pop)