(svn r21453) -Codechange: add the view of an object to the savegame

This commit is contained in:
rubidium
2010-12-10 21:32:04 +00:00
parent fdeab92dc7
commit cd6180a46d
5 changed files with 15 additions and 8 deletions

View File

@@ -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);