(svn r22617) -Codechange: Add GameOptionsInvalidationData enum for data values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS.

This commit is contained in:
frosch
2011-07-02 12:49:44 +00:00
parent 56a41a8852
commit 1688470eb9
5 changed files with 26 additions and 22 deletions

View File

@@ -115,6 +115,16 @@ enum WindowClass {
WC_INVALID = 0xFFFF
};
/**
* Data value for #Window::OnInvalidateData() of windows with class #WC_GAME_OPTIONS.
*/
enum GameOptionsInvalidationData {
GOID_DEFAULT = 0,
GOID_NEWGRF_RESCANNED, ///< NewGRFs were just rescanned.
GOID_NEWGRF_LIST_EDITED, ///< List of active NewGRFs is being edited.
GOID_NEWGRF_PRESET_LOADED, ///< A NewGRF preset was picked.
};
struct Window;
/** Number to differentiate different windows of the same class */