Mercurial > mm7
comparison Render.h @ 159:3235bc4cf78e
NPCDialogue
author | Ritor1 |
---|---|
date | Thu, 14 Feb 2013 01:13:46 +0600 |
parents | 8ab4484c22e0 |
children | d1dde383af89 |
comparison
equal
deleted
inserted
replaced
158:f4ebd13c2a8e | 159:3235bc4cf78e |
---|---|
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) |