-
Notifications
You must be signed in to change notification settings - Fork 6
/
ItemColl.h
53 lines (42 loc) · 1.06 KB
/
ItemColl.h
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
// ItemColl.h: interface for the CItemColl class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ITEMCOLL_H__398795B0_23C8_4FD0_B72E_D1AC84042D08__INCLUDED_)
#define AFX_ITEMCOLL_H__398795B0_23C8_4FD0_B72E_D1AC84042D08__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Util.h"
#include "HaloStructDefs.h"
typedef struct STRUCT_ITEMCOLL_HEADER
{
REFLEXIVE chunk1;
UINT unk[20];
}ITEMCOLL_HEADER;
typedef struct STRUCT_ITEMCOLL_CHUNK1
{
UINT unk1[8];
UINT unk_data;
UINT ItemType; //tag type
UINT Offset2;
UINT unk2;
UINT ItemTagId;
UINT unk3[8];
SHORT UnkCount1a;
SHORT UnkCount1b;
float unk4;
}ITEMCOLL_CHUNK1;
class CItemColl : public CUtil
{
public:
void Load(INDEX_ITEM *pItem);
void Cleanup(void);
void Initialize(CFile *pMapFile, UINT magic);
CItemColl();
virtual ~CItemColl();
UINT m_Magic;
CFile *m_pMapFile;
ITEMCOLL_HEADER m_Header;
ITEMCOLL_CHUNK1 *m_pChunk1;
};
#endif // !defined(AFX_ITEMCOLL_H__398795B0_23C8_4FD0_B72E_D1AC84042D08__INCLUDED_)