Commit Graph

5535 Commits (5e1cad1b1bf9f9defd029d2a6ef3ad61c8ea1f2e)

Author SHA1 Message Date
rubidium eb0d43aadd (svn r15696) -Codechange: move the NewGRF language ID into the language file instead of maintaining a table in the code. 16 years ago
belugas f6e4bc765a (svn r15695) -Feature [FS#2672]: Allow the number of towns that will be generated in the generate world window to be customized.
Some warnings: 
-the maximum number of towns to be accepted is set to 5000
-the minimum number of towns to be accepted is set to 1
-the number that is specified is NOT guaranteed to be the exact number of towns generated.  The normal mechanism of town creation has not been modified.  So town placement can still fail.
-setting a custom number of town will change your difficulty settings to custom as well
16 years ago
rubidium af18469455 (svn r15694) -Codechange/feature/fix: invert the order in which base graphics sets are queried making it fairly unlikely that downloaded graphics sets override the original graphics. 16 years ago
frosch afe547448e (svn r15692) -Fix [FS#2721]: Just sell the old engines after autorenew/replace. Don't bother about trains exceeding the trainlimit, which will be sold anyway. 16 years ago
translators 684d1c4d4c (svn r15691) -Update: WebTranslator2 update to 2009-03-12 18:42:18
french     - 1 fixed by glx (1)
hungarian  - 1 fixed by alyr (1)
luxembourgish - 258 fixed, 3 changed by Gubius (261)
persian    - 146 fixed by ali sattari (146)
russian    - 1 fixed by Smoky555 (1)
spanish    - 1 fixed by eusebio (1)
16 years ago
rubidium 0f361aab6e (svn r15690) -Feature(tte(tte)): CTRL-"New Game" skips the "World generation" window. 16 years ago
rubidium d5a2dc1d0b (svn r15689) -Fix [FS#2720]: do not crash when the generate map doesn't contain a suitable location for a town. 16 years ago
rubidium 9dbf8a163f (svn r15688) -Codechange: unifiy cleaning up the map generation (normal and abort) 16 years ago
rubidium 8ed58f2b94 (svn r15687) -Fix [FS#2723]: wrong/misleading error message when autorail builds nothing when trying to build over signals in the wrong way. 16 years ago
rubidium bd2e1ac903 (svn r15686) -Codechange: make it a bit harder for crashes to trash your config file. 16 years ago
rubidium 3d780608a2 (svn r15685) -Fix [FS#2720]: do not crash when someone substitutes the "map generation" sprites with garbage. 16 years ago
yexo cef662825b (svn r15684) -Add [NoAI]: AIOrder::SkipToOrder(). 16 years ago
yexo 9eef8f77e2 (svn r15683) -Fix (r15670): Removing town-owned bridges was no longer possible. 16 years ago
rubidium 84e5e44ca9 (svn r15682) -Codechange: some coding style 16 years ago
rubidium 55ce735c2c (svn r15681) -Cleanup: remove unneeded forward declaration. 16 years ago
smatz c2834412f7 (svn r15680) -Cleanup: remove redundant comment 16 years ago
belugas 7f650197d7 (svn r15679) -Cleanup: Little code-style application 16 years ago
rubidium f67e2a41ce (svn r15678) -Fix (r15676): crash when (re)applying newgrf settings 16 years ago
rubidium cf21547814 (svn r15677) -Fix [FS#2546]: vehicle images would be determined during the process of moving the vehicle which means that only the (orientation) data for the vehicles in front of it is valid. Now the data for the vehicles behind the vehicle are valid too. 16 years ago
rubidium 655b0ccc2e (svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove. 16 years ago
rubidium 48c8cdfd84 (svn r15675) -Codechange: don't unnecessarily mark vehicles dirty before deleting them; it already happens in the destructor. 16 years ago
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)
16 years ago
glx 308dbcf822 (svn r15673) -Fix: it was not possible to compile a win32 dedicated server (even if 'configure --enable-dedicated' passed) 16 years ago
rubidium fb2ea6c9ed (svn r15672) -Codechange: (left,right,top,bottom)_coord -> coord.(left,right,top,bottom), i.e. use Rect. 16 years ago
rubidium 66e0fcdd01 (svn r15671) -Codechange: bit of coding style/clarification. 16 years ago
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. 16 years ago
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. 16 years ago
yexo 13fb01d07d (svn r15668) -Fix: a few typos. 16 years ago
yexo da0cbb2a2f (svn r15667) -Fix (r15601)[FS#2718]: It was possible to remove rail tunnels/bridges and aqueducts build by rival companies. 16 years ago
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. 16 years ago
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. 16 years ago
glx f45e3b3068 (svn r15664) -Fix [FS#2716]: as always windows needs special handling when strings are involved 16 years ago
rubidium d6f2a65323 (svn r15663) -Fix: growing of vsize as (some) threads weren't properly released. 16 years ago
peter1138 0564d52d99 (svn r15662) -Fix (r11795): Don't mark a company as having ratings in a town when querying the cost of a command. 16 years ago
yexo 01167ea456 (svn r15659) -Fix [Squirrel]: The garbage collection would sometimes loop (2^32 - small_value) times instead of only small_value times. 16 years ago
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. 16 years ago
rubidium c4c0a09927 (svn r15657) -Fix [FS#2716]: undeterministic file sorting when the date is equal for all files 16 years ago
frosch aa7a19fd49 (svn r15656) -Fix: Changing dynamic_engines also requires reloading newgrfs as well as resetting the OverrideManager. 16 years ago
michi_cc e982100fe6 (svn r15655) -Codechange: Initialise vehicle vars only after a placement new so possible default constructors don't overwrite the values. 16 years ago
frosch cfea2d428b (svn r15654) -Fix: Only ever call any vehicle callbacks after the whole articulated engine has been built. (except 0x16) 16 years ago
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)
16 years ago
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. 16 years ago
peter1138 6667241814 (svn r15651) -Codechange: Codestyle and comments. 16 years ago
peter1138 6616393cd2 (svn r15650) -Codechange: Use a ReusableBuffer for loading NewGRF pseudo-sprites into instead of using malloc()/free() for every single one. 16 years ago
rubidium 60de42be49 (svn r15649) -Fix (r15556): don't unnecessarily reallocate 16 years ago
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. 16 years ago
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)
16 years ago
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. 16 years ago
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. 16 years ago
rubidium 4a5c4f6089 (svn r15644) -Fix [FS#2710]: closing a network connection twice in the case that sending packets starts failing while disconnecting 16 years ago
smatz e124aa8fd6 (svn r15643) -Fix [FS#2711]: be more strict with zeroing unused map array bits 16 years ago
smatz 7c8474da13 (svn r15642) -Codechange: use a default parameter value in CalcClosestTownFromTile 16 years ago
rubidium f5c1365471 (svn r15641) -Fix: some gcc compilers seem to be chosing the C++ standard for strrchr, others the C standard... 16 years ago
smatz 642dc1ea5e (svn r15640) -Fix [FS#2712]: game crashes when network pools are empty, so always allocate at least one pool block 16 years ago
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. 16 years ago
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!) 16 years ago
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. 16 years ago
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)
16 years ago
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. 16 years ago
rubidium 0d2d5565a6 (svn r15634) -Fix (r15632): some compilers seem to warn about the return value of fscanf. 16 years ago
yexo d1a9fcc67f (svn r15633) -Fix (r15632): apparently there are several conflicting definitions of the arguments / return values of strrchr. 16 years ago
rubidium 406832fed8 (svn r15632) -Feature: allow downloading scenarios and heightmaps via bananas. 16 years ago
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)
16 years ago
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. 16 years ago
yexo b520d73285 (svn r15629) -Fix (r15027): Validate strings that are passed from squirrel to the API, not strings passed from the API to squirrel. 16 years ago
smatz f3ed8268b6 (svn r15628) -Fix [FS#2705]: kicking/banning a client from the Client list window crashed the server 16 years ago
belugas 3d05c31031 (svn r15627) -Documentation: Add two Doxygen strings (Alberth). 16 years ago
rubidium 86ca408d46 (svn r15626) -Fix [FS#2698]: UTF8 string handling could cause buffer overruns. 16 years ago
smatz c3a7e6b693 (svn r15625) -Codechange: remove unneeded assert 16 years ago
smatz a92cd2b72e (svn r15624) -Fix (r15621): warning about comparing signed and unsigned integer types 16 years ago
rubidium f2f2a6d303 (svn r15623) -Fix (r15615): close the files you've opened 16 years ago
peter1138 7dd6f218ef (svn r15622) -Codechange: Duplication. 16 years ago
peter1138 1bde2d97b5 (svn r15621) -Feature: When cloning a vehicle with a custom name, add and/or increment a number at the end of name and assign it to the new vehicle (for emma) 16 years ago
belugas 05fe2d8d21 (svn r15620) -Fix[FS#2699]: Error in documentation (Conditional Zenith). 16 years ago
michi_cc a4aba77e49 (svn r15619) -Fix [FS#2701]: When trying to reserve a self-crossing path the failed reservation was sometimes not cleared completely. 16 years ago
rubidium c0d71b84f9 (svn r15617) -Change [FS#2694]: vehicle variables 40-43 weren't cached (though spec stated they are). Caching these variables can yield a 10+% speed increase when those vehicle variables are queried often. 16 years ago
yexo 890c5e3ae4 (svn r15616) -Change [API CHANGE]: Rename AIOrder::ChangeOrder() to AIOrder::SetOrderFlags(). 16 years ago
rubidium 15e9fdd47a (svn r15615) -Feature: show scenarios/heightmaps from both your home directory and installation directory.
-Change [FS#2692]: make it more likely that scenarios are saved to the directory where openttd.cfg is and not the installation directory (gives problems with e.g. Vista). The working directory still overrides the openttd.cfg directory though, but only if it has a scenario directory.
16 years ago
yexo ffe2caf20f (svn r15614) -Add [NoAI]: AIVehicleList_Group(group_id) and AIVehicleList_DefaultGroup(vehicle_type). 16 years ago
translators 5fd7c79987 (svn r15613) -Update: WebTranslator2 update to 2009-03-04 18:38:03
finnish    - 1 fixed by UltimateSephiroth (1)
french     - 1 fixed by glx (1)
german     - 17 changed by planetmaker (17)
icelandic  - 73 fixed by pall (73)
italian    - 1 fixed by lorenzodv (1)
ukrainian  - 1 fixed by mad (1)
16 years ago
rubidium a52d50c62f (svn r15612) -Codechange: unduplicate directory creation 16 years ago
rubidium 6cbf131318 (svn r15611) -Change: when sorting files on modification date and the modification date is equal sort on the title so reversing the sorting direction actually reverses the order the listed files 16 years ago
rubidium 0d8da02ec1 (svn r15610) -Change: allow loading of heightmaps and savegames (any form) that are in .tar files 16 years ago
peter1138 f0de54bc10 (svn r15609) -Fix: Code style... 16 years ago
rubidium 0682c1c46c (svn r15608) -Codechange: use the file scanner to find the files for the saveload window. 16 years ago
rubidium 4f3da358ee (svn r15607) -Codechange: support searching files without filtering on extension. 16 years ago
rubidium d1d0778a54 (svn r15606) -Codechange: make it possible to not recursively search with the file scanner (i.e. only search a single directory). 16 years ago
rubidium 908e850b5a (svn r15605) -Codechange: constify a function 16 years ago
rubidium f1a96c5577 (svn r15604) -Fix [FS#2661]: towns would only build houses where the grid would not be, even when they aren't allowed to build roads and the user 'implements' another layout. 16 years ago
rubidium b55ed2e668 (svn r15603) -Fix [FS#2696]: crash when using an extraordinarily large sprite as cursor. 16 years ago
translators 07df0d05dc (svn r15602) -Update: WebTranslator2 update to 2009-03-03 18:40:15
brazilian_portuguese - 1 fixed by tucalipe (1)
dutch      - 1 fixed by habell (1)
german     - 1 fixed, 12 changed by planetmaker (13)
hungarian  - 1 fixed by alyr (1)
indonesian - 1 fixed by fanioz (1)
persian    - 102 fixed by ali sattari (102)
spanish    - 1 fixed by eusebio (1)
16 years ago
rubidium 7831346ef8 (svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
-Feature: allow building road stops on road/tram tracks of competitors.
16 years ago
yexo 6dd3703a4c (svn r15600) -Fix (r0): Replace a newline in a news message by four spaces before drawing it in the statusbar. 16 years ago
translators 9ff4ae0f5d (svn r15599) -Update: WebTranslator2 update to 2009-03-02 18:39:38
brazilian_portuguese - 4 fixed by tucalipe (4)
german     - 35 changed by planetmaker (35)
lithuanian - 49 fixed, 33 changed by Devastator (82)
16 years ago
rubidium b1c105e77e (svn r15598) -Fix [FS#2695]: crash when opening viewport while scrolling the map and the mouse 'lands' on the window decoration of the viewport. 16 years ago
rubidium 52f5717a66 (svn r15596) -Change: road vehicles can stop at stops when they own the stop, not when they own the road/tram track. 16 years ago
translators 6082ba65d7 (svn r15595) -Update: WebTranslator2 update to 2009-03-01 18:35:59
german     - 39 changed by planetmaker (39)
icelandic  - 80 fixed by scrooge (80)
italian    - 2 changed by lorenzodv (2)
lithuanian - 116 fixed by Devastator (116)
persian    - 219 fixed by ali sattari (219)
serbian    - 4 fixed by marko85nis (4)
16 years ago
translators ff348c8972 (svn r15594) -Update: WebTranslator2 update to 2009-02-28 18:51:15
arabic_egypt - 7 fixed by khaloofah (7)
french     - 1 fixed by glx (1)
frisian    - 51 fixed by luc (51)
german     - 25 changed by planetmaker (25)
italian    - 2 changed by lorenzodv (2)
korean     - 1 changed by leejaeuk5 (1)
persian    - 147 fixed, 2 changed by ali sattari (149)
swedish    - 4 fixed by Wiggelicous (4)
traditional_chinese - 87 changed by josesun (87)
ukrainian  - 4 fixed by mad (4)
urdu       - 22 fixed by yasirniazkhan (22)
16 years ago
yexo dbec2ec628 (svn r15593) -Change: the background of the the waypoint sign is now in the company color. 16 years ago
frosch e01106f66b (svn r15592) -Fix: Refit-info in purchase list did only check the first articulated part. 16 years ago