rubidium
92d0d6d10b
(svn r22067) -Fix: don't hold a mutex when sending packets and thus possibly closing the connection as that wants to acquire the mutex again
2011-02-12 21:07:30 +00:00
rubidium
ece59dc0d1
(svn r22066) -Fix [FS#4502]: building a statue did not check whether the object pool is full
2011-02-12 18:45:05 +00:00
rubidium
2d4d43d00c
(svn r22065) -Fix [FS#4500]: pool allocation checks triggered when towns could not be built
2011-02-12 18:41:24 +00:00
rubidium
d8cada7563
(svn r22064) -Fix [FS#4497] (r21399): crash when disconnecting and reconnecting while the server is still saving the savegame
2011-02-11 23:20:35 +00:00
rubidium
1dc5ba2210
(svn r22063) -Change: make the "has network" check also check whether the client is actually fully connected
2011-02-11 22:10:10 +00:00
rubidium
7de823b1bd
(svn r22062) -Fix: memory leak when saving fails mid-way
2011-02-11 21:30:26 +00:00
yexo
296af35741
(svn r22061) -Change: when loading old savegames with long trains set the maximum train length to the length of the longest train
2011-02-11 20:54:49 +00:00
translators
37483180e8
(svn r22060) -Update from WebTranslator v3.0:
...
arabic_egypt - 46 changes by Company_director
hungarian - 20 changes by IPG
spanish - 1 changes by Terkhen
2011-02-11 18:45:13 +00:00
terkhen
8196b03074
(svn r22059) -Fix (r21179): Make the send chat message window follow the position of the status bar.
2011-02-11 18:24:12 +00:00
rubidium
b187352663
(svn r22058) -Fix (r22050): removing broken orders happened before the "front engine" conversion was done for road vehicles, so road vehicles didn't have orders anymore
2011-02-11 13:38:34 +00:00
rubidium
13fd2cd335
(svn r22057) -Fix: waypoint conversion could (previously) silently overfill the pool and crash
2011-02-11 09:33:38 +00:00
rubidium
246f6fe478
(svn r22056) -Fix [FS#4408]: metric and imperial HP are not the same. As imperial HP are used internally, set a conversion rate for metric HP
...
-Change: make the imperial HP to kW conversions a bit more precise
2011-02-11 08:17:12 +00:00
yexo
5f18d6d828
(svn r22055) -Fix [FS#4490]: [Squirrel] some invalid squirrel code caused the squirrel compiler to crash
2011-02-11 06:18:39 +00:00
rubidium
66a8c324db
(svn r22054) -Codechange: support for rounding the converted units to their closest integral value instead of flooring
2011-02-10 20:54:46 +00:00
terkhen
24983ec629
(svn r22053) -Fix: The land area information window was not updated after a language change.
2011-02-10 20:49:36 +00:00
translators
a1b79246e8
(svn r22052) -Update from WebTranslator v3.0:
...
catalan - 11 changes by arnau
2011-02-10 18:45:06 +00:00
terkhen
57a969017b
(svn r22051) -Fix (r21935): Roads under road stops would get a wrong owner after overbuilding.
2011-02-10 18:32:08 +00:00
rubidium
50996e799b
(svn r22050) -Fix-ish [FS#4496]: in ancient savegames, e.g. TTO savegames, non primary vehicles (wagons and such) could have unitnumbers or even orders. However, these orders would not be updated when a station is removed. As such some savegames have wagons with current orders to invalid stations which triggers trouble in the load conversion. So, trash any orders/unitnumbers a non-primary vehicle has.
2011-02-10 18:28:25 +00:00
terkhen
096c2857ee
(svn r22049) -Codechange: Add assert condition to GetRoadOwner.
2011-02-10 18:27:50 +00:00
glx
16dd93d3fb
(svn r22048) -Fix (r4495): company 0 does not always exist, so put temporary vehicles in a valid company
2011-02-10 15:58:22 +00:00
yexo
421ba1c342
(svn r22047) -Fix: selling a vehicle triggered the assert added in r22041
2011-02-10 13:17:24 +00:00
frosch
b7713a7e85
(svn r22046) -Fix [FS#4487]: Make sure order indices stay in range when copying, sharing, unsharing or deleting all orders.
2011-02-09 21:40:32 +00:00
frosch
3a787f5a0b
(svn r22045) -Codechange: Move cancelling the current loading order on deleting the current order to a separate function.
2011-02-09 21:39:22 +00:00
rubidium
dda7b60a57
(svn r22044) -Fix [FS#4493]: update the consist cache when a part of a train is flipped in the depot
2011-02-09 20:45:40 +00:00
rubidium
15514a3011
(svn r22043) -Fix: invalidate the right windows when a part of a train is flipped in the depot
2011-02-09 20:45:07 +00:00
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
terkhen
9765a297e7
(svn r21936) -Fix [FS#4457](r19231): Do not remove existing road/tram bits when overbuilding stops of the opposite road type.
...
-Change: Build only the required road/tram bits when building stops with drag and drop.
2011-02-01 10:48:10 +00:00
terkhen
2e1eafbdc3
(svn r21935) -Fix (r19231): Allow to overbuild road stops which are built over trams.
2011-02-01 10:43:25 +00:00
frosch
49ea0e9092
(svn r21934) -Fix (r21933): The original plan was to run the regression before committing.
2011-01-31 20:56:02 +00:00
frosch
a97d52a29a
(svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index and cur_real_order_index to keep track of the current real order in an unambiguous way.
...
-Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing.
-Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
2011-01-31 20:44:15 +00:00
rubidium
67a5cd0b18
(svn r21932) -Document: some tidbits related to vehicles
2011-01-31 20:27:33 +00:00
translators
8f67baae2e
(svn r21931) -Update from WebTranslator v3.0:
...
vietnamese - 81 changes by myquartz
2011-01-31 18:45:07 +00:00
alberth
da0b09557c
(svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions.
2011-01-30 21:32:21 +00:00
planetmaker
df8c4bdbfa
(svn r21929) -Fix [FS#4554]: The town window would not be invalidated in the scenario editor if the ground changed and thus the required cargos for town growth
2011-01-30 19:14:48 +00:00
translators
3d34b9e4a2
(svn r21928) -Update from WebTranslator v3.0:
...
portuguese - 5 changes by JayCity
2011-01-30 18:45:06 +00:00
alberth
1e65afc62a
(svn r21927) -Change: Comment-style fixes.
2011-01-30 12:58:54 +00:00
frosch
f48838ef3f
(svn r21926) -Fix [FS#4450](r21924): v != w.
2011-01-29 23:42:40 +00:00
alberth
eea2f90da7
(svn r21925) -Doc: Doxygen additions and markup corrections to vehicle-related functions.
2011-01-29 21:37:11 +00:00
terkhen
734994c9ba
(svn r21924) -Codechange: Unify some parts of the articulated vehicle code.
...
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
2011-01-29 17:30:25 +00:00
terkhen
50b0e10026
(svn r21923) -Codechange: Unify articulated vehicle iteration functions.
2011-01-29 17:27:32 +00:00
terkhen
9626e0bf2b
(svn r21922) -Codechange: Unify articulated vehicle checking functions.
2011-01-29 17:26:23 +00:00
terkhen
23ffef05ce
(svn r21921) -Codechange: Move GroundVehicleSubtypeFlags as they will be needed by some Vehicle functions.
2011-01-29 17:21:39 +00:00
translators
3cd1f15523
(svn r21920) -Update from WebTranslator v3.0:
...
basque - 25 changes by Thadah
greek - 6 changes by fumantsu
spanish - 1 changes by Terkhen
2011-01-27 18:45:10 +00:00
planetmaker
5e82fee690
(svn r21919) -Fix: Converting an expensive rail type to a cheap one could give more money than removing and rebuilding cost
2011-01-27 00:38:12 +00:00
rubidium
62e5afcdf8
(svn r21918) -Fix [FS#4443]: Languages improperly sorted in the "start server" window (adf88)
2011-01-26 22:42:50 +00:00
translators
a7634b399d
(svn r21917) -Update from WebTranslator v3.0:
...
basque - 28 changes by Thadah
indonesian - 15 changes by adjayanto
japanese - 11 changes by kokubunzi
luxembourgish - 250 changes by Phreeze
brazilian_portuguese - 130 changes by Luis_Mizuchiro
2011-01-26 18:45:17 +00:00
rubidium
ab4c419fcf
(svn r21916) -Fix [FS#4442]: the minimum speed needed for (realistic) acceleration to work properly can sometimes be more than the (temporary) maximum speed causing Clamp to "fail". Make sure that the minimum speed always overrules the maximum speed
2011-01-26 17:37:12 +00:00
rubidium
430fda01dc
(svn r21915) -Codechange: rename RoadVehicleAccelerate to RoadVehicle::UpdateSpeed (to match the naming used by Trains), and make use of the algorithm implemented in GroundVehicle
2011-01-26 17:35:03 +00:00
rubidium
b4a175ba41
(svn r21914) -Codechange: move the algorithmic part of Train::UpdateSpeed to a function in GroundVehicle
2011-01-26 17:34:07 +00:00
rubidium
982de9cf86
(svn r21913) -Codechange: move bridge speed limiting for road vehicles to the same (logically speaking) place as for trains
2011-01-26 17:33:14 +00:00
rubidium
4fff63d790
(svn r21912) -Codechange: let road vehicles use gcache.last_speed/SetLastSpeed as well
2011-01-26 17:31:44 +00:00
rubidium
b11f1bd4ed
(svn r21911) -Codechange: move tcache.last_speed to gcache.last_speed and make SetLastSpeed a function of GroundVehicle
2011-01-26 17:31:07 +00:00
rubidium
12b64a12b0
(svn r21910) -Codechange: rename some autoreplace internal functions so they don't collide with globabl functions
2011-01-26 17:30:17 +00:00
rubidium
8017c2a3d7
(svn r21909) -Fix: some missing spaces
2011-01-26 08:14:36 +00:00
translators
2bec6123f7
(svn r21908) -Update from WebTranslator v3.0:
...
german - 2 changes by dihedral
brazilian_portuguese - 36 changes by Luis_Mizuchiro
ukrainian - 3 changes by Fixer
2011-01-25 18:45:13 +00:00
translators
83ad2c4dfa
(svn r21906) -Update from WebTranslator v3.0:
...
polish - 2 changes by Simek
spanish - 1 changes by Terkhen
turkish - 4 changes by niw3
ukrainian - 2 changes by Fixer
2011-01-24 18:45:17 +00:00
translators
4c37e0ec2c
(svn r21905) -Update from WebTranslator v3.0:
...
japanese - 6 changes by kokubunzi
polish - 13 changes by Simek
slovenian - 2 changes by ntadej
spanish - 4 changes by Terkhen
ukrainian - 2 changes by Fixer
2011-01-23 18:45:20 +00:00
frosch
072f6d67ef
(svn r21904) -Fix: Include the capacity of non-refittable vehicles in the refitted-capacity, if their cargo matches.
2011-01-23 18:31:04 +00:00
smatz
25a22ec255
(svn r21903) -Codechange: warn only once for a train that has invalid length, not for each its wagon with invalid length
2011-01-23 17:50:24 +00:00
frosch
9a1c0f139a
(svn r21902) -Fix: Do not count articulated parts when passing the number of vehicles to refit to the command. That may exceed 8 bits.
2011-01-23 14:58:54 +00:00
frosch
3f103c35a6
(svn r21901) -Codechange: Save some bits in p2 of CmdRefitVehicle.
2011-01-23 13:25:26 +00:00
yexo
967bb84af3
(svn r21900) -Fix: [NoAI] hide automatic orders from AIs as they have no way of dealing with them
2011-01-23 13:08:50 +00:00
frosch
890a18c738
(svn r21899) -Fix: Do not show a vehicle selection in the RefitWindow for refit orders. You cannot select anything anyway.
2011-01-23 13:00:50 +00:00
rubidium
81ef0dbcfc
(svn r21898) -Fix [FS#4438]: using a pointer-iterator and adding things (thus reallocating) to the iterated array caused OpenTTD to crash on invalid pointers
2011-01-23 11:20:55 +00:00
rubidium
0de8332366
(svn r21897) -Fix (21707): Kenobi visited IsValidConsoleColour shortly
2011-01-23 00:11:15 +00:00
rubidium
1339d75f75
(svn r21896) -Cleanup: remove the unused StartScenario
2011-01-22 23:13:39 +00:00
rubidium
d74fc0bee3
(svn r21895) -Cleanup: get rid of the unused SLD_NEW_GAME
2011-01-22 23:08:32 +00:00
rubidium
7eadf07e44
(svn r21894) -Cleanup: get rid of the unused SM_START_SCENARIO
2011-01-22 23:08:18 +00:00
rubidium
0537672324
(svn r21893) -Update (r21892): remove the strings from the other language files as well
2011-01-22 23:07:51 +00:00
rubidium
cc8da3e5ab
(svn r21892) -Fix [FS#4421]: only some scenarios from the main scenario folder and no heightmaps could be started in the "start server" window
2011-01-22 23:07:23 +00:00
translators
03fb95f92f
(svn r21891) -Update from WebTranslator v3.0:
...
danish - 1 changes by nurriz
japanese - 12 changes by kokubunzi
slovenian - 1 changes by ntadej
turkish - 107 changes by niw3
ukrainian - 60 changes by Fixer
2011-01-22 18:45:21 +00:00
rubidium
7eba2bf4d3
(svn r21890) -Cleanup: remove some unneeded includes
2011-01-22 14:52:20 +00:00
rubidium
849772f0fd
(svn r21889) -Fix [FS#4434]: crash when scrolling outside of the main window (with some video backends)
2011-01-22 14:51:36 +00:00
rubidium
9e8db65223
(svn r21888) -Codechange: remove some unneeded (for the AI header) headers from some AI headers, reducing the include tree
2011-01-22 10:33:16 +00:00
rubidium
6ff844e7c4
(svn r21887) -Fix-ish: some headers weren't including the headers they depend on
2011-01-22 10:10:03 +00:00
rubidium
eb299736c1
(svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n].
2011-01-22 09:53:15 +00:00
yexo
0cdb1c78cd
(svn r21885) -Fix [FS#4422]: NewGRF string codes 0x80 and 0x81 were broken since the typechecking of string parameters
2011-01-21 23:10:02 +00:00
translators
c9bd9b0c23
(svn r21884) -Update from WebTranslator v3.0:
...
bulgarian - 19 changes by yxomo
greek - 15 changes by Gonik, fumantsu
japanese - 201 changes by kokubunzi, nex259
ukrainian - 100 changes by Fixer
2011-01-21 18:45:18 +00:00
smatz
8b9f0d5ade
(svn r21883) -Codechange: make UpdateZPosition() faster by not calling GetSlopeZ() when not needed
2011-01-21 17:35:17 +00:00
smatz
e860075a16
(svn r21882) -Codechange: make use of the fact that vehicle's Z position can change only if it has GVF_GOINGUP_BIT or GVF_GOINGDOWN_BIT set
2011-01-21 16:51:56 +00:00
smatz
2a2363e819
(svn r21881) -Codechange: ensure that vehicle's GOINGUP/DOWN bits are set correctly and that it has correct z_pos when converting from older savegames
2011-01-21 16:48:41 +00:00
smatz
a6fcd78538
(svn r21880) -Fix: when a train after reversing ended at the last bit of a bridge ramp and directed outside the bridge, it could still have track set to TRACK_BIT_WORMHOLE
2011-01-21 16:35:12 +00:00
smatz
e308c348f0
(svn r21879) -Codechange: reset vehicle's GOINGUP/DOWN bits when it crashes
2011-01-21 16:20:55 +00:00
smatz
46dfdfd72b
(svn r21878) -Codechange: move parts of UpdateInclination() to separate functions
2011-01-21 16:13:54 +00:00
smatz
4432f7799d
(svn r21877) -Codechange: move definition of HALF_TILE_SIZE to tile_type.h
2011-01-21 15:48:52 +00:00
smatz
6dc24cf643
(svn r21876) -Codechange: typedef SpecializedVehicleBase and GroundVehicleBase to reduce typing
2011-01-21 14:43:38 +00:00
smatz
656caf16db
(svn r21875) -Codechange: indentation of some comments was wrong
2011-01-21 01:38:30 +00:00
smatz
1ac51128f5
(svn r21874) -Fix: when a single-vehicle train was reversed while on a slope, its GOINGUP/DOWN weren't swapped
2011-01-21 00:11:13 +00:00
translators
fa64ae9b3a
(svn r21869) -Update from WebTranslator v3.0:
...
japanese - 131 changes by kokubunzi
slovenian - 4 changes by ntadej
2011-01-20 18:45:10 +00:00
rubidium
289206b033
(svn r21868) -Fix (r21866 and some more): the changes to the main toolbar rail types dropdown should happen for the autoreplace dropdown as well
2011-01-20 12:40:40 +00:00
rubidium
4682434bc9
(svn r21867) -Codechange: move creating the rail type dropdown to a more general location
2011-01-20 12:40:04 +00:00
rubidium
2f6c840ebf
(svn r21866) -Feature [FS#4394]: [NewGRF] Rail type property to influence sorting of rail types in the drop down list
2011-01-20 12:22:38 +00:00
rubidium
6a2ae92811
(svn r21865) -Fix (r21862): don't perform savegame conversion when reinitialising some vehicle structures due to NewGRF changes
2011-01-20 09:35:16 +00:00
rubidium
89a135293a
(svn r21864) -Fix [FS#4430]: distant-join station would build at the wrong location when having persistent building turned on and selecting a "second" location for the station tile
2011-01-19 23:59:29 +00:00
rubidium
6435a89c28
(svn r21863) -Fix (r21849): load the amount that should be loaded instead of the amount that should not be loaded
2011-01-19 20:40:27 +00:00
terkhen
d426906a01
(svn r21862) -Codechange: Unify subtype handling between road vehicles and trains.
2011-01-19 20:04:09 +00:00
translators
be44f1306f
(svn r21861) -Update from WebTranslator v3.0:
...
japanese - 92 changes by kokubunzi
spanish - 52 changes by Terkhen
ukrainian - 2 changes by Fixer
2011-01-19 18:45:12 +00:00
terkhen
b5468e7a80
(svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names.
2011-01-19 18:44:13 +00:00
terkhen
613743538d
(svn r21859) -Codechange: Move train subtype flags to GroundVehicle.
2011-01-19 18:42:54 +00:00
terkhen
cfbbcf1597
(svn r21858) -Codechange: Give more similar names to ArticulatedPart functions.
2011-01-19 18:41:53 +00:00
rubidium
3f9fa65a42
(svn r21855) -Feature [FS#4368]: [Network] Console command to change the password of other companies for servers (dihedral)
2011-01-19 16:52:57 +00:00
rubidium
795a528328
(svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server)
2011-01-19 16:47:40 +00:00
rubidium
e54a1f6721
(svn r21853) -Codechange: HashCurrentCompanyPassword is only used by servers, so move it to network_server.* (dihedral)
2011-01-19 16:37:06 +00:00
rubidium
e95718bf43
(svn r21852) -Codechange: generalise GenerateCompanyPasswordHash (dihedral)
2011-01-19 16:35:11 +00:00
rubidium
c9609bbbc2
(svn r21851) -Codechange: rename NetworkClientSetPassword to NetworkClientSetCompanyPassword (dihedral)
2011-01-19 16:32:23 +00:00
rubidium
a82118f360
(svn r21850) -Codechange: move password hashing to a more general location (dihedral)
2011-01-19 16:30:09 +00:00
rubidium
2707186f6a
(svn r21849) -Codechange: move merging/splitting of cargopackets into a helper function (fonsinchen)
2011-01-19 16:25:00 +00:00
rubidium
07e14525b8
(svn r21848) -Codechange: unification of comment style for cargopacket.*
2011-01-19 16:20:26 +00:00
rubidium
922d60f516
(svn r21847) -Fix [FS#4423]: slowing down of trains was done by reducing the speed by 10%, but also when you're just 1% too fast, so limit the slowdown till the new maximum speed
2011-01-19 08:24:38 +00:00
rubidium
9ca4b629cd
(svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s].
2011-01-18 23:09:43 +00:00
rubidium
7efd7e19ed
(svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m].
2011-01-18 22:31:06 +00:00
rubidium
6c9078fd30
(svn r21844) -Codechange: move documentation towards the code to make it more likely to be updates [a-c].
2011-01-18 22:17:15 +00:00
rubidium
d89095b3ec
(svn r21843) -Codechange: move documentation towards the code to make it more likely to be updates [t-z].
2011-01-18 21:58:22 +00:00
rubidium
b8c9988d9f
(svn r21842) -Feature [FS#4393]: [NewGRF] Introduction dates/required types for rail types; e.g. introduce a particular rail type in 1960 (or when a vehicle using it is introduced), but also allow limiting its introduction to only happen when the required railtypes are available
2011-01-18 21:30:59 +00:00
rubidium
6371b75bcc
(svn r21841) -Feature: [NewGRF] Allow to define other railtypes that should be introduced if a particular rail type is introduced, e.g. to make sure slow rail is introduced when fast rail gets introduced
2011-01-18 21:28:07 +00:00
rubidium
561449992a
(svn r21838) -Change: allow LMB scrolling with the mouse outside of the extra viewport instead of canceling scrolling when going slightly over the edge
2011-01-18 21:09:13 +00:00
rubidium
22d17aa745
(svn r21837) -Fix [FS#4419]: LMB dragging would switch over to other viewports instead of staying locked to the viewport you started on
2011-01-18 21:08:19 +00:00
smatz
c0b051eb33
(svn r21836) -Fix: when a train was reversed while inside a tunnel/bridge, it wouldn't have (re)set the GOINGUP/DOWN bits after leaving the tunnel/bridge
2011-01-18 20:40:36 +00:00
smatz
772de6b52d
(svn r21835) -Codechange: use UpdateStatusAfterSwap() instead of copying the same code three times
2011-01-18 20:06:56 +00:00
translators
488b525161
(svn r21834) -Update from WebTranslator v3.0:
...
hungarian - 4 changes by IPG
japanese - 151 changes by kokubunzi
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
ukrainian - 4 changes by Fixer
2011-01-18 18:45:18 +00:00
rubidium
6a17bf91e3
(svn r21833) -Fix [FS#4427]: desync debug savegames might not be actually saved in case threading is enabled, which is enabled by default
2011-01-18 18:14:14 +00:00
rubidium
3f900d3580
(svn r21832) -Feature: limit vehicle lateness to the length of a full timetable cycle, e.g. when a cycle takes 50 days and the vehicle is 65 days later reduce the lateness to 15 days
2011-01-18 14:27:43 +00:00
rubidium
39d7f3b2bd
(svn r21831) -Fix [FS#4414]: service orders for trains/aircraft would (sometimes) not get a time when autofilling
2011-01-18 14:25:45 +00:00
terkhen
ff6aeb8791
(svn r21830) -Fix: Deunionize a union which was not initialized correctly.
2011-01-17 19:40:06 +00:00
translators
39c5cfc5d1
(svn r21829) -Update from WebTranslator v3.0:
...
belarusian - 4 changes by KorneySan
croatian - 2 changes by VoyagerOne
czech - 1 changes by CrazyBenny
dutch - 4 changes by habell
english_US - 1 changes by Rubidium
estonian - 3 changes by notAbot
finnish - 1 changes by jpx_
french - 2 changes by glx
italian - 1 changes by lorenzodv
polish - 1 changes by amateja
romanian - 24 changes by kkmic
russian - 4 changes by KorneySan, Lone_Wolf
spanish - 2 changes by Terkhen
swedish - 3 changes by Ledel, urdh
ukrainian - 34 changes by Fixer
2011-01-17 18:45:51 +00:00
rubidium
b3fdf69ab5
(svn r21827) -Cleanup: remove string removed in r21826 from other languages too
2011-01-16 21:11:31 +00:00
rubidium
62128e8263
(svn r21826) -Fix [FS#4007]: the expectations from the "always build infrastructure" setting name/description didn't match the behaviour
2011-01-16 21:10:41 +00:00
translators
805afdb002
(svn r21825) -Update from WebTranslator v3.0:
...
catalan - 4 changes by arnau
czech - 2 changes by SmatZ
english_US - 1 changes by Rubidium
estonian - 1 changes by notAbot
finnish - 1 changes by jpx_
italian - 1 changes by lorenzodv
polish - 3 changes by nouwak
serbian - 1 changes by etran
spanish - 163 changes by Terkhen
swedish - 1 changes by Ledel
ukrainian - 1 changes by Fixer
2011-01-16 18:45:37 +00:00
smatz
92b90d877e
(svn r21824) -Codechange: don't call GetSlopeZ() when the ground vehicle is on a flat tile
2011-01-16 18:18:45 +00:00
alberth
32cd182ecc
(svn r21822) -Codechange: Merge event handling code.
2011-01-16 11:40:36 +00:00
alberth
4a203e8a49
(svn r21821) -Codechange: Clean up the jump conditions.
2011-01-16 11:39:57 +00:00
alberth
1e7c3fd2ff
(svn r21820) -Codechange: Concatenate both functions.
2011-01-16 11:39:09 +00:00
alberth
a2297dc594
(svn r21819) -Codechange: Swap order of HandleMouseDrag() and HandleDragDrop(), and split the w vardecl in the former.
2011-01-16 11:37:54 +00:00
terkhen
b8559492b5
(svn r21818) -Change: Rename the genders of the spanish translation.
2011-01-16 11:00:42 +00:00
rubidium
7ab524b048
(svn r21817) -Change: only show rail/road types that will eventually be available in-game. For example don't show trams when there is no tram NewGRF loaded
2011-01-16 10:25:47 +00:00
planetmaker
9b4beb0a5c
(svn r21816) -Fix [FS#4378] (r14012): Allow dragging of combo signals (again)
2011-01-15 22:50:49 +00:00
rubidium
7645c5ac43
(svn r21815) -Fix [FS#3908]: [YAPF] Apply a pathfinder penalty for back of one-way path signals so those aren't preferred over other possibilities
2011-01-15 22:40:54 +00:00
frosch
6e4dd56158
(svn r21814) -Fix/Add: Check GRF version from action 8, and disallow usage of GRFs with versions above 7.
2011-01-15 21:13:47 +00:00
terkhen
4d8a93c870
(svn r21813) -Fix [FS#4411](r21720): Prevent crash when displaying the owner view.
2011-01-15 20:23:15 +00:00
alberth
a1df4bea68
(svn r21812) -Fix (r21754): Don't try to scroll the matrix widget to position -1.
2011-01-15 19:54:53 +00:00
rubidium
89f245ab2f
(svn r21811) -Fix: guess what...
2011-01-15 18:46:42 +00:00
translators
1d3ce9ef1b
(svn r21810) -Update from WebTranslator v3.0:
...
croatian - 2 changes by VoyagerOne
estonian - 2 changes by notAbot
italian - 2 changes by lorenzodv
serbian - 4 changes by etran
spanish - 3 changes by Terkhen
2011-01-15 18:45:19 +00:00
rubidium
bd9f07e5a0
(svn r21809) -Fix [FS#4404]: remove unreached automatic orders as well when reaching an ordered waypoint or depot (fonsinchen)
2011-01-15 18:19:04 +00:00
rubidium
4784c3ac3c
(svn r21808) -Fix: don't create automatic orders when there are no manual orders (fonsinchen)
2011-01-15 18:16:46 +00:00
rubidium
bc9afec3b0
(svn r21807) -Codechange: split automatic order removal into a separate function (fonsinchen)
2011-01-15 18:14:29 +00:00
terkhen
53c9846f14
(svn r21806) -Codechange: Correct additional appearances of the same typo.
2011-01-15 16:27:04 +00:00
terkhen
93b26e8e3d
(svn r21805) -Codechange: Correct a typo.
2011-01-15 15:58:03 +00:00
smatz
0ab078158e
(svn r21804) -Remove [FS#4409]: the 'stopall' console command, as its functionality was broken. Group start/stop commands can be used instead
2011-01-15 15:51:16 +00:00
terkhen
679cd3c21b
(svn r21803) -Cleanup: Remove unnecessary semicolons.
2011-01-15 15:36:58 +00:00
smatz
2709454040
(svn r21802) -Cleanup (r2600): remove unused _vehicle_id_ctr_day
2011-01-15 14:20:34 +00:00
alberth
7be31ee03e
(svn r21801) -Fix (r21772): Attach scrollbar to select matrix in object gui.
2011-01-15 14:17:53 +00:00