Codefix: Documentation comment in IndustryDirectoryWindow (#13059)
[openttd-github.git] / src / object.h
blob0a6c33423c59a83b6d24a57c7fbbe8e1a7c353dc
1 /*
2 * This file is part of OpenTTD.
3 * 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.
4 * 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.
5 * 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/>.
6 */
8 /** @file object.h Functions related to objects. */
10 #ifndef OBJECT_H
11 #define OBJECT_H
13 #include "tile_type.h"
14 #include "company_type.h"
15 #include "object_type.h"
17 void UpdateCompanyHQ(TileIndex tile, uint score);
19 void BuildObject(ObjectType type, TileIndex tile, CompanyID owner = OWNER_NONE, struct Town *town = nullptr, uint8_t view = 0);
21 Window *ShowBuildObjectPicker();
23 #endif /* OBJECT_H */