OpenTTD: src/object.h Source File

OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

object.h
Go to the documentation of this file.
1 /* $Id: object.h 27346 2015-07-28 18:20:54Z alberth $ */
2
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 */
9
12 #ifndef OBJECT_H
13 #define OBJECT_H
14
15 #include "tile_type.h"
16 #include "company_type.h"
17 #include "object_type.h"
18
19 void UpdateCompanyHQ(TileIndex tile, uint score);
20
21 void BuildObject(ObjectType type, TileIndex tile, CompanyID owner = OWNER_NONE, struct Town *town = NULL, uint8 view = 0);
22
23 void ShowBuildObjectPicker();
24
25 #endif /* OBJECT_H */