diff options
author | ludde <ludde@openttd.org> | 2005-07-16 20:58:04 +0000 |
---|---|---|
committer | ludde <ludde@openttd.org> | 2005-07-16 20:58:04 +0000 |
commit | 594dd34e84e78b03e1cdeb7cf262707fd714a5fa (patch) | |
tree | 69f0f649731f03bc4b9a79121d4b839e7400a826 /misc.c | |
parent | cb5fc8f6ffa0062f395bbf742390db6411f4fe32 (diff) | |
download | openttd-594dd34e84e78b03e1cdeb7cf262707fd714a5fa.tar.xz |
(svn r2594) Fix: [strgen] Misc updates to the string system.
- Renamed the plural command to "P" instead of "PLURAL". Now write something like this to append an s on plural: {P "" s}. (You can optionally still add an argument index to explicitly specifiy which number that's used)
- Removed the pluralized cargo strings from the string files. The new method is to use the plural specifier {P}
- Added support for genders. First add "##gender der das die" on top, then use {G=der} on a cargoname/industry to set the gender, and to switch between genders do something like {G neu neu neue} {STRING}
- Updated the swedish/english translation with P strings.
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -430,8 +430,8 @@ void InitializeLandscapeVariables(bool only_constants) str = lpd->names[i]; _cargoc.names_s[i] = str; _cargoc.names_p[i] = (str += 0x20); - _cargoc.names_long_s[i] = (str += 0x20); - _cargoc.names_long_p[i] = (str += 0x20); + _cargoc.names_long[i] = (str += 0x20); +// _cargoc.names_long_p[i] = (str += 0x20); _cargoc.names_short[i] = (str += 0x20); _cargoc.weights[i] = lpd->weights[i]; |