mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r18339) -Cleanup: remove SKIP support from strgen too
This commit is contained in:
parent
0fce00edd8
commit
65e6355422
|
@ -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}
|
||||
|
|
|
@ -68,7 +68,6 @@ enum StringControlCode {
|
|||
SCC_STRING4,
|
||||
SCC_STRING5,
|
||||
|
||||
SCC_SKIP,
|
||||
SCC_STRING,
|
||||
SCC_COMMA,
|
||||
SCC_NUM,
|
||||
|
|
|
@ -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},
|
||||
|
||||
|
|
Loading…
Reference in New Issue