Commit Graph

4728 Commits (fa2bf69a5384a8035a92a069f47f31a178bc3f3c)

Author SHA1 Message Date
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)
16 years ago
rubidium 13ee151a69 (svn r14567) -Revert (part of 14566): don't commit testing stuff... 16 years ago
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) 16 years ago
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)
16 years ago
smatz f23dabb149 (svn r14564) -Fix (r14555): one more incorrect use of lastof() 16 years ago
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.
16 years ago
frosch e1bf231727 (svn r14562) -Fix (r14561): 8 bits are enough. The rest stays reserved. 16 years ago
frosch ec4b30f9d9 (svn r14561) -Feature(ette)[FS#2334]: Add result 0x0F to callbacks 0x29/0x35. (Yexo) 16 years ago
smatz 7dd0b0dc07 (svn r14560) -Fix [FS#2396](r14555): lengthof() can't be simply replaced by lastof() in some cases (part by Aali) 16 years ago
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. 16 years ago
michi_cc f649496caa (svn r14558) -Fix (r13957): Converting the track type of a tunnel/bridge could cause trains to get stuck. 16 years ago
skidd13 6d94be75e9 (svn r14557) -Codechange: Remove a redundant line of code 16 years ago
frosch f8ed412b40 (svn r14556) -Fix (r14533): Bounding box with height > TILE_HEIGHT could cause circular dependencies with surrounding bridges. 16 years ago
skidd13 706dd0f86c (svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible 16 years ago
rubidium c03e55b32a (svn r14554) -Fix: languages using longer gender names than strgen supports. 16 years ago
skidd13 6043b4574e (svn r14553) -Doc: Add some doxygen comments 16 years ago
michi_cc a4548a4b9b (svn r14550) -Fix [FS#2391]: Don't assert on path look-ahead when processing a not-part-of-orders depot-order. 16 years ago
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)
16 years ago
rubidium 6629698dfe (svn r14548) -Add: partial welsh translation, to be finished later. 16 years ago
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. 16 years ago
skidd13 38efdc8222 (svn r14546) -Codechange: Unify string(cpy|cat) functions
-Doc: string(cpy|cat) functions
16 years ago
rubidium a6df995fbb (svn r14545) -Fix [FS#2386]: road vehicles sometimes never got their "slots" deallocated causing RVs not going to depot for service. 16 years ago
rubidium 633b15caf3 (svn r14542) -Codechange: replace some sprintf with s[en]printf to make sure they will not overflow their buffers. 16 years ago
rubidium da0a0ef8ca (svn r14541) -Fix (r14540): mingw didn't like it :( 16 years ago
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. 16 years ago
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)
16 years ago
frosch 896841403f (svn r14536) -Fix (r14530): Do not expect uints to become negative. 16 years ago
frosch 77a5a4953b (svn r14535) -Fix: Description of '-i' commandline option. 16 years ago
glx a6bfd7f15b (svn r14534) -Codechange [FS#2382]: Enumify magic return values of HandleEditBox function (Zuu) 16 years ago
frosch 7df85e8a45 (svn r14533) -Fix: ...hopefully most glitches wrt. inclined foundations. 16 years ago
frosch fd049f0a64 (svn r14531) -Fix (r12425): OSK accessed wrong widgets of password query window. 16 years ago
frosch ac281ed35c (svn r14530) -Fix [FS#2138]: Do not deliver cargo to industries not inside station catchment area. 16 years ago
frosch 11ef57d81e (svn r14529) -Codechange: Turn FindCatchmentRadius() into Station::GetCatchmentRadius(). 16 years ago
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) 16 years ago
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. 16 years ago
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. 16 years ago
translators e3e65e8f2b (svn r14525) -Update: WebTranslator2 update to 2008-10-24 17:44:48
indonesian - 412 fixed by dnaftali (412)
16 years ago
rubidium 42df5cbc03 (svn r14524) -Add: stop-in-depot as part of orders (PhilSophus) 16 years ago
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)
16 years ago
glx eb0464071d (svn r14521) -Fix [FS#2378]: fast trains could continue to move after a crash 16 years ago
smatz 1e7e5fb175 (svn r14518) -Fix (r14514): forgot win32 and OS/2 files (glx) 16 years ago
rubidium f43dc3e758 (svn r14517) -Feature: arrow key scrolling in the server list (Roujin) 16 years ago
rubidium 219abb5235 (svn r14516) -Fix: determine the default text direction based on the language file instead of hardcoding one. 16 years ago
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
16 years ago
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)
16 years ago
smatz bb4a4a255d (svn r14508) -Fix (r14501): arrays were not properly zeroed 16 years ago
rubidium 639f9d8305 (svn r14506) -Add: stub for indonesian language. 16 years ago
michi_cc ac722661a5 (svn r14505) -Fix (r14504): Missing include. 16 years ago
michi_cc 02c99bdf66 (svn r14504) -Cleanup: Use the right variable type for tile offsets. 16 years ago
rubidium 6c35825453 (svn r14502) -Codechange: add some inline comments and declare variable on use (Alberth) 16 years ago
rubidium 9df75b3f9e (svn r14501) -Codechange: use sizeof(variable) instead of sizeof(type) or hardcoded amounts (magic constant) for memset (Alberth) 16 years ago
rubidium 8cce756f8f (svn r14494) -Fix: few MSVC x64 warnings. 16 years ago
frosch 4dcf12a3ad (svn r14493) -Fix[FS#planetmaker]: Do not assign a station spread to buoys on loading games. 16 years ago
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.
16 years ago
rubidium d832626bb9 (svn r14491) -Documentation: updates/additions of doxygen docs (Alberth) 16 years ago
rubidium 15eb140d28 (svn r14490) -Codechange: fix comment style on a few locations (Alberth) 16 years ago
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.
16 years ago
frosch 2e6894b7bb (svn r14487) -Fix: The station picker preview did not draw child sprites. 16 years ago
smatz 7a031b60cd (svn r14486) -Fix (r13343)(r14484): compilation with desync debug was broken 16 years ago
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.
16 years ago
frosch 63a9ddeb77 (svn r14484) -Fix (r10182) [FS#2358]: Obiwan dislikes music. (Patch by Yexo) 16 years ago
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. 16 years ago
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.
16 years ago
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)
16 years ago
rubidium 65404674a4 (svn r14480) -Add: warning when trying to use a right-to-left language without support for it in OpenTTD. 16 years ago
rubidium ae0715e8c3 (svn r14479) -Add: initial (optional) support for handling bidirectional scripts and connecting Arabic characters. 16 years ago
frosch 7f5f0fea42 (svn r14469) -Fix [FS#2355]: Empty station spreads (e.g. from greyed station signs) were modified in test mode. 16 years ago
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)
16 years ago
rubidium a999bb3227 (svn r14466) -Doc: remove some obsolete parameters, fix a few parameter names in comments and add a little more doxygen documentation. 16 years ago
rubidium 0c5c199f2f (svn r14465) -Codechange: minor code style of command.cpp. 16 years ago
rubidium 272b2ef0e9 (svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus) 16 years ago
rubidium 03bef3fb5b (svn r14463) -Fix [FS#2348]: small possible chance of desync due to sorting on pointer instead of by (station) index (PhilSophus) 16 years ago
rubidium e9f5a19544 (svn r14462) -Codechange: replace magic number with already existing constant (Albert) 16 years ago
rubidium f1f5b248c2 (svn r14461) -Document: add some doxygen comments (Albert) 16 years ago
translators 313f193b55 (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)
16 years ago
frosch dea505cbb8 (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. 16 years ago
smatz 2611fbeb18 (svn r14458) -Fix [FS#2341](r14368): crash when there was a tram dead end after a station/tunnel/bridge (frosch123 and Rubidium) 16 years ago
translators 9075eafaae (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)
16 years ago
frosch 70e1e83eb2 (svn r14456) -Fix: Obiwan in catchment-area and station-spread of docks. 16 years ago
rubidium a34bd150fe (svn r14450) -Fix [FS#2337]: time table restoring did check too restrictively causing order backups not to be properly restored. 16 years ago
rubidium 1d2fbbc8a7 (svn r14449) -Fix [FS#2338]: service at nearest depot acted like go to nearest depot. 16 years ago
smatz 1906aa2bbb (svn r14448) -Codechange [FS#2328]: rename a few variables (based on a patch by planetmaker) 16 years ago
michi_cc b3726f4c7c (svn r14447) -Change [FS#2333]: Rename YAPP "advanced signals" to "path signals" and "normal signals" to "block signals". 16 years ago
rubidium 719891c23e (svn r14446) -Fix [FS#2330]: when a road stop gets moved make sure to update the destination of RVs going to that road stop. 16 years ago
translators 0e518c2d92 (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)
16 years ago
translators 249a9c0912 (svn r14444) -Add: stubs for two new languages: Persian (or Farsi) and Ido. 16 years ago
frosch 1358756071 (svn r14442) -Fix (r14406): Typo causing problems in rare cases. 16 years ago
translators e17db9655c (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)
16 years ago
smatz b4a307d0bb (svn r14439) -Fix (r12044)(r14139): centering on a plane at the SE border could cause crash 16 years ago
translators 5f9e2e60fb (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)
16 years ago
rubidium da2b14e6b2 (svn r14436) -Fix [FS#1793]: (fast) trains would sometimes move one time too often/little when moving from diagonal<->non-diagonal tracks (iguannab) 16 years ago
rubidium b727f93bbc (svn r14434) -Fix (r14432): compile warning. 16 years ago
rubidium bdd756b58c (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>". 16 years ago
rubidium d19d6f21a0 (svn r14431) -Fix (r14414): alias parameter "evaluation" would remove the last byte of the parameters. 16 years ago
michi_cc ba5575e0fc (svn r14428) -Fix [FS#2306]: A 90-degree curve can be a safe waiting position if they are forbidden for trains. 16 years ago
rubidium c9a82ac3e7 (svn r14423) -Codechange: also do r14221 for the strings. 16 years ago
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium 3b798599b6 (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
translators cc1e761eda (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)
16 years ago
belugas d130ff3889 (svn r14419) -Codechange: adding two digits for no obvious reason (nor comment), plus code style Infringement. 16 years ago
smatz a858d0993f (svn r14417) -Codechange: rewrite GetClosestWaterDistance(), now it is ~100 times faster than pre-r14416 in average case 16 years ago
smatz e65771f25c (svn r14416) -Fix (r10074)(r10517): substraction was done the other way in the 'nearest land/water' check (~25% performance penalty) 16 years ago
smatz c631c26a9f (svn r14415) -Fix (r10074): void tiles could be the nearest 'land' for water industries 16 years ago
rubidium e7829c1a57 (svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy doesn't guarantee the resulting string is '\0'-terminated. 16 years ago
frosch c20c3be91d (svn r14412) -Documentation: Comment some functions related to the advanced settings. Patch by Alberth, but with less excessive use of 'at'. 16 years ago
frosch 1032dbe142 (svn r14411) -Fix (r14406): IsFrontEngine() is only valid for trains. 16 years ago
rubidium e635df8d53 (svn r14410) -Codechange: one can't inject a negative number of parameters, so enforce this by using a uint. 16 years ago
frosch a370f32c15 (svn r14409) -Codechange: Simplify a loop and correct a comment. 16 years ago
glx f2d7c48b31 (svn r14408) -Fix (r9205): generation seed set using -G was always overwritten by -g 16 years ago
frosch 76c13beef0 (svn r14407) -Cleanup (r14406): Remove a redundant test. (thanks SmatZ) 16 years ago
frosch 67db5087cd (svn r14406) -Fix [FS#Eddi]: Autoreplace did not work for vehicles in free wagon chains. 16 years ago
frosch 05d8a0ebad (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). 16 years ago
rubidium 257f7a229b (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. 16 years ago
frosch 436011dda3 (svn r14403) -Fix (r14384): The condition was too restrictive. 16 years ago
translators 804185d392 (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)
16 years ago
peter1138 37931fb2c6 (svn r14401) -Fix (r11724): Don't check articulated parts or rear multihead parts for callback 1D when moving a chain of wagons. 16 years ago
smatz e4242c8735 (svn r14398) -Cleanup (r14395): unused function sneaked in 16 years ago
rubidium 86f1a98ac8 (svn r14397) -Fix: possible buffer overrun, wrong parameter type passed to printf and && where || is meant. Found by MSVC's code analysis (Darkvater) 16 years ago
smatz b907ffec97 (svn r14396) -Fix: ctrl+right click at 'Go to nearest depot' order scrolled to depot with DepotID == 0 16 years ago
smatz 6987e6015a (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, ...
16 years ago
translators 7a527807d9 (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)
16 years ago
rubidium a143100f46 (svn r14393) -Fix [FS#2318]: deleting the same window (pointer) twice. 16 years ago
rubidium 57d592828b (svn r14392) -Fix [FS#1404]: some widgets saw a single click as multiple clicks. 16 years ago
rubidium 6a931d67cd (svn r14390) -Codechange: replace magic constants with symbolic constants. 16 years ago
translators ff76ef6a0a (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)
16 years ago
frosch 5abea62e3e (svn r14384) -Fix: Moving the first vehicle of a train elsewhere might require a new unitnumber for the remaining chain. 16 years ago
smatz abbc9cd9cb (svn r14383) -Fix [FS#2316](r14343): handle invalid 'v->u.air.targetairport' in the NewGRF code, too 16 years ago
rubidium 7ef5406946 (svn r14371) -Fix [FS#2313]: loading indicator didn't stay with the front engine when turning a train in a station. 16 years ago
frosch 2bf182fb36 (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.
16 years ago
rubidium cccd1a8739 (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. 16 years ago
frosch 3dceffd283 (svn r14366) -Fix (r14362): Match multiheaded parts starting from the first vehicle in a chain. 16 years ago
glx c125cfa6cc (svn r14365) -Backport (r14364 from NoAI): add the ability do CmdBuildSingleSignal to directly place the correct signal, instead requiring multiple inputs before doing so 16 years ago
glx fe5cc9c839 (svn r14363) -Fix [FS#2206]: some keypress combinations could be handled twice 16 years ago
frosch 07418cbf7f (svn r14362) -Fix (r3403): Also connect multiheaded parts in free wagon chains. 16 years ago
translators c3c58c95b9 (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)
16 years ago
smatz 89edec7bfb (svn r14360) -Cleanup (r12652): remove unused handler for the 'Tranfser' button 16 years ago
rubidium ee2a851aab (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. 16 years ago
smatz deaa0725e9 (svn r14356) -Fix [FS#2307](r14258): converting of railtype was broken for tunnels and bridges 16 years ago
belugas 217db3cb61 (svn r14352) -Feature: Allow sorting vehicles by remaining life time.
Patch by yorick
16 years ago
smatz 9fed67a05a (svn r14351) -Codechange: call CFollowTrackT::GetSingleTramBit() only if we know it is a tram, so compiler doesn't generate code for trains and ships 16 years ago
smatz 97150dcffd (svn r14350) -Fix (r13927): do not draw PBS reservation for NW and NE depots, it is drawn through depot walls 16 years ago
smatz 7ae255a553 (svn r14348) -Fix (r1667): signs were not updated on company bankrupcy/sell, they have colour of invalid player 16 years ago
smatz c998342206 (svn r14346) -Codechange [FS#2184]: reduce code duplication when jumping to next/previous sign in signs_gui.cpp (Roujin) 16 years ago
smatz 5a1203963f (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)
16 years ago
smatz 4a97033e7e (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) 16 years ago
smatz 192d348f78 (svn r14343) -Fix [FS#2300]: invalid v->u.air.targetairport could cause crashes at several places when the station pool got smaller 16 years ago
smatz 47d19f7914 (svn r14340) -Fix (r11822): signs from old savegames were lost (causing little memory leaks) 16 years ago
smatz dce7bec2d3 (svn r14339) -Fix (r13731): crash when loading the intro game failed 16 years ago
smatz 5f4ff33ce3 (svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, president and company renaming commands, too 16 years ago
smatz a20dae0df1 (svn r14336) -Fix (r14334): when there was a station with custom name in an old savegame, it's default name was empty 16 years ago
frosch bffc5717bc (svn r14335) -Codechange: Remove some magic numbers. 16 years ago
smatz 1266b1a73f (svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies) 16 years ago
belugas 0682dc3a0d (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
16 years ago
smatz 606f4defdc (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 16 years ago
rubidium ff89c704fa (svn r14330) -Fix: compile warnings in some unfinished lang files. 16 years ago
rubidium 1ce4e5721b (svn r14329) -Fix (r14306): selections in the group GUI weren't shown anymore. 16 years ago
smatz 6be25eabb3 (svn r14328) -Fix (r11822): when a company was renamed and then manager was renamed before building anything, company name changed 16 years ago
rubidium c496fe4d1a (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". 16 years ago
rubidium 497ded7e40 (svn r14326) -Fix: some wrong comments (Yexo) 16 years ago
translators cc16809f71 (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)
16 years ago
rubidium 7c8a50d7d8 (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. 16 years ago
smatz 5df524ecc0 (svn r14323) -Fix (r14064): forgot a return... 16 years ago
smatz c5960b4be1 (svn r14322) -Fix (r10368): possible assert when renaming removed waypoint 16 years ago
rubidium 6ce4fe40f7 (svn r14321) -Add: support for newgrfs printing bytes/words/dwords as hexadecimals. 16 years ago
rubidium 811193e468 (svn r14320) -Fix [FS#2299]: glitch when chatbox window is full and the window is scrolled (yorP) 16 years ago
smatz 9174c19291 (svn r14319) -Fix (r10760): use operator delete when deleting an order, so order pool fills up a bit slower 16 years ago
rubidium cbbb2eb85c (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. 16 years ago
peter1138 45ce441a55 (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. 16 years ago
smatz 54d1b49981 (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 16 years ago
smatz c4d49dfc21 (svn r14315) -Fix: allow adding roadtypes only to drive-through road stops 16 years ago
smatz d5ca29a5ab (svn r14314) -Fix: pay for two road bits when adding/removing roadtype at drive through road stop/level crossing 16 years ago
frosch 856157b6da (svn r14313) -Codechange: Move functions dealing with the EngineRenew pool to their own file. 16 years ago
rubidium 0251a9c529 (svn r14310) -Fix: don't show palette information in the newgrf lists of the network lobby. 16 years ago
rubidium ab4d0e2dac (svn r14309) -Fix [FS#2244]: aircraft frozen above oil rig when the next order is invalid. 16 years ago
rubidium defecbc6ef (svn r14308) -Fix [FS#2268]: pay extra when tram/road bits need to be build for a roadstop. 16 years ago
smatz 66be028ad4 (svn r14307) -Fix: when deleting a station, remove news items regarding it 16 years ago
rubidium fc62d736f7 (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.
16 years ago
frosch 1647597943 (svn r14305) -Fix [FS#2294] (r5033): [YAPF] Only reserve road slots for multistop when they are really reachable. 16 years ago
smatz 3236b3d10e (svn r14304) -Fix (r14104): waypoint train list wasn't closed with the waypoint window (crashes since r14296) 16 years ago
rubidium 3b4d15d35b (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. 16 years ago
rubidium 3384638e36 (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. 16 years ago
rubidium 560e5560f1 (svn r14301) -Codechange: give the vehicle list and group list the same relative size and the same absolute height for the vehicle list items. 16 years ago
translators 95bdb5a6a3 (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)
16 years ago
rubidium 6d52fce720 (svn r14299) -Fix: disable 'toggle palette' when no NewGRF has been selected. 16 years ago
rubidium d6bc633870 (svn r14298) -Fix [FS#2214]: "{CARGO} from unknown destination". 16 years ago
rubidium 8d449825f9 (svn r14297) -Fix: one could be trying to get the station name of a station that is outside of the pool. 16 years ago
rubidium 8f42c38039 (svn r14296) -Codechange: there is no case where an invalid waypoint index should be passed to be drawn as a string. 16 years ago
belugas a2b00e24b6 (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.
16 years ago
belugas 13eab4177d (svn r14294) -Feature[newGRF]: Add Variational Action 2 Variable 0x47 for houses, Coordinates of the house tile 16 years ago
smatz 37edc141e2 (svn r14293) -Change: do not show PBS track reservation in the intro game 16 years ago
frosch 80b0671cc9 (svn r14292) -Cleanup (r11128): Move an 'if' out of a loop as it does not need to be iterated. (spotted by smatz) 16 years ago
frosch 33c2b798fb (svn r14291) -Fix [FS#2288] (r12853): For tunnels DrawCatenary() draws only pillars; DrawCatenaryOnTunnel() draws only wires. 16 years ago
smatz ef03a41631 (svn r14290) -Fix (r13932): level crossings could be barred when they shouldn't be after savegame conversion 16 years ago
smatz 9431bf1c29 (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)
16 years ago
michi_cc 1b7de43e80 (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. 16 years ago
michi_cc fa3f2ae035 (svn r14285) -Fix [FS#2263]: A train inside a wormhole could free the reservation of another train inside the wormhole. 16 years ago
michi_cc a7a7e2d3cc (svn r14284) -Fix (r13958): Trains would not look ahead and extend their reservation on a waypoint tile in all cases. 16 years ago
smatz 0757669c49 (svn r14283) -Fix [FS#2281](r14175): beep only after clicking on the main toolbar, not after finishing the selection 16 years ago
translators e5081f587a (svn r14282) -Update: WebTranslator2 update to 2008-09-09 17:38:39
czech      - 1 fixed, 7 changed by Hadez (7), joeprusa (1)
danish     - 61 fixed, 6 changed by ThomasA (28), MiR (39)
dutch      - 6 fixed by habell (5), webfreakz (1)
estonian   - 1 fixed by kristjans (1)
finnish    - 66 fixed by habazi (66)
french     - 2 fixed, 2 changed by glx (4)
galician   - 14 fixed by Condex (14)
german     - 63 fixed, 16 changed by sulai (41), dih (38)
italian    - 1 fixed, 1 changed by lorenzodv (2)
piglatin   - 27 fixed by adammw (27)
romanian   - 57 fixed by kneekoo (57)
russian    - 13 fixed by Smoky555 (13)
slovenian  - 6 fixed by Necrolyte (6)
spanish    - 9 fixed by eusebio (9)
ukrainian  - 6 fixed by mad (6)
16 years ago
smatz f503c7c99e (svn r14280) -Codechange: use IsRailWaypointTile() instead of IsTileType() and IsRailWaypoint() checks at several places 16 years ago
frosch 95ba19ee69 (svn r14276) -Fix: Rename one of the advanced settings, as 'TTDPatch compatible nonstop handling' wasn't a correct description anymore. 16 years ago
frosch e3f2da01d3 (svn r14275) -Change: Rename 'Configure patches' to 'Advanced settings'. 16 years ago
smatz db7c2b97f8 (svn r14274) -Fix (r10237): nonexistant order could be selected in the timetable window (causing SIGFPE) 16 years ago
smatz 0a4090b8a7 (svn r14270) -Fix: make small UFO aware of articulated RVs 16 years ago
smatz 2c0a95ed66 (svn r14265) -Fix (r10750): desyncs after deleting a waypoint because of explicit destructor call instead of using operator delete 16 years ago
smatz 06be820730 (svn r14263) -Codechange: give a better error message when removing a sign fails 16 years ago
rubidium 3b7ffcf759 (svn r14260) -Fix [FS#2277]: merge keycode for "normal" 0-9 keys and keypad 0-9 keys so people don't get confused that the keypad doesn't work as expected. 16 years ago
rubidium 9474db5cb6 (svn r14258) -Codechange: rework the way to query the vehicle hash to make sure it always results in the same irregardless of the order of the hash-linked-list.
-Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
16 years ago
rubidium f4ee4fd5ae (svn r14257) -Fix (r14153): incorrect update of ini-file group tail pointer causing memory corruption. 16 years ago
belugas db58c25af2 (svn r14254) -Codechange: Code style and breathing room 16 years ago
translators a7a2f54716 (svn r14250) -Update: WebTranslator2 update to 2008-09-05 15:13:08
afrikaans  - 9 fixed by TrueTenacity (9)
croatian   - 19 fixed by tperic (19)
czech      - 5 fixed, 50 changed by Hadez (55)
dutch      - 5 fixed by habell (5)
estonian   - 9 fixed by kristjans (9)
french     - 5 fixed by glx (5)
german     - 85 fixed by dih (45), MaSch (40)
italian    - 5 fixed, 4 changed by lorenzodv (9)
polish     - 25 fixed, 4 changed by heimat (29)
spanish    - 7 fixed by eusebio (7)
ukrainian  - 5 fixed by mad (5)
16 years ago
rubidium 72b72bb368 (svn r14245) -Fix: NewGRF configs loaded from the config file would always default to the DOS palette instead of the "default" palette. 16 years ago
rubidium 236c613365 (svn r14243) -Fix [FS#2269]: clicking on the smallmap didn't break the "follow vehicle in main viewport". 16 years ago
frosch e6688ab190 (svn r14239) -Fix [FS#2267]: The engine-purchase-list-sorter doubled running-cost and halfed capacity of double-headed engines. 16 years ago
glx 7b78084150 (svn r14235) -Fix (r14234): compilation with MSVC was broken 16 years ago
smatz b6962222ee (svn r14234) -Fix: feeder share was computed wrong when splitting cargo packet 16 years ago
rubidium a4cd12274c (svn r14233) -Feature/Fix [FS#2172]: save the palette of the loaded NewGRFs in the savegame, so joining with a server using Windows palette will make a client with the DOS palette do palette conversion and (thus) not cause a desync due to the different palettes disabling different NewGRFs. 16 years ago
smatz c620d5e5f0 (svn r14232) -Codechange: use builtin for byte swapping for gcc >= 4.3 16 years ago
rubidium a482f0053d (svn r14231) -Fix: Windows binaries not able to read non-windows newlines ini files. For more detail read the 'attached' diff. 16 years ago
frosch 3ce1a5672e (svn r14230) -Codechange: Simplify MapDOSColour() using the new stuff. 16 years ago
rubidium fc216aeeb8 (svn r14229) -Feature: allow overriding the palette of the base GRFs. This way you can play with NewGRFs made for the Windows palette with the DOS palettes base GRFs (and vice versa). Note that for this to work correctly ALL NewGRFs must use the same palette; mix and match is not yet supported. 16 years ago
smatz c0cdfea97d (svn r14228) -Fix (r14209): double click on the 'last joined' server didn't work 16 years ago
rubidium c8e8911ef6 (svn r14223) -Codechange: make GetSprite aware of the 4 different types of sprites: fonts, recolour, mapgen and normal sprites. 16 years ago
smatz cbe397388f (svn r14221) -Fix: signs (town name, station name, ...) could be too long for 8bit width in pixels 16 years ago
rubidium fd97a89c57 (svn r14219) -Fix (rthebeginning): 10 days != 6*2.5 days, effectively causing the payment graph to show the wrong data. 16 years ago
peter1138 941f8b5f16 (svn r14215) -Cleanup (r13866): Strange line wrapping... 16 years ago
rubidium 886c8ec79f (svn r14214) -Codechange: move another TTD graphics bug into the GRF; height problem of sprite #142. 16 years ago
smatz b51bb8c221 (svn r14210) -Codechange: remove a useless check when creating new waypoint 16 years ago
smatz 7fa98e33ce (svn r14209) -Feature(tte): doubleclick to join selected server/company 16 years ago
peter1138 744b3527e5 (svn r14208) -Fix (r14197): Crash if no .obg files are found. 16 years ago
rubidium dc2ace2494 (svn r14207) -Fix [FS#2262] (r14191): warning about non-virtual destructor in class with virtual functions. 16 years ago
translators 48479cd86f (svn r14205) -Update: WebTranslator2 update to 2008-08-31 19:47:56
bulgarian  - 12 fixed by thetitan (12)
catalan    - 49 fixed by arnaullv (49)
czech      - 4 fixed, 15 changed by Hadez (19)
dutch      - 2 fixed, 5 changed by habell (7)
french     - 2 fixed, 1 changed by belugas (1), glx (2)
galician   - 75 fixed, 54 changed by Condex (129)
german     - 10 fixed, 1 changed by dih (11)
italian    - 5 fixed, 5 changed by lorenzodv (10)
korean     - 14 fixed by leejaeuk5 (14)
slovenian  - 6 fixed by Necrolyte (6)
turkish    - 18 fixed by jnmbk (18)
ukrainian  - 2 fixed by mad (2)
16 years ago
smatz f2dbe6685d (svn r14204) -Fix (r7475): when determining length of a string with limited size, first check if we are not out of bounds already 16 years ago
peter1138 7bc5b136b1 (svn r14203) -Codechange: [NewGRF] Disable a GRF if it contains an unknown property, or tries to assign an invalid ID. 16 years ago
peter1138 b4b1f26a9f (svn r14202) -Codechange: [NewGRF] Give more meaningful output if a house/industry/industrytile is undefined in action 3, and continue processing remaining IDs. 16 years ago
peter1138 7e88b7bb3e (svn r14201) -Codechange: [NewGRF] Don't continue processing an Action 0 if we didn't read the data for a property -- the data will be wrong for subsequent reads.
-Codechange: [NewGRF] *Do* continue processing if the value of a property is invalid, however.
16 years ago
rubidium 6b86de13d6 (svn r14200) -Fix (r14199): some OSes failed to compile. Furthermore I hate wrong comments! 16 years ago
rubidium ea1f180a55 (svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too. 16 years ago
peter1138 46e23b8f99 (svn r14198) -Codechange: [NewGRF] Simplify handling of common vehicle properties. 16 years ago
rubidium c3a9653c89 (svn r14197) -Codechange: rework (original) base graphics determination methods. This yields in the following:
-Feature: make configuring the to-be-used base graphics via openttd.cfg and the command line possible.
-Feature: allow both the German as well as non-German toyland graphics as "correct" and official graphics.
-Feature: allow people to create their own base graphics easily and without requiring code changes.
16 years ago
rubidium 1afa473d0f (svn r14196) -Codechange: make the searching for files with a specific extension extendable. 16 years ago
rubidium 0b88f0cf54 (svn r14193) -Fix (r14191): don't put an unsigned 0x80 in a signed int8 as that's not what you want. 16 years ago
rubidium d40145008e (svn r14192) -Fix [FS#2236]: properly update the current timetable's travel/wait times instead of only doing it for one vehicle in the shared order chain and only when some bit has not been set (PhilSophus) 16 years ago
rubidium d3d34d2aac (svn r14191) -Codechange: unify the code to skip sprite payload (i.e. not the header).
-Fix: sprite payload skipping wouldn't skip enough bytes in a very small subset of compressed sprites.
16 years ago
rubidium e06c21426e (svn r14190) -Codechange: use alloc instead of malloc+free when the allocated memory shouldn't be used after the function ended. 16 years ago
peter1138 bfcd6e9772 (svn r14189) -Fix (r14188): Accidental line removal 16 years ago
peter1138 2b67c01a24 (svn r14188) -Codechange: [NewGRF] Cargo type of 0xFF is specified to be 'use first refittable cargo', so don't issue a warning for it. 16 years ago
rubidium 468655c916 (svn r14187) -Fix (r14104): silence warning when compiling without networking enabled. 16 years ago
rubidium ead8de78ea (svn r14186) -Fix [FS#2255]: small typo (Jafinto) 16 years ago
rubidium 7c002c14cc (svn r14185) -Fix (r14153): removing NewGRFs from the config file was impossible. 16 years ago