summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-07-04(svn r22634) -Codechange: Deduplicate some code. Note that zeroing 'count' ↵frosch
is intentionally removed, it is only used together with 'scope'.
2011-07-04(svn r22633) -Fix: Implement variables 25 and 7F for railtypes.frosch
2011-07-04(svn r22632) -Update from WebTranslator v3.0:translators
brazilian_portuguese - 2 changes by Luis_Mizuchiro
2011-07-03(svn r22631) -Fix: Additional text in fund industry window is NewGRF ↵frosch
supplied and thus should have a default colour.
2011-07-03(svn r22630) -Cleanup: Remove SwitchToNormalRefStack() and ↵frosch
SwitchToErrorRefStack().
2011-07-03(svn r22629) -Fix [FS#4599]: Remove all usages of the ErrorRefStack. It was ↵frosch
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(svn r22628) -Codechange: Allow passing the textref stack values to use to ↵frosch
StartTextRefStackUsage() instead of always using the temporary NewGRF registers.
2011-07-03(svn r22627) -Codechange: Rename PrepareTextRefStackUsage() to ↵frosch
StartTextRefStackUsage() to make it more obvious that you must call StopTextRefStackUsage() at some point. Also extent the documentation.
2011-07-03(svn r22626) -Fix [FS#4622]: Also initialise _old_vds with newgame settings; ↵frosch
TTD savegames do not contain these settings.
2011-07-02(svn r22625) -Fix (r22050)[FS#4642]: Do not zero the orders of disaster ↵frosch
vehicles when converting savegames.
2011-07-02(svn r22624) -Fix [FS#4654]: When closing an AI company the local player ↵frosch
cheated to, we need to cheat him to another company.
2011-07-02(svn r22623) -Cleanup: DoAcquireCompany() does not need to sell shares, ↵frosch
ChangeOwnershipOfCompanyItems() already does that and it does it better.
2011-07-02(svn r22622) -Fix: When closing down companies their shares in other ↵frosch
companies must be sold even if share trading is disabled at that point of time.
2011-07-02(svn r22621) -Fix: When asking the user to confirm an unsafe unpausing, ↵frosch
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(svn r22620) -Change [FS#4651]: Enforce refit orders to be 'always go to ↵frosch
depot' orders; service-only and stop-in-depot orders make no sense with refitting.
2011-07-02(svn r22619) -Fix [FS#4662]: Consider the size of the vehicle sprite for the ↵frosch
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(svn r22618) -Fix [FS#4653]: When changing difficulty settings over the ↵frosch
network, do not just reopen the difficulty window if any game options window is opened; instead invalidate them properly.
2011-07-02(svn r22617) -Codechange: Add GameOptionsInvalidationData enum for data ↵frosch
values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS.
2011-07-02(svn r22616) -Codechange: Fix typo.frosch
2011-07-02(svn r22615) -Codechange: The return value of PlayTileSound() has no ↵frosch
purpose. Remove it and document the rest.
2011-07-02(svn r22614) -Fix [FS#4656]: If callback 33 returns a value out of range, no ↵frosch
sound effect shall be played.
2011-07-01(svn r22613) -Update from WebTranslator v3.0:translators
simplified_chinese - 1 changes by Gavin
2011-06-30(svn r22612) -Update from WebTranslator v3.0:translators
basque - 7 changes by Thadah thai - 18 changes by nirakanz
2011-06-28(svn r22611) -Update from WebTranslator v3.0:translators
basque - 10 changes by Thadah
2011-06-27(svn r22610) -Update from WebTranslator v3.0:translators
swedish - 4 changes by Zuu
2011-06-26(svn r22609) -Update from WebTranslator v3.0:translators
hungarian - 3 changes by IPG ukrainian - 11 changes by Fixer
2011-06-26(svn r22608) -Fix[FS#4663]: Use rotated heightmap sizes for reporting ↵alberth
scaling problems.
2011-06-23(svn r22607) -Update from WebTranslator v3.0:translators
esperanto - 3 changes by Christopher
2011-06-23(svn r22606) -Fix (r22518): 20 is not the successor of 19 in NewGRF context.frosch
2011-06-21(svn r22605) -Update from WebTranslator v3.0:translators
simplified_chinese - 3 changes by Gavin czech - 3 changes by marek995
2011-06-19(svn r22603) -Update from WebTranslator v3.0:translators
korean - 5 changes by telk5093
2011-06-18(svn r22596) -Update from WebTranslator v3.0:translators
esperanto - 21 changes by Christopher portuguese - 1 changes by JayCity
2011-06-17(svn r22595) -Fix [FS#4560] (r22593): build railstation gui was broken with ↵yexo
newgrf stations
2011-06-16(svn r22594) -Fix [FS#4644]: add active NewGRFs to the list of available ↵yexo
ones when selecting the empty preset
2011-06-16(svn r22593) -Fix [FS#4647]: don't show cargo accepted/produced in the new ↵yexo
station window when no tiles are selected (mouse hovering a window or toolbar)
2011-06-15(svn r22592) -Fix [FS#4645]: Reading of heightmaps with uncommon BMP formats ↵frosch
failed due to uninitialised variables. (Parody)
2011-06-15(svn r22591) -Doc: Callback 0x18 (AI purchase selection) is implemented for ↵terkhen
stations.
2011-06-15(svn r22590) -Update from WebTranslator v3.0:translators
indonesian - 1 changes by adjayanto welsh - 19 changes by welshdragon
2011-06-14(svn r22589) -Fix [FS#4641]: PBS order forecasting modified the current ↵frosch
order index in case of a goto-nearest-depot order and no depot could be found.
2011-06-14(svn r22588) -Update from WebTranslator v3.0:translators
danish - 11 changes by majbom korean - 3 changes by junho2813
2011-06-13(svn r22585) -Update from WebTranslator v3.0:translators
swedish - 2 changes by Ingerfara
2011-06-13(svn r22584) -Add: [NoAI] several functions to AICompany to find out ↵yexo
performance information (Morloth)
2011-06-13(svn r22583) -Fix [FS#4640] (r22551): Allocate _changed_storage_arrays on ↵frosch
the heap, so the point of destruction is well defined ('never' for now).
2011-06-13(svn r22582) -Fix: Don't increment STL iterators after they've been invalidated.michi_cc
2011-06-13(svn r22578) -Fix: another MSVC compile warningrubidium
2011-06-13(svn r22577) -Fix: MSVC64 compile warningrubidium
2011-06-13(svn r22575) -Fix (r22574): Compilation error.terkhen
2011-06-13(svn r22574) -Fix (r22566): GetGRFID was using a wrong return type.terkhen
2011-06-13(svn r22573) -Fix (r22567): Fix operator precedence.terkhen
2011-06-12(svn r22572) -Fix: MSVC performance warning (assigning int to bool).michi_cc