diff Party.h @ 26:93bf1d5f6a6d

Game loading.
author Nomad
date Tue, 16 Oct 2012 00:05:53 +0200
parents 8b8875f5b359
children 0f4ed4f0f472
line wrap: on
line diff
--- a/Party.h	Mon Oct 15 18:45:11 2012 +0200
+++ b/Party.h	Tue Oct 16 00:05:53 2012 +0200
@@ -116,7 +116,18 @@
 {
   Party():
     uTimePlayed(0)
-  {}
+  {
+    uCurrentYear = 0;
+    uCurrentMonth = 0;
+    uCurrentMonthWeek = 0;
+    uDaysPlayed = 0;
+    uCurrentHour = 0;
+    uCurrentMinute = 0;
+    uCurrentTimeSecond = 0;
+
+    field_6FC = 0;
+    field_764 = 0;
+  }
 
   void _4909F4();
   void RestAndHeal();
@@ -179,7 +190,7 @@
   unsigned int uDaysPlayed;
   unsigned int uCurrentHour;
   unsigned int uCurrentMinute;
-  int uCurrentTimeSecond;
+  unsigned int uCurrentTimeSecond;
   unsigned int uNumFoodRations;
   int field_72C;
   int field_730;
@@ -192,7 +203,7 @@
   int field_74C;
   __int16 field_750[5];
   __int16 field_75A[5];
-  char field_764;
+  char field_764; // num hours resting or some sort of.
   unsigned __int8 _award_bits[64];
   unsigned __int8 pArcomageWins[16];
   char field_7B5_in_arena_quest;
@@ -202,7 +213,7 @@
   char uNumArenaLordWins;
   char field_7BA[12];
   char pArtifactsFound[56];
-  char _autonote_related_stuff[12];
+  unsigned char _autonote_bits[12];
   char field_80A[74];
   char field_854[32];
   int field_874;