| 1 | /*************************************************************************** |
| 2 | opencity_structure_type.h - description |
| 3 | ------------------- |
| 4 | begin : february 22th, 2007 |
| 5 | copyright : (C) 2007 by Duong Khang NGUYEN |
| 6 | email : neoneurone @ gmail com |
| 7 | |
| 8 | $Id: opencity_structure_type.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_STRUCTURE_TYPE_ENUM_H_ |
| 21 | #define _OPENCITY_STRUCTURE_TYPE_ENUM_H_ 1 |
| 22 | |
| 23 | |
| 24 | /** Each type of structure has several different structure code. |
| 25 | This is used for un/serialization and metadata loading |
| 26 | */ |
| 27 | enum OPENCITY_STRUCTURE_TYPE { |
| 28 | OC_TYPE_UNDEFINED = 0, |
| 29 | OC_TYPE_RESIDENCE, |
| 30 | OC_TYPE_COMMERCE, |
| 31 | OC_TYPE_INDUSTRY, |
| 32 | OC_TYPE_WATER, |
| 33 | OC_TYPE_ELECTRICITY, |
| 34 | OC_TYPE_GAS, |
| 35 | OC_TYPE_GOVERNMENT, |
| 36 | OC_TYPE_PATH, |
| 37 | OC_TYPE_TREE, |
| 38 | OC_TYPE_VEHICLE |
| 39 | }; |
| 40 | |
| 41 | |
| 42 | #endif |