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
rubidium
f2f2a6d303
(svn r15623) -Fix (r15615): close the files you've opened
2009-03-05 22:14:27 +00:00
peter1138
7dd6f218ef
(svn r15622) -Codechange: Duplication.
2009-03-05 17:52:35 +00:00
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)
2009-03-05 17:37:56 +00:00
belugas
05fe2d8d21
(svn r15620) -Fix[FS#2699]: Error in documentation (Conditional Zenith).
2009-03-05 17:21:42 +00:00
michi_cc
a4aba77e49
(svn r15619) -Fix [FS#2701]: When trying to reserve a self-crossing path the failed reservation was sometimes not cleared completely.
2009-03-05 16:14:56 +00:00
rubidium
71d5bdd074
(svn r15618) -Cleanup: remove unneeded (empty) scenario directory.
...
Note: as you might know subversion has the tendency to also remove unversioned files when a directory is removed, so scenarios and heightmaps in that directory will be gone too.
2009-03-04 23:46:47 +00:00
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.
2009-03-04 23:32:23 +00:00
yexo
890c5e3ae4
(svn r15616) -Change [API CHANGE]: Rename AIOrder::ChangeOrder() to AIOrder::SetOrderFlags().
2009-03-04 23:12:48 +00:00
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.
2009-03-04 23:12:15 +00:00
yexo
ffe2caf20f
(svn r15614) -Add [NoAI]: AIVehicleList_Group(group_id) and AIVehicleList_DefaultGroup(vehicle_type).
2009-03-04 22:37:25 +00:00
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)
2009-03-04 18:38:12 +00:00
rubidium
a52d50c62f
(svn r15612) -Codechange: unduplicate directory creation
2009-03-04 14:25:53 +00:00
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
2009-03-04 10:02:00 +00:00
rubidium
0d8da02ec1
(svn r15610) -Change: allow loading of heightmaps and savegames (any form) that are in .tar files
2009-03-04 09:53:31 +00:00
peter1138
f0de54bc10
(svn r15609) -Fix: Code style...
2009-03-04 08:02:16 +00:00
rubidium
0682c1c46c
(svn r15608) -Codechange: use the file scanner to find the files for the saveload window.
2009-03-04 01:09:48 +00:00
rubidium
4f3da358ee
(svn r15607) -Codechange: support searching files without filtering on extension.
2009-03-04 00:19:42 +00:00
rubidium
d1d0778a54
(svn r15606) -Codechange: make it possible to not recursively search with the file scanner (i.e. only search a single directory).
2009-03-04 00:17:51 +00:00