ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
direction.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef ULTIMA8_MISC_DIRECTION_H
23 #define ULTIMA8_MISC_DIRECTION_H
24 
25 namespace Ultima {
26 namespace Ultima8 {
27 
28 /*
29  * Directions:
30  */
31 enum Direction {
32  dir_north = 0,
33  dir_nne = 1,
34  dir_northeast = 2,
35  dir_ene = 3,
36  dir_east = 4,
37  dir_ese = 5,
38  dir_southeast = 6,
39  dir_sse = 7,
40  dir_south = 8,
41  dir_ssw = 9,
42  dir_southwest = 10,
43  dir_wsw = 11,
44  dir_west = 12,
45  dir_wnw = 13,
46  dir_northwest = 14,
47  dir_nnw = 15,
48  dir_current = 16,
49  dir_invalid = 100
50 };
51 
52 enum DirectionMode {
53  dirmode_8dirs,
54  dirmode_16dirs
55 };
56 
57 } // End of namespace Ultima8
58 } // End of namespace Ultima
59 
60 #endif
Definition: detection.h:27