annotate PlayerFrameTable.h @ 1865:e622546c8f0c

Actor::AI_FaceObject cleanup
author Grumpy7
date Mon, 14 Oct 2013 08:22:12 +0200
parents 7ef4b64f6329
children 0f17a30149ec
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();
1477
7ef4b64f6329 * LODFile::LoadBitmaps & LODFile::LoadIconsOrEvents are merged into LODFile::Load
Nomad
parents: 1254
diff changeset
29 void FromFile(void *data_mm6, void *data_mm7, void *data_mm8);
0
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