Mercurial > mm7
diff Indoor.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 | ccf8b4815a1f |
children | a5e587c8e30e |
line wrap: on
line diff
--- a/Indoor.h Thu Mar 14 23:44:03 2013 +0200 +++ b/Indoor.h Fri Mar 15 04:13:24 2013 +0200 @@ -250,7 +250,7 @@ #pragma pack(pop) -#define FACE_TWO_SIDED 0x00000001 // portal/two-sided +#define FACE_PORTAL 0x00000001 // portal/two-sided #define FACE_CAN_SATURATE_COLOR 0x00000002 #define FACE_TEXTURE_ANIMATED 0x00000010 // like wavy water #define FACE_INVISIBLE 0x00002000 @@ -284,7 +284,7 @@ inline bool Invisible() const {return uAttributes & FACE_INVISIBLE;} inline bool Visible() const {return !Invisible();} - inline bool TwoSided() const {return uAttributes & FACE_TWO_SIDED;} + inline bool Portal() const {return uAttributes & FACE_PORTAL;} inline bool Animated() const {return uAttributes & FACE_TEXTURE_ANIMATED;} inline bool Clickable() const {return uAttributes & FACE_CLICKABLE;} @@ -296,9 +296,9 @@ int zCalc3; unsigned int uAttributes; unsigned __int16 *pVertexIDs; - unsigned __int16 *pXInterceptDisplacements; - unsigned __int16 *pYInterceptDisplacements; - unsigned __int16 *pZInterceptDisplacements; + signed __int16 *pXInterceptDisplacements; + signed __int16 *pYInterceptDisplacements; + signed __int16 *pZInterceptDisplacements; signed __int16 *pVertexUIDs; signed __int16 *pVertexVIDs; unsigned __int16 uFaceExtraID;