Mercurial > mm7
comparison PlayerFrameTable.h @ 0:9c0607679772
init
author | Ritor1 |
---|---|
date | Sat, 12 Jan 2013 09:45:18 +0600 |
parents | |
children | 1c471f3629fb |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:9c0607679772 |
---|---|
1 #pragma once | |
2 | |
3 | |
4 | |
5 /* 46 */ | |
6 #pragma pack(push, 1) | |
7 struct PlayerFrame | |
8 { | |
9 __int16 uSequenceID; | |
10 unsigned __int16 uTextureID; | |
11 __int16 uAnimTime; | |
12 __int16 uAnimLength; | |
13 __int16 uFlags; | |
14 }; | |
15 #pragma pack(pop) | |
16 | |
17 | |
18 /* 47 */ | |
19 #pragma pack(push, 1) | |
20 struct PlayerFrameTable | |
21 { | |
22 inline PlayerFrameTable(): | |
23 uNumFrames(0), pFrames(nullptr) | |
24 {} | |
25 | |
26 unsigned int GetFrameIdBy_field0(int uField0); | |
27 PlayerFrame *GetFrameBy_x(unsigned int uFramesetID, unsigned int uFrameID); | |
28 PlayerFrame *GetFrameBy_y(int *a2, int *a3, int a4); | |
29 void ToFile(); | |
30 void FromFile(void *pSerialized); | |
31 int FromFileTxt(const char *Args); | |
32 | |
33 unsigned int uNumFrames; | |
34 struct PlayerFrame *pFrames; | |
35 }; | |
36 #pragma pack(pop) | |
37 | |
38 | |
39 | |
40 extern struct PlayerFrameTable *pPlayerFrameTable; // idb |