Add game events for industry create/destroy

This commit is contained in:
Jonathan G Rennison
2019-07-29 18:48:59 +01:00
parent 99949d6559
commit 942dd35380
3 changed files with 7 additions and 0 deletions

View File

@@ -93,6 +93,8 @@ enum GameEventFlags : uint32 {
GEF_TBTR_REPLACEMENT = 1 << 3, ///< (t) CMD_TEMPLATE_REPLACE_VEHICLE has been called
GEF_DISASTER_VEH = 1 << 4, ///< (D) A disaster vehicle exists or has been created
GEF_TRAIN_CRASH = 1 << 5, ///< (c) A train crash has occurred
GEF_INDUSTRY_CREATE = 1 << 6, ///< (i) An industry has been created (in game)
GEF_INDUSTRY_DELETE = 1 << 7, ///< (j) An industry has been deleted (in game)
};
DECLARE_ENUM_AS_BIT_SET(GameEventFlags)