-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCUniverseInfo.bt
More file actions
49 lines (44 loc) · 838 Bytes
/
CUniverseInfo.bt
File metadata and controls
49 lines (44 loc) · 838 Bytes
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
#ifndef _CUNIVERSEINFO
#define _CUNIVERSEINFO
#include "CChunkDescriptor.bt"
#include "Common.bt"
typedef struct {
ChunkDescriptor chunk;
GUID guid;
CStringFixed tname;
if (!isDKCTF)
{
uint unk1;
uint unk2;
GUID unk3;
GUID unk4;
uint unk5;
if (unk5) {
struct {
GUID guid;
} guids[unk5];
}
}
else
{
byte WorldNumber;
byte ActNumber;
byte LevelType; //0: Standard, 1: Boss, 2: KONG Letter Bonus
uint16 PuzzlePieces; //Puzzle Pieces for display
uint32 unkn[5];
}
} CAreaInfo;
typedef struct CUniverseInfo(uint64 size) {
local uint64 start = FTell();
GUID guid1;
GUID guid2;
if (!isDKCTF)
{
ChunkDescriptor chunk;
}
GUID guid3;
while (FTell() < start + size) {
CAreaInfo areaInfo;
}
} CUniverseInfo;
#endif // _CUNIVERSEINFO