1 /*
2  * This file is part of the Colobot: Gold Edition source code
3  * Copyright (C) 2001-2020, Daniel Roux, EPSITEC SA & TerranovaTeam
4  * http://epsitec.ch; http://colobot.info; http://github.com/colobot
5  *
6  * This program is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14  * See the GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program. If not, see http://gnu.org/licenses
18  */
19 
20 #pragma once
21 
22 
23 /**
24  * \enum BuildType
25  * \brief Construction actions (buildings, etc.) available to user
26  *
27  * TODO: refactor
28  */
29 enum BuildType
30 {
31     BUILD_FACTORY       = (1<<0),       //! < BotFactory
32     BUILD_DERRICK       = (1<<1),       //! < Derrick
33     BUILD_CONVERT       = (1<<2),       //! < Converter
34     BUILD_RADAR         = (1<<3),       //! < RadarStation
35     BUILD_ENERGY        = (1<<4),       //! < PowerPlant
36     BUILD_NUCLEAR       = (1<<5),       //! < NuclearPlant
37     BUILD_STATION       = (1<<6),       //! < PowerStation
38     BUILD_REPAIR        = (1<<7),       //! < RepairCenter
39     BUILD_TOWER         = (1<<8),       //! < DefenseTower
40     BUILD_RESEARCH      = (1<<9),       //! < ResearchCenter
41     BUILD_LABO          = (1<<10),      //! < AutoLab
42     BUILD_PARA          = (1<<11),      //! < PowerCaptor
43     BUILD_INFO          = (1<<12),      //! < ExchangePost
44     BUILD_SAFE          = (1<<13),      //! < Vault
45     BUILD_DESTROYER     = (1<<14),      //! < Destroyer
46     BUILD_GFLAT         = (1<<16),      //! < checking flat ground
47     BUILD_FLAG          = (1<<17)       //! < putting / removing flags
48 };
49