Commit Graph

10620 Commits

Author SHA1 Message Date
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
glx 78502d9fe0 (svn r14532) -Fix (r14522): one 'M' is enough to show modified version 2008-10-25 16:45:01 +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 f9221778cc (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 eb0464071d (svn r14521) -Fix [FS#2378]: fast trains could continue to move after a crash 2008-10-22 23:06:36 +00:00
rubidium a7ff1920f9 (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 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
rubidium fcb6f0bafe (svn r14515) -Fix (r7759): iconv is included in glibc-2.1 and higher, so we don't need to link to a most likely non-existing libiconv in those situations. 2008-10-22 20:20:08 +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 c4046a3ea5 (svn r14509) -Fix (r14507): missing svn:keywords 2008-10-21 19:26:36 +00:00
smatz bb4a4a255d (svn r14508) -Fix (r14501): arrays were not properly zeroed 2008-10-21 14:56:23 +00:00
skidd13 0c253041bd (svn r14507) -Codechange: Update the RPM spec file (futher changes are expected till 0.7) 2008-10-21 12:15:09 +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