| 1 | /*************************************************************************** |
| 2 | opencity_direction.h - description |
| 3 | ------------------- |
| 4 | begin : february 21th, 2007 |
| 5 | copyright : (C) 2007 by Duong Khang NGUYEN |
| 6 | email : neoneurone @ gmail com |
| 7 | |
| 8 | $Id: opencity_direction.h 375 2008-10-28 14:47:15Z neoneurone $ |
| 9 | ***************************************************************************/ |
| 10 | |
| 11 | /*************************************************************************** |
| 12 | * * |
| 13 | * This program is free software; you can redistribute it and/or modify * |
| 14 | * it under the terms of the GNU General Public License as published by * |
| 15 | * the Free Software Foundation; either version 2 of the License, or * |
| 16 | * any later version. * |
| 17 | * * |
| 18 | ***************************************************************************/ |
| 19 | |
| 20 | #ifndef _OPENCITY_DIRECTION_ENUM_H_ |
| 21 | #define _OPENCITY_DIRECTION_ENUM_H_ 1 |
| 22 | |
| 23 | |
| 24 | /** The directions used in map calculation, vehicle movement, path placement etc... |
| 25 | */ |
| 26 | enum OPENCITY_DIRECTION { |
| 27 | OC_DIR_O_N = 0, ///< North |
| 28 | OC_DIR_O_E, ///< East |
| 29 | OC_DIR_O_S, ///< South |
| 30 | OC_DIR_O_W, ///< West |
| 31 | OC_DIR_S_N, |
| 32 | OC_DIR_W_E, // +5 |
| 33 | OC_DIR_N_E, |
| 34 | OC_DIR_N_W, |
| 35 | OC_DIR_S_E, |
| 36 | OC_DIR_S_W, |
| 37 | OC_DIR_S_N_E, // +10 |
| 38 | OC_DIR_S_W_E, |
| 39 | OC_DIR_S_N_W, |
| 40 | OC_DIR_N_W_E, |
| 41 | OC_DIR_S_N_W_E, |
| 42 | OC_DIR_UNDEFINED ///< What the heck is this ? |
| 43 | }; |
| 44 | |
| 45 | |
| 46 | #endif |