-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtr7ae_object.bt
69 lines (55 loc) · 1.37 KB
/
tr7ae_object.bt
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
//------------------------------------------------
//--- 010 Editor v11.0.1 Binary Template
//
// File: tr7ae_object.bt
// Authors: TheIndra
// Version: 1.0
// Purpose: Parsing the initial object section of objects
// Category: TR7AE
// File Mask: *.gnc
//------------------------------------------------
#include "tr7ae_section.bt"
typedef struct
{
int32 oflags <format=hex>;
int32 oflags2 <format=hex>;
int32 uniqueID;
uint32 guiID;
int32 functionTableID;
uintptr obsoleteSoundBank;
int16 numModels;
int16 numAnims;
int16 numAnimPatterns;
int16 pad <hidden=true>;
uintptr modelList;
uintptr animList;
uintptr animFXList;
uintptr animPatternList;
int32 introDist;
int32 vvIntroDist;
int32 removeDist;
int32 vvRemoveDist;
uintptr baseData;
uintptr data;
uintptr name;
uintptr soundData;
int16 sectionA;
int16 sectionB;
int16 sectionC;
int16 numberOfEffects;
uintptr effectList;
uintptr effectData;
uintptr objectDTPData;
uintptr textureLoadList;
uintptr childObjectList;
int32 lod1Dist;
int32 lod2Dist;
byte lod1Model;
char lod2Model;
byte shadowModel;
byte lightingOverride;
float maxCheckeeDistance;
uintptr rdSetupList;
} Object;
SectionHeader header;
Object object;