Commit Graph

5465 Commits

Author SHA1 Message Date
rubidium 48c8cdfd84 (svn r15675) -Codechange: don't unnecessarily mark vehicles dirty before deleting them; it already happens in the destructor. 2009-03-11 19:50:19 +00:00
translators a471321b1b (svn r15674) -Update: WebTranslator2 update to 2009-03-11 18:52:10
german     - 9 changed by planetmaker (9)
indonesian - 1 fixed by fanioz (1)
luxembourgish - 121 fixed by Gubius (121)
portuguese - 4 fixed by SnowFlake (4)
russian    - 1 fixed by Smoky555 (1)
slovak     - 3 fixed by James (3)
2009-03-11 18:52:19 +00:00
glx 308dbcf822 (svn r15673) -Fix: it was not possible to compile a win32 dedicated server (even if 'configure --enable-dedicated' passed) 2009-03-11 17:40:49 +00:00
rubidium fb2ea6c9ed (svn r15672) -Codechange: (left,right,top,bottom)_coord -> coord.(left,right,top,bottom), i.e. use Rect. 2009-03-11 17:26:58 +00:00
rubidium 66e0fcdd01 (svn r15671) -Codechange: bit of coding style/clarification. 2009-03-11 15:00:40 +00:00
yexo bdab37b11a (svn r15670) -Fix (r15601): The owner of both the road and of the tram tracks was checked, but not the owner of the road itself. 2009-03-11 10:58:42 +00:00
yexo 2b0b9a6367 (svn r15669) -Change: Key presses that are not handles by an input box are no longer marked as handled but given to other OnKeyPress handlers. This makes the global shortcuts like F1 work again when an input box is open. 2009-03-11 09:21:11 +00:00
yexo 13fb01d07d (svn r15668) -Fix: a few typos. 2009-03-11 07:32:31 +00:00
yexo da0cbb2a2f (svn r15667) -Fix (r15601)[FS#2718]: It was possible to remove rail tunnels/bridges and aqueducts build by rival companies. 2009-03-10 23:16:45 +00:00
rubidium fa78027ffd (svn r15666) -Fix [FS#2689]: sorting of engines in the purchase list didn't use the same numbers as the GUI showed, e.g. articulated parts weren't taken into accound when ordering by capacity. 2009-03-10 21:17:00 +00:00
peter1138 733c0c5c5b (svn r15665) -Fix (r8973): Handling of aircraft crash counter did not take account of the reduced number of calls (from 6 down to 2) to the aircraft event handler, resulting in crashed aircraft taking three times longer than they should to clear. Compensate by increasing the counter by 3 on every call instead of 1. 2009-03-10 18:54:33 +00:00
glx f45e3b3068 (svn r15664) -Fix [FS#2716]: as always windows needs special handling when strings are involved 2009-03-10 14:54:46 +00:00
rubidium d6f2a65323 (svn r15663) -Fix: growing of vsize as (some) threads weren't properly released. 2009-03-10 11:12:03 +00:00
peter1138 0564d52d99 (svn r15662) -Fix (r11795): Don't mark a company as having ratings in a town when querying the cost of a command. 2009-03-10 06:53:00 +00:00
yexo 01167ea456 (svn r15659) -Fix [Squirrel]: The garbage collection would sometimes loop (2^32 - small_value) times instead of only small_value times. 2009-03-09 23:08:23 +00:00
yexo 1ff06b3f9c (svn r15658) -Fix [NoAI]: Rewrite AIAbstractList::Valuate to make it more readable and fix a crash if no parameters are given to that function. 2009-03-09 22:14:47 +00:00
rubidium c4c0a09927 (svn r15657) -Fix [FS#2716]: undeterministic file sorting when the date is equal for all files 2009-03-09 21:55:17 +00:00
frosch aa7a19fd49 (svn r15656) -Fix: Changing dynamic_engines also requires reloading newgrfs as well as resetting the OverrideManager. 2009-03-09 21:33:05 +00:00
michi_cc e982100fe6 (svn r15655) -Codechange: Initialise vehicle vars only after a placement new so possible default constructors don't overwrite the values. 2009-03-09 19:14:36 +00:00
frosch cfea2d428b (svn r15654) -Fix: Only ever call any vehicle callbacks after the whole articulated engine has been built. (except 0x16) 2009-03-09 18:56:50 +00:00
translators db05dbc70a (svn r15653) -Update: WebTranslator2 update to 2009-03-09 18:42:57
dutch      - 1 fixed by habell (1)
german     - 1 fixed by planetmaker (1)
luxembourgish - 387 fixed by Gubius (387)
romanian   - 1 fixed by kkmic (1)
thai       - 29 fixed by meemee1983 (29)
welsh      - 1 fixed by PlayDead (1)
2009-03-09 18:43:05 +00:00
michi_cc 81595bf256 (svn r15652) -Fix [FS#2706]: new (this) is seldom a good idea as destructors of member variables aren't run causing memory leaks. 2009-03-09 18:41:54 +00:00
peter1138 6667241814 (svn r15651) -Codechange: Codestyle and comments. 2009-03-09 13:38:00 +00:00
peter1138 6616393cd2 (svn r15650) -Codechange: Use a ReusableBuffer for loading NewGRF pseudo-sprites into instead of using malloc()/free() for every single one. 2009-03-09 13:06:49 +00:00
rubidium 60de42be49 (svn r15649) -Fix (r15556): don't unnecessarily reallocate 2009-03-09 09:38:00 +00:00
rubidium a231ab7560 (svn r15648) -Fix (r14773): hack around an OSX stupidity in < 10.4 w.r.t. signals by not having any signal handling support for OSX < 10.4. Thanks to PearPC and TrueBrain's OSX compiler. 2009-03-08 23:06:41 +00:00
translators 7b39b0c652 (svn r15647) -Update: WebTranslator2 update to 2009-03-08 18:32:50
arabic_egypt - 2 fixed, 20 changed by khaloofah (22)
catalan    - 1 fixed by arnaullv (1)
dutch      - 4 changed by Yexo (4)
english_US - 3 fixed by WhiteRabbit (3)
finnish    - 1 fixed, 1 changed by jpx_ (2)
french     - 1 fixed by glx (1)
greek      - 57 fixed by hellis (57)
hungarian  - 1 fixed by alyr (1)
italian    - 1 fixed by lorenzodv (1)
korean     - 1 fixed by leejaeuk5 (1)
traditional_chinese - 2 changed by josesun (2)
ukrainian  - 1 fixed by mad (1)
2009-03-08 18:33:05 +00:00
frosch e17ded04f1 (svn r15646) -Fix: Be lenient on users who do stupid things like loading newgrfs statically, which modify engine names, while dynamic_engines is enabled or the to be modified engine is not (yet) present. 2009-03-08 18:08:30 +00:00
frosch 987e72f4f2 (svn r15645) -Fix (r12924)[FS#2612]: Add an EngineOverrideManager to give the term 'compatible newgrf' again some sense and to not crash because of trivial changes. 2009-03-08 16:51:08 +00:00
rubidium 4a5c4f6089 (svn r15644) -Fix [FS#2710]: closing a network connection twice in the case that sending packets starts failing while disconnecting 2009-03-08 16:14:14 +00:00
smatz e124aa8fd6 (svn r15643) -Fix [FS#2711]: be more strict with zeroing unused map array bits 2009-03-08 16:10:39 +00:00
smatz 7c8474da13 (svn r15642) -Codechange: use a default parameter value in CalcClosestTownFromTile 2009-03-08 01:20:11 +00:00
rubidium f5c1365471 (svn r15641) -Fix: some gcc compilers seem to be chosing the C++ standard for strrchr, others the C standard... 2009-03-07 23:02:28 +00:00
smatz 642dc1ea5e (svn r15640) -Fix [FS#2712]: game crashes when network pools are empty, so always allocate at least one pool block 2009-03-07 22:40:47 +00:00
yexo 3f73152b7f (svn r15639) -Change: When you disable "Towns are allowed to build roads", pressing "Expand" in the town window in the scenario editor will no longer build roads. 2009-03-07 21:36:13 +00:00
truebrain 3ca01c64f7 (svn r15638) -Fix: there is a time in your life you should stop coding for a project. You know that time is there when you make two huge mistakes in just 10 lines of code. I wish you all the best of luck :) (ps: HUGE mistakes!) 2009-03-07 20:55:24 +00:00
truebrain 3adc0d77b8 (svn r15637) -Fix: when you try to protect something from doing something it shouldn't be doing, make sure that the actions happening after that, doesn't start doing what it shouldn't be doing. This of course would only happen in rare corner cases. 2009-03-07 20:53:32 +00:00
translators 81dde09c27 (svn r15636) -Update: WebTranslator2 update to 2009-03-07 18:58:32
greek      - 211 fixed, 4 changed by hellis (215)
korean     - 2 changed by dlunch (2)
2009-03-07 18:58:35 +00:00
rubidium accb79049e (svn r15635) -Fix [FS#2707]: don't allow more than 64 road vehicles to reserve a slot at a single road stop. 255 + 1 gives trouble, but 64 is even more than the roadstop would be able to handle within the slot timeout time. 2009-03-07 18:19:53 +00:00
rubidium 0d2d5565a6 (svn r15634) -Fix (r15632): some compilers seem to warn about the return value of fscanf. 2009-03-07 17:57:54 +00:00
yexo d1a9fcc67f (svn r15633) -Fix (r15632): apparently there are several conflicting definitions of the arguments / return values of strrchr. 2009-03-06 21:07:01 +00:00
rubidium 406832fed8 (svn r15632) -Feature: allow downloading scenarios and heightmaps via bananas. 2009-03-06 19:33:45 +00:00
translators bc58d4ef9a (svn r15631) -Update: WebTranslator2 update to 2009-03-06 18:47:57
catalan    - 1 fixed by arnaullv (1)
german     - 33 changed by planetmaker (33)
greek      - 14 fixed by hellis (14)
korean     - 1 fixed by darkttd (1)
luxembourgish - 818 fixed by Gubius (818)
persian    - 72 fixed by ali sattari (72)
romanian   - 1 fixed by kkmic (1)
russian    - 1 fixed by Smoky555 (1)
welsh      - 1 fixed by PlayDead (1)
2009-03-06 18:48:10 +00:00
yexo 3633fd9a06 (svn r15630) -Fix (r15027): Make sure OpenTTD loads the dummy AI script when no other AI is available instead of a non-existing file. 2009-03-06 15:20:18 +00:00
yexo b520d73285 (svn r15629) -Fix (r15027): Validate strings that are passed from squirrel to the API, not strings passed from the API to squirrel. 2009-03-06 14:21:26 +00:00
smatz f3ed8268b6 (svn r15628) -Fix [FS#2705]: kicking/banning a client from the Client list window crashed the server 2009-03-06 12:42:01 +00:00
belugas 3d05c31031 (svn r15627) -Documentation: Add two Doxygen strings (Alberth). 2009-03-06 03:01:35 +00:00
rubidium 86ca408d46 (svn r15626) -Fix [FS#2698]: UTF8 string handling could cause buffer overruns. 2009-03-06 01:23:25 +00:00
smatz c3a7e6b693 (svn r15625) -Codechange: remove unneeded assert 2009-03-06 00:41:58 +00:00
smatz a92cd2b72e (svn r15624) -Fix (r15621): warning about comparing signed and unsigned integer types 2009-03-05 22:55:47 +00:00