Mercurial > mm7
diff Render.h @ 2006:30c2b575d25c
signed fixes
DamagePlayerFromMonster -1 indexing
author | zipi |
---|---|
date | Wed, 06 Nov 2013 13:06:02 +0000 |
parents | 2e6c63bdcfa9 |
children | 259df09dfb50 |
line wrap: on
line diff
--- a/Render.h Wed Nov 06 00:09:47 2013 -0800 +++ b/Render.h Wed Nov 06 13:06:02 2013 +0000 @@ -42,7 +42,7 @@ { Vec3_float_ pos; float rhw; - unsigned int diffuse; + signed int diffuse; unsigned int specular; Vec2_float_ texcoord; }; @@ -79,7 +79,7 @@ __int16 uScreenSpaceX; __int16 uScreenSpaceY; unsigned __int16 dimming_level; - unsigned int uTintColor; + signed int sTintColor; SpriteFrame *pSpriteFrame; inline float GetFloatZ() const @@ -187,13 +187,13 @@ #pragma pack(push, 1) struct RenderBillboardD3D { - enum OpacityType: unsigned __int32 + enum OpacityType: signed __int32 { Transparent = 0, Opaque_1 = 1, Opaque_2 = 2, Opaque_3 = 3, - NoBlend = 0xFFFFFFFF + NoBlend = -1 }; IDirect3DTexture2 *pTexture; @@ -499,7 +499,7 @@ unsigned int uViewportW; int field_44; int sParentBillboardID; - int uTintColor; + int sTintColor; }; #pragma pack(pop)