forked from HaloMods/SparkEdit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathEncounters.h
42 lines (33 loc) · 1.06 KB
/
Encounters.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
// Encounters.h: interface for the CEncounters class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ENCOUNTERS_H__57E0F45E_CA10_4864_BC66_A85A42C651EA__INCLUDED_)
#define AFX_ENCOUNTERS_H__57E0F45E_CA10_4864_BC66_A85A42C651EA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "HaloStructDefs.h"
class CEncounters
{
public:
int GetSquadSpawnCount(int encounter, int squad);
void GetSquadSpawnCoord(int index, float *pCoord);
int GetSquadCount(int EncounterIndex);
int GetEncounterCount(void);
void ActivateSquad(int encounter, int squad);
void LoadEncounters(REFLEXIVE EncInfo);
void Cleanup(void);
CEncounters();
virtual ~CEncounters();
void Initialize(CFile *pMapFile, int magic, UINT version);
protected:
ENCOUNTER *m_pEncounters;
ENCOUNTER_INFO *m_pEncounterInfo;
int m_ActiveEncounter;
int m_ActiveSquad;
UINT m_EncounterCount;
int m_Magic;
UINT m_Version;
CFile *m_pMapFile;
};
#endif // !defined(AFX_ENCOUNTERS_H__57E0F45E_CA10_4864_BC66_A85A42C651EA__INCLUDED_)