1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-20 21:19:10 +00:00

(svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, because everything is already 64 bits by default.

This commit is contained in:
rubidium
2007-06-21 17:38:59 +00:00
parent e432c7459e
commit fb7964e902
43 changed files with 464 additions and 479 deletions

View File

@@ -611,12 +611,6 @@ static char* FormatString(char* buff, const char* str, const int64* argv, uint c
}
} break;
case SCC_CURRENCY_COMPACT_64: { /* {CURRCOMPACT64} */
/* 64 bit compact currency-unit */
buff = FormatGenericCurrency(buff, _currency, GetInt64(&argv), true, last);
break;
}
case SCC_STRING1: { /* {STRING1} */
/* String that consumes ONE argument */
uint str = modifier + GetInt32(&argv);
@@ -867,11 +861,6 @@ static char* FormatString(char* buff, const char* str, const int64* argv, uint c
break;
}
case SCC_CURRENCY_64: { // {CURRENCY64}
buff = FormatGenericCurrency(buff, _currency, GetInt64(&argv), false, last);
break;
}
case SCC_SETCASE: { // {SETCASE}
/* This is a pseudo command, it's outputted when someone does {STRING.ack}
* The modifier is added to all subsequent GetStringWithArgs that accept the modifier. */