summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-02-04(svn r15335) -Change: use the patch change mechanism to change the road side ↵rubidium
too instead of a separate command.
2009-02-04(svn r15334) -Codechange: reset setting to old value when the callback ↵smatz
procedure returns false
2009-02-04(svn r15333) -Fix: AIs weren't restricted to a maximum length for ship orders.Yexo
2009-02-04(svn r15332) -Fix (r15190): terrain generated from heightmaps always was at ↵smatz
sea level at both southern borders
2009-02-03(svn r15330) -Fix [FS#2597]: leaking of Squirrel when using circular ↵rubidium
references (by enabling the GC).
2009-02-03(svn r15328) -Fix (r15327): Load(data, version) was called instead of ↵Yexo
Load(version, data).
2009-02-03(svn r15327) -Fix (r15027): AIs could access the map and other data in their ↵Yexo
constructor and Load() function while the savegame was not completely loaded.
2009-02-03(svn r15326) -Fix: Old-ai-ishm when refitting vehicles.frosch
2009-02-03(svn r15325) -Update: WebTranslator2 update to 2009-02-03 18:29:45translators
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(svn r15324) -Codechange: unify the class used for comparing of strings for ↵smatz
std::map
2009-02-02(svn r15322) -Fix (r15175): The AI list window didn't display information ↵Yexo
about the selected AI if it wasn't visible.
2009-02-02(svn r15321) -Codechange: Load road vehicle 'realistic' acceleration ↵peter1138
properties from NewGRF, and supply defaults as used by TTDPatch. These values are not yet used.
2009-02-02(svn r15320) -Codechange: Increase 'realistic' acceleration 'resolution' by ↵peter1138
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(svn r15319) -Update: WebTranslator2 update to 2009-02-02 18:44:36translators
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(svn r15318) -Fix [FS#2594](r10288): don't warn about non-primary engines ↵smatz
getting old
2009-02-02(svn r15317) -Fix: support Windows fonts with non-ASCII characters in their ↵rubidium
file name. Windows doesn't come with them by default, but one can easily install a font with non-ASCII name.
2009-02-02(svn r15316) -Fix [NoAI]: ignore unprintable chars when returning a string ↵glx
to squirrel
2009-02-02(svn r15315) -Fix (r15314): make gcc happy (for once)glx
2009-02-02(svn r15314) -Fix/hackaround [FS#2590]: fonts have a feature where they can ↵rubidium
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(svn r15313) -Cleanup: Use helper functions we already have and add some ↵michi_cc
documentation.
2009-02-01(svn r15312) -Codechange: Handle closing of drop down menus when clicking in ↵peter1138
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(svn r15311) -Fix (r15126): Obiwan errorpeter1138
2009-02-01(svn r15310) -Update: WebTranslator2 update to 2009-02-01 18:46:42translators
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(svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions.frosch
2009-02-01(svn r15307) -Fix: AIVehicle::GetCurrentSpeed() should also use km-ish/h ↵frosch
instead of mph. (Documentation by Rubidium)
2009-02-01(svn r15306) -Codechange: Deduplicate code by adding ↵frosch
Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them)
2009-02-01(svn r15305) -Fix (r15299): missing includerubidium
2009-02-01(svn r15304) -Fix [FS#2587]: When loading savegames use the roadtype of the ↵frosch
front vehicles just like it is done on construction.
2009-02-01(svn r15303) -Fix (r12381): desync if a GRF used town's last month max. ↵smatz
pass/mail
2009-01-31(svn r15301) -Feature [FS#104]: Add option to group and subtotal expenses ↵peter1138
list in the company finance window. Concept from Zr40.
2009-01-31(svn r15300) -Cleanup: remove an unused icon and remove the references to ↵rubidium
swedish forgotten in r6358.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-31(svn r15298) -Fix [FS#2588]: don't start another AI company in MP when there ↵smatz
are too many companies
2009-01-30(svn r15297) -Update: WebTranslator2 update to 2009-01-30 18:45:08translators
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(svn r15296) -Cleanup: remove redundant _MSC_VER >= 1400 checks, older ↵smatz
versions aren't supported anymore. One check in stdafx.h is enough
2009-01-29(svn r15295) -Fix [FS#2591] (r15190): Towns tried to build roads outside the ↵Yexo
map.
2009-01-29(svn r15294) -Fix: accessing of inaccessible baserubidium
2009-01-29(svn r15293) -Feature [FS#2583]: Give a more meaningful message when towns ↵belugas
refuse construction of noise-controlled airports
2009-01-29(svn r15292) -Fix(r15290): Incrementing something that is already set to the ↵belugas
correct value is a bit of a no-no Also, protect against such misuse with an assert.
2009-01-29(svn r15291) -Cleanup: Move the station list widgets to their class from ↵Yexo
station_gui.h -Fix: comment for ReallocT was wrong, the memory is not zeroed.
2009-01-28(svn r15290) -Codechange: Isolate size and section of the UnMovable HQ ↵belugas
object, in order to keep the Unmovable type free of any irrelevant data
2009-01-28(svn r15289) -Update: WebTranslator2 update to 2009-01-28 18:48:19translators
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(svn r15288) -Fix (r15212): Don't set the newgame setting for water borders ↵Yexo
to a random value if it's 'random' when the newgame gui is opened.
2009-01-27(svn r15287) -Cleanup: some code style, remove erroneous comment.rubidium
-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(svn r15286) -Fix: Refitting did not invalidate vehicle-colour-maps of ↵frosch
road-vehicles, ships and aircraft, as well vehicle-length of road-vehicles.
2009-01-27(svn r15285) -Fix: valgrind complaining about reading uninitialised memory ↵rubidium
when saving
2009-01-27(svn r15284) -Fix [FS#2582] (r15045): Parameters were popped from the ↵Yexo
squirrel stack twice.
2009-01-27(svn r15283) -Documentation: Apply some widget naming to the widget arrays.belugas
-Codechange : use a pointer of the same repetitive reference of a widget, rather than an index in the array.
2009-01-27(svn r15282) -Fix: it was possible to start more than MAX_COMPANIES companiesglx
2009-01-27(svn r15281) -Fix: company could never have auto-assigned colour 0 (dark blue)smatz