smatz
c622a81fee
(svn r15680) -Cleanup: remove redundant comment
16 years ago
belugas
3afcef02aa
(svn r15679) -Cleanup: Little code-style application
16 years ago
rubidium
0ca15db98f
(svn r15678) -Fix (r15676): crash when (re)applying newgrf settings
16 years ago
rubidium
404cff525b
(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
b003536ea8
(svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove.
16 years ago
rubidium
49d6804f97
(svn r15675) -Codechange: don't unnecessarily mark vehicles dirty before deleting them; it already happens in the destructor.
16 years ago
translators
44f3c56905
(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
5896f5db57
(svn r15673) -Fix: it was not possible to compile a win32 dedicated server (even if 'configure --enable-dedicated' passed)
16 years ago
rubidium
9d0c77b123
(svn r15672) -Codechange: (left,right,top,bottom)_coord -> coord.(left,right,top,bottom), i.e. use Rect.
16 years ago
rubidium
77a1323eef
(svn r15671) -Codechange: bit of coding style/clarification.
16 years ago
yexo
efd0607688
(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
fbe159ab9e
(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
28c49b694a
(svn r15668) -Fix: a few typos.
16 years ago
yexo
3f9a117ad2
(svn r15667) -Fix (r15601)[FS#2718]: It was possible to remove rail tunnels/bridges and aqueducts build by rival companies.
16 years ago
rubidium
0aeed2b96a
(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
812f6b8676
(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
08862489f1
(svn r15664) -Fix [FS#2716]: as always windows needs special handling when strings are involved
16 years ago
rubidium
e48142c4db
(svn r15663) -Fix: growing of vsize as (some) threads weren't properly released.
16 years ago
peter1138
88e641282c
(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
03bb87c6b8
(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
4a6a30cc52
(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
b743e49bf4
(svn r15657) -Fix [FS#2716]: undeterministic file sorting when the date is equal for all files
16 years ago
frosch
4cc20fe0ae
(svn r15656) -Fix: Changing dynamic_engines also requires reloading newgrfs as well as resetting the OverrideManager.
16 years ago
michi_cc
1c9749dba8
(svn r15655) -Codechange: Initialise vehicle vars only after a placement new so possible default constructors don't overwrite the values.
16 years ago
frosch
90a81da62b
(svn r15654) -Fix: Only ever call any vehicle callbacks after the whole articulated engine has been built. (except 0x16)
16 years ago
translators
0f2af50231
(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
80133f67ea
(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
0418e2c9d1
(svn r15651) -Codechange: Codestyle and comments.
16 years ago
peter1138
c952464447
(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
75a32223c6
(svn r15649) -Fix (r15556): don't unnecessarily reallocate
16 years ago
rubidium
236ca3ae17
(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
59cdb3e085
(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
fd1609fd11
(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
959c297fb9
(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
880d296b25
(svn r15644) -Fix [FS#2710]: closing a network connection twice in the case that sending packets starts failing while disconnecting
16 years ago
smatz
e57699d8c0
(svn r15643) -Fix [FS#2711]: be more strict with zeroing unused map array bits
16 years ago
smatz
f5b24edc1e
(svn r15642) -Codechange: use a default parameter value in CalcClosestTownFromTile
16 years ago
rubidium
c718984618
(svn r15641) -Fix: some gcc compilers seem to be chosing the C++ standard for strrchr, others the C standard...
16 years ago
smatz
19c01ee0ec
(svn r15640) -Fix [FS#2712]: game crashes when network pools are empty, so always allocate at least one pool block
16 years ago
yexo
47803bc3a7
(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
6f9cb26000
(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
bc56b0edf7
(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
08aa328934
(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
7c084bb3e6
(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
8c68010ace
(svn r15634) -Fix (r15632): some compilers seem to warn about the return value of fscanf.
16 years ago
yexo
83c6b98232
(svn r15633) -Fix (r15632): apparently there are several conflicting definitions of the arguments / return values of strrchr.
16 years ago
rubidium
d5762a5069
(svn r15632) -Feature: allow downloading scenarios and heightmaps via bananas.
16 years ago
translators
86229361c8
(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
76c0f51cf5
(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
a53062dd80
(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
154b4da4cc
(svn r15628) -Fix [FS#2705]: kicking/banning a client from the Client list window crashed the server
16 years ago
belugas
ef4476d92d
(svn r15627) -Documentation: Add two Doxygen strings (Alberth).
16 years ago
rubidium
34bd9ee636
(svn r15626) -Fix [FS#2698]: UTF8 string handling could cause buffer overruns.
16 years ago
smatz
9c6d6c0d0e
(svn r15625) -Codechange: remove unneeded assert
16 years ago
smatz
488b7e6bf6
(svn r15624) -Fix (r15621): warning about comparing signed and unsigned integer types
16 years ago
rubidium
bb48bfe1df
(svn r15623) -Fix (r15615): close the files you've opened
16 years ago
peter1138
85569a4559
(svn r15622) -Codechange: Duplication.
16 years ago
peter1138
c50730d57b
(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
866e0d0924
(svn r15620) -Fix[FS#2699]: Error in documentation (Conditional Zenith).
16 years ago
michi_cc
09f95fa801
(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
b9aa5e17f2
(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
0860685417
(svn r15616) -Change [API CHANGE]: Rename AIOrder::ChangeOrder() to AIOrder::SetOrderFlags().
16 years ago
rubidium
8a6f72d26a
(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
89fc2b2b08
(svn r15614) -Add [NoAI]: AIVehicleList_Group(group_id) and AIVehicleList_DefaultGroup(vehicle_type).
16 years ago
translators
25d0b8893a
(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
013e354c47
(svn r15612) -Codechange: unduplicate directory creation
16 years ago
rubidium
f16f7e2c92
(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
a6ca7b8237
(svn r15610) -Change: allow loading of heightmaps and savegames (any form) that are in .tar files
16 years ago
peter1138
ceea4927df
(svn r15609) -Fix: Code style...
16 years ago
rubidium
1bd82bf71d
(svn r15608) -Codechange: use the file scanner to find the files for the saveload window.
16 years ago
rubidium
d82e5d205f
(svn r15607) -Codechange: support searching files without filtering on extension.
16 years ago
rubidium
fb978c04b1
(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
9e3449ecc9
(svn r15605) -Codechange: constify a function
16 years ago
rubidium
56b6d78bf7
(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
2972ad372b
(svn r15603) -Fix [FS#2696]: crash when using an extraordinarily large sprite as cursor.
16 years ago
translators
08cf37ccc2
(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
9f2a906bc1
(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
90841d55ab
(svn r15600) -Fix (r0): Replace a newline in a news message by four spaces before drawing it in the statusbar.
16 years ago
translators
c63629116c
(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
83888098db
(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
251f6f676f
(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
a715775bcf
(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
4a77721795
(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
9352acf271
(svn r15593) -Change: the background of the the waypoint sign is now in the company color.
16 years ago
frosch
da78726e0c
(svn r15592) -Fix: Refit-info in purchase list did only check the first articulated part.
16 years ago
translators
d97b0ce864
(svn r15591) -Update: WebTranslator2 update to 2009-02-27 18:16:01
...
afrikaans - 6 changed by Ludslad (6)
catalan - 1 fixed by arnaullv (1)
danish - 4 fixed by ThomasA (4)
dutch - 4 fixed by habell (4)
finnish - 1 fixed by jpx_ (1)
frisian - 41 fixed, 8 changed by luc (49)
german - 1 fixed by planetmaker (1)
hungarian - 1 fixed by alyr (1)
indonesian - 4 fixed by fanioz (4)
italian - 1 fixed, 2 changed by lorenzodv (3)
korean - 4 fixed, 35 changed by leejaeuk5 (8), darkttd (31)
portuguese - 1 fixed by izhirahider (1)
romanian - 1 fixed, 1 changed by kkmic (2)
russian - 1 fixed by Smoky555 (1)
spanish - 4 fixed by eusebio (3), erregerre (1)
turkish - 4 fixed by Emin (4)
welsh - 1 fixed, 5 changed by PlayDead (6)
16 years ago
yexo
c1b27cf648
(svn r15590) -Fix (r15584): _screenshot_name is an array, not a char * pointer.
16 years ago
smatz
faf959de65
(svn r15589) -Fix: drawing of waypoints with invalid owner was broken
...
-Change: don't take over waypoints without owner, it could belong to a bankrupted company (and the code was broken) - savegame conversion code is a bit more liberal now, too
16 years ago
smatz
e7c2479216
(svn r15588) -Fix: change owner of waypoints and deleted stations when merging companies or when a company benkrupts
16 years ago
yexo
1362d2c16b
(svn r15587) -Fix (r15345): I should really test even those simple api functions better.
16 years ago
yexo
ddca27b1ab
(svn r15586) -Fix [FS#2687]: Changing vehicle.dynamic_engines when there are already vehicles can cause crashes.
16 years ago
yexo
894d61ca47
(svn r15585) -Codechange: Remove TILE_ASSERT and replace all instances with assert(tile < MapSize()).
16 years ago
yexo
b8601d903d
(svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers.
16 years ago
frosch
8ebe68b01b
(svn r15583) -Fix: Do not use TILE_MASK when you do not want to wrap around them map.
16 years ago
frosch
751a9bdf0a
(svn r15582) -Cleanup: Remove unused function AdjustTileCoordRandomly(). Btw. it would also cause desyncs and wrap around the map.
16 years ago
translators
f6d8e60799
(svn r15581) -Update: WebTranslator2 update to 2009-02-25 18:44:53
...
afrikaans - 7 changed by Ludslad (7)
catalan - 3 fixed by arnaullv (3)
czech - 3 fixed by Hadez (3)
danish - 12 fixed, 13 changed by ThomasA (25)
dutch - 3 fixed by habell (3)
english_US - 3 fixed by WhiteRabbit (3)
estonian - 54 fixed by t2t2 (54)
finnish - 3 fixed by jpx_ (3)
french - 3 fixed, 8 changed by belugas (8), glx (3)
german - 3 fixed by planetmaker (3)
hungarian - 3 fixed by alyr (3)
italian - 3 fixed by lorenzodv (3)
norwegian_bokmal - 7 fixed by christian (7)
romanian - 3 fixed, 5 changed by kkmic (8)
russian - 3 fixed by Smoky555 (3)
slovak - 3 fixed by James (3)
traditional_chinese - 37 fixed by irvin (37)
welsh - 3 fixed by welshdragon (3)
16 years ago
rubidium
0d12c46b5e
(svn r15580) -Fix [FS#2684]: last activity time not properly updated causing downloads to be aborted after a minute.
16 years ago
rubidium
a9dd6dc2f5
(svn r15578) -Change: unexternalise squirrel.
16 years ago
rubidium
b2def94607
(svn r15577) -Codechange: bool _networking belongs in network/ not gfx.cpp
16 years ago
yexo
7e818f0456
(svn r15576) -Codechange: rename SwitchModes to SwitchMode and don't hardcode the values for that enum.
16 years ago