Mercurial > might-and-magic-trilogy
comparison Outdoor.h @ 59:5159d2e6f559
BLV render
author | Nomad |
---|---|
date | Fri, 26 Oct 2012 02:38:26 +0200 |
parents | 8b8875f5b359 |
children | 8c6308bb19b3 6c42178c226e 62bfa3ffe7db |
comparison
equal
deleted
inserted
replaced
58:41cbaabde2cb | 59:5159d2e6f559 |
---|---|
72 { | 72 { |
73 bool HasEventHint(); | 73 bool HasEventHint(); |
74 | 74 |
75 | 75 |
76 static bool IsBackfaceCulled(struct ODMFace *a1, struct RenderVertexSoft *a2, struct stru148 *a3); | 76 static bool IsBackfaceCulled(struct ODMFace *a1, struct RenderVertexSoft *a2, struct stru148 *a3); |
77 | 77 |
78 inline bool Invisible() const {return uAttributes & FACE_INVISIBLE;} | |
79 inline bool Visible() const {return !Invisible();} | |
80 inline bool TwoSided() const {return uAttributes & FACE_TWO_SIDED;} | |
78 | 81 |
79 struct Plane_int_ pFacePlane; | 82 struct Plane_int_ pFacePlane; |
80 int zCalc1; | 83 int zCalc1; |
81 int zCalc2; | 84 int zCalc2; |
82 int zCalc3; | 85 int zCalc3; |
83 unsigned int uFaceAttributes; | 86 unsigned int uAttributes; |
84 unsigned __int16 pVertexIDs[20]; | 87 unsigned __int16 pVertexIDs[20]; |
85 unsigned __int16 pTextureUIDs[20]; | 88 unsigned __int16 pTextureUIDs[20]; |
86 unsigned __int16 pTextureVIDs[20]; | 89 unsigned __int16 pTextureVIDs[20]; |
87 unsigned __int16 pXInterceptDisplacements[20]; | 90 unsigned __int16 pXInterceptDisplacements[20]; |
88 unsigned __int16 pYInterceptDisplacements[20]; | 91 unsigned __int16 pYInterceptDisplacements[20]; |