-
Notifications
You must be signed in to change notification settings - Fork 0
/
Formation.h
40 lines (29 loc) · 1.19 KB
/
Formation.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
// Formation.h: interface for the CFormation class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_FORMATION_H__FE99B815_E1F2_45D2_ABBD_3C437F699689__INCLUDED_)
#define AFX_FORMATION_H__FE99B815_E1F2_45D2_ABBD_3C437F699689__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "GeometryR.h"
class CFormation
{
public:
BOOL ReadFormation(LPCTSTR lpszPathName);
CFormation();
virtual ~CFormation();
public:
BOOL GetStrategyPosition(int nRole, VecPosition posBall,
VecPosition& posRobot, double& angleRobot, int& nAction2);
int m_nGameType;
int m_nRobotNumber;
int m_nFormNumber;
int m_nForm[200][11]; ///< nForm[nArea][nRobot]
int m_nRoleNumber;
int m_nRolePerformance[200]; ///< nRolePerformance[nRole]
double m_nRolePerformanceParameters[200][2]; ///< nRolePerformance[nRole][nParametersN] // Max Parameter 2
int m_nRoleExecute[200]; ///< nRoleExecute[nRole];
double m_nRoleExecuteParameters[200][12]; ///< nRoleExecuteParameters[nRole][nParametersN] // Max Parameter 8
};
#endif // !defined(AFX_FORMATION_H__FE99B815_E1F2_45D2_ABBD_3C437F699689__INCLUDED_)