Feature: Town name filtering (#7621)

This commit is contained in:
TELK
2019-07-23 04:27:39 +09:00
committed by Charles Pigott
parent d71a7c21da
commit 196d586849
5 changed files with 63 additions and 9 deletions

View File

@@ -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.