forked from mirror/OpenTTD
(svn r21453) -Codechange: add the view of an object to the savegame
This commit is contained in:
@@ -29,10 +29,11 @@ void UpdateCompanyHQ(TileIndex tile, uint score);
|
||||
* @param tile The tile to build the northern tile of the object on.
|
||||
* @param owner The owner of the object.
|
||||
* @param town Town the tile is related with.
|
||||
* @param view The view for the object.
|
||||
* @pre All preconditions for building the object at that location
|
||||
* are met, e.g. slope and clearness of tiles are checked.
|
||||
*/
|
||||
void BuildObject(ObjectType type, TileIndex tile, CompanyID owner = OWNER_NONE, struct Town *town = NULL);
|
||||
void BuildObject(ObjectType type, TileIndex tile, CompanyID owner = OWNER_NONE, struct Town *town = NULL, uint8 view = 0);
|
||||
|
||||
void PlaceProc_Object(TileIndex tile);
|
||||
void ShowBuildObjectPicker(struct Window *w);
|
||||
|
Reference in New Issue
Block a user