1
/* $Id: ai_railtypelist.cpp 15060 2009-01-13 15:44:36Z smatz $ */
3
/** @file ai_railtypelist.cpp Implementation of AIRailTypeList and friends. */
5
#include "ai_railtypelist.hpp"
6
#include "../../rail.h"
7
#include "../../company_func.h"
9
AIRailTypeList::AIRailTypeList()
11
for (RailType rt = RAILTYPE_BEGIN; rt != RAILTYPE_END; rt++) {
12
if (::HasRailtypeAvail(_current_company, rt)) this->AddItem(rt);