diff options
author | frosch <frosch@openttd.org> | 2011-12-14 20:13:18 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-12-14 20:13:18 +0000 |
commit | 0a7b49e398d6bc754d4bceb08de8f362b8a7764d (patch) | |
tree | 55003095ac53466debf15c38ef96bfb84616a3b1 /src/script/api | |
parent | 7f3227cd5c9eb593a0f6c9fbe2040589d6ffad19 (diff) | |
download | openttd-0a7b49e398d6bc754d4bceb08de8f362b8a7764d.tar.xz |
(svn r23515) -Cleanup: Remove unused ScriptObject::GetNewTunnelEndtile() and relatives.
Diffstat (limited to 'src/script/api')
-rw-r--r-- | src/script/api/script_object.cpp | 11 | ||||
-rw-r--r-- | src/script/api/script_object.hpp | 11 |
2 files changed, 0 insertions, 22 deletions
diff --git a/src/script/api/script_object.cpp b/src/script/api/script_object.cpp index e6e063bb6..1dd431d80 100644 --- a/src/script/api/script_object.cpp +++ b/src/script/api/script_object.cpp @@ -140,7 +140,6 @@ ScriptObject::ActiveInstance::~ActiveInstance() /* Also store the results of various global variables */ SetNewVehicleID(_new_vehicle_id); SetNewSignID(_new_sign_id); - SetNewTunnelEndtile(_build_tunnel_endtile); SetNewGroupID(_new_group_id); } @@ -169,16 +168,6 @@ ScriptObject::ActiveInstance::~ActiveInstance() return GetStorage()->new_sign_id; } -/* static */ void ScriptObject::SetNewTunnelEndtile(TileIndex tile) -{ - GetStorage()->new_tunnel_endtile = tile; -} - -/* static */ TileIndex ScriptObject::GetNewTunnelEndtile() -{ - return GetStorage()->new_tunnel_endtile; -} - /* static */ void ScriptObject::SetNewGroupID(GroupID group_id) { GetStorage()->new_group_id = group_id; diff --git a/src/script/api/script_object.hpp b/src/script/api/script_object.hpp index d9ccd8fba..d12f006ee 100644 --- a/src/script/api/script_object.hpp +++ b/src/script/api/script_object.hpp @@ -156,11 +156,6 @@ protected: static SignID GetNewSignID(); /** - * Get the latest stored new_tunnel_endtile. - */ - static TileIndex GetNewTunnelEndtile(); - - /** * Get the latest stored new_group_id. */ static GroupID GetNewGroupID(); @@ -229,12 +224,6 @@ private: static void SetNewSignID(SignID sign_id); /** - * Store a new_tunnel_endtile per company. - * @param tile The new TileIndex. - */ - static void SetNewTunnelEndtile(TileIndex tile); - - /** * Store a new_group_id per company. * @param group_id The new GroupID. */ |