0
|
1 #pragma once
|
|
2
|
|
3
|
|
4 /* 46 */
|
|
5 #pragma pack(push, 1)
|
|
6 struct PlayerFrame
|
|
7 {
|
130
|
8 CHARACTER_EXPRESSION_ID expression;
|
0
|
9 unsigned __int16 uTextureID;
|
|
10 __int16 uAnimTime;
|
|
11 __int16 uAnimLength;
|
|
12 __int16 uFlags;
|
|
13 };
|
|
14 #pragma pack(pop)
|
|
15
|
|
16
|
|
17 /* 47 */
|
|
18 #pragma pack(push, 1)
|
|
19 struct PlayerFrameTable
|
|
20 {
|
|
21 inline PlayerFrameTable():
|
|
22 uNumFrames(0), pFrames(nullptr)
|
|
23 {}
|
|
24
|
130
|
25 unsigned int GetFrameIdByExpression(CHARACTER_EXPRESSION_ID expression);
|
0
|
26 PlayerFrame *GetFrameBy_x(unsigned int uFramesetID, unsigned int uFrameID);
|
|
27 PlayerFrame *GetFrameBy_y(int *a2, int *a3, int a4);
|
|
28 void ToFile();
|
|
29 void FromFile(void *pSerialized);
|
|
30 int FromFileTxt(const char *Args);
|
|
31
|
|
32 unsigned int uNumFrames;
|
|
33 struct PlayerFrame *pFrames;
|
|
34 };
|
|
35 #pragma pack(pop)
|
|
36
|
|
37
|
|
38
|
|
39 extern struct PlayerFrameTable *pPlayerFrameTable; // idb |