diff options
author | truebrain <truebrain@openttd.org> | 2011-12-19 21:05:25 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-19 21:05:25 +0000 |
commit | cc3f42794d134b9f4b6c7efecb07d4b3366887c1 (patch) | |
tree | 1cd422d47fc44bd59463d0f9e2ef96f2edb09b50 /src/script/script_instance.hpp | |
parent | 403cd3acdb7b7fedf2b5e823326611bb32113385 (diff) | |
download | openttd-cc3f42794d134b9f4b6c7efecb07d4b3366887c1.tar.xz |
(svn r23632) -Add: GSCompanyMode, to change company in GameScripts
Diffstat (limited to 'src/script/script_instance.hpp')
-rw-r--r-- | src/script/script_instance.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/script_instance.hpp b/src/script/script_instance.hpp index 7617e370f..ed83ec4ff 100644 --- a/src/script/script_instance.hpp +++ b/src/script/script_instance.hpp @@ -35,8 +35,9 @@ public: * Initialize the script and prepare it for its first run. * @param main_script The full path of the script to load. * @param instance_name The name of the instance out of the script to load. + * @param company Which company this script is serving. */ - void Initialize(const char *main_script, const char *instance_name); + void Initialize(const char *main_script, const char *instance_name, CompanyID company); /** * Get the value of a setting of the current instance. |