1 /*
2  * Copyright (C) 2006-2019 Christopho, Solarus - http://www.solarus-games.org
3  *
4  * Solarus is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * Solarus is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 #ifndef SOLARUS_BORDER_KIND_H
18 #define SOLARUS_BORDER_KIND_H
19 
20 namespace Solarus {
21 
22 /**
23  * \brief A kind of border for the autotiler.
24  *
25  * Indicates whether a border tile is for a side or a corner
26  * and which one.
27  */
28 enum class BorderKind {
29   NONE = -1,
30   RIGHT,
31   TOP,
32   LEFT,
33   BOTTOM,
34   TOP_RIGHT_CONVEX,
35   TOP_LEFT_CONVEX,
36   BOTTOM_LEFT_CONVEX,
37   BOTTOM_RIGHT_CONVEX,
38   TOP_RIGHT_CONCAVE,
39   TOP_LEFT_CONCAVE,
40   BOTTOM_LEFT_CONCAVE,
41   BOTTOM_RIGHT_CONCAVE,
42 };
43 
44 }
45 
46 #endif
47