annotate Weather.h @ 1105:3b3a0e9aeace

#pragma pop() to #pragma pack(pop)
author Grumpy7
date Mon, 27 May 2013 21:42:09 +0200
parents f5156b8c61ad
children bfde0563ecdc
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2
Ritor1
parents:
diff changeset
3
810
f5156b8c61ad savegame refactoring
Gloval
parents: 767
diff changeset
4 #pragma pack(push, 1)
f5156b8c61ad savegame refactoring
Gloval
parents: 767
diff changeset
5 struct LocationTime_stru1
f5156b8c61ad savegame refactoring
Gloval
parents: 767
diff changeset
6 {
f5156b8c61ad savegame refactoring
Gloval
parents: 767
diff changeset
7 unsigned __int64 uLastVisitDay;
f5156b8c61ad savegame refactoring
Gloval
parents: 767
diff changeset
8 char sky_texture_name[12];
f5156b8c61ad savegame refactoring
Gloval
parents: 767
diff changeset
9 int day_attrib;
f5156b8c61ad savegame refactoring
Gloval
parents: 767
diff changeset
10 int day_fogrange_1;
f5156b8c61ad savegame refactoring
Gloval
parents: 767
diff changeset
11 int day_fogrange_2;
f5156b8c61ad savegame refactoring
Gloval
parents: 767
diff changeset
12 char field_2F4[24];
f5156b8c61ad savegame refactoring
Gloval
parents: 767
diff changeset
13 };
f5156b8c61ad savegame refactoring
Gloval
parents: 767
diff changeset
14 #pragma pack(pop)
0
Ritor1
parents:
diff changeset
15
Ritor1
parents:
diff changeset
16
Ritor1
parents:
diff changeset
17
Ritor1
parents:
diff changeset
18 /* 255 */
Ritor1
parents:
diff changeset
19 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
20 struct Weather
Ritor1
parents:
diff changeset
21 {
767
45615cacad31 Fog fixed
Nomad
parents: 750
diff changeset
22 inline Weather():
45615cacad31 Fog fixed
Nomad
parents: 750
diff changeset
23 bNight(false), bRenderSnow(false)
45615cacad31 Fog fixed
Nomad
parents: 750
diff changeset
24 {}
45615cacad31 Fog fixed
Nomad
parents: 750
diff changeset
25
0
Ritor1
parents:
diff changeset
26 int DrawSnow();
Ritor1
parents:
diff changeset
27 int Initialize();
Ritor1
parents:
diff changeset
28 int Draw();
271
1f0af5cac2dd _42ECB5_PlayerAttacksActor
Nomad
parents: 0
diff changeset
29 bool OnPlayerTurn(__int16 dangle);
0
Ritor1
parents:
diff changeset
30
Ritor1
parents:
diff changeset
31
Ritor1
parents:
diff changeset
32
Ritor1
parents:
diff changeset
33 __int16 field_0[2000];
750
23a07ead5980 Night fixed.
Nomad
parents: 271
diff changeset
34 int bNight;
0
Ritor1
parents:
diff changeset
35 int bRenderSnow;
Ritor1
parents:
diff changeset
36 };
Ritor1
parents:
diff changeset
37 #pragma pack(pop)
Ritor1
parents:
diff changeset
38
Ritor1
parents:
diff changeset
39
Ritor1
parents:
diff changeset
40
Ritor1
parents:
diff changeset
41 extern struct Weather *pWeather;