Commit Graph

10974 Commits

Author SHA1 Message Date
peter1138 aad67b5736 (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 7cd579e7ef (svn r15311) -Fix (r15126): Obiwan error 2009-02-01 22:11:46 +00:00
translators 4a3ebf6966 (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 4a8736033f (svn r15309) -Fix (r15307): Update regression. (Thanks glx) 2009-02-01 18:46:45 +00:00
frosch de9a6fc90b (svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions. 2009-02-01 17:14:39 +00:00
frosch 317220c2e4 (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 c28c4c1986 (svn r15306) -Codechange: Deduplicate code by adding Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them) 2009-02-01 16:10:06 +00:00
rubidium 6d5cd47c74 (svn r15305) -Fix (r15299): missing include 2009-02-01 11:52:41 +00:00
frosch 2afa9312fc (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 16b9dcd0ea (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 969af4d97d (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 6899955b0c (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 6df312cd54 (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 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
smatz 416c7d5dda (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 a0df8d1338 (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 df79660531 (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 1c7cb8368c (svn r15295) -Fix [FS#2591] (r15190): Towns tried to build roads outside the map. 2009-01-29 16:14:46 +00:00
rubidium 627d54a081 (svn r15294) -Fix: accessing of inaccessible base 2009-01-29 08:08:03 +00:00
belugas d7971e5e37 (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 31adec86a0 (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 0e42a7bac7 (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 3671ed9e4f (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 bfde9f7eef (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 8877a0c9ae (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 7d64441008 (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 7dbd0582b6 (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 e836f18ff1 (svn r15285) -Fix: valgrind complaining about reading uninitialised memory when saving 2009-01-27 14:31:33 +00:00
Yexo ea01534e6d (svn r15284) -Fix [FS#2582] (r15045): Parameters were popped from the squirrel stack twice. 2009-01-27 13:11:11 +00:00
belugas 9bb57ec840 (svn r15283) -Documentation: Apply some widget naming to the widget arrays.
-Codechange : use a pointer of the same repetitive reference of a widget, rather than an index in the array.
2009-01-27 03:50:36 +00:00
glx 7d45e8b376 (svn r15282) -Fix: it was possible to start more than MAX_COMPANIES companies 2009-01-27 02:02:04 +00:00
smatz 9cf1a19762 (svn r15281) -Fix: company could never have auto-assigned colour 0 (dark blue) 2009-01-27 01:15:29 +00:00
peter1138 43121fc2cb (svn r15280) -Cleanup: ancient and vastly out of date comment... 2009-01-26 23:41:45 +00:00
smatz 3ac080425a (svn r15279) -Fix: deadlock (with wide fonts) or desync when generating manager name 2009-01-26 22:27:11 +00:00
smatz 659989af45 (svn r15278) -Fix [FS#2332]: test noise limit of nearest town instead of st->town 2009-01-26 21:09:17 +00:00
Yexo 7f9c91901e (svn r15277) -Fix (r15027): Building bridges in AITestMode always returned false. 2009-01-26 20:18:50 +00:00
translators d960d0a851 (svn r15276) -Update: WebTranslator2 update to 2009-01-26 18:54:43
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-26 18:54:56 +00:00
rubidium 450b9b7900 (svn r15275) -Fix: SDL adds _GNU_SOURCE to the defined macros even when the compiler doesn't provide the functions promised when that define exists... 2009-01-25 22:51:59 +00:00
smatz 562299d809 (svn r15274) -Fix (r8705): oldloader wasn't updated to use 64bit airport_flags 2009-01-25 22:50:00 +00:00
rubidium 18ed717410 (svn r15273) -Fix: OSK of the chat did not update the caret graphics 2009-01-25 22:16:08 +00:00
peter1138 7afd506301 (svn r15272) -Codechange: Check that engine types of vehicles are valid and 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 21:55:18 +00:00
peter1138 c4ccf1a28d (svn r15271) -Codechange: Use offsets for drawing elrail wires & pylons instead of absolute sprite IDs. 2009-01-25 19:27:13 +00:00
glx 062f32a186 (svn r15270) -Change [API CHANGE]: remove AIEventTest 2009-01-25 19:06:00 +00:00
glx fc965a75dc (svn r15269) -Codechange: reduced indentation in CmdBuildRail* 2009-01-25 15:35:21 +00:00
frosch ca10c5c6e3 (svn r15268) -Fix: AIEventVehicleLost triggered at every pbs signal independent of the vehicle being lost. 2009-01-25 13:20:13 +00:00
smatz 84848f8a28 (svn r15266) -Fix (r15159): compilation without threads was broken 2009-01-25 13:05:58 +00:00
glx c1cf3934fa (svn r15263) -Codechange: added Engine::GetCost() to remove some code duplication. 2009-01-25 00:57:03 +00:00
frosch 80ee3d3440 (svn r15262) -Fix: AIEvents were not freed, when they were not queued for any AI. 2009-01-24 21:38:30 +00:00
glx e8b5f49861 (svn r15261) -Add: added Engine::GetRunningCost() to remove some code duplication. Also stops AIs decrementing vehicle counter of first company 2009-01-24 20:14:15 +00:00
translators 7e7fab1b18 (svn r15260) -Update: WebTranslator2 update to 2009-01-24 18:45:20
arabic_egypt - 9 fixed by khaloofah (9)
brazilian_portuguese - 99 fixed by tucalipe (99)
catalan    - 22 fixed, 202 changed by arnaullv (224)
dutch      - 10 fixed by Excel20 (10)
finnish    - 10 fixed by jpx_ (10)
german     - 19 fixed by dih (19)
hungarian  - 10 fixed, 4 changed by IPG (4), alyr (7), oklmernok (3)
italian    - 22 fixed by lorenzodv (22)
korean     - 11 fixed, 1 changed by darkttd (12)
latvian    - 47 fixed by waste (47)
lithuanian - 14 fixed by Enternald (14)
romanian   - 10 fixed, 1 changed by kkmic (11)
simplified_chinese - 13 fixed by ww9980 (13)
spanish    - 10 fixed by Dominus (10)
turkish    - 12 fixed by Emin (12)
ukrainian  - 19 fixed by mad (19)
2009-01-24 18:45:40 +00:00