alberth
ff1e0a3ed3
(svn r22102) -Codechange: Also use the getopt function in strgen.
2011-02-18 20:52:42 +00:00
alberth
41a67a9b94
(svn r22101) -Codechange (r22098): Unify a bit of code.
2011-02-18 20:51:05 +00:00
alberth
8c2fc45153
(svn r22098) -Codechange: Have an array of option data, use it in the option parsing routine. Adapt openttd option processing too.
2011-02-18 20:28:25 +00:00
alberth
b0b1c0dea9
(svn r22097) -Fix (r22096): Add files before commit.
2011-02-18 20:23:11 +00:00
alberth
9d0ff9d692
(svn r22096) -Codechange: Move openttd getopt implementation to its own file.
2011-02-18 20:14:30 +00:00
translators
bca5159951
(svn r22095) -Update from WebTranslator v3.0:
...
traditional_chinese - 11 changes by elleryq
danish - 40 changes by beruic
brazilian_portuguese - 41 changes by Luis_Mizuchiro
spanish - 1 changes by Terkhen
swedish - 22 changes by LordDaimos
tamil - 37 changes by ksvml
thai - 149 changes by m_vanillaconix
2011-02-18 18:45:23 +00:00
yexo
24753fbd35
(svn r22094) -Fix [FS#4510]: remove invalid keycodes when reading hotkeys.cfg
2011-02-17 23:14:43 +00:00
rubidium
1a5087be69
(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
2011-02-17 21:05:44 +00:00
rubidium
848761e3a9
(svn r22092) -Fix-ish (r22068): when you change a boolean to a enum, check specifically for a particular value
2011-02-17 18:45:44 +00:00
translators
5fd9f87d34
(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
2011-02-17 18:45:28 +00:00
translators
efd9aae5a1
(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
2011-02-16 18:45:21 +00:00
terkhen
c36a22ba72
(svn r22087) -Fix: When deleting towns, only relocate objects during DC_EXEC.
2011-02-15 13:27:41 +00:00
smatz
a5b9858a36
(svn r22086) -Fix: do not check if we can allocate an item if we won't try to do so anyway
2011-02-15 13:15:12 +00:00
smatz
d2d6b263b3
(svn r22085) -Fix: assert when connecting to the admin port
2011-02-15 12:11:28 +00:00
frosch
949bfabe5e
(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.
2011-02-14 21:41:52 +00:00
rubidium
22afd83964
(svn r22083) -Change: trunk is heading towards 1.2 now
2011-02-14 20:20:57 +00:00
glx
1b2ef66416
(svn r22081) -Fix [FS#4489]: if fullscreen fails with current resolution, use desktop resolution
2011-02-14 20:16:36 +00:00
planetmaker
914f8e9f1d
(svn r22080) -Doc: Add doxygen comments to a few functions and improve a few existing comments
2011-02-14 19:52:26 +00:00
terkhen
8e4b2c951d
(svn r22079) -Fix: The owner view of the smallmap was not updated after a company colour change.
2011-02-14 19:39:01 +00:00
rubidium
95b6aeaabd
(svn r22078) -Fix [FS#4499]: maximum train length interfered with wagon replacement when wagon removal was turned on
2011-02-14 19:18:12 +00:00
translators
95ec99132e
(svn r22077) -Update from WebTranslator v3.0:
...
latvian - 2 changes by skazhy
2011-02-14 18:45:08 +00:00
smatz
e8002f5b92
(svn r22076) -Fix (r22075): build failed with GCC
2011-02-14 12:39:45 +00:00
yexo
66543bde1d
(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
2011-02-13 21:44:00 +00:00
yexo
b51c62f5af
(svn r22074) -Cleanup (r22073): there was already a setting-callback that did what is needed
2011-02-13 20:52:33 +00:00
yexo
f1377a228f
(svn r22073) -Fix: immediately update the train weight when you change the multiplier for train cargo weight
2011-02-13 20:45:17 +00:00
rubidium
6a58f34878
(svn r22072) -Fix (r21966): flipping wasn't (correctly) disabled in some cases
2011-02-13 19:49:53 +00:00
yexo
c7038d8b4d
(svn r22071) -Fix (r20075): some hotkey names in hotkey.cfg for the scenario editor toolbar were completely bogus
2011-02-13 19:31:04 +00:00
rubidium
befa79ba4a
(svn r22070) -Fix [FS#4503] (r21399): crashes when disconnecting after requesting the map
2011-02-12 21:30:57 +00:00
rubidium
a19bc28aba
(svn r22069) -Fix: delete all savegame packets, not just the first one
2011-02-12 21:29:35 +00:00
rubidium
adfd648031
(svn r22068) -Codechange/Fix: return "connection lost" instead of "okay" when SendPackets closed the connection
2011-02-12 21:09:34 +00:00
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