Mercurial > mm7
comparison LightmapBuilder.h @ 538:1d876589a030
Слияние
author | Ritor1 |
---|---|
date | Sat, 02 Mar 2013 09:01:48 +0600 |
parents | 61343380715b |
children | db395ce89ede |
comparison
equal
deleted
inserted
replaced
537:db4631a484ae | 538:1d876589a030 |
---|---|
7 /* 115 */ | 7 /* 115 */ |
8 #pragma pack(push, 1) | 8 #pragma pack(push, 1) |
9 struct Lightmap | 9 struct Lightmap |
10 { | 10 { |
11 Lightmap(); | 11 Lightmap(); |
12 virtual ~Lightmap() {} | |
12 | 13 |
13 void (__thiscall ***vdestructor_ptr)(Lightmap *, bool); | 14 //void (__thiscall ***vdestructor_ptr)(Lightmap *, bool); |
14 unsigned int uNumVertices; | 15 unsigned int uNumVertices; |
15 RenderVertexSoft pVertices[64]; | 16 RenderVertexSoft pVertices[64]; |
16 __int16 field_C08; | 17 __int16 field_C08; |
17 __int16 field_C0A; | 18 __int16 field_C0A; |
18 __int16 field_C0C; | 19 __int16 field_C0C; |
27 /* 114 */ | 28 /* 114 */ |
28 #pragma pack(push, 1) | 29 #pragma pack(push, 1) |
29 struct LightmapBuilder | 30 struct LightmapBuilder |
30 { | 31 { |
31 LightmapBuilder(); | 32 LightmapBuilder(); |
32 inline ~LightmapBuilder() //----- (0045BBAA) | 33 virtual ~LightmapBuilder() //----- (0045BBAA) |
33 {} | 34 {} |
34 | 35 |
35 void DoDrawLightmaps(); | 36 void DoDrawLightmaps(); |
36 bool DrawLightmap(Lightmap *a1, Vec3_float_ *pColorMult, float z_bias); | 37 bool DrawLightmap(Lightmap *a1, Vec3_float_ *pColorMult, float z_bias); |
37 bool DrawLightmaps2(float a2); | 38 bool DrawLightmaps2(float a2); |
55 int _45C4B9(int a2, struct RenderVertexSoft *a3, Lightmap *pLightmap); | 56 int _45C4B9(int a2, struct RenderVertexSoft *a3, Lightmap *pLightmap); |
56 bool _45BE86_build_light_polygon(Vec3_int_ *pos, float radius, unsigned int uColorMask, float dot_dist, int uLightType, struct stru314 *a7, unsigned int uNumVertices, RenderVertexSoft *a9, char uClipFlag); | 57 bool _45BE86_build_light_polygon(Vec3_int_ *pos, float radius, unsigned int uColorMask, float dot_dist, int uLightType, struct stru314 *a7, unsigned int uNumVertices, RenderVertexSoft *a9, char uClipFlag); |
57 bool ApplyLights(struct stru320 *a2, struct stru154 *a3, unsigned int uNumVertices, struct RenderVertexSoft *a5, struct IndoorCameraD3D_Vec4 *, char uClipFlag); | 58 bool ApplyLights(struct stru320 *a2, struct stru154 *a3, unsigned int uNumVertices, struct RenderVertexSoft *a5, struct IndoorCameraD3D_Vec4 *, char uClipFlag); |
58 | 59 |
59 | 60 |
60 void (__thiscall ***vdestructor_ptr)(LightmapBuilder *, bool); | 61 //void (__thiscall ***vdestructor_ptr)(LightmapBuilder *, bool); |
61 //std::vector<Lightmap> std__vector_000004; | 62 //std::vector<Lightmap> std__vector_000004; |
62 //std::vector<Lightmap> std__vector_183808; | 63 //std::vector<Lightmap> std__vector_183808; |
63 Lightmap std__vector_000004[512]; | 64 Lightmap std__vector_000004[512]; |
64 unsigned int std__vector_000004_size; | 65 unsigned int std__vector_000004_size; |
65 Lightmap std__vector_183808[768]; | 66 Lightmap std__vector_183808[768]; |