Commit Graph

11219 Commits

Author SHA1 Message Date
smatz 69789f3008 (svn r22042) -Fix: when loading a TTO/TTD savegame, verify we can allocate a CargoPacket before actually trying to do so 2011-02-09 18:56:40 +00:00
smatz fbfb0ffbf2 (svn r22041) -Codechange: add a check that we called PoolItem::CanAllocateItem() before actually allocating it 2011-02-09 18:55:51 +00:00
rubidium 67cbee4f64 (svn r22040) -Codechange: handle case where too many Engines would be loaded, and ensure we don't overfill the SpriteGroup pool 2011-02-09 18:46:55 +00:00
translators f50f57b4d8 (svn r22039) -Update from WebTranslator v3.0:
dutch - 3 changes by habell
korean - 3 changes by junho2813
brazilian_portuguese - 99 changes by Luis_Mizuchiro
serbian - 1 changes by etran
2011-02-09 18:45:16 +00:00
terkhen 0828653cf9 (svn r22038) -Fix (r21406): Tab completion in chat did not cycle through all possible options. 2011-02-09 15:57:03 +00:00
rubidium e76465bab9 (svn r22037) -Codechange: remove some unneeded (hidden) casting 2011-02-09 13:21:50 +00:00
rubidium f4f5de5be1 (svn r22036) -Codechange: rename units to match coding style, and give conversion variables a more descriptive name 2011-02-09 13:05:04 +00:00
rubidium fbb5f87801 (svn r22035) -Codechange: refactor (display) unit conversion to happen at a single place 2011-02-09 12:59:39 +00:00
rubidium 7c254110c0 (svn r22034) -Fix [FS#4488]: crash when watching the vehicle view of a vehicle that has multiple sequential nearest depot orders (or consists of a single nearest depot order) when there is no depot with index 0 2011-02-08 22:36:16 +00:00
smatz 5ccf5cc551 (svn r22033) -Fix: don't crash when there are too many objects generated already when placing transmitters 2011-02-08 21:49:39 +00:00
rubidium 05a846a574 (svn r22032) -Codechange: add some asserts to verify we don't allocate too many NetworkClientSockets/Infos 2011-02-08 21:47:10 +00:00
rubidium 537bd8a429 (svn r22031) -Fix: bad servers could crash a client 2011-02-08 21:45:38 +00:00
rubidium 5f7439a00f (svn r22030) -Cleanup: dead code in NetworkGameWindow::OnInvalidateData (adf88) 2011-02-08 20:52:38 +00:00
rubidium e1eeca6440 (svn r22029) -Fix [FS#4482]: the server list got not resorted/redrawn after NewGRFs were downloaded 2011-02-08 20:51:30 +00:00
rubidium 5286de116b (svn r22028) -Cleanup: remove traces of a debugging "feature" that got disabled a long time ago 2011-02-08 20:47:48 +00:00
translators 0c873d2bc6 (svn r22027) -Update from WebTranslator v3.0:
traditional_chinese - 38 changes by josesun
luxembourgish - 12 changes by Phreeze
2011-02-08 18:45:09 +00:00
smatz 9cd5243d04 (svn r22026) -Fix: don't crash when we generate too many objects while generating map 2011-02-08 18:39:29 +00:00
smatz 887a7724dc (svn r22025) -Fix: verify there is enough space in the pool when creating new pool items while loading old savegames 2011-02-08 18:34:13 +00:00
smatz 364ef8e6e6 (svn r22024) -Fix [FS#4468]: verify we can allocate an OrderList before we actually try to do so (Rubidium) 2011-02-08 18:29:30 +00:00
smatz b4273bcd35 (svn r22023) -Fix: verify we can allocate a CargoPacket and CargoPayment before we actually try to do so
-Codechange: increase the limit of number of CargoPayments to match the limit of Vehicles (Rubidium)
2011-02-08 18:27:21 +00:00
smatz 7af2470a78 (svn r22022) -Fix [FS#4468]: verify we can allocate an order before we actually try to do so 2011-02-08 18:21:55 +00:00
rubidium 1d0d7635e0 (svn r22021) -Fix (r22019): ofcourse make doesn't notice files are gone, so it doesn't recompile everything that needs to be recompiled... 2011-02-07 22:49:38 +00:00
rubidium a06b34bd4f (svn r22020) -Fix: load of failures of WT3 to properly validate some strings... 2011-02-07 22:40:01 +00:00
rubidium 0395aab420 (svn r22019) -Codechange: s/functions.h/clear_func.h/ 2011-02-07 22:38:02 +00:00
rubidium bc3ce1e53b (svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h 2011-02-07 22:37:22 +00:00
rubidium faf5d899f7 (svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.h 2011-02-07 22:29:47 +00:00
rubidium 68ace1b79b (svn r22016) -Fix [FS#4479]: when paused and having the allowed actions while paused setting on "no actions" cheating money would fail 2011-02-07 22:23:37 +00:00
rubidium 3745ff7338 (svn r22015) -Codechange: move yet another pair of methods from functions.h 2011-02-07 22:22:20 +00:00
rubidium ec9e0690eb (svn r22014) -Codechange: move some more functions out of functions.h 2011-02-07 22:15:46 +00:00
rubidium 750d369a2a (svn r22013) -Codechange: move some functions out of functions.h 2011-02-07 22:08:11 +00:00
planetmaker 68d03b66e3 (svn r22012) -Add: [NewGRF] Test all industry layouts also when prospecting 2011-02-07 20:47:58 +00:00
planetmaker 44495f8dba (svn r22011) -Codechange: Rename a few variables and enhance code clearity 2011-02-07 20:47:06 +00:00
planetmaker 64280e63fb (svn r22010) -Feature-ette [FS#4131]: [NewGRF] Test all possible industry layouts during construction and add another pony to andy's stables 2011-02-07 20:45:31 +00:00
translators 28a72bbf47 (svn r22009) -Update from WebTranslator v3.0:
belarusian - 2 changes by KorneySan
croatian - 11 changes by VoyagerOne
estonian - 3 changes by notAbot
romanian - 10 changes by kkmic
russian - 5 changes by KorneySan, Lone_Wolf, perk11
spanish - 3 changes by Terkhen
swedish - 9 changes by Ledel
2011-02-07 18:45:26 +00:00
rubidium 79fd8a362b (svn r22007) -Change: only show one AI per unique ID instead of all versions in the output of "openttd -h" 2011-02-07 09:51:16 +00:00
rubidium 64cba95fbe (svn r22006) -Fix [FS#4480]: smoke/sparks of trains would be shown under bridges, or rather through bridges 2011-02-07 09:50:20 +00:00
rubidium cebe8ab630 (svn r22004) -Change [FS#4471]: always report mammoth trains are disabled to NewGRFs, and allow the maximum train length to be modified in multiplayer as well 2011-02-06 21:31:33 +00:00
translators 7ffef9c1e6 (svn r22002) -Update from WebTranslator v3.0:
belarusian - 4 changes by KorneySan, Wowanxm
finnish - 38 changes by jpx_
italian - 3 changes by lorenzodv
japanese - 42 changes by kokubunzi
polish - 7 changes by Simek
portuguese - 122 changes by jomasaco
russian - 4 changes by Lone_Wolf
serbian - 4 changes by etran
slovenian - 10 changes by ntadej
2011-02-06 18:45:32 +00:00
alberth 4364cec392 (svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density. 2011-02-06 18:26:50 +00:00
alberth d84502c432 (svn r22000) -Codechange: Introduce an enum for the industry density setting. 2011-02-06 18:11:39 +00:00
alberth a5921c0514 (svn r21999) -Fix [FS#4474] (r21969): Use 'very low' industry density for generating industries in the SE. 2011-02-06 17:21:49 +00:00
alberth 870d2eafbf (svn r21998) -Fix (r21969): Number of industries difficulty setting should not affect the SE. 2011-02-06 17:19:56 +00:00
rubidium fd86b0608d (svn r21997) -Fix [FS#4473]: when the difference between force and resistance is smaller than the mass(*4) there would be no acceleration anymore, even when at higher (or lower) speed the force and resistance balance out better 2011-02-06 16:45:27 +00:00
rubidium fd94ed3009 (svn r21996) -Fix [FS#4472]: [YAPF] Under some circumstances vehicles could be lost 2011-02-06 15:01:52 +00:00
frosch 8b2f2c09e5 (svn r21995) -Cleanup (r21994): Remove obsolete comment. 2011-02-06 14:33:04 +00:00
frosch a8859bbff9 (svn r21994) -Fix: Make computations of closest-land/water-distances handle waterish tiles more correctly. 2011-02-06 13:57:17 +00:00
planetmaker afad7920ef (svn r21993) -Fix (r19720): When building a lock on dry land costs for clearing water were deducted rather than for building canals 2011-02-06 12:16:06 +00:00
yexo 6f730b1124 (svn r21992) -Fix [FS#4467]: AIs trying to change the AIOF_GOTO_NEAREST_DEPOT flag for existing orders triggered an assert. Explicitly forbid this as precondition for SetOrderFlags 2011-02-06 12:15:17 +00:00
frosch 3bb7f7ebe4 (svn r21991) -Fix [FS#4466]: The share/copy-orders-cursor was not updated to refer to the new vehicle when it got autoreplaced/-renewed. 2011-02-05 23:10:31 +00:00
frosch 2fbecaf4bf (svn r21990) -Cleanup (r14085): Remove unneeded test. 2011-02-05 23:02:52 +00:00
frosch 9aa185572b (svn r21989) -Fix (r21954): Vehicle status bar glitches on speed changes. 2011-02-05 21:13:54 +00:00
frosch d82475cf88 (svn r21988) -Change: Disable smooth scrolling for GHK_CENTER_ZOOM when zooming is also involved. 2011-02-05 21:07:25 +00:00
frosch ef3ec0f8c8 (svn r21987) -Fix: Make news items, engine previews and AI preview events deal with no longer existing Engine items after resetting the pool. 2011-02-05 20:41:13 +00:00
frosch faa2a26ae1 (svn r21986) -Codechange: Add helper function to test whether an engine is still associated to a GRF. 2011-02-05 20:37:00 +00:00
frosch 2679051c68 (svn r21985) -Codechange: Use VehicleOrderID where appropiate. 2011-02-05 20:26:55 +00:00
planetmaker e145d632cd (svn r21984) -Fix: Compilation without AI was broken 2011-02-05 19:36:02 +00:00
translators b0e4ff1dff (svn r21983) -Update from WebTranslator v3.0:
belarusian - 6 changes by Wowanxm
czech - 4 changes by CrazyBenny
english_US - 3 changes by Rubidium
estonian - 7 changes by notAbot
finnish - 5 changes by jpx_
french - 5 changes by glx
german - 9 changes by planetmaker
italian - 10 changes by lorenzodv, planetmaker
japanese - 11 changes by kokubunzi
polish - 21 changes by Simek
russian - 1 changes by Lone_Wolf
serbian - 9 changes by etran
spanish - 5 changes by Terkhen
ukrainian - 9 changes by Fixer
2011-02-05 18:45:47 +00:00
frosch e9e6444138 (svn r21982) -Add: Wheel scrolling to console. 2011-02-05 17:54:36 +00:00
frosch 82f260e15f (svn r21981) -Codechange: Deduplicate the code and unify the bounds of console scrolling. 2011-02-05 17:53:29 +00:00
frosch 582d30c979 (svn r21980) -Codechange: Draw one line more at the top of the console, i.e. clip the top-most line if there is not enough room instead of not drawing it at all. 2011-02-05 17:44:44 +00:00
frosch c000f6b939 (svn r21979) -Fix: Scrolling of the console in pages used wrong line height and scrolled too much. 2011-02-05 17:41:05 +00:00
frosch e06c412a05 (svn r21978) -Codechange/Fix: Remove usage of Window::top and left from IConsoleWindow::OnPaint(). Drawing is done relative to the window position. But as the position is (0,0) anyway, it was not noticeable. 2011-02-05 17:34:13 +00:00
frosch 9e1695aa1e (svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of viewport scroll/zoom settings. 2011-02-05 16:36:37 +00:00
alberth b992a93996 (svn r21976) -Doc: Document several crash handling functions. 2011-02-05 16:20:55 +00:00
frosch 915e339d0f (svn r21975) -Add: console command to reset the engine pool. It removes the traces of engines which are no longer associated to a NewGRF, and can be used to e.g. 'fix' scenarios which were screwed up by the author. You can only use it when there are no vehicles in the game though. 2011-02-05 16:07:23 +00:00
terkhen a4b08dddd1 (svn r21974) -Feature: Add a setting to enable/disable funding local road reconstruction. 2011-02-05 13:46:09 +00:00
terkhen 91dcc9e016 (svn r21973) -Fix: Redraw the town authority window after modifying town authority settings. 2011-02-05 13:42:57 +00:00
alberth 7935eab3dc (svn r21972) -Fix: Replace 'None' industries in the generation window with more descriptive label. 2011-02-05 11:42:27 +00:00
alberth 7da952115b (svn r21971) -Fix (r21969): Subversion auto-increments revision on commit. 2011-02-05 10:38:40 +00:00
rubidium 50d646ca7b (svn r21970) -Fix [FS#4464]: Crash when a multiplayer company goes bankrupt with 'you' in it 2011-02-05 10:38:31 +00:00
alberth bdf5a1c2f7 (svn r21969) -Feature: Introduce 'minimal' number of industries as a replacment for the old 'none' setting in the newgame window. 2011-02-05 10:28:31 +00:00
rubidium 00a766ed27 (svn r21966) -Change [FS#4462]: [NewGRF] Disable the flipping of train engines/wagons in the depot by default for NewGRFs 2011-02-04 19:20:47 +00:00
translators 1cd4b3bb86 (svn r21965) -Update from WebTranslator v3.0:
czech - 6 changes by SmatZ
dutch - 15 changes by Yexo
english_US - 10 changes by Rubidium
finnish - 9 changes by jpx_
french - 9 changes by glx
russian - 6 changes by Lone_Wolf
spanish - 6 changes by Terkhen
2011-02-04 18:47:33 +00:00
rubidium bbd308adef (svn r21963) -Fix: saying something twice in an error message is not needed 2011-02-04 18:32:56 +00:00
rubidium 0fe0225751 (svn r21962) -Feature-ish: GUI setting to disable reversing at signals 2011-02-04 16:40:38 +00:00
rubidium 773c6765e6 (svn r21961) -Remove: limitation that not loading and not unloading is mutual exclusive 2011-02-04 16:07:42 +00:00
rubidium c85d350310 (svn r21960) -Change: show the length of vehicles in tiles, instead of half tiles in the depot
-Fix [FS#4461]: don't count the number of vehicles but the length of vehicles to (configurably) limit train length
2011-02-04 15:40:35 +00:00
rubidium 46b3d114a8 (svn r21959) -Change: replace longbridges with custom maximum bridge and tunnel length setting 2011-02-04 15:37:23 +00:00
rubidium 4355231f67 (svn r21958) -Cleanup: join_stations setting; can done by distant join and could be subverted by distant join 2011-02-04 15:29:50 +00:00
rubidium 4c5ca17486 (svn r21957) -Cleanup: gotodepot and timetabling settings are more or less useless; just don't use depot orders or timetabling if you don't want to use it 2011-02-04 15:13:20 +00:00
rubidium 71f4067d19 (svn r21956) -Cleanup: always draw the bridge pillars 2011-02-04 14:38:33 +00:00
rubidium 313c1bc171 (svn r21955) -Cleanup: always show the long date in the status bar 2011-02-04 14:38:15 +00:00
rubidium 2ad1279725 (svn r21954) -Cleanup: remove setting to not show the vehicle speed in the vehicle view 2011-02-04 14:37:24 +00:00
smatz 3057a26fd5 (svn r21953) -Remove [FS#4456]: the non-uniform stations setting. Support for uniform stations has been broken for over a year 2011-02-04 14:11:14 +00:00
rubidium 732a0d069a (svn r21952) -Codechange: unify the company clearing code for bankruptcy with the command to remove companies 2011-02-04 10:31:40 +00:00
yexo c70ee16ecf (svn r21951) -Fix: [NewGRF] reset the carry flag every 4 bytes in action6 when adding more than one variable 2011-02-04 08:29:14 +00:00
translators 053420399a (svn r21950) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
2011-02-03 18:45:07 +00:00
smatz f3e550e9bd (svn r21949) -Change: randomize the vehicle a small UFO targets, do not use the one with lowest index 2011-02-02 23:06:38 +00:00
smatz a4bf3be864 (svn r21948) -Fix: road vehicle was moved under the bridge when it was destroyed by an UFO while on a bridge 2011-02-02 22:40:04 +00:00
smatz 3bfad0243b (svn r21947) -Fix (r21195): crash when converting a savegame with vehicles crashed in a tunnel entry, or with vehicles reversing there 2011-02-02 22:20:48 +00:00
rubidium 547421496e (svn r21946) -Fix [FS#4447]: assertion/funny behaviour when a road vehicle reverses while overtaking, so abort the overtake attempt when reversing the road vehicle 2011-02-02 22:13:13 +00:00
rubidium bbe94dc497 (svn r21945) -Codechange: simplify setting the overtaking counter and remove the magic from its numbers 2011-02-02 22:06:14 +00:00
smatz a42c0ea88b (svn r21944) -Codechange: give name to one magic constant 2011-02-02 22:01:01 +00:00
rubidium 8118f74575 (svn r21943) -Codechange: document and unmagicify some bits of road vehicle overtaking 2011-02-02 21:56:56 +00:00
smatz 54161949d1 (svn r21942) -Codechange: no need to convert GOINGUP/GOINGDOWN flags if they are cleared afterwards during savegame conversion 2011-02-02 19:22:35 +00:00
translators e846701b3c (svn r21941) -Update from WebTranslator v3.0:
maltese - 22 changes by peter88823
2011-02-02 18:45:05 +00:00
planetmaker 0364726bbb (svn r21940) -Fix [FS#4460]: Not all vehicles should be tested to be inside a tunnel upon savegame load (SmatZ) 2011-02-02 16:46:42 +00:00
smatz b15719bbd2 (svn r21939) -Fix (r16357): the check for valid depot wasn't strict enough 2011-02-02 14:50:57 +00:00
alberth 0ebc548a89 (svn r21938) -Codechange: AfterLoadGame() is no longer friend of Vehicle. 2011-02-01 21:18:27 +00:00
translators 1a971fb6d6 (svn r21937) -Update from WebTranslator v3.0:
turkish - 32 changes by leventpasha
2011-02-01 18:45:06 +00:00