glx
65c03f32ee
(svn r6247) -Fix(r6244): invalid arguments caused infinite loop
2006-08-30 22:32:25 +00:00
glx
513b2f8cd9
(svn r6244) -Fix: allow any order for strgen parameters
2006-08-30 20:08:58 +00:00
Darkvater
fd57cba7e5
(svn r6225) -Codechange: change the warning/error format of strgen to show up
...
in MSVC 'Task List' as well.
2006-08-29 20:55:25 +00:00
rubidium
86dc219b4b
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
2006-08-28 18:53:03 +00:00
truelight
1f81d83f9c
(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)
2006-08-25 12:26:34 +00:00
belugas
7875e07373
(svn r6107) -Fix r6089: add STRGEN preprocessor flag and string.c to strgen vs 80 project
...
Carbon copy of Darkvater's r6105
2006-08-25 00:35:11 +00:00
Darkvater
a747a311ee
(svn r6105) -Fix r6089: add STRGEN preprocessor flag and string.c to strgen project
2006-08-24 22:52:58 +00:00
truelight
bd1a44d011
(svn r6098) -Fix 6097: stupid me.... CHARS! Not strings, for strrchr :(
2006-08-24 15:39:17 +00:00
truelight
0113216d3b
(svn r6097) -Fix: mingw and cygwin get / from Makefile, where \ is expected. Make exeption code for it (tnx for debug Frostregen)
2006-08-24 15:36:25 +00:00
truelight
54c9f05961
(svn r6096) -Fix: silence a warning on mingw (tnx Frostregen)
2006-08-24 15:21:09 +00:00
truelight
be345323f6
(svn r6089) -Backport r6088: added -s (source) and -d (destination) to strgen (Darkvater)
2006-08-24 12:08:25 +00:00
Darkvater
03c415d25e
(svn r6073) -We have removed MSVC6 support, so remove strgen and langs project files as well.
2006-08-23 18:22:11 +00:00
rubidium
908d3bcfe6
(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.
2006-08-22 14:38:37 +00:00
tron
772fbda3e3
(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
2006-06-27 21:25:53 +00:00
Darkvater
df90a8a89d
(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.
2006-06-16 00:28:15 +00:00
KUDr
308f27a3de
(svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing.
2006-05-27 16:12:16 +00:00
peter1138
5f3b7b10a3
(svn r4689) - Codechange: correct parameter order or calloc, and use the sizeof the variable rather than a struct
2006-05-02 14:34:53 +00:00
peter1138
ba0bc756b6
(svn r4340) Add force {FORCE} to the units system. This is currently unused.
2006-04-09 18:25:31 +00:00
orudge
ff3c61b011
(svn r4204) - Get trunk compiling again on OS/2
2006-03-31 16:01:59 +00:00
peter1138
67bc818bbe
(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.
2006-03-26 21:50:57 +00:00
tron
0dfc0ea76b
(svn r3595) Several small cleanups, the only notable are some additional symbolic names for a few ISO8859 characters
2006-02-12 10:44:52 +00:00
tron
1c3e8630fe
(svn r3511) More whitespace ([FS#46] by Rubidium)
2006-02-01 07:36:15 +00:00
Darkvater
dba8dc56c6
(svn r3459) - CodeChange: add help-output to strgen and also verbose variants of the switches
2006-01-28 11:10:52 +00:00
tron
8e43cdd0c0
(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
2005-12-17 14:26:43 +00:00
Darkvater
bf0d4ef36f
(svn r3123) eh, don't press enter after typing text, previous patch wasn't finished. Now strgen really behaves correctly. Thanks again glx
2005-11-02 23:55:10 +00:00
Darkvater
1681c231d6
(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)
2005-11-02 23:31:04 +00:00
Darkvater
ab1a7464e8
(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
2005-10-30 00:16:48 +00:00
Darkvater
e1acd38bc5
(svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc)
...
Fix warning in graph_gui.c with const problem
2005-10-02 22:39:56 +00:00
tron
d1694a1c76
(svn r2985) Print warnings and errors in the canonical file:line: form to make life for IDEs easier (ln-)
2005-09-25 09:15:09 +00:00
Darkvater
7f31471240
(svn r2944) Add Revision keyword to the file for --version/-v
2005-09-11 18:20:32 +00:00
Darkvater
c5db106a11
(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 :)
2005-09-11 17:55:32 +00:00
tron
1236874baf
(svn r2937) Add sprites for {, |, } and ~
2005-09-10 15:52:19 +00:00
tron
2ce1cdd03f
(svn r2936) Move string commands to a non-printable range and remove stale comments
2005-09-10 15:14:35 +00:00
tron
ab1990e5c0
(svn r2933) Implement the non-breaking space
2005-09-10 08:17:30 +00:00
tron
5bda473694
(svn r2900) Fix a bug, which incremented the counter of a loop twice and therefore calculated wrong argument indices
2005-08-28 14:45:44 +00:00
tron
f0393bc4b1
(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
2005-08-20 18:14:32 +00:00
tron
d9d4e59438
(svn r2776) Remove removed file from the MSVC project file (:
2005-08-01 00:17:11 +00:00
orudge
e982a24344
(svn r2765) - Update MSVC6 and Watcom projects with strgen/stdafx.c removal
2005-07-31 13:23:43 +00:00
tron
17b5b58136
(svn r2759) Remove unused #includes and files
2005-07-30 15:25:49 +00:00
tron
647cbd6bdd
(svn r2701) Insert Id tags into all source files
2005-07-24 14:12:37 +00:00
Darkvater
5261529887
(svn r2617) - Fix: fix some warnings, and reenable vs.net2003 signed/unsigned warnings
2005-07-17 18:11:17 +00:00
ludde
a419ed0bd4
(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.
2005-07-17 10:18:23 +00:00
ludde
594dd34e84
(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.
2005-07-16 20:58:04 +00:00
ludde
ec8a15d191
(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.
2005-07-16 17:12:32 +00:00
ludde
843670cfdf
(svn r2579) Change some strgen errors into warnings to prevent build from stopping.
2005-07-15 17:59:55 +00:00
ludde
275e2f477a
(svn r2572) - Codechange: [string] Changed string system so it's not as 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 14:53:44 +00:00
tron
837c7ac25e
(svn r2569) Get rid of some dubious casts and thus warnings on 64bit machines
2005-07-15 09:01:23 +00:00
tron
c67ddfd327
(svn r2568) Small cleanup in strgen: static, bracing, ...
2005-07-15 07:48:17 +00:00
tron
d364efea27
(svn r2566) Rename COMMA{8,16,32} to just COMMA, because it's the same anyway
2005-07-14 15:10:20 +00:00
ludde
404575e4d3
(svn r2562) Fix: Merged {NUMU16}, {INT32}. They do the same thing now.
2005-07-13 20:41:44 +00:00