Commit Graph

17849 Commits

Author SHA1 Message Date
frosch 27a095fd92 (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 bbe5d67681 (svn r22648) -Fix (r22629): Missing 'break'. (thanks michi_cc) 2011-07-10 13:25:52 +00:00
frosch bbb9c1e52f (svn r22647) -Codechange: Enhance MP_WATER map accessors with assertions. (adf88) 2011-07-10 13:21:21 +00:00
frosch ba358638a8 (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 2ebf8fa584 (svn r22645) -Fix [FS#4678]: GetSection() does not return a LockPart. 2011-07-10 13:00:05 +00:00
frosch 78e4abbed0 (svn r22644) -Codechange: Use IsShipDepotTile() instead of single water- and depottests. (adf88) 2011-07-09 18:10:48 +00:00
michi_cc dd0439c690 (svn r22643) -Fix: Disallow building NewObjects on water tiles owned by another company. 2011-07-08 14:42:18 +00:00
frosch 3426225c9f (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 c03cbc8b92 (svn r22641) -Fix (r22639): Warning about uninitialised fields. 2011-07-07 20:35:48 +00:00
translators e13879d502 (svn r22640) -Update from WebTranslator v3.0:
brazilian_portuguese - 2 changes by Tucalipe
2011-07-07 17:45:07 +00:00
michi_cc f4a34471c5 (svn r22639) -Feature: [NewGRF] Support for ship props 14/15 (ocean/canal speed fraction). 2011-07-07 14:16:22 +00:00
michi_cc f182f6e675 (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 2516164b60 (svn r22637) -Update from WebTranslator v3.0:
polish - 1 changes by wojteks86
2011-07-05 17:45:08 +00:00
frosch a712f23cc8 (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 0f8065fef4 (svn r22635) -Fix: Correctly reseed random bits of industries and industry tiles. 2011-07-04 20:37:20 +00:00
frosch e2a5d69cb7 (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 74fbbc2f38 (svn r22633) -Fix: Implement variables 25 and 7F for railtypes. 2011-07-04 20:25:17 +00:00
translators 1d7655d620 (svn r22632) -Update from WebTranslator v3.0:
brazilian_portuguese - 2 changes by Luis_Mizuchiro
2011-07-04 17:45:07 +00:00
frosch e43d74c438 (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 df02515cf1 (svn r22630) -Cleanup: Remove SwitchToNormalRefStack() and SwitchToErrorRefStack(). 2011-07-03 14:33:17 +00:00
frosch ef5b18ab3b (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 600c6c0f2e (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 e7971ab5df (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 c1b1513815 (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 1bf9bc70a3 (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 fd65734f65 (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 ac60296db3 (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 f1b227b8f3 (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 42623e1084 (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 03ca1c2c39 (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 9340a1d68e (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 9a5f813b6d (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 1322d59aaa (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 85c4d4e531 (svn r22616) -Codechange: Fix typo. 2011-07-02 11:31:20 +00:00
frosch 1c09266932 (svn r22615) -Codechange: The return value of PlayTileSound() has no purpose. Remove it and document the rest. 2011-07-02 11:28:22 +00:00
frosch d33865c96f (svn r22614) -Fix [FS#4656]: If callback 33 returns a value out of range, no sound effect shall be played. 2011-07-02 11:24:39 +00:00
translators ec4c90e36b (svn r22613) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by Gavin
2011-07-01 17:45:10 +00:00
translators bd8b7d489d (svn r22612) -Update from WebTranslator v3.0:
basque - 7 changes by Thadah
thai - 18 changes by nirakanz
2011-06-30 17:45:11 +00:00
translators 644e334969 (svn r22611) -Update from WebTranslator v3.0:
basque - 10 changes by Thadah
2011-06-28 17:45:06 +00:00
translators ca291f9540 (svn r22610) -Update from WebTranslator v3.0:
swedish - 4 changes by Zuu
2011-06-27 17:45:06 +00:00
translators 36c2cc44fc (svn r22609) -Update from WebTranslator v3.0:
hungarian - 3 changes by IPG
ukrainian - 11 changes by Fixer
2011-06-26 17:45:17 +00:00
alberth 02e4b2a75e (svn r22608) -Fix[FS#4663]: Use rotated heightmap sizes for reporting scaling problems. 2011-06-26 16:16:04 +00:00
translators 342121198a (svn r22607) -Update from WebTranslator v3.0:
esperanto - 3 changes by Christopher
2011-06-23 17:45:06 +00:00
frosch 4d4036469e (svn r22606) -Fix (r22518): 20 is not the successor of 19 in NewGRF context. 2011-06-23 08:25:15 +00:00
translators 5ede9e7091 (svn r22605) -Update from WebTranslator v3.0:
simplified_chinese - 3 changes by Gavin
czech - 3 changes by marek995
2011-06-21 17:45:15 +00:00
rubidium e8d84ea612 (svn r22604) -Document: that there are invalid warnings under some circumstances 2011-06-20 17:06:33 +00:00
translators 8feffe9659 (svn r22603) -Update from WebTranslator v3.0:
korean - 5 changes by telk5093
2011-06-19 17:45:07 +00:00
translators 3d229b2190 (svn r22596) -Update from WebTranslator v3.0:
esperanto - 21 changes by Christopher
portuguese - 1 changes by JayCity
2011-06-18 17:45:08 +00:00
yexo 2de94c6b36 (svn r22595) -Fix [FS#4560] (r22593): build railstation gui was broken with newgrf stations 2011-06-17 20:32:25 +00:00
yexo 579bdfae4a (svn r22594) -Fix [FS#4644]: add active NewGRFs to the list of available ones when selecting the empty preset 2011-06-16 10:59:09 +00:00