![]() |
Deep RTS
|
Classes | |
class | Map |
Enumerations | |
enum | Unit { Peasant = 1 , Peon = 2 , TownHall = 3 , Barracks = 4 , Footman = 5 , Farm = 6 , Archer = 7 , None = -1 } |
enum | Race { Human = 1 , Orc = 2 } |
enum | PlayerState { Victory = 1 , Defeat = 2 , Playing = 3 } |
enum | Resource { Lumber = 1 , Gold = 2 , Stone = 3 , Food = 4 } |
enum | State { Spawning = 1 , Walking = 2 , Despawned = 3 , Harvesting = 4 , Building = 5 , Combat = 6 , Dead = 7 , Idle = 8 , Base = -1 } |
enum | Pathfinding { Walkable = 1 , All = 2 , Attackable = 3 , Harvestable = 4 } |
enum | Direction { Down = 1 , Up = 2 , Left = 3 , Right = 4 , DownLeft = 5 , DownRight = 6 , UpLeft = 7 , UpRight = 8 } |
enum | Action { PreviousUnit = 1 , NextUnit = 2 , MoveLeft = 3 , MoveRight = 4 , MoveUp = 5 , MoveDown = 6 , MoveUpLeft = 7 , MoveUpRight = 8 , MoveDownLeft = 9 , MoveDownRight = 10 , Attack = 11 , Harvest = 12 , Build0 = 13 , Build1 = 14 , Build2 = 15 , NoAction = 16 } |
Variables | |
const int | MAX_PLAYERS = 8 |
const int | MAX_UNITS = 1000 |
const int | ACTION_MIN = 1 |
const int | ACTION_MAX = 16 |
const std::unordered_map< std::string, int > | TypeToID |
const std::map< int, std::string > | ActionToName |
enum Constants::Action |
enum Constants::Direction |
enum Constants::Race |
enum Constants::Resource |
enum Constants::State |
enum Constants::Unit |
const int Constants::ACTION_MAX = 16 |
const int Constants::ACTION_MIN = 1 |
const std::map<int, std::string> Constants::ActionToName |
const int Constants::MAX_PLAYERS = 8 |
const int Constants::MAX_UNITS = 1000 |
const std::unordered_map<std::string, int> Constants::TypeToID |