Commit Graph

11010 Commits

Author SHA1 Message Date
belugas 63cc1bd21f (svn r15349) -Codechange: no need to call a function when we know there is not going to be any change to the returned result 2009-02-05 03:17:30 +00:00
michi_cc f936afa64a (svn r15348) -Fix (r15347): Preferred pylon position is dependant on the masked wires as well. 2009-02-05 02:07:13 +00:00
michi_cc 31a17a4add (svn r15347) -Feature [FS#1761]: Don't draw superfluous catenary wires (based on a patch by Eddi). 2009-02-05 01:33:59 +00:00
Yexo f2907d816f (svn r15346) -Add [NoAI]: Add AIAirport::GetNearestTown() so AIs can known in which town the noise level will increase. 2009-02-05 01:15:54 +00:00
Yexo 62a11eb5a9 (svn r15345) -Add [NoAI]: Add AIVehicle::HasSharedOrders() and AIVehicleList_SharedOrders. 2009-02-05 01:12:49 +00:00
rubidium 364e2a110d (svn r15344) -Change [Makefile]: don't recompile everything when english.txt changes, but only whatever includes table/strings.h. 2009-02-04 23:40:01 +00:00
Yexo b321130d9a (svn r15343) -Add [NoAI]: Add AITown::GetRoadLayout so AIs can get the road layout per town. 2009-02-04 23:26:21 +00:00
smatz df2a387fc3 (svn r15342) -Feature: allow changing town layout in the 'Found new town' window 2009-02-04 22:52:34 +00:00
smatz 47516b31a7 (svn r15341) -Update (r15340): remove deleted and modified strings from other language files 2009-02-04 20:24:11 +00:00
smatz 832e392855 (svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly road networks
-Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore
-Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
2009-02-04 20:17:25 +00:00
translators 030984a763 (svn r15339) -Update: WebTranslator2 update to 2009-02-04 18:39:16
arabic_egypt - 1 fixed by khaloofah (1)
german     - 1 changed by planetmaker (1)
hebrew     - 668 fixed, 19 changed by 19izhar73 (687)
korean     - 10 changed by leejaeuk5 (10)
serbian    - 6 fixed, 4 changed by salejemaster (10)
2009-02-04 18:39:33 +00:00
rubidium ac7757324e (svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company. 2009-02-04 16:59:41 +00:00
rubidium b6e6be58da (svn r15337) -Fix: don't allow a spectating server to build stuff. 2009-02-04 16:57:40 +00:00
rubidium 7da743a0dc (svn r15336) -Fix: do not use _current_company in the GUI as there are no guarantees that _current_company is the same as _local_company. 2009-02-04 16:45:07 +00:00
rubidium 09fca459a7 (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 496b541cb1 (svn r15334) -Codechange: reset setting to old value when the callback procedure returns false 2009-02-04 15:01:37 +00:00
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
glx cabedf173d (svn r15331) -Fix (r15330): remove extra semicolons 2009-02-03 23:30:23 +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
rubidium d23db8306e (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 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 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