Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603)
This commit is contained in:
@@ -41,6 +41,7 @@ private:
|
||||
class ScriptObject *mode_instance; ///< The instance belonging to the current build mode.
|
||||
ScriptAsyncModeProc *async_mode; ///< The current command async mode we are in.
|
||||
class ScriptObject *async_mode_instance; ///< The instance belonging to the current command async mode.
|
||||
bool time_mode; ///< True if we in calendar time mode, or false (default) if we are in economy time mode.
|
||||
CompanyID root_company; ///< The root company, the company that the script really belongs to.
|
||||
CompanyID company; ///< The current company.
|
||||
|
||||
@@ -70,6 +71,7 @@ public:
|
||||
mode_instance (nullptr),
|
||||
async_mode (nullptr),
|
||||
async_mode_instance (nullptr),
|
||||
time_mode (false),
|
||||
root_company (INVALID_OWNER),
|
||||
company (INVALID_OWNER),
|
||||
delay (1),
|
||||
|
||||
Reference in New Issue
Block a user