-
Notifications
You must be signed in to change notification settings - Fork 1
/
DEFS.h
68 lines (53 loc) · 943 Bytes
/
DEFS.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#ifndef DEFS_H
#define DEFS_H
enum GameMode
{
INTERACTIVE,
SILENT,
};
enum ArmyType
{
EARTH, ALIEN, EARTH_ALLIED,
ARMY_TOTAL,
};
enum UnitType
{
ES, EG, ET, EH,
AS, AD, AM,
SU,
UNIT_TOTAL,
};
struct Range
{
int min;
int max;
};
struct ArmyStatistics
{
// Total Unit Counts
int totalUnitsCount;
// Total Destructed Unit Counts
int totalDestructedUnitsCount;
// Unit Delays
int totalFirstAttackDelays;
int totalBattleDelays;
int totalDestructionDelays;
};
struct GameStatistics
{
// Unit Counts
int unitCounts[UnitType::UNIT_TOTAL];
// Destructed Unit Counts
int destructedUnitCounts[UnitType::UNIT_TOTAL];
// Total healed units
int totalHealedUnits;
// Total infected Earth Soldiers
int totalInfectedESCount;
// Total Unit Counts
int totalUnitsCount;
// Total Destructed Unit Counts
int totalDestructedUnitsCount;
// Armies Statistics
ArmyStatistics armyStatistics[ArmyType::ARMY_TOTAL];
};
#endif