From 64f6839816221873b9a5327fe038533a7d3b8a98 Mon Sep 17 00:00:00 2001 From: ludde Date: Sat, 16 Jul 2005 20:58:04 +0000 Subject: (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. --- variables.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'variables.h') diff --git a/variables.h b/variables.h index 94140d9be..55502c3e2 100644 --- a/variables.h +++ b/variables.h @@ -379,8 +379,7 @@ VARDEF FILE *_log_file_fd; typedef struct { StringID names_s[NUM_CARGO]; StringID names_p[NUM_CARGO]; - StringID names_long_s[NUM_CARGO]; - StringID names_long_p[NUM_CARGO]; + StringID names_long[NUM_CARGO]; StringID names_short[NUM_CARGO]; byte weights[NUM_CARGO]; SpriteID sprites[NUM_CARGO]; -- cgit v1.2.3-54-g00ecf