Files @ r11712:c05ce4b83dd6
Branch filter:

Location: cpp/openttd-patchpack/source/src/ai/api/ai_industrytypelist.cpp

glx
(svn r16105) -Codechange: use {CARGO} instead hardcoded cargo name
/* $Id$ */

/** @file ai_industrytypelist.cpp Implementation of AIIndustryTypeList. */

#include "ai_industrytypelist.hpp"
#include "../../tile_type.h"
#include "../../industry.h"

AIIndustryTypeList::AIIndustryTypeList()
{
	for (int i = 0; i < NUM_INDUSTRYTYPES; i++) {
		if (AIIndustryType::IsValidIndustryType(i)) this->AddItem(i);
	}
}