(svn r28004) -Update from Eints:
[openttd.git] / src / object.h
blob0ab92d3769625121e77dd0e4d17d531b6d86de72
1 /* $Id$ */
3 /*
4 * This file is part of OpenTTD.
5 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
8 */
10 /** @file object.h Functions related to objects. */
12 #ifndef OBJECT_H
13 #define OBJECT_H
15 #include "tile_type.h"
16 #include "company_type.h"
17 #include "object_type.h"
19 void UpdateCompanyHQ(TileIndex tile, uint score);
21 void BuildObject(ObjectType type, TileIndex tile, CompanyID owner = OWNER_NONE, struct Town *town = NULL, uint8 view = 0);
23 void ShowBuildObjectPicker();
25 #endif /* OBJECT_H */