Commit Graph

33557 Commits

Author SHA1 Message Date
frosch d2b236802c (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
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 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 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 df02515cf1 (svn r22630) -Cleanup: Remove SwitchToNormalRefStack() and SwitchToErrorRefStack(). 2011-07-03 14:33:17 +00:00
frosch 5ea8b07e05 (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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 85c4d4e531 (svn r22616) -Codechange: Fix typo. 2011-07-02 11:31:20 +00:00
frosch 56a41a8852 (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 4e5534f85e (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
frosch ff52f85b9e (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 22378a2164 (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 471a3798c8 (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 01e49d178b (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 95d72b5470 (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
translators 9308ed1ce0 (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