Mercurial > mm7
comparison Render.h @ 169:d1dde383af89
Merge
author | Nomad |
---|---|
date | Thu, 14 Feb 2013 14:03:17 +0200 |
parents | ee11772d0ad2 3235bc4cf78e |
children | d65528fc3bda |
comparison
equal
deleted
inserted
replaced
168:ee11772d0ad2 | 169:d1dde383af89 |
---|---|
68 __int16 uScreenSpaceX; | 68 __int16 uScreenSpaceX; |
69 __int16 uScreenSpaceY; | 69 __int16 uScreenSpaceY; |
70 unsigned __int16 uPaletteSubindex; | 70 unsigned __int16 uPaletteSubindex; |
71 unsigned int uTintColor; | 71 unsigned int uTintColor; |
72 SpriteFrame *pSpriteFrame; | 72 SpriteFrame *pSpriteFrame; |
73 | |
74 inline float GetFloatZ() const | |
75 { | |
76 return LOWORD(sZValue) / 65535.0f + (float)HIWORD(sZValue); | |
77 } | |
73 }; | 78 }; |
74 #pragma pack(pop) | 79 #pragma pack(pop) |
75 | 80 |
76 | 81 |
77 #pragma pack(push, 1) | 82 #pragma pack(push, 1) |