ai_railtypelist.cpp

Go to the documentation of this file.
00001 /* $Id: ai_railtypelist.cpp 15060 2009-01-13 15:44:36Z smatz $ */
00002 
00005 #include "ai_railtypelist.hpp"
00006 #include "../../rail.h"
00007 #include "../../company_func.h"
00008 
00009 AIRailTypeList::AIRailTypeList()
00010 {
00011   for (RailType rt = RAILTYPE_BEGIN; rt != RAILTYPE_END; rt++) {
00012     if (::HasRailtypeAvail(_current_company, rt)) this->AddItem(rt);
00013   }
00014 }

Generated on Mon May 11 15:48:01 2009 for OpenTTD by  doxygen 1.5.6