Mercurial > mm7
comparison Indoor_stuff.h @ 676:ecfb1b3c9a39
BLV: when standing right on the portal (orange wall) everything looks fine
author | Nomad |
---|---|
date | Fri, 15 Mar 2013 04:13:24 +0200 |
parents | a5750c94b022 |
children | 2f4e33c1ed24 |
comparison
equal
deleted
inserted
replaced
675:92c1e1250e7c | 676:ecfb1b3c9a39 |
---|---|
61 #pragma pack(pop) | 61 #pragma pack(pop) |
62 | 62 |
63 | 63 |
64 | 64 |
65 | 65 |
66 #pragma pack(push, 1) | |
67 struct BspFace | |
68 { | |
69 unsigned __int16 uFaceID; | |
70 unsigned __int16 uNodeID; | |
71 }; | |
72 #pragma pack(pop) | |
73 | |
66 | 74 |
67 /* 163 */ | 75 /* 163 */ |
68 #pragma pack(push, 1) | 76 #pragma pack(push, 1) |
69 struct BspRenderer // stru170 | 77 struct BspRenderer // stru170 |
70 { | 78 { |
72 inline BspRenderer() | 80 inline BspRenderer() |
73 { | 81 { |
74 // _eh_vector_constructor_iterator_(field_FA8, 2252, 150, | 82 // _eh_vector_constructor_iterator_(field_FA8, 2252, 150, |
75 // (void (__thiscall *)(void *))stru170_stru0::stru170_stru0, | 83 // (void (__thiscall *)(void *))stru170_stru0::stru170_stru0, |
76 // (void (__thiscall *)(void *))stru170_stru0::dtor); | 84 // (void (__thiscall *)(void *))stru170_stru0::dtor); |
77 uNumFaceIDs = 0; | 85 num_faces = 0; |
78 pNumSectors = 0; | 86 num_nodes = 0; |
79 uNumVisibleNotEmptySectors = 0; | 87 uNumVisibleNotEmptySectors = 0; |
80 } | 88 } |
81 | 89 |
82 void AddFaceToRenderList_sw(int a2, unsigned int uFaceID); | 90 void AddFaceToRenderList_sw(unsigned int node_id, unsigned int uFaceID); |
83 void AddFaceToRenderList_d3d(signed int a2, unsigned int uFaceID); | 91 void AddFaceToRenderList_d3d(unsigned int node_id, unsigned int uFaceID); |
84 void MakeVisibleSectorList(); | 92 void MakeVisibleSectorList(); |
85 void DrawFaceOutlines(); | 93 void DrawFaceOutlines(); |
86 | 94 |
87 unsigned int uNumFaceIDs; | 95 unsigned int num_faces; |
88 __int16 pFaceIDs[2000]; | 96 //__int16 pFaceIDs[2000]; |
97 BspFace faces[1000]; | |
89 //char field_130[3700]; | 98 //char field_130[3700]; |
90 unsigned int pNumSectors; | 99 unsigned int num_nodes; |
91 BspRenderer_stru0 pSectors[150]; | 100 BspRenderer_stru0 nodes[150]; |
92 unsigned int uNumVisibleNotEmptySectors; | 101 unsigned int uNumVisibleNotEmptySectors; |
93 unsigned __int16 pVisibleSectorIDs_toDrawDecorsActorsEtcFrom[6]; | 102 unsigned __int16 pVisibleSectorIDs_toDrawDecorsActorsEtcFrom[6]; |
94 }; | 103 }; |
95 #pragma pack(pop) | 104 #pragma pack(pop) |
96 | 105 |