diff options
author | truebrain <truebrain@openttd.org> | 2011-12-01 12:04:22 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-01 12:04:22 +0000 |
commit | 9dde1287aa5bbcb0dfdcba17f0e8ba2d7db67881 (patch) | |
tree | 173a91323730bb061f4944af54b702f5dfb79e92 /src/settings_type.h | |
parent | a8b22e5292e5b0e47a7dbecf47e530f877624ecf (diff) | |
download | openttd-9dde1287aa5bbcb0dfdcba17f0e8ba2d7db67881.tar.xz |
(svn r23387) -Fix: move ai.script_max_opcode_till_suspend to script.script_max_opcode_till_suspend
Diffstat (limited to 'src/settings_type.h')
-rw-r--r-- | src/settings_type.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/settings_type.h b/src/settings_type.h index d23011eb7..b1d622844 100644 --- a/src/settings_type.h +++ b/src/settings_type.h @@ -257,7 +257,11 @@ struct AISettings { bool ai_disable_veh_roadveh; ///< disable types for AI bool ai_disable_veh_aircraft; ///< disable types for AI bool ai_disable_veh_ship; ///< disable types for AI - uint32 ai_max_opcode_till_suspend; ///< max opcode calls till AI will suspend +}; + +/** Settings related to scripts. */ +struct ScriptSettings { + uint32 script_max_opcode_till_suspend; ///< max opcode calls till scripts will suspend }; /** Settings related to the old pathfinder. */ @@ -447,6 +451,7 @@ struct GameSettings { GameCreationSettings game_creation; ///< settings used during the creation of a game (map) ConstructionSettings construction; ///< construction of things in-game AISettings ai; ///< what may the AI do? + ScriptSettings script; ///< settings for scripts class AIConfig *ai_config[MAX_COMPANIES]; ///< settings per company PathfinderSettings pf; ///< settings for all pathfinders OrderSettings order; ///< settings related to orders |