00001 /* $Id$ */ 00002 00003 /* 00004 * This file is part of OpenTTD. 00005 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. 00006 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00007 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>. 00008 */ 00009 00012 #ifndef GOAL_TYPE_H 00013 #define GOAL_TYPE_H 00014 00016 enum GoalType { 00017 GT_NONE, 00018 GT_TILE, 00019 GT_INDUSTRY, 00020 GT_TOWN, 00021 GT_COMPANY, 00022 }; 00023 typedef SimpleTinyEnumT<GoalType, byte> GoalTypeByte; 00024 00025 typedef uint32 GoalTypeID; 00026 static const GoalTypeID INVALID_GOALTYPE = 0xFFFFFFFF; 00027 00028 typedef uint16 GoalID; 00029 struct Goal; 00030 00031 extern GoalID _new_goal_id; 00032 00033 #endif /* GOAL_TYPE_H */