diff options
author | truebrain <truebrain@openttd.org> | 2011-12-19 20:57:43 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-19 20:57:43 +0000 |
commit | e53b2f2ab0ef24298e3bb511367b344b88a4a4c0 (patch) | |
tree | 583623234ea6802c7043e108d63927f35467192f /src/script/api/game | |
parent | 9359c6fc47f6fabddc399d044ea74dc6ebfdfb05 (diff) | |
download | openttd-e53b2f2ab0ef24298e3bb511367b344b88a4a4c0.tar.xz |
(svn r23616) -Add: ScriptGameSettings::SetValue, to set gamesettings (GameScript only)
Diffstat (limited to 'src/script/api/game')
-rw-r--r-- | src/script/api/game/game_gamesettings.hpp.sq | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/game/game_gamesettings.hpp.sq b/src/script/api/game/game_gamesettings.hpp.sq index 13e1b06dd..9aeba7199 100644 --- a/src/script/api/game/game_gamesettings.hpp.sq +++ b/src/script/api/game/game_gamesettings.hpp.sq @@ -23,6 +23,7 @@ void SQGSGameSettings_Register(Squirrel *engine) SQGSGameSettings.DefSQStaticMethod(engine, &ScriptGameSettings::IsValid, "IsValid", 2, ".."); SQGSGameSettings.DefSQStaticMethod(engine, &ScriptGameSettings::GetValue, "GetValue", 2, ".."); + SQGSGameSettings.DefSQStaticMethod(engine, &ScriptGameSettings::SetValue, "SetValue", 3, "..i"); SQGSGameSettings.PostRegister(engine); } |