-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDialogue.bt
More file actions
53 lines (47 loc) · 1.01 KB
/
Dialogue.bt
File metadata and controls
53 lines (47 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef _DIALOGUE
#define _DIALOGUE
#include "Common.bt"
typedef enum <uint> {
Armstrong = 0x3B6D5087,
Duke = 0xF3FA69F7,
MacKenzie = 0x3749E413,
Tokabi = 0xF1CAB965,
VUE_995 = 0x5AFA1EB5,
Samus = 0x525C2625,
Sylux = 0x97CE32B7,
None = 0x1344B4AA
} DialogueActor;
typedef struct Line {
CStringFixed label;
ubyte unk[4];
DialogueActor speakerId<format=hex>;
DialogueActor targetId<format=hex>;
ubyte unk1[4];
GUID caud;
byte unk2[10];
};
typedef struct Scene {
uint maybe_id <format=hex>;
uint unk1;
uint unk2[2];
ubyte unk3[4];
uint unk4[2];
ubyte unk5[6];
uint unk6;
ubyte hasLDCH;
if (hasLDCH) {
ubyte magic[4];
uint ldchSize;
uint ldchUnks[4];
ubyte unk0[ldchSize];
}
uint lineCount;
Line lines[lineCount] <optimize=false>;
};
typedef struct Dialogue {
uint count;
if (count) {
Scene scenes[count] <optimize=false>;
}
};
#endif// _DIALOGUE