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 | ca5c578d0f51724d9c4e5b1101b81b442c049341 (patch) | |
tree | 6595e32b2d16537c3647b01f1ff39b07b4d0f57a /src/viewport.h | |
parent | 9f148789c8ddb64bdc098d24a87aad3293d034b2 (diff) | |
download | openttd-ca5c578d0f51724d9c4e5b1101b81b442c049341.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; }; |