summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2014-01-12 17:59:27 +0000
committerfrosch <frosch@openttd.org>2014-01-12 17:59:27 +0000
commitbc86bf9b12ba513e33aeab8a5ff7203009ba2d87 (patch)
treee15687ae6ab96daa8ca2db6fc1cce10238fa6e5c /src/strings.cpp
parent9ad173c9ccc5e223c4d326837ffae3aa6d7cb9ff (diff)
downloadopenttd-bc86bf9b12ba513e33aeab8a5ff7203009ba2d87.tar.xz
(svn r26237) -Cleanup: Remove unused SCC_STRING_ID.
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 3f35c5c8f..d29381cdb 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -277,14 +277,6 @@ char *GetString(char *buffr, StringID string, const char *last)
}
-char *InlineString(char *buf, StringID string)
-{
- buf += Utf8Encode(buf, SCC_STRING_ID);
- buf += Utf8Encode(buf, string);
- return buf;
-}
-
-
/**
* This function is used to "bind" a C string to a OpenTTD dparam slot.
* @param n slot of the string
@@ -1017,11 +1009,6 @@ static char *FormatString(char *buff, const char *str_arg, StringParameters *arg
buff = strecpy(buff, _openttd_revision, last);
break;
- case SCC_STRING_ID: // {STRINL}
- if (game_script) break;
- buff = GetStringWithArgs(buff, Utf8Consume(&str), args, last);
- break;
-
case SCC_RAW_STRING_POINTER: { // {RAW_STRING}
if (game_script) break;
const char *str = (const char *)(size_t)args->GetInt64(SCC_RAW_STRING_POINTER);