summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-29 17:24:39 +0000
committerrubidium <rubidium@openttd.org>2009-11-29 17:24:39 +0000
commit65e63554227246d16a9bbb5eca3edbd98f14f1c7 (patch)
treeb46327b9ee7a4f5b7af4445f69cbd35af803a233 /src
parent0fce00edd84f99e1b9aa2960815767db66040b2b (diff)
downloadopenttd-65e63554227246d16a9bbb5eca3edbd98f14f1c7.tar.xz
(svn r18339) -Cleanup: remove SKIP support from strgen too
Diffstat (limited to 'src')
-rw-r--r--src/strings.cpp4
-rw-r--r--src/table/control_codes.h1
-rw-r--r--src/table/strgen_tables.h2
3 files changed, 0 insertions, 7 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index e54edd36b..2151ac7b7 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -801,10 +801,6 @@ static char *FormatString(char *buff, const char *str, int64 *argv, uint casei,
break;
}
- case SCC_SKIP: // {SKIP}
- argv++;
- break;
-
/* This sets up the gender for the string.
* We just ignore this one. It's used in {G 0 Der Die Das} to determine the case. */
case SCC_GENDER_INDEX: // {GENDER 0}
diff --git a/src/table/control_codes.h b/src/table/control_codes.h
index cf533847a..38c7f6362 100644
--- a/src/table/control_codes.h
+++ b/src/table/control_codes.h
@@ -68,7 +68,6 @@ enum StringControlCode {
SCC_STRING4,
SCC_STRING5,
- SCC_SKIP,
SCC_STRING,
SCC_COMMA,
SCC_NUM,
diff --git a/src/table/strgen_tables.h b/src/table/strgen_tables.h
index 8140d1c00..97f543d5f 100644
--- a/src/table/strgen_tables.h
+++ b/src/table/strgen_tables.h
@@ -85,8 +85,6 @@ static const CmdStruct _cmd_structs[] = {
{"DATE_LONG", EmitSingleChar, SCC_DATE_LONG, 1, C_NONE},
{"DATE_ISO", EmitSingleChar, SCC_DATE_ISO, 1, C_NONE},
- {"SKIP", EmitSingleChar, SCC_SKIP, 1, C_NONE},
-
{"STRING", EmitSingleChar, SCC_STRING, 1, C_CASE},
{"RAW_STRING", EmitSingleChar, SCC_RAW_STRING_POINTER, 1, C_NONE},