Commit Graph

11196 Commits

Author SHA1 Message Date
rubidium
ce1fcfd8c0 (svn r15335) -Change: use the patch change mechanism to change the road side too instead of a separate command. 2009-02-04 16:09:16 +00:00
smatz
e3216e4b4b (svn r15334) -Codechange: reset setting to old value when the callback procedure returns false 2009-02-04 15:01:37 +00:00
Yexo
9827e5cb57 (svn r15333) -Fix: AIs weren't restricted to a maximum length for ship orders. 2009-02-04 13:52:17 +00:00
smatz
3cb992de10 (svn r15332) -Fix (r15190): terrain generated from heightmaps always was at sea level at both southern borders 2009-02-04 01:07:53 +00:00
glx
6c1394121f (svn r15331) -Fix (r15330): remove extra semicolons 2009-02-03 23:30:23 +00:00
rubidium
2eebb52592 (svn r15330) -Fix [FS#2597]: leaking of Squirrel when using circular references (by enabling the GC). 2009-02-03 22:42:42 +00:00
Yexo
e628c5360d (svn r15328) -Fix (r15327): Load(data, version) was called instead of Load(version, data). 2009-02-03 21:05:32 +00:00
Yexo
9569bb12f3 (svn r15327) -Fix (r15027): AIs could access the map and other data in their constructor and Load() function while the savegame was not completely loaded. 2009-02-03 20:49:08 +00:00
frosch
55728d9e18 (svn r15326) -Fix: Old-ai-ishm when refitting vehicles. 2009-02-03 20:39:06 +00:00
translators
8d257edad3 (svn r15325) -Update: WebTranslator2 update to 2009-02-03 18:29:45
brazilian_portuguese - 1 fixed by tucalipe (1)
german     - 4 changed by planetmaker (3), hellow (1)
hebrew     - 615 fixed, 54 changed by 19izhar73 (669)
korean     - 6 changed by darkttd (6)
2009-02-03 18:29:55 +00:00
smatz
16d1904e70 (svn r15324) -Codechange: unify the class used for comparing of strings for std::map 2009-02-03 18:08:07 +00:00
rubidium
00222c6881 (svn r15323) -Fix: regression backed up game_start.scr but didn't/couldn't restore it. 2009-02-03 17:33:43 +00:00
Yexo
ef320e3f0c (svn r15322) -Fix (r15175): The AI list window didn't display information about the selected AI if it wasn't visible. 2009-02-02 22:57:22 +00:00
peter1138
4b30614f72 (svn r15321) -Codechange: Load road vehicle 'realistic' acceleration properties from NewGRF, and supply defaults as used by TTDPatch. These values are not yet used. 2009-02-02 21:52:34 +00:00
peter1138
d9c143669b (svn r15320) -Codechange: Increase 'realistic' acceleration 'resolution' by one bit by reducing a division and removing a multiplication: 3/4*2 = 0; 3/2 = 1. And a smidgeon less CPU usage, hah. 2009-02-02 21:38:36 +00:00
translators
e9c2c7b0dc (svn r15319) -Update: WebTranslator2 update to 2009-02-02 18:44:36
arabic_egypt - 3 fixed by khaloofah (3)
dutch      - 1 fixed by habell (1)
hebrew     - 533 fixed, 426 changed by 19izhar73 (959)
hungarian  - 1 fixed by oklmernok (1)
italian    - 1 changed by lorenzodv (1)
korean     - 6 changed by dlunch (6)
norwegian_nynorsk - 36 fixed by Thor (36)
polish     - 1 fixed by xaxa (1)
russian    - 1 fixed by Smoky555 (1)
spanish    - 1 fixed by Dominus (1)
2009-02-02 18:44:52 +00:00
smatz
c50d947784 (svn r15318) -Fix [FS#2594](r10288): don't warn about non-primary engines getting old 2009-02-02 16:49:11 +00:00
rubidium
2d489203c3 (svn r15317) -Fix: support Windows fonts with non-ASCII characters in their file name. Windows doesn't come with them by default, but one can easily install a font with non-ASCII name. 2009-02-02 15:01:19 +00:00
glx
47a61fb10c (svn r15316) -Fix [NoAI]: ignore unprintable chars when returning a string to squirrel 2009-02-02 13:46:26 +00:00
glx
a2b3d77df8 (svn r15315) -Fix (r15314): make gcc happy (for once) 2009-02-02 13:44:19 +00:00
rubidium
ea44395b1e (svn r15314) -Fix/hackaround [FS#2590]: fonts have a feature where they can have localised names. Windows thinks it's a feature to use the name matching the system's locale, Windows doesn't provide an API to get the font name given another locale and freetype uses the English locale to resolve the name when opening the font... This results in fonts that will can't be found and warnings that the fallback font can't be loaded. Work around this by 'manually' getting the non-localised font name from the font. 2009-02-02 13:30:13 +00:00
michi_cc
c875cb18d6 (svn r15313) -Cleanup: Use helper functions we already have and add some documentation. 2009-02-02 01:28:42 +00:00
peter1138
bce50498fc (svn r15312) -Codechange: Handle closing of drop down menus when clicking in a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe. 2009-02-01 22:32:07 +00:00
peter1138
bcb72d30d8 (svn r15311) -Fix (r15126): Obiwan error 2009-02-01 22:11:46 +00:00
translators
dd528e27b7 (svn r15310) -Update: WebTranslator2 update to 2009-02-01 18:46:42
catalan    - 1 fixed by arnaullv (1)
czech      - 1 fixed, 6 changed by Hadez (7)
finnish    - 1 fixed by jpx_ (1)
french     - 1 fixed by glx (1)
german     - 1 fixed, 4 changed by planetmaker (5)
indonesian - 2 fixed by fanioz (2)
italian    - 1 fixed by lorenzodv (1)
korean     - 1 fixed, 8 changed by leejaeuk5 (8), darkttd (1)
latvian    - 128 fixed by waste (128)
portuguese - 1 fixed by SnowFlake (1)
romanian   - 1 fixed by kkmic (1)
simplified_chinese - 2 fixed by ww9980 (2)
slovenian  - 101 fixed by Necrolyte (101)
turkish    - 1 fixed by Emin (1)
ukrainian  - 2 fixed by mad (2)
2009-02-01 18:47:05 +00:00
frosch
1a4237eba1 (svn r15309) -Fix (r15307): Update regression. (Thanks glx) 2009-02-01 18:46:45 +00:00
frosch
61a893d6fd (svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions. 2009-02-01 17:14:39 +00:00
frosch
be395d0f3d (svn r15307) -Fix: AIVehicle::GetCurrentSpeed() should also use km-ish/h instead of mph. (Documentation by Rubidium) 2009-02-01 16:21:18 +00:00
frosch
9c2ba4f96a (svn r15306) -Codechange: Deduplicate code by adding Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them) 2009-02-01 16:10:06 +00:00
rubidium
ecb685411a (svn r15305) -Fix (r15299): missing include 2009-02-01 11:52:41 +00:00
frosch
4b0223976f (svn r15304) -Fix [FS#2587]: When loading savegames use the roadtype of the front vehicles just like it is done on construction. 2009-02-01 11:38:18 +00:00
smatz
c71949729e (svn r15303) -Fix (r12381): desync if a GRF used town's last month max. pass/mail 2009-02-01 00:50:32 +00:00
rubidium
eb505888ea (svn r15302) -Add: example file for on_server_connect.scr and document it in the scripts readme 2009-01-31 23:50:53 +00:00
peter1138
b3f3df76e8 (svn r15301) -Feature [FS#104]: Add option to group and subtotal expenses list in the company finance window. Concept from Zr40. 2009-01-31 21:27:36 +00:00
rubidium
faeafbef5e (svn r15300) -Cleanup: remove an unused icon and remove the references to swedish forgotten in r6358. 2009-01-31 21:01:16 +00:00
smatz
9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
smatz
484afacd63 (svn r15298) -Fix [FS#2588]: don't start another AI company in MP when there are too many companies 2009-01-31 17:56:06 +00:00
translators
ed6b8410e5 (svn r15297) -Update: WebTranslator2 update to 2009-01-30 18:45:08
brazilian_portuguese - 1 fixed by tucalipe (1)
catalan    - 1 fixed by arnaullv (1)
czech      - 1 fixed by Hadez (1)
dutch      - 1 fixed by Excel20 (1)
finnish    - 1 fixed by jpx_ (1)
french     - 1 fixed by belugas (1)
german     - 1 fixed, 5 changed by planetmaker (6)
hebrew     - 14 fixed, 54 changed by 19izhar73 (54), omri.kipi (14)
hungarian  - 1 fixed by IPG (1)
italian    - 1 fixed by lorenzodv (1)
korean     - 1 fixed, 2 changed by darkttd (2), dlunch (1)
latvian    - 76 fixed by KiitsLV (76)
polish     - 13 fixed by xaxa (13)
portuguese - 1 fixed by SnowFlake (1)
romanian   - 1 fixed by kkmic (1)
russian    - 24 fixed by Smoky555 (24)
spanish    - 1 fixed by eusebio (1)
traditional_chinese - 123 fixed, 62 changed by josesun (185)
turkish    - 1 fixed by Emin (1)
ukrainian  - 7 fixed by mad (7)
2009-01-30 18:45:33 +00:00
smatz
1dcbba1c2d (svn r15296) -Cleanup: remove redundant _MSC_VER >= 1400 checks, older versions aren't supported anymore. One check in stdafx.h is enough 2009-01-30 17:54:48 +00:00
Yexo
6d22822faf (svn r15295) -Fix [FS#2591] (r15190): Towns tried to build roads outside the map. 2009-01-29 16:14:46 +00:00
rubidium
19a2029206 (svn r15294) -Fix: accessing of inaccessible base 2009-01-29 08:08:03 +00:00
belugas
2e634428f3 (svn r15293) -Feature [FS#2583]: Give a more meaningful message when towns refuse construction of noise-controlled airports 2009-01-29 03:12:31 +00:00
belugas
7d4952ae30 (svn r15292) -Fix(r15290): Incrementing something that is already set to the correct value is a bit of a no-no
Also, protect against such misuse with an assert.
2009-01-29 03:07:34 +00:00
Yexo
e8f190849e (svn r15291) -Cleanup: Move the station list widgets to their class from station_gui.h
-Fix: comment for ReallocT was wrong, the memory is not zeroed.
2009-01-29 02:42:36 +00:00
belugas
a57c73e2f9 (svn r15290) -Codechange: Isolate size and section of the UnMovable HQ object, in order to keep the Unmovable type free of any irrelevant data 2009-01-28 19:57:23 +00:00
translators
0809ff6767 (svn r15289) -Update: WebTranslator2 update to 2009-01-28 18:48:19
german     - 3 fixed by planetmaker (3)
indonesian - 22 fixed by fanioz (22)
korean     - 3 changed by darkttd (1), dlunch (2)
polish     - 6 fixed by xaxa (6)
portuguese - 140 fixed, 4 changed by nars (144)
romanian   - 1 changed by kkmic (1)
simplified_chinese - 3 fixed by ww9980 (3)
2009-01-28 18:48:30 +00:00
Yexo
268d298a36 (svn r15288) -Fix (r15212): Don't set the newgame setting for water borders to a random value if it's 'random' when the newgame gui is opened. 2009-01-28 13:36:11 +00:00
rubidium
4e0505633d (svn r15287) -Cleanup: some code style, remove erroneous comment.
-Document: the fact that zlib reads uninitialised data (valgrind notices this) and that it won't be fixed in zlib and that we can't do anything about it except ignoring it.
2009-01-27 21:51:06 +00:00
frosch
9a0d88176b (svn r15286) -Fix: Refitting did not invalidate vehicle-colour-maps of road-vehicles, ships and aircraft, as well vehicle-length of road-vehicles. 2009-01-27 19:44:36 +00:00
rubidium
993ba73aff (svn r15285) -Fix: valgrind complaining about reading uninitialised memory when saving 2009-01-27 14:31:33 +00:00