World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Indoor.h
См. документацию.
1 #pragma once
2 #include <array>
3 
4 #include "Engine/mm7_data.h"
5 #include "Engine/IocContainer.h"
6 #include "Engine/Strings.h"
7 
11 
13 
14 /* 358 */
15 #pragma pack(push, 1)
16 struct LightsData {
17  int field_0;
19  Vec3_int_ vec_14;
20  Vec3_int_ vec_20;
22  int field_30;
23  int field_34;
24  int field_38;
25  int pDeltaUV[2];
26  int field_44;
27  int field_48;
28  char field_4C[8];
29  Vec3_int_ rotated_normal;
30  Vec3_int_ vec_60;
31  int field_6C;
32  Vec3_int_ vec_70;
33  int field_7C;
34  Vec3_int_ vec_80;
35  Vec3_int_ vec_8C;
36  int field_98;
37  Vec3_int_ vec_9C;
38  int field_A8;
39  unsigned int uNumLightsApplied;
42  int _blv_lights_xs[20];
43  int _blv_lights_ys[20];
45  int field_240;
46  int field_244;
47  int field_248;
48  int field_24C;
49  int field_250;
50  int field_254;
51  int field_258;
52  int field_25C;
53  int field_260;
54  int field_264;
55  int field_268;
56  int field_26C;
57  int field_270;
58  int field_274;
59  int field_278;
60  int field_27C;
61  int field_280;
62  int field_284;
63  int field_288;
64  int field_28C;
65  int _blv_lights_zs[20];
66  float _blv_lights_rs[20];
67  float _blv_lights_gs[20];
68  float _blv_lights_bs[20];
70  int field_3E4;
71  int field_3E8;
72  int field_3EC;
73  int field_3F0;
74  int field_3F4;
76 };
77 #pragma pack(pop)
78 
79 extern LightsData Lights; // idb
80 
81 #pragma pack(push, 1)
83  //----- (00462607) --------------------------------------------------------
84  inline DDM_DLV_Header() {
85  this->uLastRepawnDay = 0;
86  this->uNumRespawns = 0;
87  this->uReputation = 0;
88  this->field_C_alert = 0;
89  this->uNumFacesInBModels = 0;
90  this->uNumDecorations = 0;
91  this->uNumBModels = 0;
92  }
93 
98  unsigned int uNumFacesInBModels;
99  unsigned int uNumDecorations;
100  unsigned int uNumBModels;
101  int field_1C;
102  int field_20;
103  int field_24;
104 };
105 #pragma pack(pop)
106 
107 /* 345 */
108 #pragma pack(push, 1)
109 struct stru315 {
110  int field_0;
111  int field_4;
112  int field_8;
113  int field_C;
114  int field_10;
115  int field_14;
116  int field_18;
117  int field_1C;
118  int field_20;
119  int field_24;
120  int field_28;
121  int field_2C;
122  int field_30;
125  unsigned int *pDepthBuffer;
127 };
128 #pragma pack(pop)
129 
130 /* 346 */
131 #pragma pack(push, 1)
132 struct stru316 {
133  int field_0;
134  int field_4;
135  int field_8;
136  int field_C;
137  int field_10;
138  int field_14;
139  int field_18;
140  int field_1C;
141  int field_20;
143 };
144 #pragma pack(pop)
145 
146 /* 134 */
147 #pragma pack(push, 1)
149  int CalcMovementExtents(int a2);
150 
151  int field_0;
154  int height;
155  int field_10;
156  int field_14;
157  int field_18;
158  Vec3_int_ velocity;
159  Vec3_int_ normal;
160  Vec3_int_ position;
161  Vec3_int_ normal2;
162  int field_4C;
163  int field_50;
164  int field_54;
165  Vec3_int_ direction; // velocity's unit vector
166  int speed;
168  int field_6C; // some dist
169  int field_70; // some dist modifier
170  unsigned int uSectorID;
171  unsigned int pid;
172  int field_7C; // mod speed
173  int field_80;
174  int field_84;
175  int field_88;
176  int sMaxX;
177  int sMinX;
178  int sMaxY;
179  int sMinY;
180  int sMaxZ; // is this min
181  int sMinZ; // is this max
182  int field_A4;
183 };
184 #pragma pack(pop)
186 
187 /* 378 */
188 #pragma pack(push, 1)
190  int field_0;
191  int field_4;
192  int field_8;
193  int field_C;
194  int field_10;
195 };
196 #pragma pack(pop)
197 
198 /* 377 */
199 #pragma pack(push, 1)
200 struct stru337 {
202  int field_14;
203  int field_18;
204  int field_1C;
205  int field_20;
206  int field_24;
207  int field_28;
208  int field_2C;
209  int field_30;
211 };
212 #pragma pack(pop)
213 extern stru337 stru_F81018;
214 
215 /* 291 */
219  POLYGON_unk = 0x2,
224 };
225 
226 /* 147 */
227 #pragma pack(push, 1)
228 
229 struct stru154 {
230  //----- (0049B001) --------------------------------------------------------
231  inline stru154() {}
232 
233  //----- (0049B027) --------------------------------------------------------
234  inline ~stru154() {}
235 
236  void GetFacePlaneAndClassify(struct ODMFace *a2,
237  struct BSPVertexBuffer *a3);
238  void ClassifyPolygon(struct Vec3_float_ *pNormal, float dist);
239  void GetFacePlane(struct ODMFace *pFace, struct BSPVertexBuffer *pVertices,
240  struct Vec3_float_ *pOutNormal, float *pOutDist);
241 
242  void (***vdestructor_ptr)(stru154 *, bool);
245  char field_15;
246  char field_16;
247  char field_17;
248 };
249 #pragma pack(pop)
250 
251 /* 392 */
252 #pragma pack(push, 1)
253 struct stru352 {
254  int field_0;
255  int field_4;
256  int field_8;
257  int field_C;
258  int field_10;
259  int field_14;
260  int field_18;
261  int field_1C;
262  int field_20;
263  int field_24;
264  int field_28;
265  int field_2C;
266  int field_30;
267  int field_34;
268 };
269 #pragma pack(pop)
270 // extern std::array<stru352, 480> stru_F83B80;
271 
272 #pragma pack(push, 1)
279  char field_2F4[24];
280 };
281 #pragma pack(pop)
282 
283 /* 319 */
288 };
290 
291 /* 86 */
292 #pragma pack(push, 1)
294  Vec3_int_ vPosition;
299 };
300 #pragma pack(pop)
301 
302 /* 102 */
303 #pragma pack(push, 1)
305  //----- (00448DD6) --------------------------------------------------------
307  uRadius = 32;
308  uAttributes = 0;
309  uIndex = 0;
310  uKind = 0;
311  uGroup = 0;
312  }
313 
314  Vec3_int_ vPosition;
319  unsigned int uGroup;
320 
321  inline bool IsMonsterSpawn() const { return uKind == 3; }
322  inline bool IsTreasureSpawn() const { return uKind != 3; }
323 };
324 #pragma pack(pop)
325 
326 /* 90 */
327 #pragma pack(push, 1)
328 struct BLVHeader {
329  char field_0[104];
330  unsigned int uFaces_fdata_Size;
331  unsigned int uSector_rdata_Size;
332  unsigned int uSector_lrdata_Size;
333  unsigned int uDoors_ddata_Size;
334  char field_78[16];
335 };
336 #pragma pack(pop)
337 
338 /* 96 */
339 #pragma pack(push, 1)
340 struct BLVSectorMM8 {
342 };
343 #pragma pack(pop)
344 
345 /* 97 */
346 #pragma pack(push, 1)
347 struct BLVLightMM6 {
348  Vec3_short_ vPosition;
352 };
353 #pragma pack(pop)
354 
355 /* 98 */
356 #pragma pack(push, 1)
357 struct BLVLightMM7 { // 10h
358  struct Vec3_short_ vPosition;
360  char uRed;
361  char uGreen;
362  char uBlue;
363  char uType;
364  int16_t uAtributes; // & 0x08 doesn't light faces
366 };
367 #pragma pack(pop)
368 
369 /* 99 */
370 #pragma pack(push, 1)
371 struct BLVLightMM8 {
372  int uID;
373 };
374 #pragma pack(pop)
375 
376 /* 100 */
377 #pragma pack(push, 1)
378 struct BLVDoor { // 50h
379  enum State : uint16_t {
380  Closed = 0,
381  Opening = 1,
382  Open = 2,
384  };
385 
386  unsigned int uAttributes;
387  unsigned int uDoorID;
388  unsigned int uTimeSinceTriggered;
389  Vec3_int_ vDirection;
407 };
408 #pragma pack(pop)
409 
410 /* 101 */
411 #pragma pack(push, 1)
412 struct BLVMapOutline { // 0C
419 };
420 #pragma pack(pop)
421 
422 /* 93 */
423 #pragma pack(push, 1)
424 struct BLVFace { // 60h
425  //----- (0046ED02) --------------------------------------------------------
426  inline BLVFace() {
427  this->uNumVertices = 0;
428  this->uAttributes = 0;
429  this->uFaceExtraID = 0;
430  this->pVertexIDs = nullptr;
431  this->pZInterceptDisplacements = nullptr;
432  this->pYInterceptDisplacements = nullptr;
433  this->pXInterceptDisplacements = nullptr;
434  }
435 
436  void _get_normals(Vec3_int_ *a2, Vec3_int_ *a3);
437  void FromODM(struct ODMFace *face);
438 
439  void SetTexture(const String &filename);
440  Texture *GetTexture();
441 
442  bool Deserialize(struct BLVFace_MM7 *);
443 
444  inline bool Invisible() const {
445  return (uAttributes & FACE_INVISIBLE) != 0;
446  }
447  inline bool Visible() const { return !Invisible(); }
448  inline bool Portal() const { return (uAttributes & FACE_PORTAL) != 0; }
449  inline bool Fluid() const { return (uAttributes & FACE_FLUID) != 0; }
450  inline bool Indoor_sky() const {
451  return (uAttributes & FACE_INDOOR_SKY) != 0;
452  }
453  inline bool Clickable() const {
454  return (uAttributes & FACE_CLICKABLE) != 0;
455  }
456  inline bool Pressure_Plate() const {
457  return (uAttributes & FACE_PRESSURE_PLATE) != 0;
458  }
459  inline bool Ethereal() const { return (uAttributes & FACE_ETHEREAL) != 0; }
460 
461  inline bool IsTextureFrameTable() const {
462  return this->uAttributes & FACE_TEXTURE_FRAME;
463  }
465  this->uAttributes = this->uAttributes & FACE_TEXTURE_FRAME
466  ? this->uAttributes & ~FACE_TEXTURE_FRAME
467  : this->uAttributes | FACE_TEXTURE_FRAME;
468  }
469 
472  int zCalc1;
473  int zCalc2;
474  int zCalc3;
475  unsigned int uAttributes;
483  void *resource; // unsigned __int16 uBitmapID;
489  char field_5E;
490  char field_5F;
491 };
492 #pragma pack(pop)
493 
494 /* 94 */
495 #pragma pack(push, 1)
496 struct BLVFaceExtra { // 24h
497  bool HasEventint();
498 
517 };
518 #pragma pack(pop)
519 
520 /* 95 */
521 #pragma pack(push, 1)
522 struct BLVSector { // 0x74
564 };
565 #pragma pack(pop)
566 
567 #pragma pack(push, 1)
571 };
572 #pragma pack(pop)
573 
574 /* 89 */
575 #pragma pack(push, 1)
577  //----- (00462592) --------------------------------------------------------
578  inline IndoorLocation() {
579  this->log = EngineIoc::ResolveLogger();
584 
585  bLoaded = 0;
589  pLFaces = 0;
590  pVertices = 0;
591  pFaces = 0;
592  pFaceExtras = 0;
593  pSectors = 0;
594  pLights = 0;
595  pDoors = 0;
596  pNodes = 0;
597  pMapOutlines = 0;
598  uNumSpawnPoints = 0;
599  pSpawnPoints = 0;
600  uNumSectors = 0;
601  }
602 
603  int GetSector(int sX, int sY, int sZ);
604  void Release();
605  bool Alloc();
606  bool Load(const String &filename, int num_days_played,
607  int respawn_interval_days, char *pDest);
608  void Draw();
609  void ToggleLight(signed int uLightID, unsigned int bToggle);
610 
611  static unsigned int GetLocationIndex(const char *Str1);
612  void ExecDraw(bool bD3D);
613  // static void ExecDraw_sw(unsigned int uFaceID);
614  void ExecDraw_d3d(unsigned int uFaceID,
616  unsigned int uNumVertices,
617  struct RenderVertexSoft *pPortalBounding);
619  void PrepareDecorationsRenderList_BLV(unsigned int uDecorationID, unsigned int uSectorID);
621 
623  char field_20[48];
624  unsigned int bLoaded;
625  char field_54[404];
626  struct BLVHeader blv;
627  unsigned int uNumVertices;
628  struct Vec3_short_ *pVertices;
629  unsigned int uNumFaces;
630  struct BLVFace *pFaces;
631  unsigned int uNumFaceExtras;
638  struct BLVDoor *pDoors;
639  unsigned int uNumNodes;
640  struct BSPNode *pNodes;
646  unsigned int uNumSpawnPoints;
650  char _visible_outlines[875];
651  char padding;
652 
653  Log *log = nullptr;
658 };
659 #pragma pack(pop)
660 
661 extern IndoorLocation *pIndoor;
662 
663 /* 162 */
664 #pragma pack(push, 1)
666  inline BLVRenderParams() {
667  uViewportX = 0;
668  uViewportY = 0;
669  uViewportZ = 0;
670  uViewportW = 0;
671  }
672 
673  void Reset();
674 
676  int _unused_uFlags; // & INDOOR_CAMERA_DRAW_D3D_OUTLINES: render d3d
677  // outlines
678  Vec3_int_ _unused_vPartyPos;
682  int _unused_sCosineY; // matches ODMRenderParams::int sines and cosines
683  int _unused_sSineY; // computed in 0048600E
684  int _unused_sCosineNegX; // merged into IndoorCameraD3D
685  int _unused_sSineNegX; // --//--
686  float _unused_fCosineY; // matches old IndoorCamera::fRotationCosineY (new
687  // IndoorCameraD3D::fRotationCosineY)
688  float _unused_fSineY; // matches old IndoorCamera::fRotationSineY (new
689  // IndoorCameraD3D::fRotationSineY)
690  float _unused_fCosineNegX; // the same
691  float _unused_fSineNegX; // the same
692  int bsp_fov_rad; // fixpoint FOV in radians for BSP calculation
694  unsigned int uTargetWidth;
695  unsigned int uTargetHeight;
696  unsigned int uViewportX;
697  unsigned int uViewportY;
698  unsigned int uViewportZ;
699  unsigned int uViewportW;
700  int fov;
708  int field_84;
709  int field_88;
710  int field_8C;
711  int field_90;
712  int field_94;
713 };
714 #pragma pack(pop)
716 
717 int GetPortalScreenCoord(unsigned int uFaceID);
718 bool PortalFrustrum(int pNumVertices, struct BspRenderer_PortalViewportData *a2,
719  struct BspRenderer_PortalViewportData *near_portal,
720  int uFaceID);
722 void AddBspNodeToRenderList(unsigned int node_id);
723 void sub_4406BC(unsigned int node_id, unsigned int uFirstNode); // idb
724 char DoInteractionWithTopmostZObject(int a1, int a2);
725 int sub_4AAEA6_transform(struct RenderVertexSoft *a1);
726 unsigned int FaceFlowTextureOffset(unsigned int uFaceID); // idb
728 int BLV_GetFloorLevel(int x, int y, int z, unsigned int uSectorID,
729  unsigned int *pFaceID);
730 void BLV_UpdateDoors();
731 void UpdateActors_BLV();
733 void Door_switch_animation(unsigned int uDoorID, int a2); // idb: sub_449A49
734 int sub_4088E9(int a1, int a2, int a3, int a4, int a5, int a6);
735 void PrepareDrawLists_BLV();
736 void PrepareToLoadBLV(unsigned int bLoading);
737 int GetAlertStatus();
738 int _45063B_spawn_some_monster(struct MapInfo *a1, int a2);
739 int sub_450521_ProllyDropItemAt(int ecx0, signed int a2, int a3, int a4, int a5,
740  uint16_t a6);
741 
742 bool sub_4075DB(int a1, int a2, int a3, struct BLVFace *face);
743 bool sub_4077F1(int a1, int a2, int a3, struct ODMFace *face,
744  struct BSPVertexBuffer *a5);
745 
746 #pragma once
747 
748 /* 165 */
749 #pragma pack(push, 1)
751  void GetViewportData(int16_t x, int y, int16_t z, int w);
752 
761 };
762 #pragma pack(pop)
764 
765 /* 164 */
766 #pragma pack(push, 1)
768  //----- (0043F2BF) --------------------------------------------------------
769  inline BspRenderer_stru0() {
770  }
771 
772  //----- (0043F2A9) --------------------------------------------------------
774  }
775 
785  unsigned int viewing_portal_id; // portal through which we're seeing this node
788 };
789 #pragma pack(pop)
790 
791 #pragma pack(push, 1)
792 struct BspFace {
795 };
796 #pragma pack(pop)
797 
798 /* 163 */
799 #pragma pack(push, 1)
800 struct BspRenderer { // stru170
801  //----- (0043F282) --------------------------------------------------------
802  inline BspRenderer() {
803  num_faces = 0;
804  num_nodes = 0;
806  }
807 
808  void AddFaceToRenderList_d3d(unsigned int node_id, unsigned int uFaceID);
809  void MakeVisibleSectorList();
810  // void DrawFaceOutlines();
811 
812  unsigned int num_faces;
813  // __int16 pFaceIDs[2000];
814  BspFace faces[1000];
815  // char field_130[3700];
816  unsigned int num_nodes;
820 };
821 #pragma pack(pop)
822 
823 extern struct BspRenderer *pBspRenderer; // idb
824 
826 
827 int collide_against_floor_approximate(int x, int y, int z,
828  unsigned int *pSectorID,
829  unsigned int *pFaceID); // idb
830 
831 bool sub_407A1C(int x, int z, int y, struct Vec3_int_ v); // idb
LightsData::field_254
int field_254
Definition: Indoor.h:50
stru141_actor_collision_object::field_50
int field_50
Definition: Indoor.h:163
BspRenderer
Definition: Indoor.h:800
BLVFace::uPolygonType
PolygonType uPolygonType
Definition: Indoor.h:487
uint16_t
unsigned __int16 uint16_t
Definition: SDL_config.h:37
LightsData::pDeltaUV
int pDeltaUV[2]
Definition: Indoor.h:25
BspRenderer_stru0::uViewportY
uint16_t uViewportY
Definition: Indoor.h:778
BLV_ProcessPartyActions
void BLV_ProcessPartyActions()
Definition: Indoor.cpp:4655
IndoorLocation
Definition: Indoor.h:576
IndoorLocation::bLoaded
unsigned int bLoaded
Definition: Indoor.h:624
stru315::field_28
int field_28
Definition: Indoor.h:120
LightsData::_blv_lights_ys
int _blv_lights_ys[20]
Definition: Indoor.h:43
stru352::field_30
int field_30
Definition: Indoor.h:266
Vec3_float_
Definition: VectorTypes.h:74
BLVHeader::uSector_lrdata_Size
unsigned int uSector_lrdata_Size
Definition: Indoor.h:332
BspRenderer_stru0::~BspRenderer_stru0
~BspRenderer_stru0()
Definition: Indoor.h:773
stru141_actor_collision_object::field_88
int field_88
Definition: Indoor.h:175
BLVFace::Portal
bool Portal() const
Definition: Indoor.h:448
Engine_::IocContainer
Definition: IocContainer.h:15
BLVDoor::Closed
@ Closed
Definition: Indoor.h:380
IndoorLocation::uNumFaceExtras
unsigned int uNumFaceExtras
Definition: Indoor.h:631
IndoorLocation::uNumSectors
int uNumSectors
Definition: Indoor.h:633
face
GLenum GLuint GLint GLenum face
Definition: SDL_opengl_glext.h:3022
BLVRenderParams::_unused_sCosineNegX
int _unused_sCosineNegX
Definition: Indoor.h:684
LightsData::field_24C
int field_24C
Definition: Indoor.h:48
stru154
Definition: Indoor.h:229
SpawnPointMM6
Definition: Indoor.h:293
IndoorLocation::filename
String filename
Definition: Indoor.h:622
SpawnPointMM7::uKind
uint16_t uKind
Definition: Indoor.h:316
BLVLightMM6::uBrightness
uint16_t uBrightness
Definition: Indoor.h:351
stru315::field_1C
int field_1C
Definition: Indoor.h:117
IocContainer.h
BLVLightMM8
Definition: Indoor.h:371
BspRenderer_PortalViewportData
Definition: Indoor.h:750
stru315::pDepthBuffer
unsigned int * pDepthBuffer
Definition: Indoor.h:125
FindBillboardsLightLevels_BLV
void FindBillboardsLightLevels_BLV()
Definition: Indoor.cpp:5654
stru154::stru154
stru154()
Definition: Indoor.h:231
BspRenderer::uNumVisibleNotEmptySectors
unsigned int uNumVisibleNotEmptySectors
Definition: Indoor.h:818
BLVDoor::pZOffsets
uint16_t * pZOffsets
Definition: Indoor.h:400
int16_t
signed __int16 int16_t
Definition: SDL_config.h:36
BLVRenderParams::_unused_fCosineNegX
float _unused_fCosineNegX
Definition: Indoor.h:690
BLVFace::uNumVertices
uint8_t uNumVertices
Definition: Indoor.h:488
stru141_actor_collision_object
Definition: Indoor.h:148
v
const GLdouble * v
Definition: SDL_opengl.h:2064
PrepareBspRenderList_BLV
void PrepareBspRenderList_BLV()
Definition: Indoor.cpp:3159
stru315::field_C
int field_C
Definition: Indoor.h:113
BLVFaceExtra
Definition: Indoor.h:496
BLVFaceExtra::HasEventint
bool HasEventint()
Definition: Indoor.cpp:1483
stru141_actor_collision_object::field_6C
int field_6C
Definition: Indoor.h:168
BLVSector::pCeilings
uint16_t * pCeilings
Definition: Indoor.h:532
BLVDoor::pDeltaVs
int16_t * pDeltaVs
Definition: Indoor.h:397
BLVSector::field_6
int16_t field_6
Definition: Indoor.h:525
BLVFace::pFacePlane_old
struct Plane_int_ pFacePlane_old
Definition: Indoor.h:471
BLVSector::field_3E
int16_t field_3E
Definition: Indoor.h:546
sub_450521_ProllyDropItemAt
int sub_450521_ProllyDropItemAt(int ecx0, signed int a2, int a3, int a4, int a5, uint16_t a6)
BLVFaceExtra::sCogNumber
int16_t sCogNumber
Definition: Indoor.h:511
LightsData::rotated_normal
Vec3_int_ rotated_normal
Definition: Indoor.h:29
BspRenderer::num_faces
unsigned int num_faces
Definition: Indoor.h:812
DoInteractionWithTopmostZObject
char DoInteractionWithTopmostZObject(int a1, int a2)
Definition: Indoor.cpp:3716
stru337
Definition: Indoor.h:200
BspRenderer_PortalViewportData::viewport_right_side
int16_t viewport_right_side[480]
Definition: Indoor.h:760
IndoorLocation::pSectors
struct BLVSector * pSectors
Definition: Indoor.h:634
BLVSector::pWalls
uint16_t * pWalls
Definition: Indoor.h:529
BspRenderer_stru0::PortalScreenData
BspRenderer_PortalViewportData PortalScreenData
Definition: Indoor.h:782
stru141_actor_collision_object::speed
int speed
Definition: Indoor.h:166
IndoorLocation::ExecDraw
void ExecDraw(bool bD3D)
Definition: Indoor.cpp:235
stru337_stru0::field_C
int field_C
Definition: Indoor.h:193
BLVFace::pVertexIDs
uint16_t * pVertexIDs
Definition: Indoor.h:476
stru141_actor_collision_object::sMaxZ
int sMaxZ
Definition: Indoor.h:180
BLVDoor::pFaceIDs
uint16_t * pFaceIDs
Definition: Indoor.h:394
stru337::field_14
int field_14
Definition: Indoor.h:202
LightsData::uDefaultAmbientLightLevel
unsigned int uDefaultAmbientLightLevel
Definition: Indoor.h:75
LocationTime_stru1::field_2F4
char field_2F4[24]
Definition: Indoor.h:279
stru315::field_2C
int field_2C
Definition: Indoor.h:121
stru141_actor_collision_object::uSectorID
unsigned int uSectorID
Definition: Indoor.h:170
BLVRenderParams::field_84
int field_84
Definition: Indoor.h:708
stru316::field_8
int field_8
Definition: Indoor.h:135
LightsData::field_270
int field_270
Definition: Indoor.h:57
stru337::field_24
int field_24
Definition: Indoor.h:206
BLVSector::pMarkers
uint16_t * pMarkers
Definition: Indoor.h:553
IndoorLocation::pSpawnPoints
struct SpawnPointMM7 * pSpawnPoints
Definition: Indoor.h:647
Door_switch_animation
void Door_switch_animation(unsigned int uDoorID, int a2)
Definition: Indoor.cpp:5183
LightsData::field_98
int field_98
Definition: Indoor.h:36
stru352::field_34
int field_34
Definition: Indoor.h:267
LightsData::field_240
int field_240
Definition: Indoor.h:45
BLVLightMM7::uBrightness
int16_t uBrightness
Definition: Indoor.h:365
BspRenderer::AddFaceToRenderList_d3d
void AddFaceToRenderList_d3d(unsigned int node_id, unsigned int uFaceID)
Definition: Indoor.cpp:584
BLVRenderParams::field_0_timer_
int field_0_timer_
Definition: Indoor.h:675
LightsData::field_34
int field_34
Definition: Indoor.h:23
BLVLightMM8::uID
int uID
Definition: Indoor.h:372
POLYGON_Invalid
@ POLYGON_Invalid
Definition: Indoor.h:217
z
GLdouble GLdouble z
Definition: SDL_opengl_glext.h:407
BLVRenderParams::Reset
void Reset()
Definition: Indoor.cpp:163
Engine_::IocContainer::ResolveLogger
static Log * ResolveLogger()
Definition: IocContainer.cpp:51
LightsData::field_48
int field_48
Definition: Indoor.h:27
BLVDoor::field_4E
int16_t field_4E
Definition: Indoor.h:406
BLVRenderParams::_unused_fSineY
float _unused_fSineY
Definition: Indoor.h:688
BLVSector::pFluids
uint16_t * pFluids
Definition: Indoor.h:535
BspRenderer_stru0::pPortalBounding
RenderVertexSoft pPortalBounding[4]
Definition: Indoor.h:787
IndoorLocation::stru1
LocationTime_stru1 stru1
Definition: Indoor.h:649
BLVMapOutlines::uNumOutlines
int uNumOutlines
Definition: Indoor.h:569
POLYGON_InBetweenFloorAndWall
@ POLYGON_InBetweenFloorAndWall
Definition: Indoor.h:221
stru154::field_17
char field_17
Definition: Indoor.h:247
BLVFaceExtra::field_20
int16_t field_20
Definition: Indoor.h:515
BLVFace::pXInterceptDisplacements
int16_t * pXInterceptDisplacements
Definition: Indoor.h:477
IndoorLocation::pFaceExtras
struct BLVFaceExtra * pFaceExtras
Definition: Indoor.h:632
BLVSector::uNumCylinderFaces
uint16_t uNumCylinderFaces
Definition: Indoor.h:542
Texture
Definition: Texture.h:4
BBox_short_
Definition: VectorTypes.h:113
BSPVertexBuffer
Definition: BSPModel.h:51
BLVFaceExtra::uEventID
uint16_t uEventID
Definition: Indoor.h:512
stru337::field_20
int field_20
Definition: Indoor.h:205
BLVDoor::uMoveLength
int uMoveLength
Definition: Indoor.h:390
LightsData::field_278
int field_278
Definition: Indoor.h:59
BLVFace::FromODM
void FromODM(struct ODMFace *face)
Definition: Indoor.cpp:372
BLVDoor::Opening
@ Opening
Definition: Indoor.h:381
stru337_stru0::field_0
int field_0
Definition: Indoor.h:190
LightsData::field_260
int field_260
Definition: Indoor.h:53
BLVFaceExtra::field_12
int16_t field_12
Definition: Indoor.h:508
BspRenderer_stru0::uSectorID
uint16_t uSectorID
Definition: Indoor.h:776
BLVRenderParams::field_8C
int field_8C
Definition: Indoor.h:710
LEVEL_null
@ LEVEL_null
Definition: Indoor.h:285
IndoorLocation::field_20
char field_20[48]
Definition: Indoor.h:623
BLVFaceExtra::field_6
int16_t field_6
Definition: Indoor.h:502
LightsData::field_274
int field_274
Definition: Indoor.h:58
BLVSector::uNumFluids
uint16_t uNumFluids
Definition: Indoor.h:533
stru315::field_30
int field_30
Definition: Indoor.h:122
LightsData::field_25C
int field_25C
Definition: Indoor.h:52
BLVFace::BLVFace
BLVFace()
Definition: Indoor.h:426
stru316::field_24_palette
uint16_t * field_24_palette
Definition: Indoor.h:142
BLVSector::field_26
int16_t field_26
Definition: Indoor.h:537
BLVSector::uNumNonBSPFaces
uint16_t uNumNonBSPFaces
Definition: Indoor.h:540
stru352::field_18
int field_18
Definition: Indoor.h:260
stru141_actor_collision_object::normal
Vec3_int_ normal
Definition: Indoor.h:159
BLVSector::uWaterLevel
int16_t uWaterLevel
Definition: Indoor.h:557
BLVDoor::uOpenSpeed
int uOpenSpeed
Definition: Indoor.h:391
stru315::field_4
int field_4
Definition: Indoor.h:111
BLVFace::Clickable
bool Clickable() const
Definition: Indoor.h:453
SpawnPointMM7
Definition: Indoor.h:304
LightsData::field_A8
int field_A8
Definition: Indoor.h:38
stru154::field_16
char field_16
Definition: Indoor.h:246
LightsData::_blv_lights_gs
float _blv_lights_gs[20]
Definition: Indoor.h:67
w
GLubyte GLubyte GLubyte GLubyte w
Definition: SDL_opengl_glext.h:734
IndoorCameraD3D_Vec4
Definition: IndoorCameraD3D.h:32
BLVLightMM7::uType
char uType
Definition: Indoor.h:363
BLVFace::ToggleIsTextureFrameTable
void ToggleIsTextureFrameTable()
Definition: Indoor.h:464
BLVDoor::uNumFaces
uint16_t uNumFaces
Definition: Indoor.h:402
IndoorLocation::uNumNodes
unsigned int uNumNodes
Definition: Indoor.h:639
POLYGON_Floor
@ POLYGON_Floor
Definition: Indoor.h:220
Log
Definition: Log.h:3
IndoorLocation::pLights
struct BLVLightMM7 * pLights
Definition: Indoor.h:636
BLVFaceExtra::uAdditionalBitmapID
uint16_t uAdditionalBitmapID
Definition: Indoor.h:506
IndoorLocation::spell_fx_renderer
SpellFxRenderer * spell_fx_renderer
Definition: Indoor.h:655
BSPNode
Definition: BSPModel.h:42
BLVMapOutline::sZ
int16_t sZ
Definition: Indoor.h:417
BLVFace::IsTextureFrameTable
bool IsTextureFrameTable() const
Definition: Indoor.h:461
POLYGON_unk
@ POLYGON_unk
Definition: Indoor.h:219
LightsData::field_27C
int field_27C
Definition: Indoor.h:60
stru154::ClassifyPolygon
void ClassifyPolygon(struct Vec3_float_ *pNormal, float dist)
Definition: Indoor.cpp:5578
BLVMapOutline
Definition: Indoor.h:412
BLVHeader::uDoors_ddata_Size
unsigned int uDoors_ddata_Size
Definition: Indoor.h:333
IndoorLocation::pLFaces
uint16_t * pLFaces
Definition: Indoor.h:642
stru316::field_4
int field_4
Definition: Indoor.h:134
BLVFace::Indoor_sky
bool Indoor_sky() const
Definition: Indoor.h:450
stru316::field_10
int field_10
Definition: Indoor.h:137
LightsData::vec_20
Vec3_int_ vec_20
Definition: Indoor.h:20
stru141_actor_collision_object::inv_speed
int inv_speed
Definition: Indoor.h:167
BLVRenderParams::bsp_fov_rad
int bsp_fov_rad
Definition: Indoor.h:692
stru315::field_14
int field_14
Definition: Indoor.h:115
SpawnPointMM7::SpawnPointMM7
SpawnPointMM7()
Definition: Indoor.h:306
LightsData::field_0
int field_0
Definition: Indoor.h:17
BLVSector::pLights
uint16_t * pLights
Definition: Indoor.h:556
stru352::field_20
int field_20
Definition: Indoor.h:262
BLVFaceExtra::field_10
int16_t field_10
Definition: Indoor.h:507
BLVSector::uNumWalls
uint16_t uNumWalls
Definition: Indoor.h:527
stru154::GetFacePlane
void GetFacePlane(struct ODMFace *pFace, struct BSPVertexBuffer *pVertices, struct Vec3_float_ *pOutNormal, float *pOutDist)
Definition: Indoor.cpp:5593
LightsData::_blv_lights_zs
int _blv_lights_zs[20]
Definition: Indoor.h:65
BspFace::uNodeID
uint16_t uNodeID
Definition: Indoor.h:794
sub_4075DB
bool sub_4075DB(int a1, int a2, int a3, struct BLVFace *face)
Definition: Indoor.cpp:5424
IndoorLocation::GetLocationIndex
static unsigned int GetLocationIndex(const char *Str1)
Definition: Indoor.cpp:839
stru316::field_18
int field_18
Definition: Indoor.h:139
UpdateActors_BLV
void UpdateActors_BLV()
Definition: Indoor.cpp:1718
BLVFaceExtra::field_1E
int16_t field_1E
Definition: Indoor.h:514
LightsData::field_28C
int field_28C
Definition: Indoor.h:64
DDM_DLV_Header::field_1C
int field_1C
Definition: Indoor.h:101
stru352::field_2C
int field_2C
Definition: Indoor.h:265
ParticleEngine
Definition: ParticleEngine.h:93
BLVSector::uNumFloors
uint16_t uNumFloors
Definition: Indoor.h:524
PortalFrustrum
bool PortalFrustrum(int pNumVertices, struct BspRenderer_PortalViewportData *a2, struct BspRenderer_PortalViewportData *near_portal, int uFaceID)
Definition: Indoor.cpp:3788
IndoorLocation::lightmap_builder
LightmapBuilder * lightmap_builder
Definition: Indoor.h:656
BLVRenderParams::uViewportZ
unsigned int uViewportZ
Definition: Indoor.h:698
BLVSector::field_56
int16_t field_56
Definition: Indoor.h:555
SpawnPointMM7::uAttributes
uint16_t uAttributes
Definition: Indoor.h:318
BLVFaceExtra::field_8
int16_t field_8
Definition: Indoor.h:503
LightsData::field_4C
char field_4C[8]
Definition: Indoor.h:28
BLVSectorMM8
Definition: Indoor.h:340
IndoorLocation::uNumDoors
int uNumDoors
Definition: Indoor.h:637
LightsData::_blv_lights_radii
int _blv_lights_radii[20]
Definition: Indoor.h:40
stru337::field_0
stru337_stru0 field_0
Definition: Indoor.h:201
pVertices
struct RenderVertexD3D3 pVertices[50]
Definition: Render.cpp:50
BLVLightMM7::uBlue
char uBlue
Definition: Indoor.h:362
BLVRenderParams::_unused_sPartyRotX
int _unused_sPartyRotX
Definition: Indoor.h:680
AddBspNodeToRenderList
void AddBspNodeToRenderList(unsigned int node_id)
Definition: Indoor.cpp:2970
y
EGLSurface EGLint EGLint y
Definition: SDL_egl.h:1596
IndoorLocation::Load
bool Load(const String &filename, int num_days_played, int respawn_interval_days, char *pDest)
Definition: Indoor.cpp:858
BspRenderer_stru0::uViewportW
uint16_t uViewportW
Definition: Indoor.h:780
BLVFace::Ethereal
bool Ethereal() const
Definition: Indoor.h:459
BLVSector::pBounding
BBox_short_ pBounding
Definition: Indoor.h:563
BLV_GetFloorLevel
int BLV_GetFloorLevel(int x, int y, int z, unsigned int uSectorID, unsigned int *pFaceID)
Definition: Indoor.cpp:2530
BLVLightMM6::uRadius
int16_t uRadius
Definition: Indoor.h:349
BLVSector::pFaceIDs
uint16_t * pFaceIDs
Definition: Indoor.h:541
stru337_stru0::field_4
int field_4
Definition: Indoor.h:191
BLVDoor::pDeltaUs
int16_t * pDeltaUs
Definition: Indoor.h:396
BLVSector::field_46
int16_t field_46
Definition: Indoor.h:549
BLVFace_MM7
Definition: LegacyImages.h:39
BspRenderer_PortalViewportData::_viewport_space_y
int _viewport_space_y
Definition: Indoor.h:753
stru141_actor_collision_object::field_0
int field_0
Definition: Indoor.h:151
DDM_DLV_Header::field_C_alert
int field_C_alert
Definition: Indoor.h:97
SpawnPointMM6::uKind
uint16_t uKind
Definition: Indoor.h:296
stru315::pTextureLOD
uint16_t * pTextureLOD
Definition: Indoor.h:124
sub_407A1C
bool sub_407A1C(int x, int z, int y, struct Vec3_int_ v)
Definition: Indoor.cpp:3199
DDM_DLV_Header::uNumFacesInBModels
unsigned int uNumFacesInBModels
Definition: Indoor.h:98
LightmapBuilder
Definition: LightmapBuilder.h:33
Engine_::IocContainer::ResolveParticleEngine
static ParticleEngine * ResolveParticleEngine()
Definition: IocContainer.cpp:103
IndoorLocation::log
Log * log
Definition: Indoor.h:653
stru316
Definition: Indoor.h:132
DDM_DLV_Header::uNumRespawns
int uNumRespawns
Definition: Indoor.h:94
BLVRenderParams::field_7C
struct BspRenderer_PortalViewportData * field_7C
Definition: Indoor.h:706
BLVRenderParams::_unused_sCosineY
int _unused_sCosineY
Definition: Indoor.h:682
BLVDoor::pXOffsets
uint16_t * pXOffsets
Definition: Indoor.h:398
BspRenderer_PortalViewportData::_viewport_space_z
int _viewport_space_z
Definition: Indoor.h:756
IndoorLocation::uNumVertices
unsigned int uNumVertices
Definition: Indoor.h:627
IndoorLocation::pNodes
struct BSPNode * pNodes
Definition: Indoor.h:640
BspRenderer_stru0::uFaceID
uint16_t uFaceID
Definition: Indoor.h:783
BLVSector::field_4E
int16_t field_4E
Definition: Indoor.h:552
IRender.h
IndoorLocation::uNumSpawnPoints
unsigned int uNumSpawnPoints
Definition: Indoor.h:646
GetAlertStatus
int GetAlertStatus()
Definition: Indoor.cpp:5287
stru141_actor_collision_object::field_8_radius
int field_8_radius
Definition: Indoor.h:153
BLVFace::zCalc3
int zCalc3
Definition: Indoor.h:474
BLVRenderParams::uViewportW
unsigned int uViewportW
Definition: Indoor.h:699
stru141_actor_collision_object::sMinY
int sMinY
Definition: Indoor.h:179
BspRenderer::nodes
BspRenderer_stru0 nodes[150]
Definition: Indoor.h:817
BLVFaceExtra::field_2
int16_t field_2
Definition: Indoor.h:500
LocationTime_stru1::last_visit
GameTime last_visit
Definition: Indoor.h:274
LightsData::uCurrentAmbientLightLevel
unsigned int uCurrentAmbientLightLevel
Definition: Indoor.h:21
BLVSector::uMistLevel
int16_t uMistLevel
Definition: Indoor.h:558
BspFace::uFaceID
uint16_t uFaceID
Definition: Indoor.h:793
BLVHeader
Definition: Indoor.h:328
stru141_actor_collision_object::normal2
Vec3_int_ normal2
Definition: Indoor.h:161
BLVRenderParams::_unused_sSineY
int _unused_sSineY
Definition: Indoor.h:683
stru316::field_0
int field_0
Definition: Indoor.h:133
BLVFace::SetTexture
void SetTexture(const String &filename)
Definition: Indoor.cpp:746
BLVFace::pZInterceptDisplacements
int16_t * pZInterceptDisplacements
Definition: Indoor.h:479
BLVSector::pPortals
uint16_t * pPortals
Definition: Indoor.h:538
DDM_DLV_Header::DDM_DLV_Header
DDM_DLV_Header()
Definition: Indoor.h:84
x
EGLSurface EGLint x
Definition: SDL_egl.h:1596
stru352::field_1C
int field_1C
Definition: Indoor.h:261
LightsData::field_264
int field_264
Definition: Indoor.h:54
BspRenderer_stru0::uViewportX
uint16_t uViewportX
Definition: Indoor.h:777
BLVSector::uNumLights
uint16_t uNumLights
Definition: Indoor.h:554
BLVLightMM6::vPosition
Vec3_short_ vPosition
Definition: Indoor.h:348
LightsData::field_3E4
int field_3E4
Definition: Indoor.h:70
stru337::field_2C
int field_2C
Definition: Indoor.h:208
SpawnPointMM7::IsTreasureSpawn
bool IsTreasureSpawn() const
Definition: Indoor.h:322
stru141_actor_collision_object::field_7C
int field_7C
Definition: Indoor.h:172
stru352
Definition: Indoor.h:253
BLVRenderParams::_unused_sPartyRotY
int _unused_sPartyRotY
Definition: Indoor.h:679
LightsData::vec_9C
Vec3_int_ vec_9C
Definition: Indoor.h:37
BLVMapOutline::uFace2ID
uint16_t uFace2ID
Definition: Indoor.h:416
DDM_DLV_Header::field_24
int field_24
Definition: Indoor.h:103
LightsData::vec_60
Vec3_int_ vec_60
Definition: Indoor.h:30
BLVMapOutline::uFace1ID
uint16_t uFace1ID
Definition: Indoor.h:415
BLVFaceExtra::sTextureDeltaV
int16_t sTextureDeltaV
Definition: Indoor.h:510
BLVDoor
Definition: Indoor.h:378
BLVHeader::field_78
char field_78[16]
Definition: Indoor.h:334
IndoorLocation::blv
struct BLVHeader blv
Definition: Indoor.h:626
BLVFace::uSectorID
uint16_t uSectorID
Definition: Indoor.h:484
BLVLightMM7::uAtributes
int16_t uAtributes
Definition: Indoor.h:364
BLVFace
Definition: Indoor.h:424
BLV_UpdateDoors
void BLV_UpdateDoors()
Definition: Indoor.cpp:1506
BLVSector::uFirstBSPNode
int16_t uFirstBSPNode
Definition: Indoor.h:561
IndoorLocation::Draw
void Draw()
Definition: Indoor.cpp:322
Engine_::IocContainer::ResolveDecalBuilder
static DecalBuilder * ResolveDecalBuilder()
Definition: IocContainer.cpp:60
Lights
LightsData Lights
Definition: Indoor.cpp:54
LightsData::plane_4
Plane_int_ plane_4
Definition: Indoor.h:18
BLVLightMM7::uRed
char uRed
Definition: Indoor.h:360
BLVLightMM6::uAttributes
int16_t uAttributes
Definition: Indoor.h:350
stru352::field_14
int field_14
Definition: Indoor.h:259
SpawnPointMM7::uRadius
uint16_t uRadius
Definition: Indoor.h:315
BLVMapOutline::uFlags
uint16_t uFlags
Definition: Indoor.h:418
SpawnPointMM6::uAttributes
uint16_t uAttributes
Definition: Indoor.h:298
BspRenderer::faces
BspFace faces[1000]
Definition: Indoor.h:814
LightsData::vec_70
Vec3_int_ vec_70
Definition: Indoor.h:32
BLVFace::_get_normals
void _get_normals(Vec3_int_ *a2, Vec3_int_ *a3)
Definition: Indoor.cpp:1422
BLVFace::pVertexVIDs
int16_t * pVertexVIDs
Definition: Indoor.h:481
BLVFace::pFacePlane
struct Plane_float_ pFacePlane
Definition: Indoor.h:470
Plane_int_
Definition: VectorTypes.h:106
IndoorLocation::dlv
struct DDM_DLV_Header dlv
Definition: Indoor.h:648
LightsData::field_268
int field_268
Definition: Indoor.h:55
DDM_DLV_Header::uNumDecorations
unsigned int uNumDecorations
Definition: Indoor.h:99
IndoorLocation::pMapOutlines
BLVMapOutlines * pMapOutlines
Definition: Indoor.h:641
LightsData::field_288
int field_288
Definition: Indoor.h:63
BLVSector::uNumCogs
uint16_t uNumCogs
Definition: Indoor.h:545
stru141_actor_collision_object::field_70
int field_70
Definition: Indoor.h:169
DDM_DLV_Header::uLastRepawnDay
int uLastRepawnDay
Definition: Indoor.h:95
stru141_actor_collision_object::height
int height
Definition: Indoor.h:154
SpawnPointMM6::uRadius
uint16_t uRadius
Definition: Indoor.h:295
int32_t
signed __int32 int32_t
Definition: SDL_config.h:38
BLVDoor::uState
State uState
Definition: Indoor.h:405
LocationTime_stru1::day_fogrange_1
int day_fogrange_1
Definition: Indoor.h:277
BLVRenderParams::BLVRenderParams
BLVRenderParams()
Definition: Indoor.h:666
BLVFace::field_5F
char field_5F
Definition: Indoor.h:490
IndoorLocation::PrepareItemsRenderList_BLV
void PrepareItemsRenderList_BLV()
Definition: Indoor.cpp:2871
pIndoor
IndoorLocation * pIndoor
Definition: Indoor.cpp:49
BLVRenderParams::field_90
int field_90
Definition: Indoor.h:711
BLVRenderParams::uViewportCenterY
int uViewportCenterY
Definition: Indoor.h:705
BLVRenderParams::uViewportX
unsigned int uViewportX
Definition: Indoor.h:696
DDM_DLV_Header::uReputation
int uReputation
Definition: Indoor.h:96
BspRenderer::pVisibleSectorIDs_toDrawDecorsActorsEtcFrom
uint16_t pVisibleSectorIDs_toDrawDecorsActorsEtcFrom[6]
Definition: Indoor.h:819
SpawnPointMM6::vPosition
Vec3_int_ vPosition
Definition: Indoor.h:294
BLVFace::zCalc2
int zCalc2
Definition: Indoor.h:473
LightsData::_blv_lights_light_dot_faces
int _blv_lights_light_dot_faces[20]
Definition: Indoor.h:44
stru315::field_20
int field_20
Definition: Indoor.h:118
BLVSector::uNumPortals
int16_t uNumPortals
Definition: Indoor.h:536
LEVEL_Outdoor
@ LEVEL_Outdoor
Definition: Indoor.h:287
DDM_DLV_Header
Definition: Indoor.h:82
BspRenderer::num_nodes
unsigned int num_nodes
Definition: Indoor.h:816
BspRenderer_stru0
Definition: Indoor.h:767
stru154::GetFacePlaneAndClassify
void GetFacePlaneAndClassify(struct ODMFace *a2, struct BSPVertexBuffer *a3)
Definition: Indoor.cpp:5554
sub_4077F1
bool sub_4077F1(int a1, int a2, int a3, struct ODMFace *face, struct BSPVertexBuffer *a5)
Definition: Indoor.cpp:5486
stru316::field_1C
int field_1C
Definition: Indoor.h:140
IndoorLocation::uNumFaces
unsigned int uNumFaces
Definition: Indoor.h:629
IndoorLocation::_visible_outlines
char _visible_outlines[875]
Definition: Indoor.h:650
BspRenderer_PortalViewportData::_viewport_space_x
int _viewport_space_x
Definition: Indoor.h:755
pBLVRenderParams
BLVRenderParams * pBLVRenderParams
Definition: Indoor.cpp:50
BLVSector::pFloors
uint16_t * pFloors
Definition: Indoor.h:526
MapInfo
Definition: MapInfo.h:35
BspRenderer_PortalViewportData::_viewport_z_maxID
int _viewport_z_maxID
Definition: Indoor.h:758
stru315::field_24
int field_24
Definition: Indoor.h:119
BLVRenderParams::pTargetZBuffer
int * pTargetZBuffer
Definition: Indoor.h:701
sub_4AAEA6_transform
int sub_4AAEA6_transform(struct RenderVertexSoft *a1)
LightsData::vec_14
Vec3_int_ vec_14
Definition: Indoor.h:19
BLVRenderParams::_unused_sSineNegX
int _unused_sSineNegX
Definition: Indoor.h:685
stru315
Definition: Indoor.h:109
LightsData::field_3F0
int field_3F0
Definition: Indoor.h:73
BLVFace::Invisible
bool Invisible() const
Definition: Indoor.h:444
BLVDoor::uNumVertices
uint16_t uNumVertices
Definition: Indoor.h:401
BLVFaceExtra::field_22
int16_t field_22
Definition: Indoor.h:516
stru352::field_10
int field_10
Definition: Indoor.h:258
SpawnPointMM6::uIndex
uint16_t uIndex
Definition: Indoor.h:297
stru316::field_20
int field_20
Definition: Indoor.h:141
stru141_actor_collision_object::sMaxX
int sMaxX
Definition: Indoor.h:176
BLVRenderParams::uNumFacesRenderedThisFrame
unsigned int uNumFacesRenderedThisFrame
Definition: Indoor.h:707
LocationTime_stru1::day_fogrange_2
int day_fogrange_2
Definition: Indoor.h:278
LocationTime_stru1::sky_texture_name
char sky_texture_name[12]
Definition: Indoor.h:275
BSPModel.h
stru141_actor_collision_object::sMinX
int sMinX
Definition: Indoor.h:177
BLVDoor::pSectorIDs
uint16_t * pSectorIDs
Definition: Indoor.h:395
stru352::field_4
int field_4
Definition: Indoor.h:255
BLVLightMM7::vPosition
struct Vec3_short_ vPosition
Definition: Indoor.h:358
_45063B_spawn_some_monster
int _45063B_spawn_some_monster(struct MapInfo *a1, int a2)
Definition: Indoor.cpp:5298
stru337::field_1C
int field_1C
Definition: Indoor.h:204
stru_F8A590
BspRenderer_PortalViewportData stru_F8A590
Definition: Indoor.cpp:56
stru352::field_C
int field_C
Definition: Indoor.h:257
BLVFace::uBackSectorID
int16_t uBackSectorID
Definition: Indoor.h:485
BspRenderer_PortalViewportData::_viewport_x_minID
int _viewport_x_minID
Definition: Indoor.h:757
LightsData::field_284
int field_284
Definition: Indoor.h:62
stru154::~stru154
~stru154()
Definition: Indoor.h:234
BLVFace::pBounding
struct BBox_short_ pBounding
Definition: Indoor.h:486
BLVRenderParams::_unused_fSineNegX
float _unused_fSineNegX
Definition: Indoor.h:691
stru154::face_plane
Plane_float_ face_plane
Definition: Indoor.h:243
stru141_actor_collision_object::sMaxY
int sMaxY
Definition: Indoor.h:178
BLVFaceExtra::face_id
int16_t face_id
Definition: Indoor.h:505
BspRenderer_PortalViewportData::viewport_left_side
int16_t viewport_left_side[480]
Definition: Indoor.h:759
BLVHeader::uFaces_fdata_Size
unsigned int uFaces_fdata_Size
Definition: Indoor.h:330
BLVSector::pCogs
uint16_t * pCogs
Definition: Indoor.h:547
BLVDoor::pVertexIDs
uint16_t * pVertexIDs
Definition: Indoor.h:393
LEVEL_Indoor
@ LEVEL_Indoor
Definition: Indoor.h:286
BLVRenderParams::bsp_fov_rad_inv
int bsp_fov_rad_inv
Definition: Indoor.h:693
uCurrentlyLoadedLevelType
LEVEL_TYPE uCurrentlyLoadedLevelType
Definition: Indoor.cpp:52
stru337::field_30
int field_30
Definition: Indoor.h:209
BLVRenderParams::uPartySectorID
int uPartySectorID
Definition: Indoor.h:681
void
typedef void(SDLCALL *SDL_AudioFilter)(struct SDL_AudioCVT *cvt
LightsData::field_244
int field_244
Definition: Indoor.h:46
LightsData::field_280
int field_280
Definition: Indoor.h:61
BspRenderer_PortalViewportData::GetViewportData
void GetViewportData(int16_t x, int y, int16_t z, int w)
Definition: Indoor.cpp:3181
BLVRenderParams::uViewportWidth
int uViewportWidth
Definition: Indoor.h:703
uint8_t
unsigned __int8 uint8_t
Definition: SDL_config.h:35
BLVDoor::vDirection
Vec3_int_ vDirection
Definition: Indoor.h:389
BspRenderer_stru0::viewing_portal_id
unsigned int viewing_portal_id
Definition: Indoor.h:785
BLVFace::pYInterceptDisplacements
int16_t * pYInterceptDisplacements
Definition: Indoor.h:478
BLVRenderParams::_unused_fCosineY
float _unused_fCosineY
Definition: Indoor.h:686
BspRenderer_stru0::field_7A6
int16_t field_7A6
Definition: Indoor.h:784
BLVLightMM7::uRadius
int16_t uRadius
Definition: Indoor.h:359
BLVFace::resource
void * resource
Definition: Indoor.h:483
BLVRenderParams::uTargetWidth
unsigned int uTargetWidth
Definition: Indoor.h:694
BLVFace::Pressure_Plate
bool Pressure_Plate() const
Definition: Indoor.h:456
LightsData
Definition: Indoor.h:16
BspRenderer_stru0::BspRenderer_stru0
BspRenderer_stru0()
Definition: Indoor.h:769
SpellFxRenderer
Definition: SpellFxRenderer.h:97
LightsData::field_250
int field_250
Definition: Indoor.h:49
LightsData::field_248
int field_248
Definition: Indoor.h:47
BLVRenderParams::field_94
int field_94
Definition: Indoor.h:712
BLVMapOutlines::pOutlines
BLVMapOutline pOutlines[7000]
Definition: Indoor.h:570
stru315::field_18
int field_18
Definition: Indoor.h:116
BLVFaceExtra::sTextureDeltaU
int16_t sTextureDeltaU
Definition: Indoor.h:509
BLVRenderParams::uTargetHeight
unsigned int uTargetHeight
Definition: Indoor.h:695
stru141_actor_collision_object::field_84
int field_84
Definition: Indoor.h:174
stru141_actor_collision_object::field_A4
int field_A4
Definition: Indoor.h:182
LightsData::field_3F4
int field_3F4
Definition: Indoor.h:74
BLVFaceExtra::field_1C
int16_t field_1C
Definition: Indoor.h:513
LightsData::vec_80
Vec3_int_ vec_80
Definition: Indoor.h:34
BLVSector::field_E
int16_t field_E
Definition: Indoor.h:528
stru_F81018
stru337 stru_F81018
Definition: Indoor.cpp:55
BspRenderer_stru0::field_A
int16_t field_A
Definition: Indoor.h:781
BLVLightMM6
Definition: Indoor.h:347
BLVLightMM7::uGreen
char uGreen
Definition: Indoor.h:361
stru141_actor_collision_object::prolly_normal_d
int prolly_normal_d
Definition: Indoor.h:152
IndoorLocation::ptr_0002B0_sector_rdata
uint16_t * ptr_0002B0_sector_rdata
Definition: Indoor.h:643
IndoorLocation::decal_builder
DecalBuilder * decal_builder
Definition: Indoor.h:654
IndoorLocation::ptr_0002B4_doors_ddata
uint16_t * ptr_0002B4_doors_ddata
Definition: Indoor.h:644
IndoorLocation::ptr_0002B8_sector_lrdata
uint16_t * ptr_0002B8_sector_lrdata
Definition: Indoor.h:645
BLVSector::pDecorationIDs
uint16_t * pDecorationIDs
Definition: Indoor.h:550
IndoorLocation::Release
void Release()
Definition: Indoor.cpp:761
BLVSector::uNumFaces
uint16_t uNumFaces
Definition: Indoor.h:539
BLVDoor::pYOffsets
uint16_t * pYOffsets
Definition: Indoor.h:399
stru154::field_15
char field_15
Definition: Indoor.h:245
BLVFaceExtra::field_A
int16_t field_A
Definition: Indoor.h:504
LightsData::field_258
int field_258
Definition: Indoor.h:51
LightsData::_blv_lights_xs
int _blv_lights_xs[20]
Definition: Indoor.h:42
stru315::field_10
int field_10
Definition: Indoor.h:114
stru315::field_8
int field_8
Definition: Indoor.h:112
BLVSector::exit_tag
int16_t exit_tag
Definition: Indoor.h:562
BLVDoor::uNumOffsets
uint16_t uNumOffsets
Definition: Indoor.h:404
stru337_stru0::field_8
int field_8
Definition: Indoor.h:192
DDM_DLV_Header::field_20
int field_20
Definition: Indoor.h:102
BLVRenderParams::_unused_vPartyPos
Vec3_int_ _unused_vPartyPos
Definition: Indoor.h:678
BLVDoor::Closing
@ Closing
Definition: Indoor.h:383
stru141_actor_collision_object::field_54
int field_54
Definition: Indoor.h:164
BLVFaceExtra::field_0
int16_t field_0
Definition: Indoor.h:499
IndoorCameraD3D.h
PrepareToLoadBLV
void PrepareToLoadBLV(unsigned int bLoading)
Definition: Indoor.cpp:2310
BLVFace::Fluid
bool Fluid() const
Definition: Indoor.h:449
stru141_actor_collision_object::field_80
int field_80
Definition: Indoor.h:173
stru316::field_C
int field_C
Definition: Indoor.h:136
BLVFace::Visible
bool Visible() const
Definition: Indoor.h:447
LEVEL_TYPE
LEVEL_TYPE
Definition: Indoor.h:284
BLVRenderParams::uViewportCenterX
int uViewportCenterX
Definition: Indoor.h:704
stru337::field_34
stru337_stru0 field_34
Definition: Indoor.h:210
FaceFlowTextureOffset
unsigned int FaceFlowTextureOffset(unsigned int uFaceID)
Definition: Indoor.cpp:562
stru316::field_14
int field_14
Definition: Indoor.h:138
LightsData::field_26C
int field_26C
Definition: Indoor.h:56
BLVHeader::uSector_rdata_Size
unsigned int uSector_rdata_Size
Definition: Indoor.h:331
ODMFace
Definition: BSPModel.h:93
IndoorLocation::ToggleLight
void ToggleLight(signed int uLightID, unsigned int bToggle)
Definition: Indoor.cpp:846
stru154::polygonType
PolygonType polygonType
Definition: Indoor.h:244
stru141_actor_collision_object::direction
Vec3_int_ direction
Definition: Indoor.h:165
BLVSector::pCylinderFaces
int32_t pCylinderFaces
Definition: Indoor.h:544
BspRenderer::BspRenderer
BspRenderer()
Definition: Indoor.h:802
BLVDoor::uAttributes
unsigned int uAttributes
Definition: Indoor.h:386
stru141_actor_collision_object::field_10
int field_10
Definition: Indoor.h:155
BLVFace::field_5E
char field_5E
Definition: Indoor.h:489
BLVSectorMM8::dword_000074
int dword_000074
Definition: Indoor.h:341
IndoorLocation::IndoorLocation
IndoorLocation()
Definition: Indoor.h:578
stru337::field_18
int field_18
Definition: Indoor.h:203
SpawnPointMM7::vPosition
Vec3_int_ vPosition
Definition: Indoor.h:314
LightsData::field_38
int field_38
Definition: Indoor.h:24
IndoorLocation::particle_engine
ParticleEngine * particle_engine
Definition: Indoor.h:657
BLVFaceExtra::field_4
int16_t field_4
Definition: Indoor.h:501
BLVSector::uNumMarkers
uint16_t uNumMarkers
Definition: Indoor.h:551
BLVFace::GetTexture
Texture * GetTexture()
Definition: Indoor.cpp:738
BLVLightMM7
Definition: Indoor.h:357
stru141_actor_collision_object::field_14
int field_14
Definition: Indoor.h:156
IndoorLocation::padding
char padding
Definition: Indoor.h:651
IndoorLocation::pVertices
struct Vec3_short_ * pVertices
Definition: Indoor.h:628
BLVRenderParams::field_88
int field_88
Definition: Indoor.h:709
BLVSector::uNumCeilings
uint16_t uNumCeilings
Definition: Indoor.h:530
LightsData::uNumLightsApplied
unsigned int uNumLightsApplied
Definition: Indoor.h:39
PrepareDrawLists_BLV
void PrepareDrawLists_BLV()
Definition: Indoor.cpp:102
sub_4088E9
int sub_4088E9(int a1, int a2, int a3, int a4, int a5, int a6)
Definition: Indoor.cpp:5277
BLVRenderParams::fov
int fov
Definition: Indoor.h:700
IndoorLocation::field_54
char field_54[404]
Definition: Indoor.h:625
stru352::field_28
int field_28
Definition: Indoor.h:264
mm7_data.h
POLYGON_InBetweenCeilingAndWall
@ POLYGON_InBetweenCeilingAndWall
Definition: Indoor.h:223
BLVHeader::field_0
char field_0[104]
Definition: Indoor.h:329
collide_against_floor_approximate
int collide_against_floor_approximate(int x, int y, int z, unsigned int *pSectorID, unsigned int *pFaceID)
Definition: Indoor.cpp:5667
Plane_float_
Definition: VectorTypes.h:135
LightsData::field_6C
int field_6C
Definition: Indoor.h:31
BLVSector::uLightDistanceMultiplier
int16_t uLightDistanceMultiplier
Definition: Indoor.h:559
IndoorLocation::GetSector
int GetSector(int sX, int sY, int sZ)
Definition: Indoor.cpp:1279
IndoorLocation::pFaces
struct BLVFace * pFaces
Definition: Indoor.h:630
LightsData::field_44
int field_44
Definition: Indoor.h:26
LightsData::field_30
int field_30
Definition: Indoor.h:22
IndoorLocation::uNumLights
int uNumLights
Definition: Indoor.h:635
stru337::field_28
int field_28
Definition: Indoor.h:207
LightsData::vec_8C
Vec3_int_ vec_8C
Definition: Indoor.h:35
LightsData::_blv_lights_rs
float _blv_lights_rs[20]
Definition: Indoor.h:66
BLVDoor::field_48
int16_t field_48
Definition: Indoor.h:403
BLVDoor::State
State
Definition: Indoor.h:379
stru141_actor_collision_object::CalcMovementExtents
int CalcMovementExtents(int a2)
Definition: Indoor.cpp:5697
SpawnPointMM7::IsMonsterSpawn
bool IsMonsterSpawn() const
Definition: Indoor.h:321
LightsData::_blv_lights_bs
float _blv_lights_bs[20]
Definition: Indoor.h:68
stru352::field_24
int field_24
Definition: Indoor.h:263
BLVSector::field_36
int16_t field_36
Definition: Indoor.h:543
BLVSector
Definition: Indoor.h:522
stru352::field_8
int field_8
Definition: Indoor.h:256
RenderVertexSoft
Definition: IRender.h:113
BLVRenderParams::uViewportHeight
int uViewportHeight
Definition: Indoor.h:702
sub_4406BC
void sub_4406BC(unsigned int node_id, unsigned int uFirstNode)
Definition: Indoor.cpp:2987
stru315::field_34_palette
uint16_t * field_34_palette
Definition: Indoor.h:123
BspRenderer::MakeVisibleSectorList
void MakeVisibleSectorList()
Definition: Indoor.cpp:3692
LocationTime_stru1
Definition: Indoor.h:273
LightsData::_blv_lights_inv_radii
int _blv_lights_inv_radii[20]
Definition: Indoor.h:41
SpawnPointMM7::uGroup
unsigned int uGroup
Definition: Indoor.h:319
BLVSector::field_1E
int16_t field_1E
Definition: Indoor.h:534
BLVDoor::uDoorID
unsigned int uDoorID
Definition: Indoor.h:387
stru141_actor_collision_object::field_4C
int field_4C
Definition: Indoor.h:162
Engine_::IocContainer::ResolveSpellFxRenderer
static SpellFxRenderer * ResolveSpellFxRenderer()
Definition: IocContainer.cpp:74
LocationTime_stru1::day_attrib
int day_attrib
Definition: Indoor.h:276
BLVMapOutline::uVertex2ID
uint16_t uVertex2ID
Definition: Indoor.h:414
LightsData::field_3EC
int field_3EC
Definition: Indoor.h:72
GetPortalScreenCoord
int GetPortalScreenCoord(unsigned int uFaceID)
Definition: Indoor.cpp:4045
BspRenderer_PortalViewportData::_viewport_space_w
int _viewport_space_w
Definition: Indoor.h:754
BLVSector::field_0
int32_t field_0
Definition: Indoor.h:523
stru315::pColorBuffer
uint16_t * pColorBuffer
Definition: Indoor.h:126
SpawnPointMM7::uIndex
uint16_t uIndex
Definition: Indoor.h:317
stru315::field_0
int field_0
Definition: Indoor.h:110
Engine_::IocContainer::ResolveLightmapBuilder
static LightmapBuilder * ResolveLightmapBuilder()
Definition: IocContainer.cpp:81
DDM_DLV_Header::uNumBModels
unsigned int uNumBModels
Definition: Indoor.h:100
IndoorLocation::PrepareDecorationsRenderList_BLV
void PrepareDecorationsRenderList_BLV(unsigned int uDecorationID, unsigned int uSectorID)
Definition: Indoor.cpp:3042
BLVSector::uNumDecorations
uint16_t uNumDecorations
Definition: Indoor.h:548
pBspRenderer
struct BspRenderer * pBspRenderer
Definition: Indoor.cpp:57
IndoorLocation::ExecDraw_d3d
void ExecDraw_d3d(unsigned int uFaceID, struct IndoorCameraD3D_Vec4 *pVertices, unsigned int uNumVertices, struct RenderVertexSoft *pPortalBounding)
Definition: Indoor.cpp:409
BLVMapOutline::uVertex1ID
uint16_t uVertex1ID
Definition: Indoor.h:413
BLV_UpdateUserInputAndOther
void BLV_UpdateUserInputAndOther()
Definition: Indoor.cpp:3779
stru141_actor_collision_object::position
Vec3_int_ position
Definition: Indoor.h:160
IndoorLocation::Alloc
bool Alloc()
Definition: Indoor.cpp:812
LightsData::_blv_lights_types
char _blv_lights_types[20]
Definition: Indoor.h:69
BLVRenderParams::uViewportY
unsigned int uViewportY
Definition: Indoor.h:697
BLVMapOutlines
Definition: Indoor.h:568
stru141_actor_collision_object::velocity
Vec3_int_ velocity
Definition: Indoor.h:158
BspRenderer_stru0::uViewportZ
uint16_t uViewportZ
Definition: Indoor.h:779
IndoorLocation::PrepareActorRenderList_BLV
void PrepareActorRenderList_BLV()
Definition: Indoor.cpp:2739
BLVSector::field_16
int16_t field_16
Definition: Indoor.h:531
BLVDoor::Open
@ Open
Definition: Indoor.h:382
IndoorLocation::pDoors
struct BLVDoor * pDoors
Definition: Indoor.h:638
String
std::string String
Definition: Strings.h:10
stru141_actor_collision_object::field_18
int field_18
Definition: Indoor.h:157
LightsData::field_3E8
int field_3E8
Definition: Indoor.h:71
POLYGON_Ceiling
@ POLYGON_Ceiling
Definition: Indoor.h:222
PolygonType
PolygonType
Definition: Indoor.h:216
BLVFace::uAttributes
unsigned int uAttributes
Definition: Indoor.h:475
BLVFace::pVertexUIDs
int16_t * pVertexUIDs
Definition: Indoor.h:480
GameTime
Definition: Time.h:14
stru352::field_0
int field_0
Definition: Indoor.h:254
stru337_stru0
Definition: Indoor.h:189
BspFace
Definition: Indoor.h:792
stru154::vdestructor_ptr
void(*** vdestructor_ptr)(stru154 *, bool)
Definition: Indoor.h:242
BLVDoor::uTimeSinceTriggered
unsigned int uTimeSinceTriggered
Definition: Indoor.h:388
BLVRenderParams::_unused_uFlags
int _unused_uFlags
Definition: Indoor.h:676
stru337_stru0::field_10
int field_10
Definition: Indoor.h:194
LightsData::field_7C
int field_7C
Definition: Indoor.h:33
DecalBuilder
Definition: DecalBuilder.h:123
BLVDoor::uCloseSpeed
int uCloseSpeed
Definition: Indoor.h:392
BLVSector::uMinAmbientLightLevel
int16_t uMinAmbientLightLevel
Definition: Indoor.h:560
stru141_actor_collision_object::pid
unsigned int pid
Definition: Indoor.h:171
BLVFace::uFaceExtraID
uint16_t uFaceExtraID
Definition: Indoor.h:482
BLVRenderParams
Definition: Indoor.h:665
POLYGON_VerticalWall
@ POLYGON_VerticalWall
Definition: Indoor.h:218
stru_721530
stru141_actor_collision_object stru_721530
Definition: Indoor.cpp:58
BLVFace::zCalc1
int zCalc1
Definition: Indoor.h:472
BspRenderer_stru0::std__vector_0007AC
IndoorCameraD3D_Vec4 std__vector_0007AC[4]
Definition: Indoor.h:786
BLVFace::Deserialize
bool Deserialize(struct BLVFace_MM7 *)
Definition: Indoor.cpp:74
Strings.h
stru141_actor_collision_object::sMinZ
int sMinZ
Definition: Indoor.h:181