rubidium
60b5ffdd62
(svn r22093) -Fix [FS#4514]: The server list did not get sorted with one item in it, so the "position in the list" variable was never updated causing problems when using the keyboard shortcuts for scrolling
14 years ago
rubidium
2d36797b85
(svn r22092) -Fix-ish (r22068): when you change a boolean to a enum, check specifically for a particular value
14 years ago
translators
be20973e23
(svn r22091) -Update from WebTranslator v3.0:
...
simplified_chinese - 41 changes by ww9980
danish - 23 changes by beruic, krak
brazilian_portuguese - 125 changes by Luis_Mizuchiro
thai - 19 changes by kenny
urdu - 15 changes by yasirniazkhan
14 years ago
translators
b53d28eb29
(svn r22089) -Update from WebTranslator v3.0:
...
afrikaans - 96 changes by Maccie123
arabic_egypt - 29 changes by kasakg
danish - 69 changes by krak
indonesian - 17 changes by adjayanto
brazilian_portuguese - 25 changes by Luis_Mizuchiro
urdu - 80 changes by yasirniazkhan
14 years ago
terkhen
98a9c1f91c
(svn r22087) -Fix: When deleting towns, only relocate objects during DC_EXEC.
14 years ago
smatz
03c1b0df4b
(svn r22086) -Fix: do not check if we can allocate an item if we won't try to do so anyway
14 years ago
smatz
e9d0998b85
(svn r22085) -Fix: assert when connecting to the admin port
14 years ago
frosch
483ab5974d
(svn r22084) -Change: [NewGRF] Check grf version strictly and consider grfs with version < 2 as incompatible. If you have trouble with certain grfs from BaNaNaS, then bother the author about fixing the grf.
14 years ago
rubidium
be8e0ede7c
(svn r22083) -Change: trunk is heading towards 1.2 now
14 years ago
glx
20f94c965f
(svn r22081) -Fix [FS#4489]: if fullscreen fails with current resolution, use desktop resolution
14 years ago
planetmaker
6d031d0867
(svn r22080) -Doc: Add doxygen comments to a few functions and improve a few existing comments
14 years ago
terkhen
7cfc01c41d
(svn r22079) -Fix: The owner view of the smallmap was not updated after a company colour change.
14 years ago
rubidium
d327169700
(svn r22078) -Fix [FS#4499]: maximum train length interfered with wagon replacement when wagon removal was turned on
14 years ago
translators
0124172dbc
(svn r22077) -Update from WebTranslator v3.0:
...
latvian - 2 changes by skazhy
14 years ago
smatz
689eb86757
(svn r22076) -Fix (r22075): build failed with GCC
14 years ago
yexo
7963970415
(svn r22075) -Fix [FS#4501]: newgrfs with invalid multi-tile houses could cause a valid 1x1 house following it to be seen as multi-tile, causing crashes
14 years ago
yexo
45ce53f37f
(svn r22074) -Cleanup (r22073): there was already a setting-callback that did what is needed
14 years ago
yexo
e54d06dc13
(svn r22073) -Fix: immediately update the train weight when you change the multiplier for train cargo weight
14 years ago
rubidium
97705d43cb
(svn r22072) -Fix (r21966): flipping wasn't (correctly) disabled in some cases
14 years ago
yexo
30f55a402c
(svn r22071) -Fix (r20075): some hotkey names in hotkey.cfg for the scenario editor toolbar were completely bogus
14 years ago
rubidium
1516299bca
(svn r22070) -Fix [FS#4503] (r21399): crashes when disconnecting after requesting the map
14 years ago
rubidium
65b17b32ef
(svn r22069) -Fix: delete all savegame packets, not just the first one
14 years ago
rubidium
c70499b4b6
(svn r22068) -Codechange/Fix: return "connection lost" instead of "okay" when SendPackets closed the connection
14 years ago
rubidium
6248138e67
(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
14 years ago
rubidium
aa333aeff2
(svn r22066) -Fix [FS#4502]: building a statue did not check whether the object pool is full
14 years ago
rubidium
b778cc61d1
(svn r22065) -Fix [FS#4500]: pool allocation checks triggered when towns could not be built
14 years ago
rubidium
e92f2d6b9a
(svn r22064) -Fix [FS#4497] (r21399): crash when disconnecting and reconnecting while the server is still saving the savegame
14 years ago
rubidium
ac28a10197
(svn r22063) -Change: make the "has network" check also check whether the client is actually fully connected
14 years ago
rubidium
e3b44f460f
(svn r22062) -Fix: memory leak when saving fails mid-way
14 years ago
yexo
2f414a017c
(svn r22061) -Change: when loading old savegames with long trains set the maximum train length to the length of the longest train
14 years ago
translators
b0ce758440
(svn r22060) -Update from WebTranslator v3.0:
...
arabic_egypt - 46 changes by Company_director
hungarian - 20 changes by IPG
spanish - 1 changes by Terkhen
14 years ago
terkhen
c4104567a1
(svn r22059) -Fix (r21179): Make the send chat message window follow the position of the status bar.
14 years ago
rubidium
1edee577e5
(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
14 years ago
rubidium
83d1ff09c6
(svn r22057) -Fix: waypoint conversion could (previously) silently overfill the pool and crash
14 years ago
rubidium
d6f6166977
(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
14 years ago
yexo
45c46ce522
(svn r22055) -Fix [FS#4490]: [Squirrel] some invalid squirrel code caused the squirrel compiler to crash
14 years ago
rubidium
0ab99003e8
(svn r22054) -Codechange: support for rounding the converted units to their closest integral value instead of flooring
14 years ago
terkhen
d9d14be125
(svn r22053) -Fix: The land area information window was not updated after a language change.
14 years ago
translators
f82e89583a
(svn r22052) -Update from WebTranslator v3.0:
...
catalan - 11 changes by arnau
14 years ago
terkhen
60fc22d441
(svn r22051) -Fix (r21935): Roads under road stops would get a wrong owner after overbuilding.
14 years ago
rubidium
720ac3afa6
(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.
14 years ago
terkhen
c4bddd1b0c
(svn r22049) -Codechange: Add assert condition to GetRoadOwner.
14 years ago
glx
1490eafb62
(svn r22048) -Fix (r4495): company 0 does not always exist, so put temporary vehicles in a valid company
14 years ago
yexo
26ccf93dd9
(svn r22047) -Fix: selling a vehicle triggered the assert added in r22041
14 years ago
frosch
d762b17f40
(svn r22046) -Fix [FS#4487]: Make sure order indices stay in range when copying, sharing, unsharing or deleting all orders.
14 years ago
frosch
84514c8333
(svn r22045) -Codechange: Move cancelling the current loading order on deleting the current order to a separate function.
14 years ago
rubidium
e982577b5c
(svn r22044) -Fix [FS#4493]: update the consist cache when a part of a train is flipped in the depot
14 years ago
rubidium
766d67f512
(svn r22043) -Fix: invalidate the right windows when a part of a train is flipped in the depot
14 years ago
smatz
978818195e
(svn r22042) -Fix: when loading a TTO/TTD savegame, verify we can allocate a CargoPacket before actually trying to do so
14 years ago
smatz
817392c9b0
(svn r22041) -Codechange: add a check that we called PoolItem::CanAllocateItem() before actually allocating it
14 years ago
rubidium
cc42f068ab
(svn r22040) -Codechange: handle case where too many Engines would be loaded, and ensure we don't overfill the SpriteGroup pool
14 years ago
translators
70b996d07f
(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
14 years ago
terkhen
2551d6997b
(svn r22038) -Fix (r21406): Tab completion in chat did not cycle through all possible options.
14 years ago
rubidium
77e0551177
(svn r22037) -Codechange: remove some unneeded (hidden) casting
14 years ago
rubidium
9b8b67947b
(svn r22036) -Codechange: rename units to match coding style, and give conversion variables a more descriptive name
14 years ago
rubidium
2bed7df1c9
(svn r22035) -Codechange: refactor (display) unit conversion to happen at a single place
14 years ago
rubidium
561b9b899f
(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
14 years ago
smatz
0ff7e9a114
(svn r22033) -Fix: don't crash when there are too many objects generated already when placing transmitters
14 years ago
rubidium
6e898d4bba
(svn r22032) -Codechange: add some asserts to verify we don't allocate too many NetworkClientSockets/Infos
14 years ago
rubidium
1708df0d4b
(svn r22031) -Fix: bad servers could crash a client
14 years ago
rubidium
d50b10dffc
(svn r22030) -Cleanup: dead code in NetworkGameWindow::OnInvalidateData (adf88)
14 years ago
rubidium
6ec5580180
(svn r22029) -Fix [FS#4482]: the server list got not resorted/redrawn after NewGRFs were downloaded
14 years ago
rubidium
1b7adfc484
(svn r22028) -Cleanup: remove traces of a debugging "feature" that got disabled a long time ago
14 years ago
translators
ba5e693d29
(svn r22027) -Update from WebTranslator v3.0:
...
traditional_chinese - 38 changes by josesun
luxembourgish - 12 changes by Phreeze
14 years ago
smatz
a54faf0303
(svn r22026) -Fix: don't crash when we generate too many objects while generating map
14 years ago
smatz
8608a7c29b
(svn r22025) -Fix: verify there is enough space in the pool when creating new pool items while loading old savegames
14 years ago
smatz
17b2021297
(svn r22024) -Fix [FS#4468]: verify we can allocate an OrderList before we actually try to do so (Rubidium)
14 years ago
smatz
eab3c044a1
(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)
14 years ago
smatz
12b1f24ca1
(svn r22022) -Fix [FS#4468]: verify we can allocate an order before we actually try to do so
14 years ago
rubidium
8183922813
(svn r22021) -Fix (r22019): ofcourse make doesn't notice files are gone, so it doesn't recompile everything that needs to be recompiled...
14 years ago
rubidium
aa3eb2bd59
(svn r22020) -Fix: load of failures of WT3 to properly validate some strings...
14 years ago
rubidium
3cb12ed89c
(svn r22019) -Codechange: s/functions.h/clear_func.h/
14 years ago
rubidium
cb2c7f871f
(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h
14 years ago
rubidium
701bd8848a
(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.h
14 years ago
rubidium
aed86fec3f
(svn r22016) -Fix [FS#4479]: when paused and having the allowed actions while paused setting on "no actions" cheating money would fail
14 years ago
rubidium
a90d7ffdee
(svn r22015) -Codechange: move yet another pair of methods from functions.h
14 years ago
rubidium
81484efcfb
(svn r22014) -Codechange: move some more functions out of functions.h
14 years ago
rubidium
16d567eaa8
(svn r22013) -Codechange: move some functions out of functions.h
14 years ago
planetmaker
4fed6cc02e
(svn r22012) -Add: [NewGRF] Test all industry layouts also when prospecting
14 years ago
planetmaker
1cb6024e1d
(svn r22011) -Codechange: Rename a few variables and enhance code clearity
14 years ago
planetmaker
c4544814da
(svn r22010) -Feature-ette [FS#4131]: [NewGRF] Test all possible industry layouts during construction and add another pony to andy's stables
14 years ago
translators
871b788d26
(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
14 years ago
rubidium
c163f3c0f7
(svn r22007) -Change: only show one AI per unique ID instead of all versions in the output of "openttd -h"
14 years ago
rubidium
b5f0c341eb
(svn r22006) -Fix [FS#4480]: smoke/sparks of trains would be shown under bridges, or rather through bridges
14 years ago
rubidium
ddff78f37c
(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
14 years ago
translators
a6ec7978bd
(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
14 years ago
alberth
8c3041b3c9
(svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density.
14 years ago
alberth
f838069a44
(svn r22000) -Codechange: Introduce an enum for the industry density setting.
14 years ago
alberth
d64ce48f4d
(svn r21999) -Fix [FS#4474] (r21969): Use 'very low' industry density for generating industries in the SE.
14 years ago
alberth
4a1706d5b0
(svn r21998) -Fix (r21969): Number of industries difficulty setting should not affect the SE.
14 years ago
rubidium
3b380088f4
(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
14 years ago
rubidium
bd921ed983
(svn r21996) -Fix [FS#4472]: [YAPF] Under some circumstances vehicles could be lost
14 years ago
frosch
06ff23f61f
(svn r21995) -Cleanup (r21994): Remove obsolete comment.
14 years ago
frosch
e6f28bf300
(svn r21994) -Fix: Make computations of closest-land/water-distances handle waterish tiles more correctly.
14 years ago
planetmaker
a66e32efb5
(svn r21993) -Fix (r19720): When building a lock on dry land costs for clearing water were deducted rather than for building canals
14 years ago
yexo
0b452bd05f
(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
14 years ago
frosch
7d37b72b09
(svn r21991) -Fix [FS#4466]: The share/copy-orders-cursor was not updated to refer to the new vehicle when it got autoreplaced/-renewed.
14 years ago
frosch
761b74713f
(svn r21990) -Cleanup (r14085): Remove unneeded test.
14 years ago
frosch
0b816dd007
(svn r21989) -Fix (r21954): Vehicle status bar glitches on speed changes.
14 years ago
frosch
7a5d9299ff
(svn r21988) -Change: Disable smooth scrolling for GHK_CENTER_ZOOM when zooming is also involved.
14 years ago
frosch
c003e1a358
(svn r21987) -Fix: Make news items, engine previews and AI preview events deal with no longer existing Engine items after resetting the pool.
14 years ago
frosch
dd1c718ac7
(svn r21986) -Codechange: Add helper function to test whether an engine is still associated to a GRF.
14 years ago
frosch
7ba674dfc1
(svn r21985) -Codechange: Use VehicleOrderID where appropiate.
14 years ago
planetmaker
871f80bda8
(svn r21984) -Fix: Compilation without AI was broken
14 years ago
translators
321af10c6b
(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
14 years ago
frosch
29a36abe32
(svn r21982) -Add: Wheel scrolling to console.
14 years ago
frosch
04b68f5c81
(svn r21981) -Codechange: Deduplicate the code and unify the bounds of console scrolling.
14 years ago
frosch
5d4042bb85
(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.
14 years ago
frosch
7e7ec9602a
(svn r21979) -Fix: Scrolling of the console in pages used wrong line height and scrolled too much.
14 years ago
frosch
2ea018ddc0
(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.
14 years ago
frosch
291ef7e082
(svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of viewport scroll/zoom settings.
14 years ago
alberth
fe71cbfc8b
(svn r21976) -Doc: Document several crash handling functions.
14 years ago
frosch
447f3dbe2c
(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.
14 years ago
terkhen
67ce7c5c41
(svn r21974) -Feature: Add a setting to enable/disable funding local road reconstruction.
14 years ago
terkhen
a788783e01
(svn r21973) -Fix: Redraw the town authority window after modifying town authority settings.
14 years ago
alberth
b371711d78
(svn r21972) -Fix: Replace 'None' industries in the generation window with more descriptive label.
14 years ago
alberth
a2ceba992d
(svn r21971) -Fix (r21969): Subversion auto-increments revision on commit.
14 years ago
rubidium
f923391838
(svn r21970) -Fix [FS#4464]: Crash when a multiplayer company goes bankrupt with 'you' in it
14 years ago
alberth
e3a35f7d40
(svn r21969) -Feature: Introduce 'minimal' number of industries as a replacment for the old 'none' setting in the newgame window.
14 years ago
rubidium
3c9bcf0e9a
(svn r21966) -Change [FS#4462]: [NewGRF] Disable the flipping of train engines/wagons in the depot by default for NewGRFs
14 years ago
translators
15efb39852
(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
14 years ago
rubidium
d8f158d170
(svn r21963) -Fix: saying something twice in an error message is not needed
14 years ago
rubidium
088223e058
(svn r21962) -Feature-ish: GUI setting to disable reversing at signals
14 years ago
rubidium
1afea0803f
(svn r21961) -Remove: limitation that not loading and not unloading is mutual exclusive
14 years ago
rubidium
fd7633def5
(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
14 years ago
rubidium
7086bb3017
(svn r21959) -Change: replace longbridges with custom maximum bridge and tunnel length setting
14 years ago
rubidium
8ee493b6e9
(svn r21958) -Cleanup: join_stations setting; can done by distant join and could be subverted by distant join
14 years ago
rubidium
c0f39415b9
(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
14 years ago
rubidium
285f369969
(svn r21956) -Cleanup: always draw the bridge pillars
14 years ago
rubidium
1a9ae166eb
(svn r21955) -Cleanup: always show the long date in the status bar
14 years ago
rubidium
12d3422539
(svn r21954) -Cleanup: remove setting to not show the vehicle speed in the vehicle view
14 years ago
smatz
4aa45d8742
(svn r21953) -Remove [FS#4456]: the non-uniform stations setting. Support for uniform stations has been broken for over a year
14 years ago
rubidium
974793f0c5
(svn r21952) -Codechange: unify the company clearing code for bankruptcy with the command to remove companies
14 years ago
yexo
209baff3ef
(svn r21951) -Fix: [NewGRF] reset the carry flag every 4 bytes in action6 when adding more than one variable
14 years ago
translators
9a18884a61
(svn r21950) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnau
14 years ago
smatz
452578b464
(svn r21949) -Change: randomize the vehicle a small UFO targets, do not use the one with lowest index
14 years ago
smatz
97abc18ffc
(svn r21948) -Fix: road vehicle was moved under the bridge when it was destroyed by an UFO while on a bridge
14 years ago
smatz
934d5d423e
(svn r21947) -Fix (r21195): crash when converting a savegame with vehicles crashed in a tunnel entry, or with vehicles reversing there
14 years ago
rubidium
b79330a815
(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
14 years ago
rubidium
7d7c82d9cc
(svn r21945) -Codechange: simplify setting the overtaking counter and remove the magic from its numbers
14 years ago
smatz
cce9fbce9a
(svn r21944) -Codechange: give name to one magic constant
14 years ago
rubidium
ca487f998b
(svn r21943) -Codechange: document and unmagicify some bits of road vehicle overtaking
14 years ago
smatz
5ffb43353e
(svn r21942) -Codechange: no need to convert GOINGUP/GOINGDOWN flags if they are cleared afterwards during savegame conversion
14 years ago
translators
41d5bc285e
(svn r21941) -Update from WebTranslator v3.0:
...
maltese - 22 changes by peter88823
14 years ago
planetmaker
11a7945c22
(svn r21940) -Fix [FS#4460]: Not all vehicles should be tested to be inside a tunnel upon savegame load (SmatZ)
14 years ago
smatz
65c4e0108c
(svn r21939) -Fix (r16357): the check for valid depot wasn't strict enough
14 years ago
alberth
9af2feb993
(svn r21938) -Codechange: AfterLoadGame() is no longer friend of Vehicle.
14 years ago
translators
78c9c08e19
(svn r21937) -Update from WebTranslator v3.0:
...
turkish - 32 changes by leventpasha
14 years ago
terkhen
fe15cf052e
(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.
14 years ago
terkhen
e3ae9d7600
(svn r21935) -Fix (r19231): Allow to overbuild road stops which are built over trams.
14 years ago
frosch
3847bac973
(svn r21934) -Fix (r21933): The original plan was to run the regression before committing.
14 years ago
frosch
7c04ea586d
(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.
14 years ago
rubidium
c7939e8a63
(svn r21932) -Document: some tidbits related to vehicles
14 years ago
translators
5a9183c6c5
(svn r21931) -Update from WebTranslator v3.0:
...
vietnamese - 81 changes by myquartz
14 years ago
alberth
b5e2e83823
(svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions.
14 years ago
planetmaker
c778568f58
(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
14 years ago
translators
c0e5da8327
(svn r21928) -Update from WebTranslator v3.0:
...
portuguese - 5 changes by JayCity
14 years ago
alberth
ad2049848a
(svn r21927) -Change: Comment-style fixes.
14 years ago
frosch
7b2ab9ba83
(svn r21926) -Fix [FS#4450](r21924): v != w.
14 years ago
alberth
5ef4317dd9
(svn r21925) -Doc: Doxygen additions and markup corrections to vehicle-related functions.
14 years ago
terkhen
0e51dab6a6
(svn r21924) -Codechange: Unify some parts of the articulated vehicle code.
...
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
14 years ago
terkhen
0ac0bcfdf7
(svn r21923) -Codechange: Unify articulated vehicle iteration functions.
14 years ago
terkhen
b974d69988
(svn r21922) -Codechange: Unify articulated vehicle checking functions.
14 years ago
terkhen
14e0343d21
(svn r21921) -Codechange: Move GroundVehicleSubtypeFlags as they will be needed by some Vehicle functions.
14 years ago
translators
637c79744d
(svn r21920) -Update from WebTranslator v3.0:
...
basque - 25 changes by Thadah
greek - 6 changes by fumantsu
spanish - 1 changes by Terkhen
14 years ago
planetmaker
182d351959
(svn r21919) -Fix: Converting an expensive rail type to a cheap one could give more money than removing and rebuilding cost
14 years ago
rubidium
a663fb0ce6
(svn r21918) -Fix [FS#4443]: Languages improperly sorted in the "start server" window (adf88)
14 years ago
translators
3f5c9f6aee
(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
14 years ago
rubidium
cf81efc5a6
(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
14 years ago
rubidium
2f8fb298a8
(svn r21915) -Codechange: rename RoadVehicleAccelerate to RoadVehicle::UpdateSpeed (to match the naming used by Trains), and make use of the algorithm implemented in GroundVehicle
14 years ago
rubidium
2a9fe0c0d8
(svn r21914) -Codechange: move the algorithmic part of Train::UpdateSpeed to a function in GroundVehicle
14 years ago
rubidium
509a01e291
(svn r21913) -Codechange: move bridge speed limiting for road vehicles to the same (logically speaking) place as for trains
14 years ago
rubidium
aa1f02c248
(svn r21912) -Codechange: let road vehicles use gcache.last_speed/SetLastSpeed as well
14 years ago
rubidium
0f411f9899
(svn r21911) -Codechange: move tcache.last_speed to gcache.last_speed and make SetLastSpeed a function of GroundVehicle
14 years ago
rubidium
02f3de6d1f
(svn r21910) -Codechange: rename some autoreplace internal functions so they don't collide with globabl functions
14 years ago
rubidium
54c0dec6aa
(svn r21909) -Fix: some missing spaces
14 years ago
translators
d16b489673
(svn r21908) -Update from WebTranslator v3.0:
...
german - 2 changes by dihedral
brazilian_portuguese - 36 changes by Luis_Mizuchiro
ukrainian - 3 changes by Fixer
14 years ago
translators
76f777d1dc
(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
14 years ago
translators
84efa6e5d0
(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
14 years ago
frosch
ad6c92bc12
(svn r21904) -Fix: Include the capacity of non-refittable vehicles in the refitted-capacity, if their cargo matches.
14 years ago
smatz
9175046d26
(svn r21903) -Codechange: warn only once for a train that has invalid length, not for each its wagon with invalid length
14 years ago
frosch
aab0eff930
(svn r21902) -Fix: Do not count articulated parts when passing the number of vehicles to refit to the command. That may exceed 8 bits.
14 years ago
frosch
8411b28dcf
(svn r21901) -Codechange: Save some bits in p2 of CmdRefitVehicle.
14 years ago
yexo
309b99a944
(svn r21900) -Fix: [NoAI] hide automatic orders from AIs as they have no way of dealing with them
14 years ago
frosch
6254ffc4d7
(svn r21899) -Fix: Do not show a vehicle selection in the RefitWindow for refit orders. You cannot select anything anyway.
14 years ago
rubidium
67b48537a5
(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
14 years ago
rubidium
86ba528906
(svn r21897) -Fix (21707): Kenobi visited IsValidConsoleColour shortly
14 years ago
rubidium
4f291ca982
(svn r21896) -Cleanup: remove the unused StartScenario
14 years ago
rubidium
c46cadf3fd
(svn r21895) -Cleanup: get rid of the unused SLD_NEW_GAME
14 years ago
rubidium
f775da140c
(svn r21894) -Cleanup: get rid of the unused SM_START_SCENARIO
14 years ago
rubidium
a921a149ee
(svn r21893) -Update (r21892): remove the strings from the other language files as well
14 years ago
rubidium
25735450b1
(svn r21892) -Fix [FS#4421]: only some scenarios from the main scenario folder and no heightmaps could be started in the "start server" window
14 years ago
translators
678fd5a314
(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
14 years ago
rubidium
05199a641a
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
rubidium
d021a6b834
(svn r21889) -Fix [FS#4434]: crash when scrolling outside of the main window (with some video backends)
14 years ago
rubidium
fa9cb1164e
(svn r21888) -Codechange: remove some unneeded (for the AI header) headers from some AI headers, reducing the include tree
14 years ago
rubidium
14e878f476
(svn r21887) -Fix-ish: some headers weren't including the headers they depend on
14 years ago
rubidium
43c8073551
(svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n].
14 years ago
yexo
024869f33c
(svn r21885) -Fix [FS#4422]: NewGRF string codes 0x80 and 0x81 were broken since the typechecking of string parameters
14 years ago
translators
36e20569b2
(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
14 years ago
smatz
50dfa5986c
(svn r21883) -Codechange: make UpdateZPosition() faster by not calling GetSlopeZ() when not needed
14 years ago
smatz
713d929883
(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
14 years ago
smatz
d1ee1a5aed
(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
14 years ago
smatz
e8274ab6b1
(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
14 years ago
smatz
a3ae023fdb
(svn r21879) -Codechange: reset vehicle's GOINGUP/DOWN bits when it crashes
14 years ago
smatz
9ae2016de8
(svn r21878) -Codechange: move parts of UpdateInclination() to separate functions
14 years ago
smatz
c591c49b00
(svn r21877) -Codechange: move definition of HALF_TILE_SIZE to tile_type.h
14 years ago
smatz
792659936e
(svn r21876) -Codechange: typedef SpecializedVehicleBase and GroundVehicleBase to reduce typing
14 years ago
smatz
f2006f36a1
(svn r21875) -Codechange: indentation of some comments was wrong
14 years ago
smatz
c7ebf1d450
(svn r21874) -Fix: when a single-vehicle train was reversed while on a slope, its GOINGUP/DOWN weren't swapped
14 years ago
translators
9c3c0af730
(svn r21869) -Update from WebTranslator v3.0:
...
japanese - 131 changes by kokubunzi
slovenian - 4 changes by ntadej
14 years ago
rubidium
3dad5886fa
(svn r21868) -Fix (r21866 and some more): the changes to the main toolbar rail types dropdown should happen for the autoreplace dropdown as well
14 years ago
rubidium
9ff9e1d1ca
(svn r21867) -Codechange: move creating the rail type dropdown to a more general location
14 years ago
rubidium
95e0695e02
(svn r21866) -Feature [FS#4394]: [NewGRF] Rail type property to influence sorting of rail types in the drop down list
14 years ago
rubidium
71ee34e574
(svn r21865) -Fix (r21862): don't perform savegame conversion when reinitialising some vehicle structures due to NewGRF changes
14 years ago
rubidium
09d558c3b1
(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
14 years ago
rubidium
3cea46161d
(svn r21863) -Fix (r21849): load the amount that should be loaded instead of the amount that should not be loaded
14 years ago
terkhen
8db501e115
(svn r21862) -Codechange: Unify subtype handling between road vehicles and trains.
14 years ago
translators
085e643ea5
(svn r21861) -Update from WebTranslator v3.0:
...
japanese - 92 changes by kokubunzi
spanish - 52 changes by Terkhen
ukrainian - 2 changes by Fixer
14 years ago
terkhen
fdb720cc1a
(svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names.
14 years ago
terkhen
a89c92ef6e
(svn r21859) -Codechange: Move train subtype flags to GroundVehicle.
14 years ago
terkhen
44a10ac857
(svn r21858) -Codechange: Give more similar names to ArticulatedPart functions.
14 years ago
rubidium
fcdbc98c7b
(svn r21855) -Feature [FS#4368]: [Network] Console command to change the password of other companies for servers (dihedral)
14 years ago
rubidium
f1e42dc23b
(svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server)
14 years ago
rubidium
a5108a1fa2
(svn r21853) -Codechange: HashCurrentCompanyPassword is only used by servers, so move it to network_server.* (dihedral)
14 years ago
rubidium
ebc3fa3b93
(svn r21852) -Codechange: generalise GenerateCompanyPasswordHash (dihedral)
14 years ago
rubidium
01b7b94052
(svn r21851) -Codechange: rename NetworkClientSetPassword to NetworkClientSetCompanyPassword (dihedral)
14 years ago
rubidium
29ecb58682
(svn r21850) -Codechange: move password hashing to a more general location (dihedral)
14 years ago
rubidium
c7c9dd970f
(svn r21849) -Codechange: move merging/splitting of cargopackets into a helper function (fonsinchen)
14 years ago
rubidium
943eb0809f
(svn r21848) -Codechange: unification of comment style for cargopacket.*
14 years ago
rubidium
6ed2aa9d74
(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
14 years ago
rubidium
0cf2ef83f0
(svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s].
14 years ago
rubidium
ec4f688ca0
(svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m].
14 years ago
rubidium
f0ad5fd749
(svn r21844) -Codechange: move documentation towards the code to make it more likely to be updates [a-c].
14 years ago
rubidium
3dd1cf6049
(svn r21843) -Codechange: move documentation towards the code to make it more likely to be updates [t-z].
14 years ago
rubidium
abc1828d30
(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
14 years ago
rubidium
dc94c94599
(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
14 years ago
rubidium
9954f14b36
(svn r21838) -Change: allow LMB scrolling with the mouse outside of the extra viewport instead of canceling scrolling when going slightly over the edge
14 years ago
rubidium
5e64756152
(svn r21837) -Fix [FS#4419]: LMB dragging would switch over to other viewports instead of staying locked to the viewport you started on
14 years ago
smatz
9fb08b4c4f
(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
14 years ago
smatz
5332c12440
(svn r21835) -Codechange: use UpdateStatusAfterSwap() instead of copying the same code three times
14 years ago
translators
95124ec8b1
(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
14 years ago
rubidium
2ae8216363
(svn r21833) -Fix [FS#4427]: desync debug savegames might not be actually saved in case threading is enabled, which is enabled by default
14 years ago
rubidium
738db7ef44
(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
14 years ago
rubidium
bd7c018ddd
(svn r21831) -Fix [FS#4414]: service orders for trains/aircraft would (sometimes) not get a time when autofilling
14 years ago
terkhen
1f75b91654
(svn r21830) -Fix: Deunionize a union which was not initialized correctly.
14 years ago
translators
9abbc3d643
(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
14 years ago
rubidium
d9e74a87c2
(svn r21827) -Cleanup: remove string removed in r21826 from other languages too
14 years ago
rubidium
79c908d6f3
(svn r21826) -Fix [FS#4007]: the expectations from the "always build infrastructure" setting name/description didn't match the behaviour
14 years ago
translators
24e1fa6b3e
(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
14 years ago
smatz
b27ce8f02f
(svn r21824) -Codechange: don't call GetSlopeZ() when the ground vehicle is on a flat tile
14 years ago
alberth
7300014322
(svn r21822) -Codechange: Merge event handling code.
14 years ago
alberth
0c1dd3cbc6
(svn r21821) -Codechange: Clean up the jump conditions.
14 years ago
alberth
4686422978
(svn r21820) -Codechange: Concatenate both functions.
14 years ago
alberth
7045458003
(svn r21819) -Codechange: Swap order of HandleMouseDrag() and HandleDragDrop(), and split the w vardecl in the former.
14 years ago
terkhen
44c5014993
(svn r21818) -Change: Rename the genders of the spanish translation.
14 years ago
rubidium
21a134983e
(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
14 years ago
planetmaker
6e9800026c
(svn r21816) -Fix [FS#4378] (r14012): Allow dragging of combo signals (again)
14 years ago
rubidium
9759d57087
(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
14 years ago
frosch
56d06b6ef8
(svn r21814) -Fix/Add: Check GRF version from action 8, and disallow usage of GRFs with versions above 7.
14 years ago
terkhen
0152ea53c8
(svn r21813) -Fix [FS#4411](r21720): Prevent crash when displaying the owner view.
14 years ago
alberth
69e50bb428
(svn r21812) -Fix (r21754): Don't try to scroll the matrix widget to position -1.
14 years ago
rubidium
3d48af22b0
(svn r21811) -Fix: guess what...
14 years ago
translators
a7be8c1f09
(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
14 years ago
rubidium
6ae5911ed0
(svn r21809) -Fix [FS#4404]: remove unreached automatic orders as well when reaching an ordered waypoint or depot (fonsinchen)
14 years ago
rubidium
b9cd093c41
(svn r21808) -Fix: don't create automatic orders when there are no manual orders (fonsinchen)
14 years ago
rubidium
da371c5776
(svn r21807) -Codechange: split automatic order removal into a separate function (fonsinchen)
14 years ago
terkhen
9df9575e72
(svn r21806) -Codechange: Correct additional appearances of the same typo.
14 years ago
terkhen
98e0a17c47
(svn r21805) -Codechange: Correct a typo.
14 years ago
smatz
6d9789fed8
(svn r21804) -Remove [FS#4409]: the 'stopall' console command, as its functionality was broken. Group start/stop commands can be used instead
14 years ago
terkhen
b6148914b0
(svn r21803) -Cleanup: Remove unnecessary semicolons.
14 years ago
smatz
e98fe27c5d
(svn r21802) -Cleanup (r2600): remove unused _vehicle_id_ctr_day
14 years ago
alberth
c4d148ec7a
(svn r21801) -Fix (r21772): Attach scrollbar to select matrix in object gui.
14 years ago
rubidium
c4b5a322e7
(svn r21800) -Fix [FS#3569]: under certain circumstances one could crash a competitor's train; take the lazy non-future proof version of the fix from the 1.0 branch as fixing the real bug is significantly more complex and might even break some backwards compatability if not done perfectly
14 years ago
smatz
8c421116d9
(svn r21799) -Fix: further variables need to be reset when we loaded a TTDPatch savegame in the past
14 years ago
smatz
95d264953a
(svn r21798) -Fix: loading a TTO savegame failed after loading a TTDP savegame with vehicle multiplier bigger than 1
14 years ago
rubidium
623ed581e3
(svn r21797) -Fix/Change: unify the size (in characters) of the string inputs with eachother and TTD to prevent crashes/asserts with e.g. signs that are too long
14 years ago
rubidium
680b090ddd
(svn r21796) -Fix [FS#4398]: drive through road stop state wasn't properly converted from TTDPatch savegames
14 years ago
rubidium
971252a204
(svn r21795) -Fix (r21790): when converting TTDPatch train waypoints, convert the data on the map as well
14 years ago
smatz
1b062d2249
(svn r21794) -Fix (r21790): convert train orders too (Rubidium)
14 years ago
smatz
052cabb9f0
(svn r21793) -Fix (r20446): broken usage of GetTileOwner() caused wrong conversion of old savegames
14 years ago
translators
c37990e64b
(svn r21792) -Update from WebTranslator v3.0:
...
belarusian - 1 changes by KorneySan
croatian - 1 changes by VoyagerOne
czech - 8 changes by CrazyBenny, marek995
dutch - 1 changes by habell
english_US - 3 changes by Rubidium
estonian - 1 changes by notAbot
finnish - 3 changes by jpx_
french - 3 changes by glx
german - 5 changes by planetmaker
hungarian - 1 changes by IPG
italian - 1 changes by lorenzodv
latvian - 1 changes by frosch
polish - 1 changes by wojteks86
russian - 1 changes by KorneySan
spanish - 4 changes by Terkhen
swedish - 1 changes by spacejens
turkish - 9 changes by niw3
ukrainian - 1 changes by Fixer
vietnamese - 1 changes by nglekhoi
14 years ago
rubidium
692f522321
(svn r21791) -Fix [FS#4407]: off-by-one-ish for the terraforming limit
14 years ago
smatz
27630bd63c
(svn r21790) -Fix [FS#4398]: TTDPatch savegames can have train waypoints encoded as buoys
14 years ago
frosch
4748e49f4a
(svn r21789) -Fix [FS#4405]: When the font misses the fallback character '?', use the sprite font's '?' instead.
14 years ago
frosch
29f8f11ed4
(svn r21788) -Codechange: Enable GetRawSprite() to also load sprites not using the spritecache but a custom allocator function.
14 years ago
frosch
bf9f0f16c2
(svn r21787) -Codechange: Pass the allocator function to use to ReadSprite().
14 years ago
smatz
4b543f10c1
(svn r21786) -Fix [FS#4398]: don't trust rail station width and height data stored by TTDPatch, it is invalid for stations wider or higher than 7
14 years ago
frosch
856c4b2009
(svn r21785) -Codechange: Make ReadSprite() not operate on the sprite chache directly.
14 years ago
smatz
8e6ec374a5
(svn r21784) -Fix (r16909): crash when converting savegame with custom waypoint name
14 years ago
frosch
5a3a965e85
(svn r21783) -Cleanup (r14997): Remove redundant assignment.
14 years ago
frosch
dfff637487
(svn r21782) -Codechange: Move declaration of AllocatorProc from Blitter:: to spritecache.h
14 years ago
planetmaker
3686582347
(svn r21781) -Change: Make the description of the setting on how to obtain the tooltip a bit clearer
14 years ago
terkhen
fbad07d3df
(svn r21780) -Change: Keep aqueducts and road/tram tunnels and bridges after removing a company.
14 years ago
terkhen
d865c6ea02
(svn r21779) -Cleanup(r21778): Remove unneeded space at the start of a line.
14 years ago
terkhen
6877ab9d05
(svn r21778) -Add: After building a road or tram tunnel, connect it to any existing road or tram.
14 years ago
terkhen
aadf070f06
(svn r21777) -Add: After building a road or tram bridge, connect it to any existing road or tram.
14 years ago
terkhen
3f3d477457
(svn r21776) -Codechange: Give a more appropriate name to the road connection function.
...
-Document: Add doxygen comments to the function.
14 years ago
alberth
51e479c9de
(svn r21775) -Add: Allow vertical resizing of the newobject gui.
14 years ago
alberth
51012dab8d
(svn r21774) -Change: Update the other languages too.
14 years ago