summaryrefslogtreecommitdiff
path: root/strgen
AgeCommit message (Collapse)Author
2006-05-27(svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous ↵KUDr
support and users for testing.
2006-05-02(svn r4689) - Codechange: correct parameter order or calloc, and use the ↵peter1138
sizeof the variable rather than a struct
2006-04-09(svn r4340) Add force {FORCE} to the units system. This is currently unused.peter1138
2006-03-31(svn r4204) - Get trunk compiling again on OS/2orudge
2006-03-26(svn r4126) - Feature: A new multi-lingual multi-measuring-unit system:peter1138
- Replace miles/kilometres game option with a general measuring units option. - Add {POWER}, {WEIGHT}, {WEIGHT_S} and {VOLUME_S} (_S for short) tags to the language/string system. - Add SI as option for measuring units. Language file updates to use the system will come soon.
2006-02-12(svn r3595) Several small cleanups, the only notable are some additional ↵tron
symbolic names for a few ISO8859 characters
2006-02-01(svn r3511) More whitespace ([FS#46] by Rubidium)tron
2006-01-28(svn r3459) - CodeChange: add help-output to strgen and also verbose ↵Darkvater
variants of the switches
2005-12-17(svn r3310) Fix a couple of warnings: Initialise all struct members, ↵tron
disambiguate cascaded if/else, remove an unused variable, use (void) for empty parameter lists
2005-11-02(svn r3123) eh, don't press enter after typing text, previous patch wasn't ↵Darkvater
finished. Now strgen really behaves correctly. Thanks again glx
2005-11-02(svn r3122) - Fix (regression): recent change to strgen which 'fixed' all ↵Darkvater
strings with wrong plural forms. Thanks for glx for pointing this out (after I changed his original patch which was correct..whohoo braindeadness; here I come)
2005-10-30(svn r3103) - Fix: [ 1339000 ] Fix: strgen and plural forms fatal error for ↵Darkvater
untranslated strings. (glx). Also output the correct lines for these warnings, for missing strings the lines correspond with the ones in english.txt
2005-10-02(svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc)Darkvater
Fix warning in graph_gui.c with const problem
2005-09-25(svn r2985) Print warnings and errors in the canonical file:line: form to ↵tron
make life for IDEs easier (ln-)
2005-09-11(svn r2944) Add Revision keyword to the file for --version/-vDarkvater
2005-09-11(svn r2943) Fix compilation of openttd in release mode. Don't use any ↵Darkvater
precompiled headers, so no more troubles in the future. Remove release build of strgen, since it is never used. Add current ottd version to resource file. Don't forget to update when we make a release :)
2005-09-10(svn r2937) Add sprites for {, |, } and ~tron
2005-09-10(svn r2936) Move string commands to a non-printable range and remove stale ↵tron
comments
2005-09-10(svn r2933) Implement the non-breaking spacetron
2005-08-28(svn r2900) Fix a bug, which incremented the counter of a loop twice and ↵tron
therefore calculated wrong argument indices
2005-08-20(svn r2879) Major step twoards ISO-8859-15tron
Add several missing chars: - Š/š (S with hacek, all sizes) - Ž/ž (Z with hacek, all sizes) - Œ/œ (OE ligature, all sizes) - Ð/ð (eth, large font was missing) - Þ/þ (thorn, large font was missing) - º (male ordinal sign, all sizes) Also move Ÿ (Y with umlaut, all sizes) to the correct position in the charset To add some chars it was necessary to shuffle some OTTD specific chars (arrows, transport type markers) around
2005-08-01(svn r2776) Remove removed file from the MSVC project file (:tron
2005-07-31(svn r2765) - Update MSVC6 and Watcom projects with strgen/stdafx.c removalorudge
2005-07-30(svn r2759) Remove unused #includes and filestron
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-07-17(svn r2617) - Fix: fix some warnings, and reenable vs.net2003 ↵Darkvater
signed/unsigned warnings
2005-07-17(svn r2597) Feature: [string system] Support cases.ludde
- Cases are used to change a string, such as Coal Mine, depending on the surrounding context. - Cases are defined like "STR_4802_COAL_MINE.ack :Coala Mina" - All cases need to be listed on the top of the file like this "##case ack" - When using the string, type {STRING.ack} to choose the "ack" version of Coal mine. - Also combined the strgen arrays into a struct, and fixed a bug with SetXY.
2005-07-16(svn r2594) Fix: [strgen] Misc updates to the string system.ludde
- 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.
2005-07-16(svn r2592) Feature: [strgen] New way to specify plural forms. ludde
- {NUM} {PLURAL 0 car cars}: Prints either car or cars depending on if the argument 0 is plural. Also supports languages with weird plural forms such as Polish. The plural format needs to be specified in the beginning of the langfile, like "##plural 7" for Polish.
2005-07-15(svn r2579) Change some strgen errors into warnings to prevent build from ↵ludde
stopping.
2005-07-15(svn r2572) - Codechange: [string] Changed string system so it's not as ↵ludde
dependent on decode_parameters - Feature: [strgen] Allow changing the order of parameters in translated strings. - Use {1:TOWN} syntax to set the order. - Codechange: [strgen] Rewrote lots of strgen internals.
2005-07-15(svn r2569) Get rid of some dubious casts and thus warnings on 64bit machinestron
2005-07-15(svn r2568) Small cleanup in strgen: static, bracing, ...tron
2005-07-14(svn r2566) Rename COMMA{8,16,32} to just COMMA, because it's the same anywaytron
2005-07-13(svn r2562) Fix: Merged {NUMU16}, {INT32}. They do the same thing now.ludde
2005-07-13(svn r2561) Fix: Remove {COMMA16} and {COMMA8}. Those are not needed anymore.ludde
2005-04-24(svn r2225) -Fix: split the endian-detection to target/host. Now ↵truelight
cross-compiling on i386-linux for MacOSX should also work for the language-files (strgen issues)
2005-03-25(svn r2070) - VS.NET: remove all superflouos file compilation directives ↵darkvater
(inherit setting from project defaults), except for w32dm.c which has to be C++.
2005-03-25(svn r2062) - Set native eol-style on some OS specific files to allow ↵darkvater
cross-OS diff patching #2
2005-02-17(svn r1880) [Codechange] Added isocodes to langfiles and support code to ↵miham
strgen (Lauri Nurmi)
2005-01-31(svn r1747) - Fix: [network] ottd should compile when networking is disabled.darkvater
- Change: change strgen project file to get rid of warning.
2005-01-22(svn r1598) Feature: Message history now is stickyable and resizeabledominik
The news messages are now precisely cropped according to pixel width to fit optimal into the window. Introduced a new date format: DATE_TINY, which is ISOish.
2004-12-27(svn r1281) -Fix: the OS/2 is now finished. Fixes:truelight
- Networking - File selector issue - Keyboard input - Dedicated server console issue (use dedicated.cmd to open a server) - Plus many other minor issues
2004-12-23(svn r1249) -Fix: new files in the last commit had double contenttruelight
2004-12-23(svn r1248) -Add: initial OS/2 support (read docs/ReadMe_OS2.txt) (orudge)truelight
Works fine, beside some minor stuff: - Network is not working yet - Keyboard is not working - No MIDI support - 'A few file selector bugs involving drives'
2004-11-28(svn r847) Add the station type icons to strgen: {TRAIN}, {LORRY}, {BUS}, ↵tron
{PLANE} and {SHIP}
2004-11-17(svn r661) Make strgen print its own revision instead of the repo's.tron
This also fixes the annoying unecessary language file recompiles.
2004-11-14(svn r587) -newgrf: Rename all /Checkpoint/i tokens to 'Waypoint's. The name ↵darkvater
actually makes some sense and is also compatible with TTDPatch (pasky).
2004-09-14(svn r251) -Project ready for 0.3.4 release. Updated installer, readme and ↵darkvater
fileinformation -Fix: warning on release build of strgen
2004-09-13(svn r237) -Fix: [1025836] Company value problem (again). Now company value ↵darkvater
rightly shows the value, including ALL your money. -Fix: Graphs now accomodate 64bit numbers (so the company value graph doesn't plummet into -... if value is too big) -Strgen: added CURRCOMPACT64 for this, and 64bit versions of several macros.