Commit Graph

10564 Commits

Author SHA1 Message Date
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
rubidium
f4fd895631 (svn r14586) -Fix (r14580): missing mkdir causing make install to fail when there's no scripts directory already. 2008-11-16 21:37:41 +00:00
michi_cc
46bf0fadaa (svn r14585) -Fix (r14580): File mask for the script directory was wrong in the Win32 install script. 2008-11-16 20:15:37 +00:00
glx
13aa3e24cd (svn r14584) -Fix: reconfigure when any *.in file is changed 2008-11-16 20:06:19 +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
rubidium
fd3335521a (svn r14580) -Fix [FS#2404]: scripts directory not being copied into bundles. 2008-11-16 13:05:39 +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