Files @ r11468:06f279671c69
Branch filter:

Location: cpp/openttd-patchpack/source/src/unmovable.h

translators
(svn r15834) -Update: WebTranslator2 update to 2009-03-24 18:51:22
bulgarian - 13 fixed by Ar4i (13)
korean - 2 changed by dlunch (2)
latvian - 2 fixed by silentKnight (2)
luxembourgish - 14 fixed by Gubius (14)
polish - 22 fixed by xaxa (22)
/* $Id$ */

/** @file unmovable.h Functions related to unmovable objects. */

#ifndef UNMOVABLE_H
#define UNMOVABLE_H

#include "unmovable_map.h"
#include "economy_type.h"
#include "economy_func.h"

void UpdateCompanyHQ(Company *c, uint score);

struct UnmovableSpec {
	StringID name;
	uint8 buy_cost_multiplier;
	uint8 sell_cost_multiplier;

	Money GetRemovalCost() const { return (_price.clear_roughland * this->sell_cost_multiplier); }
	Money GetBuildingCost() const { return (_price.clear_roughland * this->buy_cost_multiplier); }

};


#endif /* UNMOVABLE_H */