Commit Graph

4710 Commits

Author SHA1 Message Date
smatz d2a050bb29 (svn r14671) -Fix: compilation was broken for some systems 2008-12-13 18:19:44 +00:00
smatz 28028cf755 (svn r14670) -Codechange: use better readable (I hope) and branchless (for some archs/compilers) code for cargo value computation 2008-12-13 16:16:44 +00:00
smatz 3cd2957544 (svn r14669) -Codechange: use SmallVector instead of std::list at one place 2008-12-13 15:59:25 +00:00
rubidium 0bf775a20a (svn r14668) -Change: use include <> instead of include "" when including ICU's headers. 2008-12-12 19:54:54 +00:00
translators 065e10fd1b (svn r14667) -Update: WebTranslator2 update to 2008-12-11 18:45:04
arabic_egypt - 1207 fixed by khaloofah (1207)
indonesian - 30 fixed by fanioz (30)
malay      - 21 fixed by Syed (21)
portuguese - 52 fixed, 3 changed by rmrebelo (55)
2008-12-11 18:45:10 +00:00
translators f71429dc0f (svn r14666) -Update: WebTranslator2 update to 2008-12-10 18:44:59
arabic_egypt - 306 fixed by khaloofah (306)
hebrew     - 419 fixed, 45 changed by moshe (458), ybungalobill (6)
hungarian  - 1 changed by alyr (1)
ido        - 12 fixed by Cecile (12)
indonesian - 10 fixed by fanioz (10)
latvian    - 1 fixed by pakalns (1)
portuguese - 17 fixed by rmrebelo (12), SnowFlake (5)
turkish    - 161 changed by doesntmatter (161)
2008-12-10 18:45:17 +00:00
translators be874f0cd0 (svn r14665) -Update: WebTranslator2 update to 2008-12-09 18:44:40
arabic_egypt - 301 fixed by khaloofah (301)
esperanto  - 64 fixed, 2 changed by alekcxjo (66)
hebrew     - 430 fixed by moshe (430)
hungarian  - 10 changed by alyr (9), oklmernok (1)
indonesian - 49 fixed, 4 changed by fanioz (40), anansboga (13)
lithuanian - 5 fixed by Enternald (5)
portuguese - 6 fixed by SnowFlake (6)
thai       - 333 fixed by vetbook (333)
2008-12-09 18:44:51 +00:00
translators 175228d036 (svn r14662) -Update: WebTranslator2 update to 2008-12-08 16:28:15
frisian    - 216 fixed, 14 changed by Fryslân Boppe (230)
hebrew     - 109 fixed, 2 changed by ybungalobill (111)
hungarian  - 1 changed by oklmernok (1)
indonesian - 115 fixed by adjayanto (59), fanioz (56)
lithuanian - 24 fixed by Enternald (24)
malay      - 41 fixed by Syed (41)
norwegian_nynorsk - 72 fixed by Thor (72)
turkish    - 3 changed by Emin (3)
2008-12-08 16:29:36 +00:00
translators d952324cfa (svn r14660) -Update: WebTranslator2 update to 2008-12-06 18:44:39
croatian   - 55 changed by knovak (55)
hebrew     - 237 fixed, 2 changed by ybungalobill (239)
indonesian - 124 fixed, 11 changed by sireno (19), adjayanto (50), fanioz (66)
persian    - 19 fixed by ali sattari (19)
russian    - 1 fixed by ybungalobill (1)
traditional_chinese - 1 fixed by josesun (1)
turkish    - 28 fixed by Emin (28)
2008-12-06 18:44:49 +00:00
rubidium 64c973ccc5 (svn r14658) -Change: allow changing town names when there are no towns in the scenario yet. 2008-12-05 22:46:39 +00:00
translators c8cade5519 (svn r14657) -Update: WebTranslator2 update to 2008-12-05 18:44:56
afrikaans  - 5 fixed by burgerd (5)
icelandic  - 13 fixed by scrooge (13)
latvian    - 101 fixed by Wersoo (101)
lithuanian - 4 fixed, 293 changed by linasmi (297)
malay      - 40 fixed by Syed (40)
slovenian  - 11 fixed by Necrolyte (11)
turkish    - 78 fixed by Emin (78)
2008-12-05 18:45:05 +00:00
rubidium bcb9a11754 (svn r14656) -Change: replace instances of x & S_IFREG with S_ISREG(x) as S_IFREG can be 0 on some platforms. 2008-12-05 18:02:04 +00:00
translators 1b91ec49c8 (svn r14655) -Update: WebTranslator2 update to 2008-12-04 18:47:16
croatian   - 61 fixed by knovak (61)
hebrew     - 192 fixed by davidx123 (192)
hungarian  - 1 changed by IPG (1)
indonesian - 165 fixed, 6 changed by fanioz (121), dnaftali (50)
malay      - 182 fixed, 1 changed by tombakemas (104), Syed (79)
2008-12-04 18:47:20 +00:00
translators 1b0bf2d264 (svn r14654) -Add: stub for Hebrew. 2008-12-04 00:34:52 +00:00
translators 7ce3c1e798 (svn r14653) -Update: WebTranslator2 update to 2008-12-03 19:27:43
danish     - 10 fixed by ThomasA (10)
indonesian - 48 fixed by fanioz (48)
-Fix: WebTranslator2 went haywire on Croatian/Danish.
2008-12-03 19:31:15 +00:00
translators cf6a167a1c (svn r14652) -Update: WebTranslator2 update to 2008-12-03 18:43:05
croatian   - 28 changed by knovak (28)
indonesian - 64 fixed, 1 changed by fanioz (50), dnaftali (15)
macedonian - 10 fixed by zharko (10)
malay      - 267 fixed, 3 changed by tombakemas (270)
serbian    - 29 fixed by dejac (29)
2008-12-03 18:43:10 +00:00
rubidium 217a72122a (svn r14649) -Change: consistently use can't instead of primarily can't and a bit of cannot in english.txt. 2008-12-03 00:09:26 +00:00
translators 0b248ef69a (svn r14648) -Update: WebTranslator2 update to 2008-12-02 18:46:52
croatian   - 3 fixed, 5 changed by knovak (8)
hungarian  - 37 changed by IPG (37)
indonesian - 62 fixed by fanioz (62)
lithuanian - 17 fixed by Enternald (17)
malay      - 66 fixed, 2 changed by tombakemas (68)
swedish    - 6 fixed by daishan (6)
turkish    - 42 fixed by Emin (42)
2008-12-02 18:47:03 +00:00
translators 9905fa3116 (svn r14647) -Update: WebTranslator2 update to 2008-12-01 18:28:38
croatian   - 160 changed by knovak (160)
hungarian  - 2 changed by oklmernok (2)
malay      - 20 fixed by SeaGates (20)
spanish    - 1 fixed by eusebio (1)
2008-12-01 18:28:44 +00:00
translators 58b2cdbcff (svn r14646) -Update: WebTranslator2 update to 2008-11-30 18:46:24
esperanto  - 4 fixed by Athaba (4)
finnish    - 1 changed by SuomiPoika (1)
indonesian - 16 fixed, 4 changed by fanioz (20)
korean     - 1 fixed by dlunch (1)
lithuanian - 57 fixed, 20 changed by Enternald (77)
macedonian - 140 fixed, 1 changed by simonkoco (34), zharko (107)
persian    - 21 fixed by ali sattari (21)
serbian    - 5 fixed by dejac (5)
2008-11-30 18:46:32 +00:00
frosch a0327b375f (svn r14643) -Fix: Invalidate autoreplace window when toggling 'replace protection'. 2008-11-29 21:27:15 +00:00
translators 0191220b64 (svn r14642) -Update: WebTranslator2 update to 2008-11-29 18:44:42
croatian   - 163 fixed, 30 changed by knovak (193)
czech      - 1 fixed, 1 changed by miris2009 (2)
esperanto  - 41 fixed by Athaba (41)
german     - 4 fixed, 2 changed by Athaba (6)
greek      - 20 fixed by vesnikos (20)
hungarian  - 6 changed by IPG (6)
indonesian - 46 fixed by fanioz (46)
malay      - 259 fixed by SeaGates (259)
polish     - 1 fixed, 10 changed by meush (11)
2008-11-29 18:44:52 +00:00
rubidium cdec8f6b27 (svn r14641) -Change [Allegro]: when making a debug build revert Allegro's hooks on SIGSEGV/SIGABRT so one can actually use gdb.
-Change: make it more clear that Allegro's failing to find a driver.
2008-11-29 01:28:13 +00:00
translators 9140315c7b (svn r14640) -Update: WebTranslator2 update to 2008-11-28 18:47:35
bulgarian  - 1 fixed by Ar4i (1)
catalan    - 1 fixed by arnaullv (1)
croatian   - 43 fixed by knovak (43)
esperanto  - 3 fixed by Athaba (3)
estonian   - 8 fixed by t2t2 (8)
german     - 1 fixed by Athaba (1)
latvian    - 315 fixed, 112 changed by Reinis (414), yopzer (7), niko (6)
polish     - 1 fixed by xaxa (1)
romanian   - 6 fixed, 1 changed by kkmic (7)
ukrainian  - 2 fixed by mad (2)
2008-11-28 18:47:49 +00:00
translators 7f24ffea6a (svn r14639) -Update: WebTranslator2 update to 2008-11-27 18:48:40
brazilian_portuguese - 4 fixed by tucalipe (4)
catalan    - 1 fixed by arnaullv (1)
dutch      - 1 fixed, 7 changed by Excel20 (8)
finnish    - 4 fixed by UltimateSephiroth (1), jpx_ (3)
french     - 1 fixed by glx (1)
greek      - 10 fixed by Dimi (10)
hungarian  - 8 fixed, 49 changed by IPG (57)
italian    - 1 fixed by lorenzodv (1)
japanese   - 1 fixed, 41 changed by bve255 (42)
korean     - 3 fixed by dlunch (3)
lithuanian - 99 fixed, 16 changed by Domas (115)
norwegian_nynorsk - 35 fixed, 1 changed by mkrwii (36)
persian    - 38 fixed by ali sattari (38)
polish     - 20 fixed by coolik (14), xaxa (6)
romanian   - 8 fixed by stykat (8)
slovak     - 1 fixed by James (1)
welsh      - 2 fixed by welshdragon (2)
2008-11-27 18:49:00 +00:00
glx 93ee81fa45 (svn r14638) -Fix [FS#2430]: don't restore fast-forward when SaveFileDone() callback happens after we returned to the menu 2008-11-27 18:39:55 +00:00
translators 7b7e3e0fce (svn r14637) -Add: stub for Arabic (Egypt). 2008-11-26 20:14:46 +00:00
rubidium a614dd7174 (svn r14636) -Add: DOS port of OpenTTD, without network support though. 2008-11-26 13:12:45 +00:00
rubidium bb25748a9d (svn r14635) -Change: use S_ISDIR/S_ISREG as x & S_IFREG always results false on platforms when S_IFREG is 0x0000. 2008-11-26 01:07:49 +00:00
rubidium 69eb6978e7 (svn r14634) -Change: _rdtsc is defined by some platforms so we can't use that name. 2008-11-26 01:03:34 +00:00
rubidium 131f9e39d3 (svn r14633) -Fix: compile failure when building a debug build without network support. 2008-11-25 23:24:38 +00:00
rubidium 34ddda1009 (svn r14632) -Add: support Allegro as midi backend. 2008-11-25 23:21:58 +00:00
rubidium 72124862f0 (svn r14631) -Add: support for Allegro as sound backend. 2008-11-25 21:09:00 +00:00
rubidium 3aacd0a3d5 (svn r14630) -Add: support Allegro as video backend. 2008-11-25 19:32:12 +00:00
translators f31999c030 (svn r14626) -Update: WebTranslator2 update to 2008-11-25 18:44:46
bulgarian  - 1 fixed by Ar4i (1)
croatian   - 21 fixed, 11 changed by knovak (32)
finnish    - 12 fixed by UltimateSephiroth (12)
french     - 1 fixed by glx (1)
greek      - 31 fixed by vesnikos (31)
hungarian  - 13 fixed, 98 changed by IPG (111)
icelandic  - 71 fixed, 2 changed by pall (73)
italian    - 1 fixed by lorenzodv (1)
japanese   - 114 fixed, 243 changed by bve255 (313), ickoonite (44)
polish     - 36 fixed by coolik (3), xaxa (33)
2008-11-25 18:44:59 +00:00
rubidium 1983754132 (svn r14625) -Codechange: a bit of coding style. 2008-11-25 18:42:06 +00:00
translators 8e48319c44 (svn r14624) -Add: stub for Malay. 2008-11-25 09:05:56 +00:00
rubidium 5466d8e959 (svn r14623) -Codechange: a sprinkle of coding style. 2008-11-24 20:51:55 +00:00
glx b7c6872903 (svn r14622) -Fix (r14618): win9x compilation 2008-11-24 20:10:39 +00:00
rubidium f7f89d63b2 (svn r14621) -Fix (r14618): link error when you aren't compiling for Windows or you don't have fontconfig. 2008-11-24 19:31:01 +00:00
glx 68d399d0ae (svn r14620) -Fix (r14618): missing lines broke compilation on windows 2008-11-24 18:59:53 +00:00
translators 730a3d4772 (svn r14619) -Update: WebTranslator2 update to 2008-11-24 18:56:10
czech      - 1 fixed by Hadez (1)
dutch      - 1 fixed by habell (1)
latvian    - 19 fixed, 1 changed by v3rb0 (20)
persian    - 22 fixed by ali sattari (22)
piglatin   - 21 fixed by adammw (21)
polish     - 2 fixed, 3 changed by Simek (5)
russian    - 13 fixed by Smoky555 (13)
slovak     - 1 fixed by James (1)
spanish    - 1 fixed by eusebio (1)
2008-11-24 18:56:24 +00:00
rubidium fea78fbfbb (svn r14618) -Feature: when the chosen language isn't supported by the current font, try to find a font that does and use that instead. Thanks to glx/michi_cc for the Windows implementation. 2008-11-24 18:53:17 +00:00
rubidium 6878b181c7 (svn r14617) -Change: unduplicate the languagepack(header). 2008-11-24 11:20:07 +00:00
rubidium f28992719d (svn r14616) -Fix [FS#2424]: a nearest depot order should be "equal" to the resolved nearest depot order; otherwise we keep resolving the nearest depot order every tick. 2008-11-23 21:46:27 +00:00
translators 54128db1cf (svn r14615) -Update: WebTranslator2 update to 2008-11-23 18:07:42
dutch      - 29 changed by MsG (29)
finnish    - 60 fixed, 2 changed by jpx_ (3), UltimateSephiroth (59)
hungarian  - 37 changed by oklmernok (37)
romanian   - 13 fixed, 39 changed by stykat (52)
ukrainian  - 4 fixed by mad (4)
2008-11-23 18:07:49 +00:00
smatz d0e4cc5ee0 (svn r14614) -Codechange [FS#2423]: GetTreeCount() should behave as its name and documentation imply. Remove unused SetTreeCount() (PhilSophus) 2008-11-23 16:45:53 +00:00
frosch e35be92a3a (svn r14613) -Fix [FS#2420]: When building industries, clear the tiles as OWNER_TOWN instead of the founder to take care of protected buildings and to not get stressed by town ratings. 2008-11-23 16:34:27 +00:00
smatz c4179d4ea9 (svn r14612) -Change: force the argument given to '-i' parameter to be valid. Accept '2', too 2008-11-23 16:01:24 +00:00
frosch 3d467cabe5 (svn r14611) -Fix (r13437)[FS#2421]: Store the age of a house in the map array instead of the construction year.
Note: Savegames from r13437 to now are broken and have a age of 255 years for a lot houses.
2008-11-23 14:17:41 +00:00
rubidium 2277a1ff9c (svn r14610) -Fix [FS#2415]: possible stack corruption when reading corrupted sprites.
-Change: harden the sprite reading routine against corrupt sprites.
2008-11-23 13:42:05 +00:00
peter1138 ca5ed4b2cc (svn r14609) -Codechange: Use supplied button colour instead of hardcoded yellow, for 'greyed out' arrow buttons. (Yorick) 2008-11-23 12:35:02 +00:00
frosch 5aad874639 (svn r14608) -Fix (r9315): Return the current year as construction year for unfinished houses. 2008-11-22 19:49:17 +00:00
translators 6df10074d4 (svn r14607) -Update: WebTranslator2 update to 2008-11-22 18:44:20
afrikaans  - 28 changed by burgerd (28)
finnish    - 65 fixed, 17 changed by UltimateSephiroth (82)
hungarian  - 86 changed by oklmernok (86)
norwegian_bokmal - 4 fixed by brygge_2 (4)
2008-11-22 18:44:26 +00:00
frosch 259a073f0c (svn r14606) -Codechange: Unify usage of PALETTE_MODIFIER_TRANSPARENT and PALETTE_MODIFIER_COLOR in spritelayout drawing.
-Fix [FS#2419]: The modifiers were not applied in all cases.
2008-11-22 16:04:11 +00:00
frosch f0286cb1e5 (svn r14605) -Fix (r9315): When callback 1E fails, use the standard random colour. 2008-11-22 15:57:31 +00:00
frosch b759ccd032 (svn r14604) -Codechange: Simplify a function and rename it, and fix some comments. 2008-11-22 15:48:43 +00:00
rubidium 6e93e611c8 (svn r14603) -Fix [FS#2422]: the company ID is off-by-one w.r.t. to the rest of the GUI in the cheat window. 2008-11-22 13:09:31 +00:00
translators 176e7469b6 (svn r14602) -Update: WebTranslator2 update to 2008-11-21 18:45:14
bulgarian  - 2 fixed by Ar4i (2)
catalan    - 2 fixed by arnaullv (2)
czech      - 2 fixed by Hadez (2)
finnish    - 90 fixed by UltimateSephiroth (90)
hungarian  - 6 fixed, 42 changed by oklmernok (48)
indonesian - 88 fixed by adjayanto (88)
polish     - 61 fixed by coolik (61)
romanian   - 20 fixed by kkmic (20)
russian    - 2 fixed by MajestiC (2)
spanish    - 1 fixed by eusebio (1)
2008-11-21 18:45:27 +00:00
rubidium 2209c6a344 (svn r14601) -Fix: the nearest depot and stop in depot orders didn't work together (the vehicle didn't stop). 2008-11-21 18:16:19 +00:00
translators bc88d7d9b0 (svn r14600) -Update: WebTranslator2 update to 2008-11-20 18:44:05
afrikaans  - 34 fixed by nubllett (34)
galician   - 4 fixed by Condex (4)
hungarian  - 7 fixed, 49 changed by oklmernok (17), IPG (39)
italian    - 2 fixed by lorenzodv (2)
polish     - 45 fixed by kruczek1 (45)
slovak     - 1 fixed by James (1)
2008-11-20 18:44:13 +00:00
frosch ee8fb221d3 (svn r14599) -Fix (r14598)[FS#2417]: Show again group-membership in the vehicle-lists. (Based on patch by PhilSophus) 2008-11-20 16:48:22 +00:00
rubidium a1853ea27c (svn r14598) -Feature: Action0Industries property 24 (industry suuplies default name for nearby station). 2008-11-19 23:55:34 +00:00
translators e80a222d31 (svn r14597) -Update: WebTranslator2 update to 2008-11-19 18:43:03
afrikaans  - 165 fixed, 227 changed by nubllett (156), burgerd (236)
dutch      - 2 fixed, 5 changed by Excel20 (7)
french     - 2 fixed by glx (2)
german     - 6 fixed, 2 changed by jonathan159 (2), MaSch (6)
hungarian  - 1 fixed, 20 changed by oklmernok (21)
macedonian - 90 fixed by sashozs (90)
serbian    - 560 fixed by AtzaMan (560)
slovak     - 1 fixed by James (1)
spanish    - 1 fixed by eusebio (1)
2008-11-19 18:43:16 +00:00
frosch 1e991548ac (svn r14596) -Fix (r14591): Missing 'return'. 2008-11-19 16:53:24 +00:00
rubidium aa126066b7 (svn r14595) -Add: Estonian currency.
-Change: Slovenia switched to the Euro in 2007.
2008-11-19 16:17:42 +00:00
rubidium b00bfa0adf (svn r14594) -Fix [FS#2412]: trains could get their their last visited station reset when still (un)loading causing an invalid state. 2008-11-19 14:48:12 +00:00
rubidium aaeb01b428 (svn r14593) -Update: remove outdated (in r14592) string. 2008-11-18 23:58:24 +00:00
rubidium 2ed3c27822 (svn r14592) -Feature [FS#1124]: non-destructive autofill with option to keep waiting times (PhilSophus) 2008-11-18 23:53:37 +00:00
smatz 07e3c096b3 (svn r14591) -Fix [FS#2388](r14528): cached nearest town could be invalid after importing older savegame and during town generation
-Codechange: rewrite parts of code responsible for caching index of nearest town
2008-11-18 22:43:59 +00:00
translators e1a36e90a4 (svn r14590) -Update: WebTranslator2 update to 2008-11-18 18:44:24
catalan    - 2 fixed by arnaullv (2)
czech      - 3 fixed by miris2009 (3)
danish     - 7 fixed by Hatsen (7)
finnish    - 6 fixed by SuomiPoika (6)
hungarian  - 41 fixed, 121 changed by oklmernok (162)
korean     - 2 fixed, 9 changed by dlunch (11)
lithuanian - 30 fixed by BlinK_ (30)
polish     - 30 fixed by coolik (30)
slovak     - 2 fixed by James (2)
2008-11-18 18:45:42 +00:00
translators ebad6b6730 (svn r14589) -Update: WebTranslator2 update to 2008-11-17 18:47:02
brazilian_portuguese - 2 fixed by tucalipe (2)
bulgarian  - 67 fixed by Ar4i (67)
czech      - 4 fixed, 4 changed by Hadez (8)
dutch      - 2 fixed by habell (2)
finnish    - 4 fixed by SuomiPoika (4)
hungarian  - 5 fixed by oklmernok (5)
indonesian - 20 fixed by dnaftali (20)
italian    - 2 fixed, 2 changed by lorenzodv (4)
russian    - 9 fixed by veZuk (1), MajestiC (8)
slovak     - 45 fixed by James (45)
2008-11-17 18:47:18 +00:00
rubidium 798fa3ec81 (svn r14588) -Fix [FS#2414]: the range for kicking/banning clients is based on the maximum number of clients, not the maximum number of companies. 2008-11-17 16:15:55 +00:00
michi_cc 2ed0c72ec5 (svn r14587) -Cleanup: Fix some old comments. Bits are not bytes. 2008-11-17 00:41:58 +00:00
translators 64ee487ed5 (svn r14583) -Update: WebTranslator2 update to 2008-11-16 18:59:11
dutch      - 4 changed by Excel20 (4)
english_US - 7 fixed by WhiteRabbit (7)
french     - 2 fixed, 2 changed by glx (4)
persian    - 21 fixed by ali sattari (21)
portuguese - 49 fixed by joznaz (49)
spanish    - 2 fixed by eusebio (2)
2008-11-16 18:59:22 +00:00
rubidium cdfa2d68b1 (svn r14582) -Fix [FS#2392]: blank box on cost estimation of levelling a flat area.
-Fix: make levelling, raising and lowering of an area behave the same.
2008-11-16 14:17:49 +00:00
rubidium ffa3ec54f9 (svn r14581) -Fix: make rail, road and canal building behave the same when overbuilding already built stretches. 2008-11-16 13:49:57 +00:00
frosch 1a866c7552 (svn r14578) -Fix (r2389, r10811)[FS#Vikthor]: Allow capacity callbacks (15, 36) to return zero capacity. 2008-11-13 20:26:06 +00:00
smatz f28172c5f4 (svn r14577) -Fix [FS#2403]: vehicle didn't respect its 'refit in nearest depot' order (Swallow) 2008-11-11 22:51:27 +00:00
translators a13108d5b6 (svn r14575) -Update: WebTranslator2 update to 2008-11-11 18:47:38
dutch      - 2 changed by Excel20 (2)
latvian    - 14 fixed by v3rb0 (14)
macedonian - 161 fixed, 15 changed by sashozs (176)
portuguese - 1 fixed by joznaz (1)
2008-11-11 18:47:46 +00:00
rubidium a9f82cddea (svn r14572) -Add: stub for Macedonian. 2008-11-10 10:06:24 +00:00
translators cb89c5fe6d (svn r14569) -Update: move Welsh from unfinished to finished. 2008-11-07 18:15:46 +00:00
translators 16d03f660b (svn r14568) -Update: WebTranslator2 update to 2008-11-07 18:07:33
latvian    - 69 fixed, 1 changed by v3rb0 (70)
norwegian_bokmal - 5 fixed by christian (5)
persian    - 42 fixed by ali sattari (42)
welsh      - 227 fixed, 2 changed by PlayDead (229)
2008-11-07 18:08:53 +00:00
rubidium 13ee151a69 (svn r14567) -Revert (part of 14566): don't commit testing stuff... 2008-11-07 18:02:46 +00:00
rubidium c7f3935506 (svn r14566) -Fix [FS#2397]: RV's go via order would reserve a slot at the 'via' station which it never uses, which makes it unlikely that it reserves a slot for the next station and that makes queueing fail (Aali) 2008-11-07 17:59:51 +00:00
translators e91ae97e19 (svn r14565) -Update: WebTranslator2 update to 2008-11-04 18:44:06
brazilian_portuguese - 5 fixed by tucalipe (5)
catalan    - 5 fixed, 2 changed by arnaullv (7)
italian    - 2 changed by lorenzodv (2)
latvian    - 65 fixed, 1 changed by v3rb0 (66)
persian    - 111 fixed by ali sattari (111)
polish     - 6 fixed by meush (6)
welsh      - 200 fixed, 12 changed by PlayDead (203), welshdragon (9)
2008-11-04 18:44:15 +00:00
smatz f23dabb149 (svn r14564) -Fix (r14555): one more incorrect use of lastof() 2008-11-04 18:20:41 +00:00
rubidium 39450b6e4e (svn r14563) -Fix [FS#2395]: in the case that an industry NewGRF, a shared TTDPatch and
OpenTTD feature with it's origin in TTDPatch to replace/add/change vehicles
(including e.g. maximum speed, graphics and introduction year), stations,
bridges, industries, town houses or any other graphics used by either
TTDPatch or OpenTTD, would tell that building an industry is okay, which
is queried using a so-called callback that allows the NewGRF author to
test all kinds of information about the neighbourhood where the industry
might get build, it would corrupt, i.e. overwrite with invalid data, the
structure that is used to build up an error message. This then might result
in trying to resolve an invalid StringID, an internal numeric representation
of all translateable strings, which would in it's turn trigger a safety
check that is added to ensure invalid StringIDs are never resolved.
2008-11-03 23:42:07 +00:00
frosch e1bf231727 (svn r14562) -Fix (r14561): 8 bits are enough. The rest stays reserved. 2008-11-03 20:23:51 +00:00
frosch ec4b30f9d9 (svn r14561) -Feature(ette)[FS#2334]: Add result 0x0F to callbacks 0x29/0x35. (Yexo) 2008-11-03 19:25:52 +00:00
smatz 7dd0b0dc07 (svn r14560) -Fix [FS#2396](r14555): lengthof() can't be simply replaced by lastof() in some cases (part by Aali) 2008-11-03 12:03:00 +00:00
michi_cc 808d9255a8 (svn r14559) -Fix [FS#2387]: A train could be blocked inside a depot if it was reversed just after leaving the depot. 2008-11-02 19:32:24 +00:00
michi_cc f649496caa (svn r14558) -Fix (r13957): Converting the track type of a tunnel/bridge could cause trains to get stuck. 2008-11-02 17:42:28 +00:00
skidd13 6d94be75e9 (svn r14557) -Codechange: Remove a redundant line of code 2008-11-02 11:41:13 +00:00
frosch f8ed412b40 (svn r14556) -Fix (r14533): Bounding box with height > TILE_HEIGHT could cause circular dependencies with surrounding bridges. 2008-11-02 11:23:44 +00:00
skidd13 706dd0f86c (svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible 2008-11-02 11:20:15 +00:00
rubidium c03e55b32a (svn r14554) -Fix: languages using longer gender names than strgen supports. 2008-11-02 11:15:26 +00:00
skidd13 6043b4574e (svn r14553) -Doc: Add some doxygen comments 2008-11-02 11:05:26 +00:00
michi_cc a4548a4b9b (svn r14550) -Fix [FS#2391]: Don't assert on path look-ahead when processing a not-part-of-orders depot-order. 2008-10-31 16:46:34 +00:00
translators 4661917f64 (svn r14549) -Update: WebTranslator2 update to 2008-10-30 18:25:24
croatian   - 9 fixed by tperic (9)
ido        - 13 fixed by Cecile (13)
indonesian - 219 fixed by dnaftali (219)
italian    - 1 changed by lorenzodv (1)
korean     - 2 changed by dlunch (2)
latvian    - 168 fixed, 22 changed by Wersoo (119), v3rb0 (71)
persian    - 99 fixed by ali sattari (99)
swedish    - 3 changed by Andreas (3)
2008-10-30 18:27:17 +00:00
rubidium 6629698dfe (svn r14548) -Add: partial welsh translation, to be finished later. 2008-10-30 18:12:51 +00:00
rubidium ffe155bb2a (svn r14547) -Fix: order pool seemed to look full when it was not as it only checked whether it was possible to allocate a new block of pool items instead of checking for free pool items. 2008-10-30 12:32:32 +00:00
skidd13 38efdc8222 (svn r14546) -Codechange: Unify string(cpy|cat) functions
-Doc: string(cpy|cat) functions
2008-10-29 16:30:41 +00:00
rubidium a6df995fbb (svn r14545) -Fix [FS#2386]: road vehicles sometimes never got their "slots" deallocated causing RVs not going to depot for service. 2008-10-28 23:34:42 +00:00
rubidium 633b15caf3 (svn r14542) -Codechange: replace some sprintf with s[en]printf to make sure they will not overflow their buffers. 2008-10-28 16:04:41 +00:00
rubidium da0a0ef8ca (svn r14541) -Fix (r14540): mingw didn't like it :( 2008-10-28 15:47:42 +00:00
rubidium 0d254e8914 (svn r14540) -Codechange: introduce [v]seprintf which are like [v]snprintf but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly. 2008-10-28 14:42:31 +00:00
translators cf4cffd91a (svn r14539) -Update: WebTranslator2 update to 2008-10-27 18:43:26
dutch      - 5 fixed by habell (5)
french     - 5 fixed by glx (5)
galician   - 5 fixed by Condex (5)
ido        - 31 fixed by Cecile (31)
indonesian - 50 fixed by dnaftali (50)
italian    - 5 fixed by lorenzodv (5)
korean     - 5 fixed, 4 changed by leejaeuk5 (9)
spanish    - 5 fixed by eusebio (5)
swedish    - 5 fixed by ChrillDeVille (5)
ukrainian  - 5 fixed by mad (5)
2008-10-27 18:43:40 +00:00
frosch 896841403f (svn r14536) -Fix (r14530): Do not expect uints to become negative. 2008-10-25 22:00:51 +00:00
frosch 77a5a4953b (svn r14535) -Fix: Description of '-i' commandline option. 2008-10-25 20:16:07 +00:00
glx a6bfd7f15b (svn r14534) -Codechange [FS#2382]: Enumify magic return values of HandleEditBox function (Zuu) 2008-10-25 19:59:11 +00:00
frosch 7df85e8a45 (svn r14533) -Fix: ...hopefully most glitches wrt. inclined foundations. 2008-10-25 18:58:24 +00:00
frosch fd049f0a64 (svn r14531) -Fix (r12425): OSK accessed wrong widgets of password query window. 2008-10-25 15:25:52 +00:00
frosch ac281ed35c (svn r14530) -Fix [FS#2138]: Do not deliver cargo to industries not inside station catchment area. 2008-10-25 14:24:50 +00:00
frosch 11ef57d81e (svn r14529) -Codechange: Turn FindCatchmentRadius() into Station::GetCatchmentRadius(). 2008-10-25 14:19:09 +00:00
rubidium a14ad77a36 (svn r14528) -Codechange: cache the closest town for all road tiles instead of only roads owned by tiles. This replaces a O(n) search over all towns from the road's tileloop with a O(1) lookup (PhilSophus) 2008-10-25 13:51:47 +00:00
rubidium 9075a2bbfc (svn r14527) -Fix: allocate stub (empty) sound entries when loading an empty/corrupt/incorrectly sized sample.cat instead of making valid NewGRFs fail to load. 2008-10-25 10:26:23 +00:00
rubidium 7588513003 (svn r14526) -Fix [FS#2379]: make sure trains stop at the end of a station; a 3/8th length train did stop 2/8th of it's length too early causing a 63/8th long train not to fit in a 4 tile station. 2008-10-24 20:53:57 +00:00
translators e3e65e8f2b (svn r14525) -Update: WebTranslator2 update to 2008-10-24 17:44:48
indonesian - 412 fixed by dnaftali (412)
2008-10-24 17:44:49 +00:00
rubidium 42df5cbc03 (svn r14524) -Add: stop-in-depot as part of orders (PhilSophus) 2008-10-24 14:49:45 +00:00
translators e094088852 (svn r14523) -Update: WebTranslator2 update to 2008-10-23 17:42:35
indonesian - 668 fixed by dnaftali (668)
italian    - 6 changed by lorenzodv (6)
persian    - 88 fixed by ali sattari (88)
2008-10-23 17:42:40 +00:00
glx eb0464071d (svn r14521) -Fix [FS#2378]: fast trains could continue to move after a crash 2008-10-22 23:06:36 +00:00
smatz 1e7e5fb175 (svn r14518) -Fix (r14514): forgot win32 and OS/2 files (glx) 2008-10-22 20:23:50 +00:00
rubidium f43dc3e758 (svn r14517) -Feature: arrow key scrolling in the server list (Roujin) 2008-10-22 20:22:18 +00:00
rubidium 219abb5235 (svn r14516) -Fix: determine the default text direction based on the language file instead of hardcoding one. 2008-10-22 20:21:11 +00:00
smatz c10f7db576 (svn r14514) -Codechange: use 'size' instead of 'length' for querystring and textbuf, explicitly say it includes the terminating zero
-Fix: one couldn't rename things with too long default/automatic name
-Fix: buffer overflow in console when too long (1024 bytes) command was entered
2008-10-22 19:12:10 +00:00
translators 6bc0f0ef92 (svn r14513) -Update: WebTranslator2 update to 2008-10-22 17:26:32
czech      - 6 fixed by Hadez (6)
indonesian - 121 fixed by dnaftali (120), Admin (1)
italian    - 1 changed by lorenzodv (1)
korean     - 15 changed by dlunch (15)
latvian    - 20 fixed by v3rb0 (20)
persian    - 127 fixed by ali sattari (127)
2008-10-22 17:26:40 +00:00
smatz bb4a4a255d (svn r14508) -Fix (r14501): arrays were not properly zeroed 2008-10-21 14:56:23 +00:00
rubidium 639f9d8305 (svn r14506) -Add: stub for indonesian language. 2008-10-21 11:19:17 +00:00
michi_cc ac722661a5 (svn r14505) -Fix (r14504): Missing include. 2008-10-20 19:46:49 +00:00
michi_cc 02c99bdf66 (svn r14504) -Cleanup: Use the right variable type for tile offsets. 2008-10-20 19:35:48 +00:00
rubidium 6c35825453 (svn r14502) -Codechange: add some inline comments and declare variable on use (Alberth) 2008-10-20 15:44:14 +00:00
rubidium 9df75b3f9e (svn r14501) -Codechange: use sizeof(variable) instead of sizeof(type) or hardcoded amounts (magic constant) for memset (Alberth) 2008-10-20 15:42:56 +00:00
rubidium 8cce756f8f (svn r14494) -Fix: few MSVC x64 warnings. 2008-10-19 18:47:15 +00:00
frosch 4dcf12a3ad (svn r14493) -Fix[FS#planetmaker]: Do not assign a station spread to buoys on loading games. 2008-10-19 17:30:41 +00:00
michi_cc 6815cc52fe (svn r14492) -Fix [FS#2366] (r14482): Conditional orders could lead to an infinite loop on path look-ahead.
Don't refactor things that don't want to be refactored, folks. And some comments can't hurt either.
2008-10-19 17:16:26 +00:00
rubidium d832626bb9 (svn r14491) -Documentation: updates/additions of doxygen docs (Alberth) 2008-10-19 15:39:12 +00:00
rubidium 15eb140d28 (svn r14490) -Codechange: fix comment style on a few locations (Alberth) 2008-10-19 09:51:19 +00:00
frosch 5a1df325e2 (svn r14488) -Fix: Synchronize drawing of spritelayouts in DrawTileLayout (Houses), IndustryDrawTileLayout, DrawStationTile, DrawTile_Station and DrawTile_Track (Waypoint).
Now transparency options, PALETTE_MODIFIER_TRANSPARENT and SPRITE_MODIFIER_OPAQUE should work for all of them.
2008-10-18 17:21:56 +00:00
frosch 2e6894b7bb (svn r14487) -Fix: The station picker preview did not draw child sprites. 2008-10-18 17:20:31 +00:00
smatz 7a031b60cd (svn r14486) -Fix (r13343)(r14484): compilation with desync debug was broken 2008-10-18 14:16:29 +00:00
frosch f2eba8b0bf (svn r14485) -Fix (r5464): Do not check the end of destination buffer using the source pointer.
Did not cause trouble though as destination buffer has always been bigger than source buffer.
2008-10-18 14:11:09 +00:00
frosch 63a9ddeb77 (svn r14484) -Fix (r10182) [FS#2358]: Obiwan dislikes music. (Patch by Yexo) 2008-10-18 13:43:52 +00:00
michi_cc 2001d127b8 (svn r14483) -Fix [FS#2340]: On reaching a waypoint a train could falsely be reported as lost when doing the look ahead for a path. 2008-10-18 13:13:31 +00:00
michi_cc 73dc280847 (svn r14482) -Codechange: Use a class for saving the current train order when extending the reserved path beyond the current destination during pathfinding.
The class' destructor will make sure that the order is restored on function exit in all cases.
2008-10-18 13:13:27 +00:00
translators e9d6016fe6 (svn r14481) -Update: WebTranslator2 update to 2008-10-17 17:47:40
korean     - 4 changed by leejaeuk5 (4)
latvian    - 10 fixed by v3rb0 (10)
persian    - 55 fixed by ali sattari (55)
2008-10-17 17:47:42 +00:00
rubidium 65404674a4 (svn r14480) -Add: warning when trying to use a right-to-left language without support for it in OpenTTD. 2008-10-17 17:42:51 +00:00
rubidium ae0715e8c3 (svn r14479) -Add: initial (optional) support for handling bidirectional scripts and connecting Arabic characters. 2008-10-17 17:14:09 +00:00
frosch 7f5f0fea42 (svn r14469) -Fix [FS#2355]: Empty station spreads (e.g. from greyed station signs) were modified in test mode. 2008-10-15 21:10:43 +00:00
translators b3742c0165 (svn r14468) -Update: WebTranslator2 update to 2008-10-15 17:40:33
hungarian  - 8 fixed, 1 changed by alyr (9)
ido        - 98 fixed by Cecile (98)
italian    - 1 changed by lorenzodv (1)
korean     - 88 changed by dlunch (88)
latvian    - 15 fixed, 174 changed by v3rb0 (189)
persian    - 43 fixed by ali sattari (43)
2008-10-15 17:40:39 +00:00