Commit Graph

18229 Commits (e57ba5d0ae068c7522b1cad60e2495a869e5a498)
 

Author SHA1 Message Date
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. 13 years ago
frosch 600c6c0f2e (svn r22628) -Codechange: Allow passing the textref stack values to use to StartTextRefStackUsage() instead of always using the temporary NewGRF registers. 13 years ago
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. 13 years ago
frosch c1b1513815 (svn r22626) -Fix [FS#4622]: Also initialise _old_vds with newgame settings; TTD savegames do not contain these settings. 13 years ago
frosch 1bf9bc70a3 (svn r22625) -Fix (r22050)[FS#4642]: Do not zero the orders of disaster vehicles when converting savegames. 13 years ago
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. 13 years ago
frosch ac60296db3 (svn r22623) -Cleanup: DoAcquireCompany() does not need to sell shares, ChangeOwnershipOfCompanyItems() already does that and it does it better. 13 years ago
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. 13 years ago
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. 13 years ago
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. 13 years ago
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. 13 years ago
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. 13 years ago
frosch 1322d59aaa (svn r22617) -Codechange: Add GameOptionsInvalidationData enum for data values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS. 13 years ago
frosch 85c4d4e531 (svn r22616) -Codechange: Fix typo. 13 years ago
frosch 1c09266932 (svn r22615) -Codechange: The return value of PlayTileSound() has no purpose. Remove it and document the rest. 13 years ago
frosch d33865c96f (svn r22614) -Fix [FS#4656]: If callback 33 returns a value out of range, no sound effect shall be played. 13 years ago
translators ec4c90e36b (svn r22613) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by Gavin
13 years ago
translators bd8b7d489d (svn r22612) -Update from WebTranslator v3.0:
basque - 7 changes by Thadah
thai - 18 changes by nirakanz
13 years ago
translators 644e334969 (svn r22611) -Update from WebTranslator v3.0:
basque - 10 changes by Thadah
13 years ago
translators ca291f9540 (svn r22610) -Update from WebTranslator v3.0:
swedish - 4 changes by Zuu
13 years ago
translators 36c2cc44fc (svn r22609) -Update from WebTranslator v3.0:
hungarian - 3 changes by IPG
ukrainian - 11 changes by Fixer
13 years ago
alberth 02e4b2a75e (svn r22608) -Fix[FS#4663]: Use rotated heightmap sizes for reporting scaling problems. 13 years ago
translators 342121198a (svn r22607) -Update from WebTranslator v3.0:
esperanto - 3 changes by Christopher
13 years ago
frosch 4d4036469e (svn r22606) -Fix (r22518): 20 is not the successor of 19 in NewGRF context. 13 years ago
translators 5ede9e7091 (svn r22605) -Update from WebTranslator v3.0:
simplified_chinese - 3 changes by Gavin
czech - 3 changes by marek995
13 years ago
rubidium e8d84ea612 (svn r22604) -Document: that there are invalid warnings under some circumstances 13 years ago
translators 8feffe9659 (svn r22603) -Update from WebTranslator v3.0:
korean - 5 changes by telk5093
13 years ago
translators 3d229b2190 (svn r22596) -Update from WebTranslator v3.0:
esperanto - 21 changes by Christopher
portuguese - 1 changes by JayCity
13 years ago
yexo 2de94c6b36 (svn r22595) -Fix [FS#4560] (r22593): build railstation gui was broken with newgrf stations 13 years ago
yexo 579bdfae4a (svn r22594) -Fix [FS#4644]: add active NewGRFs to the list of available ones when selecting the empty preset 13 years ago
yexo 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) 13 years ago
frosch b92bbc851c (svn r22592) -Fix [FS#4645]: Reading of heightmaps with uncommon BMP formats failed due to uninitialised variables. (Parody) 13 years ago
terkhen a53cc5e510 (svn r22591) -Doc: Callback 0x18 (AI purchase selection) is implemented for stations. 13 years ago
translators 3e3cae9f65 (svn r22590) -Update from WebTranslator v3.0:
indonesian - 1 changes by adjayanto
welsh - 19 changes by welshdragon
13 years ago
frosch 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. 13 years ago
translators 0ca6dead0a (svn r22588) -Update from WebTranslator v3.0:
danish - 11 changes by majbom
korean - 3 changes by junho2813
13 years ago
rubidium b9682560db (svn r22587) -Fix: inconsistency in known-bugs.txt 13 years ago
rubidium 525f3fed69 (svn r22586) -Merge: documentation updates from 1.1 13 years ago
translators fe071ce289 (svn r22585) -Update from WebTranslator v3.0:
swedish - 2 changes by Ingerfara
13 years ago
yexo 05b09ea0c4 (svn r22584) -Add: [NoAI] several functions to AICompany to find out performance information (Morloth) 13 years ago
frosch 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). 13 years ago
michi_cc ddfab2cc1c (svn r22582) -Fix: Don't increment STL iterators after they've been invalidated. 13 years ago
rubidium 2864f45024 (svn r22581) -Add: 'make regression' support to Makefile.msvc 13 years ago
rubidium eab446946a (svn r22580) -Change: make 'make regression' return an error when it fails 13 years ago
rubidium bffc7c83a5 (svn r22579) -Fix (r22576): copy-paste error :( 13 years ago
rubidium 7cff7ce30e (svn r22578) -Fix: another MSVC compile warning 13 years ago
rubidium 196a394a3c (svn r22577) -Fix: MSVC64 compile warning 13 years ago
rubidium 9245c94ac5 (svn r22576) -Add: bundle_pdb command to put the pdb into the bundles directory as well 13 years ago
terkhen 9de81ed956 (svn r22575) -Fix (r22574): Compilation error. 13 years ago
terkhen 7893be63db (svn r22574) -Fix (r22566): GetGRFID was using a wrong return type. 13 years ago