annotate PlayerFrameTable.h @ 2475:acac52e9e36a

remove DirectX11.cpp/.h for VS2010, MatrixMultiply and other
author Ritor1
date Thu, 21 Aug 2014 11:24:51 +0600
parents 0f17a30149ec
children
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2
2463
0f17a30149ec cleaning project part 1
zipi
parents: 1477
diff changeset
3 #include "Player.h"
0
Ritor1
parents:
diff changeset
4
Ritor1
parents:
diff changeset
5 /* 46 */
Ritor1
parents:
diff changeset
6 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
7 struct PlayerFrame
Ritor1
parents:
diff changeset
8 {
130
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
9 CHARACTER_EXPRESSION_ID expression;
0
Ritor1
parents:
diff changeset
10 unsigned __int16 uTextureID;
Ritor1
parents:
diff changeset
11 __int16 uAnimTime;
Ritor1
parents:
diff changeset
12 __int16 uAnimLength;
Ritor1
parents:
diff changeset
13 __int16 uFlags;
Ritor1
parents:
diff changeset
14 };
Ritor1
parents:
diff changeset
15 #pragma pack(pop)
Ritor1
parents:
diff changeset
16
Ritor1
parents:
diff changeset
17
Ritor1
parents:
diff changeset
18 /* 47 */
Ritor1
parents:
diff changeset
19 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
20 struct PlayerFrameTable
Ritor1
parents:
diff changeset
21 {
Ritor1
parents:
diff changeset
22 inline PlayerFrameTable():
Ritor1
parents:
diff changeset
23 uNumFrames(0), pFrames(nullptr)
Ritor1
parents:
diff changeset
24 {}
Ritor1
parents:
diff changeset
25
130
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
26 unsigned int GetFrameIdByExpression(CHARACTER_EXPRESSION_ID expression);
0
Ritor1
parents:
diff changeset
27 PlayerFrame *GetFrameBy_x(unsigned int uFramesetID, unsigned int uFrameID);
Ritor1
parents:
diff changeset
28 PlayerFrame *GetFrameBy_y(int *a2, int *a3, int a4);
Ritor1
parents:
diff changeset
29 void ToFile();
1477
7ef4b64f6329 * LODFile::LoadBitmaps & LODFile::LoadIconsOrEvents are merged into LODFile::Load
Nomad
parents: 1254
diff changeset
30 void FromFile(void *data_mm6, void *data_mm7, void *data_mm8);
0
Ritor1
parents:
diff changeset
31 int FromFileTxt(const char *Args);
Ritor1
parents:
diff changeset
32
Ritor1
parents:
diff changeset
33 unsigned int uNumFrames;
Ritor1
parents:
diff changeset
34 struct PlayerFrame *pFrames;
Ritor1
parents:
diff changeset
35 };
Ritor1
parents:
diff changeset
36 #pragma pack(pop)
Ritor1
parents:
diff changeset
37
Ritor1
parents:
diff changeset
38
Ritor1
parents:
diff changeset
39
Ritor1
parents:
diff changeset
40 extern struct PlayerFrameTable *pPlayerFrameTable; // idb