summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2009-01-26(svn r15280) -Cleanup: ancient and vastly out of date comment...peter1138
2009-01-26(svn r15279) -Fix: deadlock (with wide fonts) or desync when generating ↵smatz
manager name
2009-01-26(svn r15278) -Fix [FS#2332]: test noise limit of nearest town instead of ↵smatz
st->town
2009-01-26(svn r15277) -Fix (r15027): Building bridges in AITestMode always returned ↵Yexo
false.
2009-01-26(svn r15276) -Update: WebTranslator2 update to 2009-01-26 18:54:43translators
catalan - 1 changed by arnaullv (1) croatian - 75 fixed by tifached (75) czech - 22 fixed, 2 changed by Hadez (24) french - 10 fixed by glx (10) german - 4 fixed by Athaba (4) greek - 10 changed by tek1979 (10) italian - 7 changed by lorenzodv (7) korean - 3 changed by darkttd (3) romanian - 7 changed by kkmic (7) simplified_chinese - 8 fixed, 33 changed by ww9980 (41)
2009-01-25(svn r15275) -Fix: SDL adds _GNU_SOURCE to the defined macros even when the ↵rubidium
compiler doesn't provide the functions promised when that define exists...
2009-01-25(svn r15274) -Fix (r8705): oldloader wasn't updated to use 64bit airport_flagssmatz
2009-01-25(svn r15273) -Fix: OSK of the chat did not update the caret graphicsrubidium
2009-01-25(svn r15272) -Codechange: Check that engine types of vehicles are valid and ↵peter1138
for the correct type on loading a game. This prevents a crash/assertion failure if required NewGRFs are not available. This won't make the game playable, but will let you see what NewGRFs are required.
2009-01-25(svn r15271) -Codechange: Use offsets for drawing elrail wires & pylons ↵peter1138
instead of absolute sprite IDs.