Darkvater
f2fdb38c92
(svn r7693) -Codechange (r7540): print a newline after the summary (strgen).
18 years ago
Darkvater
96a53f1b13
(svn r7540) -Codechange: Print a summary of the number of errors/warnings of a language when strgen is run with the -w flag.
18 years ago
peter1138
8a49fa12ff
(svn r7185) -Codechange: Make strgen validate strings for UTF-8 well-formed-ness-ness
18 years ago
peter1138
1a4f1c8177
(svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
18 years ago
Darkvater
5578e596a2
(svn r6898) -Fix: lowercase Error/Warning/Fatal for strgen and remove static on error() so strgen
...
can compile with anal strecpy() :)
18 years ago
glx
d6a2203f06
(svn r6817) -Fix: set svn:eol-style for vs80 files
18 years ago
glx
f91fce66cb
(svn r6247) -Fix(r6244): invalid arguments caused infinite loop
18 years ago
glx
d8e6f28365
(svn r6244) -Fix: allow any order for strgen parameters
18 years ago
Darkvater
be1bec145e
(svn r6225) -Codechange: change the warning/error format of strgen to show up
...
in MSVC 'Task List' as well.
18 years ago
rubidium
27cee58ab8
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
18 years ago
truelight
bd80b4fd19
(svn r6117) -Fix r6097: on mingw it is normal that both / as \ are accepted as input
...
-Fix r6096: detect for PATHSEP on WIN32 or WIN64, not UNIX
(Windows compilers define either one, while other compilers don't define a thing)
18 years ago
belugas
0189b8994d
(svn r6107) -Fix r6089: add STRGEN preprocessor flag and string.c to strgen vs 80 project
...
Carbon copy of Darkvater's r6105
18 years ago
Darkvater
50645d881e
(svn r6105) -Fix r6089: add STRGEN preprocessor flag and string.c to strgen project
18 years ago
truelight
67af9da593
(svn r6098) -Fix 6097: stupid me.... CHARS! Not strings, for strrchr :(
18 years ago
truelight
d2ca8c197a
(svn r6097) -Fix: mingw and cygwin get / from Makefile, where \ is expected. Make exeption code for it (tnx for debug Frostregen)
18 years ago
truelight
e3643e4933
(svn r6096) -Fix: silence a warning on mingw (tnx Frostregen)
18 years ago
truelight
76bcaba601
(svn r6089) -Backport r6088: added -s (source) and -d (destination) to strgen (Darkvater)
18 years ago
Darkvater
62cd33f083
(svn r6073) -We have removed MSVC6 support, so remove strgen and langs project files as well.
18 years ago
rubidium
480af9c917
(svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
18 years ago
tron
2b27073156
(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
18 years ago
Darkvater
54be2e503d
(svn r5286) - Clean up VS2005 project files by making them identical to the VS2003 project file. Mainly put object files into a subdirectory of the project directory instead of a level higher which makes absolutely no sense. Also add some ignores, remove obsolete VS6 project files.
18 years ago
KUDr
5e73dce0e7
(svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing.
19 years ago
peter1138
387ce97c28
(svn r4689) - Codechange: correct parameter order or calloc, and use the sizeof the variable rather than a struct
19 years ago
peter1138
a4a891c007
(svn r4340) Add force {FORCE} to the units system. This is currently unused.
19 years ago
orudge
0fe27c16af
(svn r4204) - Get trunk compiling again on OS/2
19 years ago
peter1138
38a0ef3bc6
(svn r4126) - Feature: A new multi-lingual multi-measuring-unit system:
...
- 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.
19 years ago
tron
8cf72cdcab
(svn r3595) Several small cleanups, the only notable are some additional symbolic names for a few ISO8859 characters
19 years ago
tron
84fb96fe85
(svn r3511) More whitespace ([FS#46] by Rubidium)
19 years ago
Darkvater
691c93ee99
(svn r3459) - CodeChange: add help-output to strgen and also verbose variants of the switches
19 years ago
tron
bd909b0952
(svn r3310) Fix a couple of warnings: Initialise all struct members, disambiguate cascaded if/else, remove an unused variable, use (void) for empty parameter lists
19 years ago
Darkvater
689006ee73
(svn r3123) eh, don't press enter after typing text, previous patch wasn't finished. Now strgen really behaves correctly. Thanks again glx
19 years ago
Darkvater
9d786d3e53
(svn r3122) - Fix (regression): recent change to strgen which 'fixed' all 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)
19 years ago
Darkvater
6c4b37c9fe
(svn r3103) - Fix: [ 1339000 ] Fix: strgen and plural forms fatal error for untranslated strings. (glx). Also output the correct lines for these warnings, for missing strings the lines correspond with the ones in english.txt
19 years ago
Darkvater
a3d40a29fc
(svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc)
...
Fix warning in graph_gui.c with const problem
19 years ago
tron
269627b0ba
(svn r2985) Print warnings and errors in the canonical file:line: form to make life for IDEs easier (ln-)
19 years ago
Darkvater
c5fa3848f6
(svn r2944) Add Revision keyword to the file for --version/-v
19 years ago
Darkvater
802edd7f0d
(svn r2943) Fix compilation of openttd in release mode. Don't use any 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 :)
19 years ago
tron
8894b930ae
(svn r2937) Add sprites for {, |, } and ~
19 years ago
tron
edb56c2c46
(svn r2936) Move string commands to a non-printable range and remove stale comments
19 years ago
tron
9de2c05c56
(svn r2933) Implement the non-breaking space
19 years ago
tron
a02ee8ffda
(svn r2900) Fix a bug, which incremented the counter of a loop twice and therefore calculated wrong argument indices
19 years ago
tron
ae49d487cc
(svn r2879) Major step twoards ISO-8859-15
...
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
19 years ago
tron
49c399fa83
(svn r2776) Remove removed file from the MSVC project file (:
19 years ago
orudge
773dedfd03
(svn r2765) - Update MSVC6 and Watcom projects with strgen/stdafx.c removal
19 years ago
tron
b629745c16
(svn r2759) Remove unused #includes and files
19 years ago
tron
a227065ab7
(svn r2701) Insert Id tags into all source files
19 years ago
Darkvater
ff2662ebe7
(svn r2617) - Fix: fix some warnings, and reenable vs.net2003 signed/unsigned warnings
19 years ago
ludde
b72e1fb67d
(svn r2597) Feature: [string system] Support cases.
...
- 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.
19 years ago
ludde
64f6839816
(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.
19 years ago
ludde
61558dcb3d
(svn r2592) Feature: [strgen] New way to specify plural forms.
...
- {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.
19 years ago