Commit Graph

4781 Commits

Author SHA1 Message Date
rubidium
c7a052200d (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
39bbe9714f (svn r14633) -Fix: compile failure when building a debug build without network support. 2008-11-25 23:24:38 +00:00
rubidium
ba2345808b (svn r14632) -Add: support Allegro as midi backend. 2008-11-25 23:21:58 +00:00
rubidium
5ebb48fa86 (svn r14631) -Add: support for Allegro as sound backend. 2008-11-25 21:09:00 +00:00
rubidium
285d1846ae (svn r14630) -Add: support Allegro as video backend. 2008-11-25 19:32:12 +00:00
translators
e76927ffbc (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
168c95ae10 (svn r14625) -Codechange: a bit of coding style. 2008-11-25 18:42:06 +00:00
translators
ed9c321872 (svn r14624) -Add: stub for Malay. 2008-11-25 09:05:56 +00:00
rubidium
d4ea14ac19 (svn r14623) -Codechange: a sprinkle of coding style. 2008-11-24 20:51:55 +00:00
glx
28be23ff33 (svn r14622) -Fix (r14618): win9x compilation 2008-11-24 20:10:39 +00:00
rubidium
1b333c47e1 (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
c246e01daf (svn r14620) -Fix (r14618): missing lines broke compilation on windows 2008-11-24 18:59:53 +00:00
translators
58632f6182 (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
dccd7886a8 (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
0f6583216b (svn r14617) -Change: unduplicate the languagepack(header). 2008-11-24 11:20:07 +00:00
rubidium
965d0428bd (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
883e3f9b58 (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
bad455f327 (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
aaf21df68b (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
e50a4f2053 (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
70f2b95bda (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
2fec4d8e3c (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
150fd2a49f (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
2d0ff15267 (svn r14608) -Fix (r9315): Return the current year as construction year for unfinished houses. 2008-11-22 19:49:17 +00:00
translators
5cb5eeb911 (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
a64298ebb9 (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
795569298f (svn r14605) -Fix (r9315): When callback 1E fails, use the standard random colour. 2008-11-22 15:57:31 +00:00
frosch
c7b062e92f (svn r14604) -Codechange: Simplify a function and rename it, and fix some comments. 2008-11-22 15:48:43 +00:00
rubidium
3640f12042 (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
286f5f9c44 (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
155a2ca1f4 (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
ac66332b3c (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
3806151cf8 (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
84ed955492 (svn r14598) -Feature: Action0Industries property 24 (industry suuplies default name for nearby station). 2008-11-19 23:55:34 +00:00
translators
2baf1aa14a (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
f61b577652 (svn r14596) -Fix (r14591): Missing 'return'. 2008-11-19 16:53:24 +00:00
rubidium
b22a8b28f8 (svn r14595) -Add: Estonian currency.
-Change: Slovenia switched to the Euro in 2007.
2008-11-19 16:17:42 +00:00
rubidium
33008f5d8b (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
8cb57ba818 (svn r14593) -Update: remove outdated (in r14592) string. 2008-11-18 23:58:24 +00:00
rubidium
150bf7e489 (svn r14592) -Feature [FS#1124]: non-destructive autofill with option to keep waiting times (PhilSophus) 2008-11-18 23:53:37 +00:00
smatz
698f05e756 (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
6386deb708 (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
178d24964b (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
ed649dddba (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
7bc5a3758b (svn r14587) -Cleanup: Fix some old comments. Bits are not bytes. 2008-11-17 00:41:58 +00:00
translators
fdaeb6a9b0 (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
c2ed9719b3 (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
9fdac4e1d0 (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
24bd9866f8 (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
09e63d5498 (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
1f62347693 (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
9aaa00fafb (svn r14572) -Add: stub for Macedonian. 2008-11-10 10:06:24 +00:00
translators
2ae198dfe8 (svn r14569) -Update: move Welsh from unfinished to finished. 2008-11-07 18:15:46 +00:00
translators
50f10c8e49 (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
27187e5a69 (svn r14567) -Revert (part of 14566): don't commit testing stuff... 2008-11-07 18:02:46 +00:00
rubidium
0b3706a8d3 (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
157d107f2a (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
f8c8405311 (svn r14564) -Fix (r14555): one more incorrect use of lastof() 2008-11-04 18:20:41 +00:00
rubidium
1ce81ff587 (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
e061107b68 (svn r14562) -Fix (r14561): 8 bits are enough. The rest stays reserved. 2008-11-03 20:23:51 +00:00
frosch
29c4c2d618 (svn r14561) -Feature(ette)[FS#2334]: Add result 0x0F to callbacks 0x29/0x35. (Yexo) 2008-11-03 19:25:52 +00:00
smatz
1257ba3214 (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
023ce24b1a (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
297392f3fa (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
609a635fac (svn r14557) -Codechange: Remove a redundant line of code 2008-11-02 11:41:13 +00:00
frosch
64b76d9427 (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
9b282b3e51 (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
44a774a277 (svn r14554) -Fix: languages using longer gender names than strgen supports. 2008-11-02 11:15:26 +00:00
skidd13
f1911b167a (svn r14553) -Doc: Add some doxygen comments 2008-11-02 11:05:26 +00:00
michi_cc
147304b83d (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
6e3fc89799 (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
5bc7315704 (svn r14548) -Add: partial welsh translation, to be finished later. 2008-10-30 18:12:51 +00:00
rubidium
c1ed1866a4 (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
5b62536381 (svn r14546) -Codechange: Unify string(cpy|cat) functions
-Doc: string(cpy|cat) functions
2008-10-29 16:30:41 +00:00
rubidium
c936cda4de (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
db1fd2e085 (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
56d0990d62 (svn r14541) -Fix (r14540): mingw didn't like it :( 2008-10-28 15:47:42 +00:00
rubidium
0d2f84e117 (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
83e1a083d1 (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
e0a66cf7a9 (svn r14536) -Fix (r14530): Do not expect uints to become negative. 2008-10-25 22:00:51 +00:00
frosch
e65be653f5 (svn r14535) -Fix: Description of '-i' commandline option. 2008-10-25 20:16:07 +00:00
glx
48a047d73b (svn r14534) -Codechange [FS#2382]: Enumify magic return values of HandleEditBox function (Zuu) 2008-10-25 19:59:11 +00:00
frosch
31fcb98a3e (svn r14533) -Fix: ...hopefully most glitches wrt. inclined foundations. 2008-10-25 18:58:24 +00:00
frosch
ee393d5693 (svn r14531) -Fix (r12425): OSK accessed wrong widgets of password query window. 2008-10-25 15:25:52 +00:00
frosch
b79174454e (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
738611fb70 (svn r14529) -Codechange: Turn FindCatchmentRadius() into Station::GetCatchmentRadius(). 2008-10-25 14:19:09 +00:00
rubidium
52ac592422 (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
65e81d5e9b (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
33203c67c1 (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
2f48f9eee7 (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
4694b10706 (svn r14524) -Add: stop-in-depot as part of orders (PhilSophus) 2008-10-24 14:49:45 +00:00
translators
363c3be285 (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
f28957bcc4 (svn r14521) -Fix [FS#2378]: fast trains could continue to move after a crash 2008-10-22 23:06:36 +00:00
smatz
02cbe47754 (svn r14518) -Fix (r14514): forgot win32 and OS/2 files (glx) 2008-10-22 20:23:50 +00:00
rubidium
040950f56e (svn r14517) -Feature: arrow key scrolling in the server list (Roujin) 2008-10-22 20:22:18 +00:00
rubidium
c7bd7fb221 (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
bc1d994f6c (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
852940b45b (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
d871cbb847 (svn r14508) -Fix (r14501): arrays were not properly zeroed 2008-10-21 14:56:23 +00:00
rubidium
83f06f4315 (svn r14506) -Add: stub for indonesian language. 2008-10-21 11:19:17 +00:00
michi_cc
28e3b760db (svn r14505) -Fix (r14504): Missing include. 2008-10-20 19:46:49 +00:00
michi_cc
9c6541c80b (svn r14504) -Cleanup: Use the right variable type for tile offsets. 2008-10-20 19:35:48 +00:00
rubidium
c03d4d5f49 (svn r14502) -Codechange: add some inline comments and declare variable on use (Alberth) 2008-10-20 15:44:14 +00:00
rubidium
166b7a974d (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
321e40115d (svn r14494) -Fix: few MSVC x64 warnings. 2008-10-19 18:47:15 +00:00
frosch
56e5972790 (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
4424c2e6fb (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
b0537d271f (svn r14491) -Documentation: updates/additions of doxygen docs (Alberth) 2008-10-19 15:39:12 +00:00
rubidium
e38213b5ef (svn r14490) -Codechange: fix comment style on a few locations (Alberth) 2008-10-19 09:51:19 +00:00
frosch
1505c8f384 (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
3d7ab65557 (svn r14487) -Fix: The station picker preview did not draw child sprites. 2008-10-18 17:20:31 +00:00
smatz
ad0a578b69 (svn r14486) -Fix (r13343)(r14484): compilation with desync debug was broken 2008-10-18 14:16:29 +00:00
frosch
06eb01a7bb (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
cee9186162 (svn r14484) -Fix (r10182) [FS#2358]: Obiwan dislikes music. (Patch by Yexo) 2008-10-18 13:43:52 +00:00
michi_cc
5c781a921a (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
9a7270d147 (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
0b8000815b (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
61546bef5c (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
8ee8e0fac5 (svn r14479) -Add: initial (optional) support for handling bidirectional scripts and connecting Arabic characters. 2008-10-17 17:14:09 +00:00
frosch
3728d64624 (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
08d87c0739 (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
rubidium
e7bb5c63a4 (svn r14466) -Doc: remove some obsolete parameters, fix a few parameter names in comments and add a little more doxygen documentation. 2008-10-14 19:27:08 +00:00
rubidium
0a94fc52ac (svn r14465) -Codechange: minor code style of command.cpp. 2008-10-14 18:49:21 +00:00
rubidium
b5e467978b (svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus) 2008-10-14 18:38:51 +00:00
rubidium
6e397dd3f0 (svn r14463) -Fix [FS#2348]: small possible chance of desync due to sorting on pointer instead of by (station) index (PhilSophus) 2008-10-14 12:07:14 +00:00
rubidium
dc3ce6bbe7 (svn r14462) -Codechange: replace magic number with already existing constant (Albert) 2008-10-13 03:40:48 +00:00
rubidium
3ee482ca1b (svn r14461) -Document: add some doxygen comments (Albert) 2008-10-13 03:26:48 +00:00
translators
c768516a61 (svn r14460) -Update: WebTranslator2 update to 2008-10-12 17:43:44
bulgarian  - 6 fixed, 1 changed by kokobongo (7)
english_US - 6 fixed by WhiteRabbit (6)
ido        - 43 fixed by Cecile (43)
italian    - 6 changed by lorenzodv (6)
korean     - 41 changed by dlunch (41)
latvian    - 54 changed by v3rb0 (54)
persian    - 66 fixed by ali sattari (66)
2008-10-12 17:43:52 +00:00
frosch
9e3b1a8b74 (svn r14459) -Fix [FS#2343]: Update station-spread when building or removing oilrigs to make them consistent with station-spread-calculation on game-load and to make oilrig-stations behave like any other station type. 2008-10-12 10:22:13 +00:00
smatz
b0ff0245e8 (svn r14458) -Fix [FS#2341](r14368): crash when there was a tram dead end after a station/tunnel/bridge (frosch123 and Rubidium) 2008-10-10 22:50:31 +00:00
translators
5adf4e11e6 (svn r14457) -Update: WebTranslator2 update to 2008-10-10 22:29:03
french     - 28 changed by glx (28)
italian    - 6 fixed, 28 changed by lorenzodv (34)
korean     - 43 changed by dlunch (43)
latvian    - 75 fixed, 191 changed by v3rb0 (266)
persian    - 34 fixed by ali sattari (34)
slovak     - 14 fixed by lengyel (14)
swedish    - 26 changed by Andreas (26)
2008-10-10 22:29:13 +00:00
frosch
921bdf783f (svn r14456) -Fix: Obiwan in catchment-area and station-spread of docks. 2008-10-10 20:09:29 +00:00
rubidium
75e3d49df3 (svn r14450) -Fix [FS#2337]: time table restoring did check too restrictively causing order backups not to be properly restored. 2008-10-08 11:29:17 +00:00
rubidium
d13dff31c4 (svn r14449) -Fix [FS#2338]: service at nearest depot acted like go to nearest depot. 2008-10-08 11:03:43 +00:00
smatz
b2852f88fb (svn r14448) -Codechange [FS#2328]: rename a few variables (based on a patch by planetmaker) 2008-10-07 20:57:41 +00:00
michi_cc
8926c37ad3 (svn r14447) -Change [FS#2333]: Rename YAPP "advanced signals" to "path signals" and "normal signals" to "block signals". 2008-10-07 20:13:22 +00:00
rubidium
4b5d506313 (svn r14446) -Fix [FS#2330]: when a road stop gets moved make sure to update the destination of RVs going to that road stop. 2008-10-07 18:46:12 +00:00
translators
e06cb49fa0 (svn r14445) -Update: WebTranslator2 update to 2008-10-07 17:43:40
latvian    - 2 fixed, 15 changed by v3rb0 (17)
spanish    - 6 fixed by eusebio (6)
ukrainian  - 6 fixed by mad (6)
2008-10-07 17:43:47 +00:00
translators
ad2e49a60e (svn r14444) -Add: stubs for two new languages: Persian (or Farsi) and Ido. 2008-10-07 14:22:04 +00:00
frosch
e9347b39e5 (svn r14442) -Fix (r14406): Typo causing problems in rare cases. 2008-10-05 18:42:59 +00:00
translators
65abc7b161 (svn r14441) -Update: WebTranslator2 update to 2008-10-05 17:45:23
catalan    - 6 fixed by arnaullv (6)
german     - 1 changed by sulai (1)
hungarian  - 1 fixed, 1 changed by alyr (2)
norwegian_bokmal - 6 fixed by christian (6)
simplified_chinese - 1 fixed by ww9980 (1)
traditional_chinese - 2 changed by josesun (2)
2008-10-05 17:45:33 +00:00
smatz
d26e500ef4 (svn r14439) -Fix (r12044)(r14139): centering on a plane at the SE border could cause crash 2008-10-04 10:25:12 +00:00
translators
efa9f8f7e7 (svn r14438) -Update: WebTranslator2 update to 2008-10-03 17:45:52
brazilian_portuguese - 6 fixed by tucalipe (6)
dutch      - 6 fixed by habell (6)
french     - 6 fixed by glx (6)
galician   - 6 fixed by Condex (6)
german     - 6 fixed, 19 changed by sulai (25)
hungarian  - 48 fixed by alyr (48)
korean     - 6 fixed by dlunch (6)
simplified_chinese - 84 fixed by ww9980 (84)
slovenian  - 6 fixed by Necrolyte (6)
swedish    - 6 fixed by ChrillDeVille (6)
traditional_chinese - 9 fixed, 69 changed by josesun (78)
2008-10-03 17:46:13 +00:00
rubidium
3113cc17b9 (svn r14436) -Fix [FS#1793]: (fast) trains would sometimes move one time too often/little when moving from diagonal<->non-diagonal tracks (iguannab) 2008-10-03 12:55:39 +00:00
rubidium
3cff83c67e (svn r14434) -Fix (r14432): compile warning. 2008-10-02 22:48:52 +00:00
rubidium
6ecee6cf3e (svn r14432) -Fix: tile description of tiles with only one signal that is not the normal signal showing "normal signal and <signal type on tile>". 2008-10-02 00:23:30 +00:00
rubidium
dcfa5a71aa (svn r14431) -Fix (r14414): alias parameter "evaluation" would remove the last byte of the parameters. 2008-10-02 00:08:45 +00:00
michi_cc
166793bd93 (svn r14428) -Fix [FS#2306]: A 90-degree curve can be a safe waiting position if they are forbidden for trains. 2008-10-01 15:48:44 +00:00
rubidium
96156a8ab1 (svn r14423) -Codechange: also do r14221 for the strings. 2008-09-30 21:18:28 +00:00
rubidium
e589c7e580 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 2008-09-30 20:51:04 +00:00
rubidium
f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 2008-09-30 20:39:50 +00:00
translators
dba193d4a5 (svn r14420) -Update: WebTranslator2 update to 2008-09-30 17:50:15
hungarian  - 3 fixed, 1 changed by alyr (4)
simplified_chinese - 122 fixed, 2 changed by ww9980 (124)
swedish    - 1 fixed by ChrillDeVille (1)
2008-09-30 17:50:21 +00:00
belugas
12218ae7d2 (svn r14419) -Codechange: adding two digits for no obvious reason (nor comment), plus code style Infringement. 2008-09-30 16:50:25 +00:00
smatz
1c27747886 (svn r14417) -Codechange: rewrite GetClosestWaterDistance(), now it is ~100 times faster than pre-r14416 in average case 2008-09-29 18:56:36 +00:00
smatz
8c5cfd6850 (svn r14416) -Fix (r10074)(r10517): substraction was done the other way in the 'nearest land/water' check (~25% performance penalty) 2008-09-29 18:34:05 +00:00
smatz
1c126cb2e6 (svn r14415) -Fix (r10074): void tiles could be the nearest 'land' for water industries 2008-09-29 18:23:56 +00:00
rubidium
5ab74534da (svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy doesn't guarantee the resulting string is '\0'-terminated. 2008-09-29 16:27:02 +00:00
frosch
40018be915 (svn r14412) -Documentation: Comment some functions related to the advanced settings. Patch by Alberth, but with less excessive use of 'at'. 2008-09-28 15:42:15 +00:00
frosch
60e5d69ec4 (svn r14411) -Fix (r14406): IsFrontEngine() is only valid for trains. 2008-09-28 15:07:03 +00:00
rubidium
fc1ad68714 (svn r14410) -Codechange: one can't inject a negative number of parameters, so enforce this by using a uint. 2008-09-28 13:50:11 +00:00
frosch
b588578bcc (svn r14409) -Codechange: Simplify a loop and correct a comment. 2008-09-28 12:38:56 +00:00
glx
dee7b2148a (svn r14408) -Fix (r9205): generation seed set using -G was always overwritten by -g 2008-09-27 22:19:34 +00:00
frosch
e8038cbf58 (svn r14407) -Cleanup (r14406): Remove a redundant test. (thanks SmatZ) 2008-09-27 17:08:03 +00:00
frosch
32289ebd63 (svn r14406) -Fix [FS#Eddi]: Autoreplace did not work for vehicles in free wagon chains. 2008-09-27 14:58:46 +00:00
frosch
423160f946 (svn r14405) -Fix [FS#2289]: Correct handling of selling free wagons while the following vehicle is an engine (i.e. a new train is created). 2008-09-26 19:25:49 +00:00
rubidium
8fe7d9f217 (svn r14404) -Change [FS#2176]: don't make the town flatten land unconditionally when build on slopes is turned on. Based on a patch by Eddi. 2008-09-26 19:11:15 +00:00
frosch
5fd49a8cd2 (svn r14403) -Fix (r14384): The condition was too restrictive. 2008-09-26 19:01:57 +00:00
translators
b6796b635e (svn r14402) -Update: WebTranslator2 update to 2008-09-26 17:45:50
slovenian  - 3 fixed by Necrolyte (3)
traditional_chinese - 1 fixed, 8 changed by josesun (9)
2008-09-26 17:47:39 +00:00
peter1138
21a5c6bb7d (svn r14401) -Fix (r11724): Don't check articulated parts or rear multihead parts for callback 1D when moving a chain of wagons. 2008-09-26 06:52:06 +00:00
smatz
75d63af2ae (svn r14398) -Cleanup (r14395): unused function sneaked in 2008-09-25 09:50:31 +00:00
rubidium
48ece47bd9 (svn r14397) -Fix: possible buffer overrun, wrong parameter type passed to printf and && where || is meant. Found by MSVC's code analysis (Darkvater) 2008-09-24 23:25:24 +00:00
smatz
4057132b00 (svn r14396) -Fix: ctrl+right click at 'Go to nearest depot' order scrolled to depot with DepotID == 0 2008-09-24 16:51:36 +00:00
smatz
a000de8418 (svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is deleted/modified while the timetable window is open
-Fix: close any dropdown and child windows in the Order and Timetable windows when selected order is deselected, deleted, ...
2008-09-24 16:40:06 +00:00
translators
8b84fea7e1 (svn r14394) -Update: WebTranslator2 update to 2008-09-24 14:01:38
danish     - 8 changed by ThomasA (8)
german     - 5 changed by sulai (5)
hungarian  - 17 fixed, 4 changed by alyr (21)
korean     - 45 changed by dlunch (45)
norwegian_bokmal - 9 fixed by christian (9)
spanish    - 1 changed by eusebio (1)
traditional_chinese - 91 fixed, 1044 changed by josesun (1135)
2008-09-24 14:01:49 +00:00
rubidium
f54f161bfb (svn r14393) -Fix [FS#2318]: deleting the same window (pointer) twice. 2008-09-23 20:12:13 +00:00
rubidium
9246ff28ac (svn r14392) -Fix [FS#1404]: some widgets saw a single click as multiple clicks. 2008-09-23 19:25:00 +00:00
rubidium
f49d5057ee (svn r14390) -Codechange: replace magic constants with symbolic constants. 2008-09-23 15:24:15 +00:00
translators
d49381e5c9 (svn r14386) -Update: WebTranslator2 update to 2008-09-22 19:58:30
brazilian_portuguese - 3 fixed by tucalipe (3)
catalan    - 3 fixed by arnaullv (3)
english_US - 2 fixed by WhiteRabbit (2)
estonian   - 1 fixed by kristjans (1)
french     - 1 fixed by glx (1)
galician   - 1 changed by Condex (1)
hungarian  - 3 changed by alyr (3)
korean     - 18 changed by dlunch (18)
norwegian_bokmal - 194 fixed by christian (194)
spanish    - 2 fixed by eusebio (2)
2008-09-22 19:58:46 +00:00
frosch
fb1fae001a (svn r14384) -Fix: Moving the first vehicle of a train elsewhere might require a new unitnumber for the remaining chain. 2008-09-22 19:28:53 +00:00
smatz
a756b23dc4 (svn r14383) -Fix [FS#2316](r14343): handle invalid 'v->u.air.targetairport' in the NewGRF code, too 2008-09-22 14:34:38 +00:00
rubidium
7935517470 (svn r14371) -Fix [FS#2313]: loading indicator didn't stay with the front engine when turning a train in a station. 2008-09-21 18:28:35 +00:00
frosch
99969d533e (svn r14369) -Fix: Enforce non-front engines to be stopped.
This could be caused by old savegames resp. their conversion, and causes
trouble for e.g. autoreplace.
2008-09-21 14:03:47 +00:00
rubidium
0f56f52080 (svn r14368) -Fix [FS#1852]: trams jumping when reversing on a single trambit (like caused during road construction reworks) or when (manually) reversing in a corner. 2008-09-21 11:26:50 +00:00
frosch
a4fd962adf (svn r14366) -Fix (r14362): Match multiheaded parts starting from the first vehicle in a chain. 2008-09-20 18:31:31 +00:00
glx
0b65ce9d46 (svn r14365) -Backport (r14364 from NoAI): add the ability do CmdBuildSingleSignal to directly place the correct signal, instead requiring multiple inputs before doing so 2008-09-20 17:43:06 +00:00
glx
8b0d8589e3 (svn r14363) -Fix [FS#2206]: some keypress combinations could be handled twice 2008-09-20 16:07:56 +00:00
frosch
6782d81142 (svn r14362) -Fix (r3403): Also connect multiheaded parts in free wagon chains. 2008-09-20 10:53:08 +00:00
translators
4389ef9ec0 (svn r14361) -Update: WebTranslator2 update to 2008-09-19 20:23:28
italian    - 8 fixed by lorenzodv (8)
korean     - 3 fixed by leejaeuk5 (3)
simplified_chinese - 119 fixed by ww9980 (119)
spanish    - 1 fixed by eusebio (1)
swedish    - 13 fixed by ChrillDeVille (13)
ukrainian  - 3 fixed by mad (3)
2008-09-19 20:23:41 +00:00
smatz
da39b8c866 (svn r14360) -Cleanup (r12652): remove unused handler for the 'Tranfser' button 2008-09-19 16:34:24 +00:00
rubidium
da69e69f5a (svn r14359) -Fix [FS#2311]: the ownership of roadtiles was not properly set for very old savegames (including TTD's) making it impossible to remove some pieces of road. 2008-09-18 15:32:20 +00:00
smatz
3f11e731a5 (svn r14356) -Fix [FS#2307](r14258): converting of railtype was broken for tunnels and bridges 2008-09-17 17:23:57 +00:00
belugas
4aade3b880 (svn r14352) -Feature: Allow sorting vehicles by remaining life time.
Patch by yorick
2008-09-17 02:30:24 +00:00
smatz
615844dd5d (svn r14351) -Codechange: call CFollowTrackT::GetSingleTramBit() only if we know it is a tram, so compiler doesn't generate code for trains and ships 2008-09-17 00:32:35 +00:00
smatz
6dd1163594 (svn r14350) -Fix (r13927): do not draw PBS reservation for NW and NE depots, it is drawn through depot walls 2008-09-16 22:56:43 +00:00
smatz
74892fbdf6 (svn r14348) -Fix (r1667): signs were not updated on company bankrupcy/sell, they have colour of invalid player 2008-09-16 20:57:49 +00:00
smatz
94c5c9f21d (svn r14346) -Codechange [FS#2184]: reduce code duplication when jumping to next/previous sign in signs_gui.cpp (Roujin) 2008-09-16 19:18:22 +00:00
smatz
b5fe06f430 (svn r14345) -Fix: delete the RenameSignWindow when 'its' sign is deleted
Also, it makes sure the RenameSignWindow isn't open when there are no signs (and crashes associted with that)
2008-09-16 19:05:38 +00:00
smatz
cb16b68474 (svn r14344) -Fix: when a new airport is built in the same tick as the old station is deleted, aircraft may go crazy (and crash the game) 2008-09-16 16:07:18 +00:00
smatz
e6afe2ea0c (svn r14343) -Fix [FS#2300]: invalid v->u.air.targetairport could cause crashes at several places when the station pool got smaller 2008-09-16 15:15:41 +00:00
smatz
564aa83835 (svn r14340) -Fix (r11822): signs from old savegames were lost (causing little memory leaks) 2008-09-16 11:19:07 +00:00
smatz
6d5475cb91 (svn r14339) -Fix (r13731): crash when loading the intro game failed 2008-09-15 23:50:12 +00:00
smatz
aef674d858 (svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, president and company renaming commands, too 2008-09-15 22:58:41 +00:00
smatz
00ce8ceb2b (svn r14336) -Fix (r14334): when there was a station with custom name in an old savegame, it's default name was empty 2008-09-15 22:45:18 +00:00
frosch
e10127f032 (svn r14335) -Codechange: Remove some magic numbers. 2008-09-15 19:55:00 +00:00
smatz
e543181b12 (svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies) 2008-09-15 19:02:50 +00:00
belugas
9419a28a4b (svn r14332) -Fix[FS#1885]: Balance the monthly random industry changes, by introducing a daily random industry change.
This will allow to perform more changes per month on big maps and less on smaller maps, while not overtaxing the IndustryMonthlyLoop process.
Thanks to frosch, for nice code ideas and rewrites
2008-09-15 17:18:22 +00:00
smatz
ffa39caf3d (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 2008-09-15 16:29:40 +00:00
rubidium
aa2c3bdd6f (svn r14330) -Fix: compile warnings in some unfinished lang files. 2008-09-15 13:32:59 +00:00
rubidium
1c5338cbce (svn r14329) -Fix (r14306): selections in the group GUI weren't shown anymore. 2008-09-15 10:02:39 +00:00
smatz
9954d13f06 (svn r14328) -Fix (r11822): when a company was renamed and then manager was renamed before building anything, company name changed 2008-09-15 08:37:40 +00:00
rubidium
244ccddc1b (svn r14327) -Fix [FS#2251]: if you rename a town before building something and build something near that town your company would be called "<old townname> Transport". 2008-09-14 20:11:34 +00:00
rubidium
c70f745de8 (svn r14326) -Fix: some wrong comments (Yexo) 2008-09-14 19:36:31 +00:00
translators
775fd4797b (svn r14325) -Update: WebTranslator2 update to 2008-09-14 17:42:18
czech      - 2 fixed, 31 changed by Hadez (33)
english_US - 211 fixed by WhiteRabbit (211)
galician   - 193 fixed, 10 changed by Condex (203)
german     - 2 fixed, 38 changed by sulai (40)
swedish    - 60 fixed by ChrillDeVille (60)
2008-09-14 17:42:25 +00:00
rubidium
31494d756a (svn r14324) -Fix [FS#2241]: free any blocks that a helicopter may have on an oilrig when the helicopter gets forcefully removed (bankruptcy). For other airports this isn't needed as they can't be used by multiple companies. 2008-09-14 16:49:21 +00:00
smatz
50b955542d (svn r14323) -Fix (r14064): forgot a return... 2008-09-14 16:01:46 +00:00
smatz
b24e0a08bb (svn r14322) -Fix (r10368): possible assert when renaming removed waypoint 2008-09-14 15:48:49 +00:00
rubidium
feb15bb421 (svn r14321) -Add: support for newgrfs printing bytes/words/dwords as hexadecimals. 2008-09-14 14:31:37 +00:00
rubidium
efe93c527b (svn r14320) -Fix [FS#2299]: glitch when chatbox window is full and the window is scrolled (yorP) 2008-09-14 10:39:22 +00:00
smatz
7bc1b443eb (svn r14319) -Fix (r10760): use operator delete when deleting an order, so order pool fills up a bit slower 2008-09-14 10:32:32 +00:00
rubidium
de532c616f (svn r14318) -Fix [FS#2296]: OSK of the chat box did not get updated. This as the chatbox got a higher priority than the OSK instead of the usual other way around. 2008-09-14 10:30:31 +00:00
peter1138
fb77ced24a (svn r14317) -Fix (r13662) [FS#2298]: Order distance processing for conditional orders on ships treated v->orders as an array, and didn't use the correct next order. 2008-09-14 08:47:18 +00:00
smatz
7dc595ca72 (svn r14316) -Fix: do not allow building road over level crossings and drive-through road stops in the wrong direction even when the roadtype is present 2008-09-13 17:37:18 +00:00
smatz
5b14c67064 (svn r14315) -Fix: allow adding roadtypes only to drive-through road stops 2008-09-13 17:26:44 +00:00
smatz
33e46bb75a (svn r14314) -Fix: pay for two road bits when adding/removing roadtype at drive through road stop/level crossing 2008-09-13 17:06:44 +00:00
frosch
869e90ea86 (svn r14313) -Codechange: Move functions dealing with the EngineRenew pool to their own file. 2008-09-13 15:49:29 +00:00
rubidium
ee4173d8a4 (svn r14310) -Fix: don't show palette information in the newgrf lists of the network lobby. 2008-09-13 12:40:31 +00:00
rubidium
69e4e88e99 (svn r14309) -Fix [FS#2244]: aircraft frozen above oil rig when the next order is invalid. 2008-09-13 11:00:30 +00:00
rubidium
18a0c351cc (svn r14308) -Fix [FS#2268]: pay extra when tram/road bits need to be build for a roadstop. 2008-09-13 10:41:00 +00:00
smatz
7e4e999a97 (svn r14307) -Fix: when deleting a station, remove news items regarding it 2008-09-13 10:19:51 +00:00
rubidium
4ea5308d49 (svn r14306) -Codechange: unify the code to draw the vehicle list.
-Fix [FS#2292]: inconsistency between drawn vehicle lists in the vehicle list and group windows.
2008-09-13 10:04:36 +00:00
frosch
ede0dd6a72 (svn r14305) -Fix [FS#2294] (r5033): [YAPF] Only reserve road slots for multistop when they are really reachable. 2008-09-12 23:23:41 +00:00
smatz
d7421cadd4 (svn r14304) -Fix (r14104): waypoint train list wasn't closed with the waypoint window (crashes since r14296) 2008-09-12 22:52:48 +00:00
rubidium
ac48a45cb8 (svn r14303) -Codechange: make the vehicle list part of the group window look exactly like the vehicle list instead of some buttons being one pixel wider/smaller. 2008-09-12 21:59:34 +00:00
rubidium
f60ef76050 (svn r14302) -Codechange: simplify and make the vehicle list and group windows behave the same w.r.t. getting wider (by default) for trains than the other vehicles. 2008-09-12 21:58:36 +00:00
rubidium
3423721523 (svn r14301) -Codechange: give the vehicle list and group list the same relative size and the same absolute height for the vehicle list items. 2008-09-12 21:20:12 +00:00
translators
1f8be3fbf7 (svn r14300) -Update: WebTranslator2 update to 2008-09-12 17:41:59
brazilian_portuguese - 13 fixed by tucalipe (13)
catalan    - 12 fixed by arnaullv (12)
danish     - 9 fixed, 7 changed by ThomasA (16)
dutch      - 1 changed by habell (1)
estonian   - 5 fixed by kristjans (5)
galician   - 98 fixed, 6 changed by Condex (104)
german     - 7 fixed, 83 changed by sulai (69), dih (21)
korean     - 12 fixed by leejaeuk5 (12)
romanian   - 20 fixed by kneekoo (20)
slovenian  - 5 fixed by Necrolyte (5)
2008-09-12 17:42:11 +00:00
rubidium
0b4c2e9493 (svn r14299) -Fix: disable 'toggle palette' when no NewGRF has been selected. 2008-09-12 17:38:57 +00:00
rubidium
9862a2e79a (svn r14298) -Fix [FS#2214]: "{CARGO} from unknown destination". 2008-09-12 17:16:04 +00:00
rubidium
7f461f0bba (svn r14297) -Fix: one could be trying to get the station name of a station that is outside of the pool. 2008-09-12 17:14:07 +00:00
rubidium
e9a3ed016d (svn r14296) -Codechange: there is no case where an invalid waypoint index should be passed to be drawn as a string. 2008-09-12 17:11:28 +00:00
belugas
95058df2ca (svn r14295) -Fix(r14294): If the house is not built yet, still give me proper coordinates, pretty please!
Plus, two(2) rogue tabs found their way in.
2008-09-12 17:05:23 +00:00
belugas
db278c68de (svn r14294) -Feature[newGRF]: Add Variational Action 2 Variable 0x47 for houses, Coordinates of the house tile 2008-09-12 17:02:22 +00:00
smatz
70525eaa7f (svn r14293) -Change: do not show PBS track reservation in the intro game 2008-09-11 21:53:59 +00:00
frosch
5f84ddf150 (svn r14292) -Cleanup (r11128): Move an 'if' out of a loop as it does not need to be iterated. (spotted by smatz) 2008-09-11 19:44:30 +00:00
frosch
f1a7f57cb9 (svn r14291) -Fix [FS#2288] (r12853): For tunnels DrawCatenary() draws only pillars; DrawCatenaryOnTunnel() draws only wires. 2008-09-11 19:12:31 +00:00
smatz
c33d779e5a (svn r14290) -Fix (r13932): level crossings could be barred when they shouldn't be after savegame conversion 2008-09-11 17:41:43 +00:00
smatz
36937525c4 (svn r14289) -Fix [FS#2286](r3720)(r1): sound effects an music volume should be in range 0-127, default value shouldn't be higher
(based on a patch by kakaopor)
2008-09-11 13:58:59 +00:00
michi_cc
0ac103e506 (svn r14286) -Fix [FS#2265]: If a change of conventional/electric rail coincided with the start of a station platform, stale reservations could be left behind. 2008-09-09 19:21:22 +00:00
michi_cc
5a28d3a54f (svn r14285) -Fix [FS#2263]: A train inside a wormhole could free the reservation of another train inside the wormhole. 2008-09-09 19:02:47 +00:00
michi_cc
e008f58350 (svn r14284) -Fix (r13958): Trains would not look ahead and extend their reservation on a waypoint tile in all cases. 2008-09-09 18:47:53 +00:00