annotate PlayerFrameTable.h @ 1475:d7720c1f1d3b

Слияние
author Ritor1
date Wed, 28 Aug 2013 14:39:01 +0600
parents b9747d9e9b4e
children 7ef4b64f6329
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4 /* 46 */
Ritor1
parents:
diff changeset
5 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
6 struct PlayerFrame
Ritor1
parents:
diff changeset
7 {
130
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
8 CHARACTER_EXPRESSION_ID expression;
0
Ritor1
parents:
diff changeset
9 unsigned __int16 uTextureID;
Ritor1
parents:
diff changeset
10 __int16 uAnimTime;
Ritor1
parents:
diff changeset
11 __int16 uAnimLength;
Ritor1
parents:
diff changeset
12 __int16 uFlags;
Ritor1
parents:
diff changeset
13 };
Ritor1
parents:
diff changeset
14 #pragma pack(pop)
Ritor1
parents:
diff changeset
15
Ritor1
parents:
diff changeset
16
Ritor1
parents:
diff changeset
17 /* 47 */
Ritor1
parents:
diff changeset
18 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
19 struct PlayerFrameTable
Ritor1
parents:
diff changeset
20 {
Ritor1
parents:
diff changeset
21 inline PlayerFrameTable():
Ritor1
parents:
diff changeset
22 uNumFrames(0), pFrames(nullptr)
Ritor1
parents:
diff changeset
23 {}
Ritor1
parents:
diff changeset
24
130
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
25 unsigned int GetFrameIdByExpression(CHARACTER_EXPRESSION_ID expression);
0
Ritor1
parents:
diff changeset
26 PlayerFrame *GetFrameBy_x(unsigned int uFramesetID, unsigned int uFrameID);
Ritor1
parents:
diff changeset
27 PlayerFrame *GetFrameBy_y(int *a2, int *a3, int a4);
Ritor1
parents:
diff changeset
28 void ToFile();
Ritor1
parents:
diff changeset
29 void FromFile(void *pSerialized);
Ritor1
parents:
diff changeset
30 int FromFileTxt(const char *Args);
Ritor1
parents:
diff changeset
31
Ritor1
parents:
diff changeset
32 unsigned int uNumFrames;
Ritor1
parents:
diff changeset
33 struct PlayerFrame *pFrames;
Ritor1
parents:
diff changeset
34 };
Ritor1
parents:
diff changeset
35 #pragma pack(pop)
Ritor1
parents:
diff changeset
36
Ritor1
parents:
diff changeset
37
Ritor1
parents:
diff changeset
38
Ritor1
parents:
diff changeset
39 extern struct PlayerFrameTable *pPlayerFrameTable; // idb