industry_type.h

Go to the documentation of this file.
00001 /* $Id: industry_type.h 19812 2010-05-13 09:44:44Z rubidium $ */
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 INDUSTRY_TYPE_H
00013 #define INDUSTRY_TYPE_H
00014 
00015 typedef uint16 IndustryID;
00016 typedef uint16 IndustryGfx;
00017 typedef uint8 IndustryType;
00018 struct Industry;
00019 
00020 struct IndustrySpec;
00021 struct IndustryTileSpec;
00022 
00023 static const IndustryID INVALID_INDUSTRY = 0xFFFF;
00024 
00025 static const IndustryType NEW_INDUSTRYOFFSET     = 37;                
00026 static const IndustryType NUM_INDUSTRYTYPES      = 64;                
00027 static const IndustryType INVALID_INDUSTRYTYPE   = NUM_INDUSTRYTYPES; 
00028 
00029 static const IndustryGfx  INDUSTRYTILE_NOANIM    = 0xFF;              
00030 static const IndustryGfx  NEW_INDUSTRYTILEOFFSET = 175;               
00031 static const IndustryGfx  NUM_INDUSTRYTILES      = 512;               
00032 static const IndustryGfx  INVALID_INDUSTRYTILE   = NUM_INDUSTRYTILES; 
00033 
00034 static const int INDUSTRY_COMPLETED = 3; 
00035 
00036 #endif /* INDUSTRY_TYPE_H */

Generated on Fri Mar 18 23:17:36 2011 for OpenTTD by  doxygen 1.6.1