Mercurial > mm7
diff Sprites.h @ 1103:db395ce89ede
struct/class incostintency
author | Grumpy7 |
---|---|
date | Mon, 27 May 2013 21:30:40 +0200 |
parents | af20650a052f |
children | 7ef4b64f6329 |
line wrap: on
line diff
--- a/Sprites.h Mon May 27 15:57:58 2013 +0100 +++ b/Sprites.h Mon May 27 21:30:40 2013 +0200 @@ -3,8 +3,9 @@ /* 18 */ #pragma pack(push, 1) -struct Sprite //28h +class Sprite //28h { +public: void Release(); const char *pName; //0 @@ -23,8 +24,9 @@ /* 42 */ #pragma pack(push, 1) -struct SpriteFrame +class SpriteFrame { +public: char pIconName[12]; char pTextureName[12]; //c __int16 pHwSpriteIDs[8]; //18h @@ -65,8 +67,8 @@ signed int uNumSpriteFrames; unsigned int uNumEFrames;//field_4; int unused_field; //field_8 - struct SpriteFrame *pSpriteSFrames; //0c - struct SpriteFrame **pSpritePFrames; //10h + SpriteFrame *pSpriteSFrames; //0c + SpriteFrame **pSpritePFrames; //10h __int16 *pSpriteEFrames; //14h }; #pragma pack(pop)