0
|
1 #pragma once
|
|
2
|
|
3
|
1332
|
4 enum TURN_ENGINE_FLAGS
|
|
5 {
|
|
6 TE_FLAG_1 =1,
|
|
7 TE_FLAG_2 =2,
|
|
8 TE_PLAYER_TURN =4,
|
|
9 TE_FLAG_8 =8
|
|
10 };
|
|
11
|
0
|
12
|
|
13 /* 299 */
|
|
14 #pragma pack(push, 1)
|
|
15 struct TurnBased_QueueElem
|
|
16 {
|
372
|
17 inline TurnBased_QueueElem()
|
|
18 {
|
|
19 uPackedID = 0;
|
|
20 field_4 = 0;
|
|
21 uActionLength = 0;
|
|
22 field_C = 0;
|
|
23 }
|
0
|
24 int uPackedID;
|
|
25 int field_4;
|
|
26 int uActionLength;
|
|
27 int field_C;
|
|
28 };
|
|
29 #pragma pack(pop)
|
|
30
|
|
31 /* 254 */
|
|
32 #pragma pack(push, 1)
|
|
33 struct stru262_TurnBased
|
|
34 {
|
370
|
35 inline stru262_TurnBased()
|
|
36 {
|
|
37 field_0 = 0;
|
1340
|
38 turn_stage = 0;
|
370
|
39 field_8 = 0;
|
|
40 uActorQueueSize = 0;
|
|
41 field_10 = 0;
|
|
42 uActionPointsLeft = 0;
|
|
43 field_18 = 0;
|
|
44 field_1C = 0;
|
|
45 }
|
|
46
|
1332
|
47 void SortTurnQueue();
|
0
|
48 void _40471C();
|
1331
|
49 void Start();
|
0
|
50 void End(bool bPlaySound);
|
|
51 void _405E14();
|
|
52 __int16 StartTurn();
|
|
53 void NextTurn();
|
|
54 int _4063A1();
|
1340
|
55 void _406457(int a2);
|
0
|
56 void _40652A();
|
322
|
57 void _4065B0();
|
|
58 void _406648(unsigned int a2);
|
0
|
59 __int16 _40680F(int a2);
|
|
60 void _406A63();
|
|
61 void _406AFE();
|
|
62 int _406B9F();
|
1332
|
63 bool ActorTurn(signed int a2);
|
0
|
64 void _406FA8();
|
|
65
|
|
66
|
|
67 int field_0;
|
1340
|
68 int turn_stage;
|
0
|
69 int field_8;
|
1330
|
70 int uActorQueueSize; //c
|
0
|
71 int field_10;
|
1330
|
72 int uActionPointsLeft; //14
|
0
|
73 int field_18;
|
|
74 int field_1C;
|
1330
|
75 TurnBased_QueueElem pQueue[504]; //20
|
0
|
76 };
|
|
77 #pragma pack(pop)
|
|
78
|
|
79
|
|
80
|
|
81 extern struct stru262_TurnBased *pTurnEngine; |