Commit Graph

  • 5ea8b07e05 (svn r22630) -Cleanup: Remove SwitchToNormalRefStack() and SwitchToErrorRefStack(). frosch 2011-07-03 14:33:17 +00:00
  • df02515cf1 (svn r22630) -Cleanup: Remove SwitchToNormalRefStack() and SwitchToErrorRefStack(). frosch 2011-07-03 14:33:17 +00:00
  • 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. frosch 2011-07-03 14:32:15 +00:00
  • 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. frosch 2011-07-03 14:32:15 +00:00
  • 2158f4f1bf (svn r22628) -Codechange: Allow passing the textref stack values to use to StartTextRefStackUsage() instead of always using the temporary NewGRF registers. frosch 2011-07-03 13:53:42 +00:00
  • 600c6c0f2e (svn r22628) -Codechange: Allow passing the textref stack values to use to StartTextRefStackUsage() instead of always using the temporary NewGRF registers. frosch 2011-07-03 13:53:42 +00:00
  • 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. frosch 2011-07-03 13:49:29 +00:00
  • 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. frosch 2011-07-03 13:49:29 +00:00
  • d29def43b0 (svn r22626) -Fix [FS#4622]: Also initialise _old_vds with newgame settings; TTD savegames do not contain these settings. frosch 2011-07-03 10:59:25 +00:00
  • c1b1513815 (svn r22626) -Fix [FS#4622]: Also initialise _old_vds with newgame settings; TTD savegames do not contain these settings. frosch 2011-07-03 10:59:25 +00:00
  • 9c015d369e (svn r22625) -Fix (r22050)[FS#4642]: Do not zero the orders of disaster vehicles when converting savegames. frosch 2011-07-02 21:20:37 +00:00
  • 1bf9bc70a3 (svn r22625) -Fix (r22050)[FS#4642]: Do not zero the orders of disaster vehicles when converting savegames. frosch 2011-07-02 21:20:37 +00:00
  • 63d3d8505e (svn r22624) -Fix [FS#4654]: When closing an AI company the local player cheated to, we need to cheat him to another company. frosch 2011-07-02 19:31:01 +00:00
  • fd65734f65 (svn r22624) -Fix [FS#4654]: When closing an AI company the local player cheated to, we need to cheat him to another company. frosch 2011-07-02 19:31:01 +00:00
  • 0b33df7a8f (svn r22623) -Cleanup: DoAcquireCompany() does not need to sell shares, ChangeOwnershipOfCompanyItems() already does that and it does it better. frosch 2011-07-02 19:07:47 +00:00
  • ac60296db3 (svn r22623) -Cleanup: DoAcquireCompany() does not need to sell shares, ChangeOwnershipOfCompanyItems() already does that and it does it better. frosch 2011-07-02 19:07:47 +00:00
  • 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. frosch 2011-07-02 19:05:42 +00:00
  • 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. frosch 2011-07-02 19:05:42 +00:00
  • 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. frosch 2011-07-02 17:40:39 +00:00
  • 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. frosch 2011-07-02 17:40:39 +00:00
  • 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. frosch 2011-07-02 16:45:54 +00:00
  • 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. frosch 2011-07-02 16:45:54 +00:00
  • 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. frosch 2011-07-02 14:37:03 +00:00
  • 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. frosch 2011-07-02 14:37:03 +00:00
  • 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. frosch 2011-07-02 12:58:37 +00:00
  • 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. frosch 2011-07-02 12:58:37 +00:00
  • 1688470eb9 (svn r22617) -Codechange: Add GameOptionsInvalidationData enum for data values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS. frosch 2011-07-02 12:49:44 +00:00
  • 1322d59aaa (svn r22617) -Codechange: Add GameOptionsInvalidationData enum for data values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS. frosch 2011-07-02 12:49:44 +00:00
  • 56a41a8852 (svn r22616) -Codechange: Fix typo. frosch 2011-07-02 11:31:20 +00:00
  • 85c4d4e531 (svn r22616) -Codechange: Fix typo. frosch 2011-07-02 11:31:20 +00:00
  • 4e5534f85e (svn r22615) -Codechange: The return value of PlayTileSound() has no purpose. Remove it and document the rest. frosch 2011-07-02 11:28:22 +00:00
  • 1c09266932 (svn r22615) -Codechange: The return value of PlayTileSound() has no purpose. Remove it and document the rest. frosch 2011-07-02 11:28:22 +00:00
  • ff52f85b9e (svn r22614) -Fix [FS#4656]: If callback 33 returns a value out of range, no sound effect shall be played. frosch 2011-07-02 11:24:39 +00:00
  • d33865c96f (svn r22614) -Fix [FS#4656]: If callback 33 returns a value out of range, no sound effect shall be played. frosch 2011-07-02 11:24:39 +00:00
  • 22378a2164 (svn r22613) -Update from WebTranslator v3.0: simplified_chinese - 1 changes by Gavin translators 2011-07-01 17:45:10 +00:00
  • ec4c90e36b (svn r22613) -Update from WebTranslator v3.0: simplified_chinese - 1 changes by Gavin translators 2011-07-01 17:45:10 +00:00
  • 471a3798c8 (svn r22612) -Update from WebTranslator v3.0: basque - 7 changes by Thadah thai - 18 changes by nirakanz translators 2011-06-30 17:45:11 +00:00
  • bd8b7d489d (svn r22612) -Update from WebTranslator v3.0: basque - 7 changes by Thadah thai - 18 changes by nirakanz translators 2011-06-30 17:45:11 +00:00
  • 01e49d178b (svn r22611) -Update from WebTranslator v3.0: basque - 10 changes by Thadah translators 2011-06-28 17:45:06 +00:00
  • 644e334969 (svn r22611) -Update from WebTranslator v3.0: basque - 10 changes by Thadah translators 2011-06-28 17:45:06 +00:00
  • 95d72b5470 (svn r22610) -Update from WebTranslator v3.0: swedish - 4 changes by Zuu translators 2011-06-27 17:45:06 +00:00
  • ca291f9540 (svn r22610) -Update from WebTranslator v3.0: swedish - 4 changes by Zuu translators 2011-06-27 17:45:06 +00:00
  • 9308ed1ce0 (svn r22609) -Update from WebTranslator v3.0: hungarian - 3 changes by IPG ukrainian - 11 changes by Fixer translators 2011-06-26 17:45:17 +00:00
  • 36c2cc44fc (svn r22609) -Update from WebTranslator v3.0: hungarian - 3 changes by IPG ukrainian - 11 changes by Fixer translators 2011-06-26 17:45:17 +00:00
  • a0cd04130a (svn r22608) -Fix[FS#4663]: Use rotated heightmap sizes for reporting scaling problems. alberth 2011-06-26 16:16:04 +00:00
  • 02e4b2a75e (svn r22608) -Fix[FS#4663]: Use rotated heightmap sizes for reporting scaling problems. alberth 2011-06-26 16:16:04 +00:00
  • c74fd63af3 (svn r22607) -Update from WebTranslator v3.0: esperanto - 3 changes by Christopher translators 2011-06-23 17:45:06 +00:00
  • 342121198a (svn r22607) -Update from WebTranslator v3.0: esperanto - 3 changes by Christopher translators 2011-06-23 17:45:06 +00:00
  • d0294bbd66 (svn r22606) -Fix (r22518): 20 is not the successor of 19 in NewGRF context. frosch 2011-06-23 08:25:15 +00:00
  • 4d4036469e (svn r22606) -Fix (r22518): 20 is not the successor of 19 in NewGRF context. frosch 2011-06-23 08:25:15 +00:00
  • def77ce2f4 (svn r22605) -Update from WebTranslator v3.0: simplified_chinese - 3 changes by Gavin czech - 3 changes by marek995 translators 2011-06-21 17:45:15 +00:00
  • 5ede9e7091 (svn r22605) -Update from WebTranslator v3.0: simplified_chinese - 3 changes by Gavin czech - 3 changes by marek995 translators 2011-06-21 17:45:15 +00:00
  • 135f264ef0 (svn r22604) -Document: that there are invalid warnings under some circumstances rubidium 2011-06-20 17:06:33 +00:00
  • e8d84ea612 (svn r22604) -Document: that there are invalid warnings under some circumstances rubidium 2011-06-20 17:06:33 +00:00
  • 424dc0e735 (svn r22603) -Update from WebTranslator v3.0: korean - 5 changes by telk5093 translators 2011-06-19 17:45:07 +00:00
  • 8feffe9659 (svn r22603) -Update from WebTranslator v3.0: korean - 5 changes by telk5093 translators 2011-06-19 17:45:07 +00:00
  • 186f53470b (svn r22596) -Update from WebTranslator v3.0: esperanto - 21 changes by Christopher portuguese - 1 changes by JayCity translators 2011-06-18 17:45:08 +00:00
  • 3d229b2190 (svn r22596) -Update from WebTranslator v3.0: esperanto - 21 changes by Christopher portuguese - 1 changes by JayCity translators 2011-06-18 17:45:08 +00:00
  • 87e59dce5a (svn r22595) -Fix [FS#4560] (r22593): build railstation gui was broken with newgrf stations yexo 2011-06-17 20:32:25 +00:00
  • 2de94c6b36 (svn r22595) -Fix [FS#4560] (r22593): build railstation gui was broken with newgrf stations yexo 2011-06-17 20:32:25 +00:00
  • bf994b46f1 (svn r22594) -Fix [FS#4644]: add active NewGRFs to the list of available ones when selecting the empty preset yexo 2011-06-16 10:59:09 +00:00
  • 579bdfae4a (svn r22594) -Fix [FS#4644]: add active NewGRFs to the list of available ones when selecting the empty preset yexo 2011-06-16 10:59:09 +00:00
  • 1a0d25dab1 (svn r22593) -Fix [FS#4647]: don't show cargo accepted/produced in the new station window when no tiles are selected (mouse hovering a window or toolbar) yexo 2011-06-16 09:46:24 +00:00
  • 4968af3b39 (svn r22593) -Fix [FS#4647]: don't show cargo accepted/produced in the new station window when no tiles are selected (mouse hovering a window or toolbar) yexo 2011-06-16 09:46:24 +00:00
  • 5f29da4ee0 (svn r22592) -Fix [FS#4645]: Reading of heightmaps with uncommon BMP formats failed due to uninitialised variables. (Parody) frosch 2011-06-15 18:53:58 +00:00
  • b92bbc851c (svn r22592) -Fix [FS#4645]: Reading of heightmaps with uncommon BMP formats failed due to uninitialised variables. (Parody) frosch 2011-06-15 18:53:58 +00:00
  • 4d7a413eda (svn r22591) -Doc: Callback 0x18 (AI purchase selection) is implemented for stations. terkhen 2011-06-15 18:52:21 +00:00
  • a53cc5e510 (svn r22591) -Doc: Callback 0x18 (AI purchase selection) is implemented for stations. terkhen 2011-06-15 18:52:21 +00:00
  • d4fb4ebe01 (svn r22590) -Update from WebTranslator v3.0: indonesian - 1 changes by adjayanto welsh - 19 changes by welshdragon translators 2011-06-15 17:45:08 +00:00
  • 3e3cae9f65 (svn r22590) -Update from WebTranslator v3.0: indonesian - 1 changes by adjayanto welsh - 19 changes by welshdragon translators 2011-06-15 17:45:08 +00:00
  • f71a96d584 (svn r22589) -Fix [FS#4641]: PBS order forecasting modified the current order index in case of a goto-nearest-depot order and no depot could be found. frosch 2011-06-14 19:19:13 +00:00
  • 9219281a2b (svn r22589) -Fix [FS#4641]: PBS order forecasting modified the current order index in case of a goto-nearest-depot order and no depot could be found. frosch 2011-06-14 19:19:13 +00:00
  • 52a3842fe3 (svn r22588) -Update from WebTranslator v3.0: danish - 11 changes by majbom korean - 3 changes by junho2813 translators 2011-06-14 17:45:13 +00:00
  • 0ca6dead0a (svn r22588) -Update from WebTranslator v3.0: danish - 11 changes by majbom korean - 3 changes by junho2813 translators 2011-06-14 17:45:13 +00:00
  • 05f16eb849 (svn r22587) -Fix: inconsistency in known-bugs.txt rubidium 2011-06-14 04:56:51 +00:00
  • b9682560db (svn r22587) -Fix: inconsistency in known-bugs.txt rubidium 2011-06-14 04:56:51 +00:00
  • 974c6c443c (svn r22586) -Merge: documentation updates from 1.1 rubidium 2011-06-14 04:55:34 +00:00
  • 525f3fed69 (svn r22586) -Merge: documentation updates from 1.1 rubidium 2011-06-14 04:55:34 +00:00
  • f2496edfed (svn r22585) -Update from WebTranslator v3.0: swedish - 2 changes by Ingerfara translators 2011-06-13 17:45:09 +00:00
  • fe071ce289 (svn r22585) -Update from WebTranslator v3.0: swedish - 2 changes by Ingerfara translators 2011-06-13 17:45:09 +00:00
  • 0dc20c7d5f (svn r22584) -Add: [NoAI] several functions to AICompany to find out performance information (Morloth) yexo 2011-06-13 15:23:20 +00:00
  • 05b09ea0c4 (svn r22584) -Add: [NoAI] several functions to AICompany to find out performance information (Morloth) yexo 2011-06-13 15:23:20 +00:00
  • f851a515cc (svn r22583) -Fix [FS#4640] (r22551): Allocate _changed_storage_arrays on the heap, so the point of destruction is well defined ('never' for now). frosch 2011-06-13 11:53:00 +00:00
  • b5abf95085 (svn r22583) -Fix [FS#4640] (r22551): Allocate _changed_storage_arrays on the heap, so the point of destruction is well defined ('never' for now). frosch 2011-06-13 11:53:00 +00:00
  • 56b7faed52 (svn r22582) -Fix: Don't increment STL iterators after they've been invalidated. michi_cc 2011-06-13 10:46:00 +00:00
  • ddfab2cc1c (svn r22582) -Fix: Don't increment STL iterators after they've been invalidated. michi_cc 2011-06-13 10:46:00 +00:00
  • b32a8d11c3 (svn r22581) -Add: 'make regression' support to Makefile.msvc rubidium 2011-06-13 10:35:19 +00:00
  • 2864f45024 (svn r22581) -Add: 'make regression' support to Makefile.msvc rubidium 2011-06-13 10:35:19 +00:00
  • 989bc411ef (svn r22580) -Change: make 'make regression' return an error when it fails rubidium 2011-06-13 10:09:59 +00:00
  • eab446946a (svn r22580) -Change: make 'make regression' return an error when it fails rubidium 2011-06-13 10:09:59 +00:00
  • dcc194e8eb (svn r22579) -Fix (r22576): copy-paste error :( rubidium 2011-06-13 08:28:29 +00:00
  • bffc7c83a5 (svn r22579) -Fix (r22576): copy-paste error :( rubidium 2011-06-13 08:28:29 +00:00
  • 52e40e7cbd (svn r22578) -Fix: another MSVC compile warning rubidium 2011-06-13 08:27:12 +00:00
  • 7cff7ce30e (svn r22578) -Fix: another MSVC compile warning rubidium 2011-06-13 08:27:12 +00:00
  • dc74518b96 (svn r22577) -Fix: MSVC64 compile warning rubidium 2011-06-13 07:43:48 +00:00
  • 196a394a3c (svn r22577) -Fix: MSVC64 compile warning rubidium 2011-06-13 07:43:48 +00:00
  • 3d4c35c3ca (svn r22576) -Add: bundle_pdb command to put the pdb into the bundles directory as well rubidium 2011-06-13 07:34:55 +00:00
  • 9245c94ac5 (svn r22576) -Add: bundle_pdb command to put the pdb into the bundles directory as well rubidium 2011-06-13 07:34:55 +00:00
  • b7b0637a10 (svn r22575) -Fix (r22574): Compilation error. terkhen 2011-06-13 07:01:36 +00:00
  • 9de81ed956 (svn r22575) -Fix (r22574): Compilation error. terkhen 2011-06-13 07:01:36 +00:00