Change house GUI picker logic to be more like object GUI window.

Deselect house on object placement abort.
Set object placement on init or house selection.
Adjust display to still work even if no house selected,
by continuing to show the previous selection.
This commit is contained in:
Jonathan G Rennison
2015-09-21 22:16:47 +01:00
parent 0007e6fda2
commit 7bd91f172b
3 changed files with 146 additions and 100 deletions

View File

@@ -12,11 +12,6 @@
#ifndef TOWN_GUI_H
#define TOWN_GUI_H
#include "tile_type.h"
struct Window;
void ShowBuildHousePicker(Window *parent);
void PlaceProc_House(TileIndex tile);
void ShowBuildHousePicker();
#endif /* TOWN_GUI_H */