Mercurial > mm7
comparison Outdoor.h @ 1401:3161094869e0
Слияние
author | Ritor1 |
---|---|
date | Fri, 19 Jul 2013 12:50:44 +0600 |
parents | cc9a3a24d61d |
children | 75fafd8ced59 |
comparison
equal
deleted
inserted
replaced
1400:9b091098c88c | 1401:3161094869e0 |
---|---|
1 #pragma | 1 #pragma |
2 | 2 |
3 #include "Indoor.h" | 3 #include "Indoor.h" |
4 #include "TileFrameTable.h" | 4 #include "TileFrameTable.h" |
5 #include "BSPModel.h" | |
5 | 6 |
6 #define DAY_ATTRIB_FOG 1 | 7 #define DAY_ATTRIB_FOG 1 |
7 | 8 |
8 /* 256 */ | 9 /* 256 */ |
9 #pragma pack(push, 1) | 10 #pragma pack(push, 1) |
79 struct ODMFace | 80 struct ODMFace |
80 { | 81 { |
81 bool HasEventHint(); | 82 bool HasEventHint(); |
82 | 83 |
83 | 84 |
84 static bool IsBackfaceCulled(struct ODMFace *a1, struct RenderVertexSoft *a2, struct stru148 *a3); | 85 static bool IsBackfaceCulled(struct ODMFace *a1, struct RenderVertexSoft *a2, struct Polygon *a3); |
85 | 86 |
86 inline bool Invisible() const {return (uAttributes & FACE_INVISIBLE) != 0;} | 87 inline bool Invisible() const {return (uAttributes & FACE_INVISIBLE) != 0;} |
87 inline bool Visible() const {return !Invisible();} | 88 inline bool Visible() const {return !Invisible();} |
88 inline bool Portal() const {return (uAttributes & FACE_PORTAL) != 0;} | 89 inline bool Portal() const {return (uAttributes & FACE_PORTAL) != 0;} |
89 inline bool Fluid() const {return (uAttributes & FACE_FLUID) != 0;} | 90 inline bool Fluid() const {return (uAttributes & FACE_FLUID) != 0;} |