Mercurial > mm7
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 | 1 #pragma once |
2 | |
2463 | 3 #include "Player.h" |
0 | 4 |
5 /* 46 */ | |
6 #pragma pack(push, 1) | |
7 struct PlayerFrame | |
8 { | |
130 | 9 CHARACTER_EXPRESSION_ID expression; |
0 | 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 | |
130 | 26 unsigned int GetFrameIdByExpression(CHARACTER_EXPRESSION_ID expression); |
0 | 27 PlayerFrame *GetFrameBy_x(unsigned int uFramesetID, unsigned int uFrameID); |
28 PlayerFrame *GetFrameBy_y(int *a2, int *a3, int a4); | |
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 | 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 |