Commit Graph

17903 Commits (9ed9ced7ec9c848ef25815be2578785e057afa74)
 

Author SHA1 Message Date
michi_cc cf2bfa91a4 (svn r22658) -Feature: [NewGRF] Custom error messages for object callback 0x157. 13 years ago
michi_cc 05418feb8a (svn r22657) -Add: [NewGRF] More default error messages for the industry shape and location callbacks. 13 years ago
michi_cc b31cf48c3a (svn r22656) -Codechange: Deduplicate the custom error message of the industry shape and location callbacks. 13 years ago
michi_cc b7d1196093 (svn r22655) -Add: [NewGRF] Add water class to the 'land info of nearby tiles' vars. 13 years ago
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. 13 years ago
frosch bbe5d67681 (svn r22648) -Fix (r22629): Missing 'break'. (thanks michi_cc) 13 years ago
frosch bbb9c1e52f (svn r22647) -Codechange: Enhance MP_WATER map accessors with assertions. (adf88) 13 years ago
frosch ba358638a8 (svn r22646) -Codechange: Simplify MP_WATER map accessors, esp. for locks and depots. (based on patched by adf88 and michi_cc) 13 years ago
frosch 2ebf8fa584 (svn r22645) -Fix [FS#4678]: GetSection() does not return a LockPart. 13 years ago
frosch 78e4abbed0 (svn r22644) -Codechange: Use IsShipDepotTile() instead of single water- and depottests. (adf88) 13 years ago
michi_cc dd0439c690 (svn r22643) -Fix: Disallow building NewObjects on water tiles owned by another company. 13 years ago
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. 13 years ago
frosch c03cbc8b92 (svn r22641) -Fix (r22639): Warning about uninitialised fields. 13 years ago
translators e13879d502 (svn r22640) -Update from WebTranslator v3.0:
brazilian_portuguese - 2 changes by Tucalipe
13 years ago
michi_cc f4a34471c5 (svn r22639) -Feature: [NewGRF] Support for ship props 14/15 (ocean/canal speed fraction). 13 years ago
michi_cc f182f6e675 (svn r22638) -Fix: Keep the previous owner of the upper and lower lock parts if they are built on existing water. 13 years ago
translators 2516164b60 (svn r22637) -Update from WebTranslator v3.0:
polish - 1 changes by wojteks86
13 years ago
frosch a712f23cc8 (svn r22636) -Fix: Airports should not expose the tile specific random bits of the north tile. Only airport tiles should access those. 13 years ago
frosch 0f8065fef4 (svn r22635) -Fix: Correctly reseed random bits of industries and industry tiles. 13 years ago
frosch e2a5d69cb7 (svn r22634) -Codechange: Deduplicate some code. Note that zeroing 'count' is intentionally removed, it is only used together with 'scope'. 13 years ago
frosch 74fbbc2f38 (svn r22633) -Fix: Implement variables 25 and 7F for railtypes. 13 years ago
translators 1d7655d620 (svn r22632) -Update from WebTranslator v3.0:
brazilian_portuguese - 2 changes by Luis_Mizuchiro
13 years ago
frosch e43d74c438 (svn r22631) -Fix: Additional text in fund industry window is NewGRF supplied and thus should have a default colour. 13 years ago
frosch df02515cf1 (svn r22630) -Cleanup: Remove SwitchToNormalRefStack() and SwitchToErrorRefStack(). 13 years ago
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