src/ai/api/ai_tilelist_valuator.cpp
author rubidium
Sat, 14 Apr 2007 20:38:10 +0000
branchnoai
changeset 9594 5009a30f320a
parent 9592 c5c09cfde63a
child 9603 49323bf80ebd
permissions -rw-r--r--
(svn r9627) [NoAI] -Fix: let the squirrel export script export all needed (and a few more) types of references to structs and classes.
#include "ai_tilelist_valuator.hpp"
#include "../../tile.h"

int32 AITileListBuildable::Valuate(int32 tile) const
{
	switch (::GetTileType(tile)) {
		default: return 1;
		case MP_VOID:
		case MP_HOUSE:
		case MP_STATION:
		case MP_INDUSTRY:
		case MP_UNMOVABLE: return 0;
	}
}