summaryrefslogtreecommitdiff
path: root/src/town.h
diff options
context:
space:
mode:
authorTELK <telk5093@gmail.com>2019-07-23 04:27:39 +0900
committerCharles Pigott <charlespigott@googlemail.com>2019-07-22 20:27:39 +0100
commit196d586849684e62aa9a40093f2a1ce60e1cd53f (patch)
tree519f846ac8a112571e46127fed937aa5008e5699 /src/town.h
parentd71a7c21da27e5f99e48b8ad21b669d078932e35 (diff)
downloadopenttd-196d586849684e62aa9a40093f2a1ce60e1cd53f.tar.xz
Feature: Town name filtering (#7621)
Diffstat (limited to 'src/town.h')
-rw-r--r--src/town.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/town.h b/src/town.h
index d669ccafb..ce938ea06 100644
--- a/src/town.h
+++ b/src/town.h
@@ -158,6 +158,12 @@ enum TownRatingCheckType {
TOWN_RATING_CHECK_TYPE_COUNT, ///< Number of town checking action types.
};
+/** Special values for town list window for the data parameter of #InvalidateWindowData. */
+enum TownDirectoryInvalidateWindowData {
+ TDIWD_FORCE_REBUILD,
+ TDIWD_FILTER_CHANGES, ///< The filename filter has changed (via the editbox)
+};
+
/**
* This enum is used in conjunction with town->flags.
* IT simply states what bit is used for.