Commit Graph

18065 Commits

Author SHA1 Message Date
frosch 718e0090b2 (svn r22670) -Change: Do not spawn explosion effects when bulldozing in paused mode. They block the view. 2011-07-17 16:09:38 +00:00
alberth d55b380b69 (svn r22669) -Codechange: For non-windows, only test for file existence again if strtolower actually changed the name. 2011-07-16 18:43:22 +00:00
alberth 20c2b5fdde (svn r22668) -Codechange: FioFindFullPath tests already whether the file exists. 2011-07-16 18:34:04 +00:00
translators d209369c50 (svn r22667) -Update from WebTranslator v3.0:
belarusian - 6 changes by Wowanxm
2011-07-16 17:45:11 +00:00
translators 264fead679 (svn r22666) -Update from WebTranslator v3.0:
czech - 7 changes by micropro_cz
luxembourgish - 9 changes by Phreeze
2011-07-15 17:45:13 +00:00
translators b1d68bb3b1 (svn r22665) -Update from WebTranslator v3.0:
portuguese - 5 changes by JayCity
romanian - 5 changes by kkmic
2011-07-14 17:45:11 +00:00
translators add34b41bf (svn r22664) -Update from WebTranslator v3.0:
serbian - 5 changes by etran
2011-07-13 17:45:11 +00:00
translators e338449974 (svn r22663) -Update from WebTranslator v3.0:
croatian - 5 changes by VoyagerOne
dutch - 5 changes by habell
french - 5 changes by glx
italian - 6 changes by lorenzodv
russian - 6 changes by Lone_Wolf
vietnamese - 5 changes by nglekhoi
2011-07-12 17:45:23 +00:00
frosch 371a66e14d (svn r22662) -Fix (r22639)[FS#4683]: Ships can also travel on certain rail tiles. 2011-07-12 17:12:10 +00:00
frosch 7ec119a574 (svn r22661) -Fix (r22659): Silence a gcc warning. 2011-07-12 16:36:53 +00:00
translators 44b49269fc (svn r22660) -Update from WebTranslator v3.0:
english_US - 5 changes by Rubidium
finnish - 5 changes by jpx_
2011-07-11 17:45:18 +00:00
michi_cc d579af11e8 (svn r22659) -Add: [NewGRF] Support for the land slope check callback for stations. 2011-07-11 16:32:35 +00:00
michi_cc e5dd6f9227 (svn r22658) -Feature: [NewGRF] Custom error messages for object callback 0x157. 2011-07-11 16:32:30 +00:00
michi_cc 624aec0b19 (svn r22657) -Add: [NewGRF] More default error messages for the industry shape and location callbacks. 2011-07-11 16:32:25 +00:00
michi_cc 206ff68e65 (svn r22656) -Codechange: Deduplicate the custom error message of the industry shape and location callbacks. 2011-07-11 16:32:19 +00:00
michi_cc 1e855be492 (svn r22655) -Add: [NewGRF] Add water class to the 'land info of nearby tiles' vars. 2011-07-11 16:32:13 +00:00
frosch abf286e990 (svn r22649) -Fix [FS#4670]: Switching from a red to a white highlight (by switching to another tool) without switching the highlight mode (HT_RECT etc.) did not mark the selection dirty. 2011-07-10 14:44:41 +00:00
frosch 9afe1c1d20 (svn r22648) -Fix (r22629): Missing 'break'. (thanks michi_cc) 2011-07-10 13:25:52 +00:00
frosch 3639456cc4 (svn r22647) -Codechange: Enhance MP_WATER map accessors with assertions. (adf88) 2011-07-10 13:21:21 +00:00
frosch a7f7a97825 (svn r22646) -Codechange: Simplify MP_WATER map accessors, esp. for locks and depots. (based on patched by adf88 and michi_cc) 2011-07-10 13:04:04 +00:00
frosch d4dbe95274 (svn r22645) -Fix [FS#4678]: GetSection() does not return a LockPart. 2011-07-10 13:00:05 +00:00
frosch 570da01d3a (svn r22644) -Codechange: Use IsShipDepotTile() instead of single water- and depottests. (adf88) 2011-07-09 18:10:48 +00:00
michi_cc 8565703a4c (svn r22643) -Fix: Disallow building NewObjects on water tiles owned by another company. 2011-07-08 14:42:18 +00:00
frosch a6ce6c144b (svn r22642) -Change: Disable the 'set parameters' button in the NewGRF GUI, if the GRF specifies to have no parameters and one would not be able to set any parameters anyway. 2011-07-07 21:52:08 +00:00
frosch 566a9612a0 (svn r22641) -Fix (r22639): Warning about uninitialised fields. 2011-07-07 20:35:48 +00:00
translators 84007b6f9a (svn r22640) -Update from WebTranslator v3.0:
brazilian_portuguese - 2 changes by Tucalipe
2011-07-07 17:45:07 +00:00
michi_cc 9218c56cde (svn r22639) -Feature: [NewGRF] Support for ship props 14/15 (ocean/canal speed fraction). 2011-07-07 14:16:22 +00:00
michi_cc 662a0a9cd3 (svn r22638) -Fix: Keep the previous owner of the upper and lower lock parts if they are built on existing water. 2011-07-07 14:16:16 +00:00
translators d1be388bc9 (svn r22637) -Update from WebTranslator v3.0:
polish - 1 changes by wojteks86
2011-07-05 17:45:08 +00:00
frosch 412cbe133d (svn r22636) -Fix: Airports should not expose the tile specific random bits of the north tile. Only airport tiles should access those. 2011-07-04 22:07:53 +00:00
frosch 8930337aae (svn r22635) -Fix: Correctly reseed random bits of industries and industry tiles. 2011-07-04 20:37:20 +00:00
frosch 8b18292a2e (svn r22634) -Codechange: Deduplicate some code. Note that zeroing 'count' is intentionally removed, it is only used together with 'scope'. 2011-07-04 20:31:57 +00:00
frosch d2b236802c (svn r22633) -Fix: Implement variables 25 and 7F for railtypes. 2011-07-04 20:25:17 +00:00
translators 0d486446b8 (svn r22632) -Update from WebTranslator v3.0:
brazilian_portuguese - 2 changes by Luis_Mizuchiro
2011-07-04 17:45:07 +00:00
frosch 98a9d30bfe (svn r22631) -Fix: Additional text in fund industry window is NewGRF supplied and thus should have a default colour. 2011-07-03 14:49:19 +00:00
frosch 5ea8b07e05 (svn r22630) -Cleanup: Remove SwitchToNormalRefStack() and SwitchToErrorRefStack(). 2011-07-03 14:33:17 +00:00
frosch 2a55273291 (svn r22629) -Fix [FS#4599]: Remove all usages of the ErrorRefStack. It was continuously overwritten by e.g. industry prospection without closing the old error window; also StopTextRefStackUsage() was not called for errors returned by commands (which caused FS#4599). Now return in the CommandCost result whether the textref stack needs to be used, and store a copy of the stack values in the error window just like for the normal string parameters. 2011-07-03 14:32:15 +00:00
frosch 2158f4f1bf (svn r22628) -Codechange: Allow passing the textref stack values to use to StartTextRefStackUsage() instead of always using the temporary NewGRF registers. 2011-07-03 13:53:42 +00:00
frosch f93c8ce5aa (svn r22627) -Codechange: Rename PrepareTextRefStackUsage() to StartTextRefStackUsage() to make it more obvious that you must call StopTextRefStackUsage() at some point. Also extent the documentation. 2011-07-03 13:49:29 +00:00
frosch d29def43b0 (svn r22626) -Fix [FS#4622]: Also initialise _old_vds with newgame settings; TTD savegames do not contain these settings. 2011-07-03 10:59:25 +00:00
frosch 9c015d369e (svn r22625) -Fix (r22050)[FS#4642]: Do not zero the orders of disaster vehicles when converting savegames. 2011-07-02 21:20:37 +00:00
frosch 63d3d8505e (svn r22624) -Fix [FS#4654]: When closing an AI company the local player cheated to, we need to cheat him to another company. 2011-07-02 19:31:01 +00:00
frosch 0b33df7a8f (svn r22623) -Cleanup: DoAcquireCompany() does not need to sell shares, ChangeOwnershipOfCompanyItems() already does that and it does it better. 2011-07-02 19:07:47 +00:00
frosch a3ede3cea1 (svn r22622) -Fix: When closing down companies their shares in other companies must be sold even if share trading is disabled at that point of time. 2011-07-02 19:05:42 +00:00
frosch 7bf8b1d96e (svn r22621) -Fix: When asking the user to confirm an unsafe unpausing, there is no need to execute a command if 'no' is choosed. This also prevents crashing when clicking unpause while the confirm window is shown. 2011-07-02 17:40:39 +00:00
frosch 55a21a940d (svn r22620) -Change [FS#4651]: Enforce refit orders to be 'always go to depot' orders; service-only and stop-in-depot orders make no sense with refitting. 2011-07-02 16:45:54 +00:00
frosch 1bc1a42ea5 (svn r22619) -Fix [FS#4662]: Consider the size of the vehicle sprite for the lineheight in the company GUI. This also makes the widget containing the sprite not skip drawing it, if the bounds of the widget are outside of the drawing area though the sprite actually needs drawing. 2011-07-02 14:37:03 +00:00
frosch c544dca519 (svn r22618) -Fix [FS#4653]: When changing difficulty settings over the network, do not just reopen the difficulty window if any game options window is opened; instead invalidate them properly. 2011-07-02 12:58:37 +00:00
frosch 1688470eb9 (svn r22617) -Codechange: Add GameOptionsInvalidationData enum for data values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS. 2011-07-02 12:49:44 +00:00
frosch 56a41a8852 (svn r22616) -Codechange: Fix typo. 2011-07-02 11:31:20 +00:00