Commit Graph

10379 Commits

Author SHA1 Message Date
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
glx
7f4ee898ac (svn r14532) -Fix (r14522): one 'M' is enough to show modified version 2008-10-25 16:45:01 +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
2af314553c (svn r14522) -Fix: apply r14519 to determineversion.vbs. Also properly set 'modified' for hg and git (was always 1). 2008-10-23 02:52:11 +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
rubidium
428de2d302 (svn r14519) -Fix [FS#2376]: do not use the short hash form for getting a specific mercurial/git revision as those can collide quite easily causing reversion detection to fail (PhilSophus) 2008-10-22 22:07:43 +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