summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-06-30 17:51:50 +0000
committerpeter1138 <peter1138@openttd.org>2007-06-30 17:51:50 +0000
commit59032746f6d47802ab237189530a61df108111db (patch)
treea6b3081588946bcb48e57bc281cf907fe201adb7 /src/main_gui.cpp
parent170292e75f2277e8ed3930b6c42549a4d87b778a (diff)
downloadopenttd-59032746f6d47802ab237189530a61df108111db.tar.xz
(svn r10401) -Feature: new sign editor features including switching to previous/next sign (XeryusTC)
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index 5d1634cab..1113c66c3 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -82,9 +82,6 @@ void HandleOnEditText(const char *str)
_cmd_text = str;
switch (_rename_what) {
- case 0: // Rename a s sign, if string is empty, delete sign
- DoCommandP(0, id, 0, NULL, CMD_RENAME_SIGN | CMD_MSG(STR_280C_CAN_T_CHANGE_SIGN_NAME));
- break;
case 1: // Rename a waypoint
if (*str == '\0') return;
DoCommandP(0, id, 0, NULL, CMD_RENAME_WAYPOINT | CMD_MSG(STR_CANT_CHANGE_WAYPOINT_NAME));
@@ -341,14 +338,6 @@ void ShowNetworkGiveMoneyWindow(PlayerID player)
}
#endif /* ENABLE_NETWORK */
-void ShowRenameSignWindow(const Sign *si)
-{
- _rename_id = si->index;
- _rename_what = 0;
- SetDParam(0, si->index);
- ShowQueryString(STR_SIGN_NAME, STR_280B_EDIT_SIGN_TEXT, 30, 180, NULL, CS_ALPHANUMERAL);
-}
-
void ShowRenameWaypointWindow(const Waypoint *wp)
{
int id = wp->index;