Sun, 17 Jul 2005 10:18:23 +0000(svn r2597) Feature: [string system] Support cases.
ludde [Sun, 17 Jul 2005 10:18:23 +0000] rev 2087
(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.

Sun, 17 Jul 2005 09:41:28 +0000(svn r2596) Add macros ROL and ROR to ROtate values Left/Right. Also shorten the parameter names for GB and SB to increase readability
tron [Sun, 17 Jul 2005 09:41:28 +0000] rev 2086
(svn r2596) Add macros ROL and ROR to ROtate values Left/Right. Also shorten the parameter names for GB and SB to increase readability

Sat, 16 Jul 2005 23:47:37 +0000(svn r2595) -Codechange: Introduced "IsSteepTileh" to find whether a tile is steep
celestar [Sat, 16 Jul 2005 23:47:37 +0000] rev 2085
(svn r2595) -Codechange: Introduced "IsSteepTileh" to find whether a tile is steep
(i.e. spans two height levels) and use it throughout the code.
-Codechange: Add CanBuildDepotByTileh to find if a tile is suitable to
build a depot on it. Wraps some bitmagic which seems quite unreadable at
first glance

Sat, 16 Jul 2005 20:58:04 +0000(svn r2594) Fix: [strgen] Misc updates to the string system.
ludde [Sat, 16 Jul 2005 20:58:04 +0000] rev 2084
(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.

Sat, 16 Jul 2005 17:46:58 +0000(svn r2593) [Translators] Updated translations to 20050716 (27 lang(s))
miham [Sat, 16 Jul 2005 17:46:58 +0000] rev 2083
(svn r2593) [Translators] Updated translations to 20050716 (27 lang(s))

Sat, 16 Jul 2005 17:12:32 +0000(svn r2592) Feature: [strgen] New way to specify plural forms.
ludde [Sat, 16 Jul 2005 17:12:32 +0000] rev 2082
(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.

Sat, 16 Jul 2005 15:05:52 +0000(svn r2591) Codechange: [network] Cleanup NetworkHandleCommandQueue
ludde [Sat, 16 Jul 2005 15:05:52 +0000] rev 2081
(svn r2591) Codechange: [network] Cleanup NetworkHandleCommandQueue

Sat, 16 Jul 2005 14:29:36 +0000(svn r2590) Fix: [network] Fixed NetworkHandleLocalQueue
ludde [Sat, 16 Jul 2005 14:29:36 +0000] rev 2080
(svn r2590) Fix: [network] Fixed NetworkHandleLocalQueue

Sat, 16 Jul 2005 12:59:23 +0000(svn r2589) Fix: [network] Fixed static variable that wasn't initialized. Would stop the sync checking from working in some cases.
ludde [Sat, 16 Jul 2005 12:59:23 +0000] rev 2079
(svn r2589) Fix: [network] Fixed static variable that wasn't initialized. Would stop the sync checking from working in some cases.

Sat, 16 Jul 2005 12:30:03 +0000(svn r2588) Codechange: Remove PLAYER_SEED_RANDOM
ludde [Sat, 16 Jul 2005 12:30:03 +0000] rev 2078
(svn r2588) Codechange: Remove PLAYER_SEED_RANDOM