annotate Outdoor.h @ 105:e633cde38d64

Слияние
author Ritor1
date Fri, 02 Nov 2012 10:04:27 +0600
parents 62bfa3ffe7db 8c6308bb19b3
children ccc0cf95706a
rev   line source
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
1 #pragma
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
2 #include "BSPModel.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3 #include "OutdoorCamera.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4 #include "Indoor.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 /* 256 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10 struct ODMHeader
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12 int uVersion;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13 char pMagic[4];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 unsigned int uCompressedSize;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15 unsigned int uDecompressedSize;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 /* 78 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23 struct OutdoorLocationTileType
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25 unsigned __int16 uTileGroup;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 unsigned __int16 uTileID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33 /* 79 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
35 struct OutdoorLocationTerrain
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
36 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37 //----- (0047C794) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38 inline OutdoorLocationTerrain()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
39 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
40 this->pHeightmap = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
41 this->pTilemap = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
42 this->ptr_C = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
43 this->field_10 = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44 this->field_12 = 0;
90
8c6308bb19b3 2.11.12
Ritor1
parents: 59
diff changeset
45 this->pAttributemap = nullptr;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
47
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
48 void _47C7A9();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
49 void Release();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
50 int _47C80A(int a2, int a3, int a4, int a5);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
51 int _47CB57(int a1, int a2, int a3);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
52 bool ZeroLandscape();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
53 bool Initialize();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
54
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
55
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
56 unsigned __int8 *pHeightmap;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
57 unsigned __int8 *pTilemap;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
58 unsigned __int8 *pAttributemap;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
59 void *ptr_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
60 __int16 field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
61 __int16 field_12;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
62 __int16 field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
63 __int16 field_16;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
64 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
65 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
66 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
67 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
68
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
69
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
70 /* 81 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
71 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
72 struct ODMFace
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
73 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
74 bool HasEventHint();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
75
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
76
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
77 static bool IsBackfaceCulled(struct ODMFace *a1, struct RenderVertexSoft *a2, struct stru148 *a3);
59
5159d2e6f559 BLV render
Nomad
parents: 0
diff changeset
78
5159d2e6f559 BLV render
Nomad
parents: 0
diff changeset
79 inline bool Invisible() const {return uAttributes & FACE_INVISIBLE;}
5159d2e6f559 BLV render
Nomad
parents: 0
diff changeset
80 inline bool Visible() const {return !Invisible();}
5159d2e6f559 BLV render
Nomad
parents: 0
diff changeset
81 inline bool TwoSided() const {return uAttributes & FACE_TWO_SIDED;}
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
82
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
83 struct Plane_int_ pFacePlane;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
84 int zCalc1;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
85 int zCalc2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
86 int zCalc3;
59
5159d2e6f559 BLV render
Nomad
parents: 0
diff changeset
87 unsigned int uAttributes;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
88 unsigned __int16 pVertexIDs[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
89 unsigned __int16 pTextureUIDs[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
90 unsigned __int16 pTextureVIDs[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
91 unsigned __int16 pXInterceptDisplacements[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
92 unsigned __int16 pYInterceptDisplacements[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
93 unsigned __int16 pZInterceptDisplacements[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
94 unsigned __int16 uTextureID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
95 __int16 sTextureDeltaU;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
96 __int16 sTextureDeltaV;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
97 struct BBox_short_ pBoundingBox;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
98 __int16 sCogNumber;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
99 __int16 sCogTriggeredID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
100 __int16 sCogTriggerType;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
101 char field_128;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
102 char field_129;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
103 unsigned __int8 uGradientVertex1;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
104 unsigned __int8 uGradientVertex2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
105 unsigned __int8 uGradientVertex3;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
106 unsigned __int8 uGradientVertex4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
107 unsigned __int8 uNumVertices;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
108 unsigned __int8 uPolygonType;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
109 unsigned __int8 uShadeType;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
110 unsigned __int8 bVisible;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
111 char field_132;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
112 char field_133;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
113 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
114 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
115
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
116
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
117
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
118 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
119 struct OutdoorLocation
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
120 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
121 //----- (004626BA) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
122 OutdoorLocation()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
123 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
124 subconstuctor();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
125 uLastSunlightUpdateMinute = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
126 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
127 //----- (004626CD) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
128 void subconstuctor()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
129 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
130 //OutdoorLocationTerrain::OutdoorLocationTerrain(&this->pTerrain);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
131 field_F0 = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
132 field_F4 = 0x40000000u;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
133 //DLVHeader::DLVHeader(&v1->ddm);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
134 pSpawnPoints = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
135 pBModels = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
136 ptr_D4 = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
137 pFaceIDLIST = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
138 pOMAP = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
139 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
140
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
141 void ExecDraw(unsigned int bRedraw);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
142 unsigned int DrawActors();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
143 void CreateDebugLocation();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
144 void Release();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
145 bool Load(char *pFilename, ODMFace *File, size_t a4, int thisa);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
146 int _47ECC1(signed int a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
147 unsigned int DoGetTileTexture(unsigned int uX, unsigned int uZ);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
148 int _47ED83(signed int a2, signed int a3);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
149 int ActuallyGetSomeOtherTileInfo(unsigned int uX, unsigned int uY);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
150 int DoGetHeightOnTerrain(unsigned int uX, unsigned int uZ);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
151 int _47EE49(signed int a2, signed int a3, int a4);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
152 int _47EF60(int a2, int a3, int a4);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
153 bool _47F04C(signed int a2, signed int a3);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
154 bool _47F097(signed int a2, signed int a3);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
155 bool _47F0E2();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
156 int PrepareDecorations();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
157 int _47F223_LooksLikeGenerateMonsterLoot();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
158 bool InitalizeActors(int a1);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
159 bool _47F3EA();
90
8c6308bb19b3 2.11.12
Ritor1
parents: 59
diff changeset
160 bool LoadTileGroupIds();
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
161 double GetFogDensityByTime();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
162 int GetSomeOtherTileInfo(int sX, int sY);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
163 unsigned int GetTileTexture(int sX, int sZ);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
164 int GetHeightOnTerrain(int sX, int sZ);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
165 bool Initialize(const char *pFilename, int File, size_t uRespawnInterval, int thisa);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
166 bool Release2();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
167 bool GetTravelDestination(signed int sPartyX, signed int sPartyZ, char *pOut, signed int a5);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
168 void MessWithLUN();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
169 unsigned int UpdateSunlightVectors();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
170 void UpdateFog();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
171 int GetNumFoodRequiredToRestInCurrentPos(int x, signed int y, int z);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
172 int SetFog();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
173 void Draw();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
174
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
175
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
176 char pLevelFilename[32];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
177 char pLocationFileName[32];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
178 char pLocationFileDescription[32];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
179 char pSkyTextureName[32];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
180 char pGroundTileset[32];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
181 OutdoorLocationTileType pTileTypes[4];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
182 unsigned int uNumBModels;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
183 struct OutdoorLocationTerrain pTerrain;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
184 void *ptr_D4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
185 struct BSPModel *pBModels;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
186 int field_DC;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
187 unsigned __int16 *pFaceIDLIST;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
188 unsigned int *pOMAP;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
189 unsigned int uSky_TextureID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
190 unsigned int uMainTile_BitmapID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
191 __int16 field_F0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
192 __int16 field_F2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
193 int field_F4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
194 char field_F8[968];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
195 unsigned int uNumSpawnPoints;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
196 struct SpawnPointMM7 *pSpawnPoints;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
197 struct DDM_DLV_Header ddm;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
198 unsigned __int64 uLastVisitDay;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
199 char field_4F8[12];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
200 int day_attrib;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
201 int day_fogrange_1;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
202 int day_fogrange_2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
203 char field_510[24];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
204 char array_528[968];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
205 char array_8F0[968];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
206 int field_CB8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
207 int field_CBC_terrain_triangles_shade_type;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
208 int field_CC0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
209 unsigned int pSpriteIDs_LUN[8];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
210 unsigned int uSpriteID_LUNFULL;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
211 int field_CE8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
212 unsigned int uSpriteID_LUN3_4_cp;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
213 int field_CF0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
214 unsigned int uSpriteID_LUN1_2_cp;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
215 int field_CF8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
216 unsigned int uSpriteID_LUN1_4_cp;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
217 int field_D00;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
218 unsigned __int16 uSpriteID_LUN_SUN;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
219 __int16 field_D06;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
220 int field_D08;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
221 int field_D0C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
222 int field_D10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
223 int field_D14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
224 int field_D18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
225 int field_D1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
226 int field_D20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
227 int field_D24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
228 int field_D28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
229 int field_D2C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
230 Vec3_int_ vSunlight;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
231 int field_D3C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
232 int field_D40;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
233 int field_D44;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
234 int field_D48;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
235 int field_D4C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
236 float field_D50;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
237 int field_D54;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
238 int field_D58;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
239 int field_D5C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
240 int field_D60;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
241 int field_D64;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
242 char field_D68[111900];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
243 float fFogDensity;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
244 int uLastSunlightUpdateMinute;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
245 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
246 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
247
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
248
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
249 extern struct OutdoorLocation *pOutdoor;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
250
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
251
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
252
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
253
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
254
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
255
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
256
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
257
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
258
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
259
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
260
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
261
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
262
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
263 #include "Outdoor_stuff.h"