Repository navigation
Expand file tree
/
Copy pathDefs.h
More file actions
52 lines (38 loc) · 1.3 KB
/
Copy pathDefs.h
File metadata and controls
52 lines (38 loc) · 1.3 KB
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
#pragma once
#define MaxDistance 60 // the maximum distance between any enemy and castle
#define MinDistance 2 // the minimum distance between any enemy and castle
#define MaxVerticalEnemies 15 // the maximum number of enemies that can be drawn in one quarter (region)
// if they are in the same region and same distance
// (will be drawn vertical to each other)
#define MaxEnemyCount 900 // the maximum number of enemies the application can work on
int CurrentTimeStep;
enum ENMY_TYPE //types of enemies
{
FIGHTER, //fighter enemy
HEALER, //healer enemy
FREEZER, //freezer enemy
ENMY_TYPE_CNT //Number of types
};
enum ENMY_STATUS //enemy status
{
INAC, //inactive (not arrived yet, not involved in the battle yet)
ACTV, //Active (has arrived and involved in the battle)
FRST, //Frosted (cannot fight/act/move)
KILD, //Killed enemy
ENMY_STATUS_CNT //Status count
};
enum PROG_MODE //mode of the program interface
{
MODE_INTR, //interactive mode
MODE_STEP, //Step-by-step mode
MODE_SLNT, //Silent mode
MODE_DEMO, //Demo mode (for introductory phase only, should be removed in phases 1&2)
MODE_CNT //number of possible modes
};
enum GAME_RESULT
{
WIN, // Game is a WIN
LOSS, // Game is a LOSS
DRAW, // Game is a DRAW
GAME_RESULT_CNT
};