diff options
author | maedhros <maedhros@openttd.org> | 2007-05-23 12:45:56 +0000 |
---|---|---|
committer | maedhros <maedhros@openttd.org> | 2007-05-23 12:45:56 +0000 |
commit | 1a9d43ff40f859c705ab987ef66b1576b6090425 (patch) | |
tree | 6595e32b2d16537c3647b01f1ff39b07b4d0f57a /src/viewport.h | |
parent | c35b459d021068333c08be402e2bfbcb8842c659 (diff) | |
download | openttd-1a9d43ff40f859c705ab987ef66b1576b6090425.tar.xz |
(svn r9900) -Codechange: Separate the variables for how to highlight a land area and what to do with it afterwards.
Diffstat (limited to 'src/viewport.h')
-rw-r--r-- | src/viewport.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/viewport.h b/src/viewport.h index e69690e20..be5d8feb4 100644 --- a/src/viewport.h +++ b/src/viewport.h @@ -62,7 +62,7 @@ void SetRedErrorSquare(TileIndex tile); void SetTileSelectSize(int w, int h); void SetTileSelectBigSize(int ox, int oy, int sx, int sy); -void VpStartPlaceSizing(TileIndex tile, int user); +void VpStartPlaceSizing(TileIndex tile, byte method, byte process); void VpSetPresizeRange(uint from, uint to); void VpSetPlaceSizingLimit(int limit); @@ -137,7 +137,9 @@ struct TileHighlightData { WindowClass window_class; WindowNumber window_number; - int userdata; + byte select_method; + byte select_proc; + TileIndex redsq; }; |