Files @ r12693:ab8bb85f5e0b
Branch filter:

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

translators
(svn r17166) -Update from WebTranslator v3.0:
bulgarian - 29 changes by Tvel
simplified_chinese - 2 changes by ww9980
traditional_chinese - 5 changes by Kwokfu
greek - 146 changes by fumantsu
indonesian - 10 changes by prof
polish - 11 changes by amateja
/* $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 */