Commit Graph

5148 Commits

Author SHA1 Message Date
Yexo 3cf7255c4f (svn r15333) -Fix: AIs weren't restricted to a maximum length for ship orders. 2009-02-04 13:52:17 +00:00
smatz d2a725ec94 (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
rubidium 1c30c8c801 (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 101f55e65c (svn r15328) -Fix (r15327): Load(data, version) was called instead of Load(version, data). 2009-02-03 21:05:32 +00:00
Yexo 1892c34ac6 (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 9c4c0ff3a1 (svn r15326) -Fix: Old-ai-ishm when refitting vehicles. 2009-02-03 20:39:06 +00:00
translators ff2720c56e (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 5ad1cd32b2 (svn r15324) -Codechange: unify the class used for comparing of strings for std::map 2009-02-03 18:08:07 +00:00
Yexo a5807f4a77 (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 5e6e4417a5 (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 48e6e7d586 (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 5105cd2c6b (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 9723630cea (svn r15318) -Fix [FS#2594](r10288): don't warn about non-primary engines getting old 2009-02-02 16:49:11 +00:00
rubidium 7e928974a7 (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 6d6e2232ea (svn r15316) -Fix [NoAI]: ignore unprintable chars when returning a string to squirrel 2009-02-02 13:46:26 +00:00
glx c6bc3b8692 (svn r15315) -Fix (r15314): make gcc happy (for once) 2009-02-02 13:44:19 +00:00
rubidium ad210c7647 (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 44016a4d6e (svn r15313) -Cleanup: Use helper functions we already have and add some documentation. 2009-02-02 01:28:42 +00:00
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 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
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