Commit Graph

54 Commits (236a397f285770b83a67d166c0ad3441a52dd8e8)

Author SHA1 Message Date
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. 18 years ago
KUDr 308f27a3de (svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing. 18 years ago
peter1138 5f3b7b10a3 (svn r4689) - Codechange: correct parameter order or calloc, and use the sizeof the variable rather than a struct 18 years ago
peter1138 ba0bc756b6 (svn r4340) Add force {FORCE} to the units system. This is currently unused. 18 years ago
orudge ff3c61b011 (svn r4204) - Get trunk compiling again on OS/2 19 years ago
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.
19 years ago
tron 0dfc0ea76b (svn r3595) Several small cleanups, the only notable are some additional symbolic names for a few ISO8859 characters 19 years ago
tron 1c3e8630fe (svn r3511) More whitespace ([FS#46] by Rubidium) 19 years ago
Darkvater dba8dc56c6 (svn r3459) - CodeChange: add help-output to strgen and also verbose variants of the switches 19 years ago
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 19 years ago
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 19 years ago
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) 19 years ago
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 19 years ago
Darkvater e1acd38bc5 (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 d1694a1c76 (svn r2985) Print warnings and errors in the canonical file:line: form to make life for IDEs easier (ln-) 19 years ago
Darkvater 7f31471240 (svn r2944) Add Revision keyword to the file for --version/-v 19 years ago
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 :)
19 years ago
tron 1236874baf (svn r2937) Add sprites for {, |, } and ~ 19 years ago
tron 2ce1cdd03f (svn r2936) Move string commands to a non-printable range and remove stale comments 19 years ago
tron ab1990e5c0 (svn r2933) Implement the non-breaking space 19 years ago
tron 5bda473694 (svn r2900) Fix a bug, which incremented the counter of a loop twice and therefore calculated wrong argument indices 19 years ago
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
19 years ago
tron d9d4e59438 (svn r2776) Remove removed file from the MSVC project file (: 19 years ago
orudge e982a24344 (svn r2765) - Update MSVC6 and Watcom projects with strgen/stdafx.c removal 19 years ago
tron 17b5b58136 (svn r2759) Remove unused #includes and files 19 years ago
tron 647cbd6bdd (svn r2701) Insert Id tags into all source files 19 years ago
Darkvater 5261529887 (svn r2617) - Fix: fix some warnings, and reenable vs.net2003 signed/unsigned warnings 19 years ago
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.
19 years ago
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.
19 years ago
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.
19 years ago
ludde 843670cfdf (svn r2579) Change some strgen errors into warnings to prevent build from stopping. 19 years ago
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.
19 years ago
tron 837c7ac25e (svn r2569) Get rid of some dubious casts and thus warnings on 64bit machines 19 years ago
tron c67ddfd327 (svn r2568) Small cleanup in strgen: static, bracing, ... 19 years ago
tron d364efea27 (svn r2566) Rename COMMA{8,16,32} to just COMMA, because it's the same anyway 19 years ago
ludde 404575e4d3 (svn r2562) Fix: Merged {NUMU16}, {INT32}. They do the same thing now. 19 years ago
ludde 569a03dd34 (svn r2561) Fix: Remove {COMMA16} and {COMMA8}. Those are not needed anymore. 19 years ago
truelight 27f80e09e3 (svn r2225) -Fix: split the endian-detection to target/host. Now cross-compiling
on i386-linux for MacOSX should also work for the language-files (strgen issues)
19 years ago
darkvater ed26914fa7 (svn r2070) - VS.NET: remove all superflouos file compilation directives (inherit setting from project defaults), except for w32dm.c which has to be C++. 20 years ago
darkvater f0cd2845d9 (svn r2062) - Set native eol-style on some OS specific files to allow cross-OS diff patching #2 20 years ago
miham 6186162742 (svn r1880) [Codechange] Added isocodes to langfiles and support code to strgen (Lauri Nurmi) 20 years ago
darkvater 493ae95ce5 (svn r1747) - Fix: [network] ottd should compile when networking is disabled.
- Change: change strgen project file to get rid of warning.
20 years ago
dominik bb34830bee (svn r1598) Feature: Message history now is stickyable and resizeable
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.
20 years ago
truelight fe16ef6637 (svn r1281) -Fix: the OS/2 is now finished. Fixes:
- Networking
  - File selector issue
  - Keyboard input
  - Dedicated server console issue (use dedicated.cmd to open a server)
  - Plus many other minor issues
20 years ago
truelight 4395293d9f (svn r1249) -Fix: new files in the last commit had double content 20 years ago
truelight dfc5fdbb92 (svn r1248) -Add: initial OS/2 support (read docs/ReadMe_OS2.txt) (orudge)
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'
20 years ago
tron 9be1dadb04 (svn r847) Add the station type icons to strgen: {TRAIN}, {LORRY}, {BUS}, {PLANE} and {SHIP} 20 years ago
tron 0f24c74b14 (svn r661) Make strgen print its own revision instead of the repo's.
This also fixes the annoying unecessary language file recompiles.
20 years ago
darkvater 397cc50f61 (svn r587) -newgrf: Rename all /Checkpoint/i tokens to 'Waypoint's. The name actually makes some sense and is also compatible with TTDPatch (pasky). 20 years ago
darkvater 57e202b256 (svn r251) -Project ready for 0.3.4 release. Updated installer, readme and fileinformation
-Fix: warning on release build of strgen
20 years ago