Age | Commit message (Collapse) | Author |
|
signed/unsigned warnings
|
|
- 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.
|
|
- 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.
|
|
- {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.
|
|
stopping.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
cross-compiling
on i386-linux for MacOSX should also work for the language-files (strgen issues)
|
|
(inherit setting from project defaults), except for w32dm.c which has to be C++.
|
|
cross-OS diff patching #2
|
|
strgen (Lauri Nurmi)
|
|
- Change: change strgen project file to get rid of warning.
|
|
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.
|
|
- Networking
- File selector issue
- Keyboard input
- Dedicated server console issue (use dedicated.cmd to open a server)
- Plus many other minor issues
|
|
|
|
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'
|
|
{PLANE} and {SHIP}
|
|
This also fixes the annoying unecessary language file recompiles.
|
|
actually makes some sense and is also compatible with TTDPatch (pasky).
|
|
fileinformation
-Fix: warning on release build of strgen
|
|
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.
|
|
for your diligent fixing of warnings (and some possibly bugs) (Tron)
-CodeLayout: Remove trailing spaces and Windows linebreaks
|
|
the longest standing warning on compilation of strgen (tokai)
|
|
|