diff options
author | Jonathan G Rennison <j.g.rennison@gmail.com> | 2020-01-06 20:31:57 +0000 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2020-01-12 19:37:43 +0000 |
commit | f1734e7815653829d42ebd4def8c0d7d5aeae986 (patch) | |
tree | d87b30fd8f96bdb1fc9e5dfed8cfe7b854befbde /src/industry.h | |
parent | 22ba048c89c4b594a1bf18b4d0ea9e09f38e6dbc (diff) | |
download | openttd-f1734e7815653829d42ebd4def8c0d7d5aeae986.tar.xz |
Change: Only resort industry directory window on production change if necessary
Diffstat (limited to 'src/industry.h')
-rw-r--r-- | src/industry.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/industry.h b/src/industry.h index 932104ff4..f462cf482 100644 --- a/src/industry.h +++ b/src/industry.h @@ -197,4 +197,12 @@ struct IndustryBuildData { extern IndustryBuildData _industry_builder; + +/** Special values for the industry list window for the data parameter of #InvalidateWindowData. */ +enum IndustryDirectoryInvalidateWindowData { + IDIWD_FORCE_REBUILD, + IDIWD_PRODUCTION_CHANGE, + IDIWD_FORCE_RESORT, +}; + #endif /* INDUSTRY_H */ |