comparison Party.h @ 783:b27dd658ea77

Taveling by foot fixed.
author Nomad
date Sun, 24 Mar 2013 21:14:28 +0200
parents 64cef5a0782a
children cfc65feef029
comparison
equal deleted inserted replaced
778:64cef5a0782a 783:b27dd658ea77
95 /* 135 */ 95 /* 135 */
96 #pragma pack(push, 1) 96 #pragma pack(push, 1)
97 struct ActionQueue 97 struct ActionQueue
98 { 98 {
99 void Add(PartyAction action); 99 void Add(PartyAction action);
100 void Reset();
100 PartyAction Next(); 101 PartyAction Next();
101 102
102 unsigned int uNumActions; 103 unsigned int uNumActions;
103 PartyAction pActions[30]; 104 PartyAction pActions[30];
104 }; 105 };
142 struct Party 143 struct Party
143 { 144 {
144 Party(): 145 Party():
145 uTimePlayed(0) 146 uTimePlayed(0)
146 { 147 {
147 uCurrentYear = 0; 148 Zero();
148 uCurrentMonth = 0;
149 uCurrentMonthWeek = 0;
150 uDaysPlayed = 0;
151 uCurrentHour = 0;
152 uCurrentMinute = 0;
153 uCurrentTimeSecond = 0;
154
155 field_6FC = 0;
156 days_played_without_rest = 0;
157
158 vPosition.y = 0;
159 vPosition.z = 0;
160 vPosition.x = 0;
161 uFallStartY = 0;
162 sRotationY = 0;
163 sRotationX = 0;
164 uFallSpeed = 0;
165 field_28 = 0;
166 uDefaultPartyHeight = 120;
167 field_14 = 37;
168 y_rotation_granularity = 25;
169 uWalkSpeed = 384;
170 y_rotation_speed = 90;
171 field_24 = 5;
172 field_6FC = 0;
173 field_708 = 15;
174 field_0 = 25;
175 } 149 }
176 150
151 void Zero();
177 void UpdatePlayersAndHirelingsEmotions(); 152 void UpdatePlayersAndHirelingsEmotions();
178 void RestAndHeal(); 153 void RestAndHeal();
179 unsigned int GetPartyFame(); 154 unsigned int GetPartyFame();
180 void CreateDefaultParty(char bGiveItems); 155 void CreateDefaultParty(char bGiveItems);
181 int Reset(); 156 int Reset();