mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r21126) -Codechange: increase the limit of languages OpenTTD can know about to the limit imposed by the NewGRF specs as we're already quite close to the limit; less than 10% from the limit with the currently translated languages
This commit is contained in:
parent
3fe98f80e0
commit
8b84c74e07
@ -18,7 +18,7 @@
|
|||||||
typedef uint16 StringID;
|
typedef uint16 StringID;
|
||||||
static const StringID INVALID_STRING_ID = 0xFFFF; ///< Constant representing an invalid string
|
static const StringID INVALID_STRING_ID = 0xFFFF; ///< Constant representing an invalid string
|
||||||
static const int MAX_CHAR_LENGTH = 4; ///< Max. length of UTF-8 encoded unicode character
|
static const int MAX_CHAR_LENGTH = 4; ///< Max. length of UTF-8 encoded unicode character
|
||||||
static const uint MAX_LANG = 64; ///< Maximum number of languages supported by the game
|
static const uint MAX_LANG = 0x7F; ///< Maximum number of languages supported by the game, and the NewGRF specs
|
||||||
|
|
||||||
/** Directions a text can go to */
|
/** Directions a text can go to */
|
||||||
enum TextDirection {
|
enum TextDirection {
|
||||||
|
Loading…
Reference in New Issue
Block a user