Codechange: Decouple INDUSTRY_CTRL into separate commands (#10475)

This commit is contained in:
dP
2023-02-14 14:29:11 +04:00
committed by GitHub
parent d7fcb420c4
commit fe2c8a1240
5 changed files with 64 additions and 49 deletions

View File

@@ -33,13 +33,6 @@ enum ProductionLevels {
PRODLEVEL_MAXIMUM = 0x80, ///< the industry is running at full speed
};
enum class IndustryAction : byte {
SetControlFlags = 0, ///< Set IndustryControlFlags
SetExclusiveSupplier = 1, ///< Set exclusive supplier
SetExclusiveConsumer = 2, ///< Set exclusive consumer
SetText = 3, ///< Set additional text
};
/**
* Flags to control/override the behaviour of an industry.
* These flags are controlled by game scripts.