Commit Graph

11966 Commits

Author SHA1 Message Date
rubidium c8f19a608d (svn r22736) -Codechange: constify some numbers 2011-08-12 18:34:09 +00:00
rubidium 14fae95134 (svn r22735) -Fix [FS#4718]: triggering NOT_REACHED when playing with a NewGRF that supplies genders/cases for a language that you removed from your installation 2011-08-12 18:14:15 +00:00
translators fa4f6737d6 (svn r22734) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
persian - 13 changes by Peymanpn
2011-08-12 17:45:12 +00:00
translators 0f2bad6dca (svn r22733) -Update from WebTranslator v3.0:
basque - 78 changes by Thadah
persian - 55 changes by Peymanpn
romanian - 2 changes by tonny
2011-08-11 17:45:15 +00:00
translators 82305ba556 (svn r22732) -Update from WebTranslator v3.0:
latvian - 36 changes by dzhins
romanian - 30 changes by kkmic, tonny
2011-08-10 17:45:11 +00:00
frosch d10168f211 (svn r22731) -Fix: [NewGRF] The construction stage sprites were incorrectly selected in cases other than 1 or 4 sprites per set. 2011-08-08 21:26:58 +00:00
translators 68068b6eff (svn r22730) -Update from WebTranslator v3.0:
hungarian - 1 changes by IPG
2011-08-08 17:45:06 +00:00
translators c20939d4ba (svn r22729) -Update from WebTranslator v3.0:
romanian - 2 changes by tonny
2011-08-07 17:45:08 +00:00
translators 6a87848809 (svn r22727) -Update from WebTranslator v3.0:
russian - 1 changes by Lone_Wolf
2011-08-06 17:45:11 +00:00
frosch c76d1c54b7 (svn r22726) -Fix: AITile::GetCargoAcceptance, AITile::GetCargoProduction and AIRail::BuildNewGRFRailStation did not check the cargo argument for validity. 2011-08-06 17:20:21 +00:00
frosch ba7356b520 (svn r22725) -Fix: Always draw NewGRF supplied texts with a default colour. 2011-08-06 13:56:27 +00:00
frosch 9e2c2490eb (svn r22724) -Codechange: Reduce number of realloc calls when loading VarAct2s. 2011-08-06 13:55:52 +00:00
frosch f0b723ebaa (svn r22723) -Fix: Do not restrict AdvVarAct2 to 255 operations. 2011-08-06 13:17:18 +00:00
frosch 0625c9007f (svn r22722) -Fix: Skip invisible parent and child sprites due to transparency settings using the same logic as skipping due to grf-defined invisibility. 2011-08-06 11:14:07 +00:00
frosch 2e466cc184 (svn r22721) -Fix (r22518): Conditionally hiding a sprite caused subsequent items of the spritelayout to use wrong registers. 2011-08-06 10:47:37 +00:00
translators 03c1fd5c63 (svn r22720) -Update from WebTranslator v3.0:
hebrew - 8 changes by rril
brazilian_portuguese - 11 changes by Tucalipe
spanish - 2 changes by lpenap
2011-08-05 17:45:18 +00:00
smatz 564dc66131 (svn r22719) -Fix: compilation with gcc 4.7 2011-08-04 20:04:58 +00:00
translators 92dd3bb0e2 (svn r22717) -Update from WebTranslator v3.0:
luxembourgish - 2 changes by Phreeze
2011-08-04 17:45:11 +00:00
planetmaker ad254f2b7c (svn r22716) -Fix: Murphy is a bitch 2011-08-04 17:22:18 +00:00
planetmaker d20b5eb915 (svn r22715) -Fix: If there's also no point in opening the air toolbar via custom-defined global hotkeys, if there are no aircraft available 2011-08-04 17:13:24 +00:00
planetmaker 75b92328c2 (svn r22714) -Fix: If there's no point in opening the rail toolbar, don't open it for people who use hotkeys either rather than only for those using GUI elements 2011-08-04 14:04:15 +00:00
michi_cc 08b7981f37 (svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period. 2011-08-03 20:55:08 +00:00
translators 442b92ff33 (svn r22712) -Update from WebTranslator v3.0:
belarusian - 1 changes by Wowanxm
croatian - 1 changes by VoyagerOne
french - 1 changes by glx
italian - 1 changes by lorenzodv
latvian - 165 changes by dzhins
romanian - 1 changes by kkmic
2011-08-03 17:45:24 +00:00
translators e0cc0f8667 (svn r22711) -Update from WebTranslator v3.0:
dutch - 1 changes by habell
english_US - 1 changes by Rubidium
finnish - 1 changes by jpx_
serbian - 1 changes by etran
2011-08-02 17:45:22 +00:00
frosch bf3a9dfdaf (svn r22710) -Fix [FS#4704]: Allow AIAirport::GetNoiseLevelIncrease() also for expired airports. 2011-08-01 20:15:18 +00:00
alberth 89c7193b8f (svn r22709) -Doc: Doxyment fileio.cpp. 2011-08-01 19:36:11 +00:00
planetmaker 3fb66890ee (svn r22708) -Feature [FS#4701]: Display option to hide competitors' signs and station names (Zuu) 2011-08-01 18:41:21 +00:00
frosch 536fc42461 (svn r22707) -Codechange: Simplify applying the difficulty settings to prices, and reduce computational errors. (Eddi) 2011-07-31 14:13:01 +00:00
frosch ae8f53a403 (svn r22706) -Cleanup: A loop is no loop, if it never iterates. 2011-07-31 09:42:05 +00:00
rubidium 7b418502ab (svn r22700) -Fix [FS#4680]: cost of changing bridge type is undercalculated when adding road types as well (based on patch by adf88) 2011-07-30 14:10:12 +00:00
rubidium cfc2c5db42 (svn r22699) -Fix [FS#4681]: Cost of adding an extra road type to a bridge or tunnel was undercalculated (adf88) 2011-07-30 13:55:44 +00:00
frosch 9c239bb988 (svn r22698) -Fix [FS#4694]: Only insert cleared object tiles into _cleared_object_areas if clearing actually succeeds, else subsequential tests of the same tile will be skipped and considered successful. 2011-07-30 12:28:49 +00:00
rubidium 059d43fca8 (svn r22697) -Fix [FS#4694-ish]: when building a house it could be built at the wrong place if multitile houses failed some tests 2011-07-30 12:17:46 +00:00
rubidium 36e887591b (svn r22696) -Fix: don't requery the servers when the server list window isn't opened 2011-07-30 10:44:58 +00:00
rubidium 289133be14 (svn r22695) -Fix [FS#4697]: mark addresses that could not be resolved as 'do not resolve anymore' as well, instead of trying to resolve them each and every time the address is accessed 2011-07-30 10:28:52 +00:00
planetmaker ba7611ed13 (svn r22694) -Cleanup [FS#4579]: Remove unused but confusing widget 2011-07-30 07:38:38 +00:00
frosch c9e920f1eb (svn r22693) -Fix [FS#4691]: The override managers were not reset in some cases like creating a new scenario. 2011-07-29 22:23:17 +00:00
translators 899a66436a (svn r22691) -Update from WebTranslator v3.0:
greek - 14 changes by kyrm
romanian - 1 changes by kkmic
ukrainian - 6 changes by Madvin
2011-07-28 17:45:18 +00:00
frosch 5e0bf4ada8 (svn r22690) -Fix: [NewGRF] Aircrafts defined with IDs above the default aircrafts always defaulted to passenger cargo. 2011-07-27 19:38:43 +00:00
translators 42804a8605 (svn r22689) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
hungarian - 6 changes by IPG
russian - 1 changes by KorneySan
2011-07-26 17:45:12 +00:00
translators 46c219ecdf (svn r22688) -Update from WebTranslator v3.0:
greek - 4 changes by fumantsu, kyrm
vietnamese - 5 changes by nglekhoi
2011-07-25 17:45:07 +00:00
translators 72d1c3599b (svn r22687) -Update from WebTranslator v3.0:
catalan - 6 changes by arnau
2011-07-24 17:45:09 +00:00
translators cd992bb00f (svn r22683) -Update from WebTranslator v3.0:
italian - 1 changes by lorenzodv
2011-07-23 17:45:08 +00:00
frosch 5c6a7f42d5 (svn r22682) -Fix: [NewGRF] Disallow accessing variable 1B due to desync reasons. 2011-07-22 18:59:10 +00:00
translators 31f6e99000 (svn r22681) -Update from WebTranslator v3.0:
greek - 2 changes by fumantsu
2011-07-22 17:45:09 +00:00
translators 8f017572b1 (svn r22680) -Update from WebTranslator v3.0:
croatian - 1 changes by VoyagerOne
dutch - 1 changes by habell
finnish - 1 changes by jpx_
greek - 66 changes by kyrm
serbian - 1 changes by etran
2011-07-21 17:45:22 +00:00
planetmaker e188edd8f6 (svn r22679) -Change [FS#4692] (r22655): [NewGRF] Use a value of 0 to indicate the invalid waterclass in the nearby land info (0x60 ind. tiles, 0x62 houses, objects,...) 2011-07-21 17:17:48 +00:00
planetmaker e3d9879690 (svn r22678) -Doc: More doxygen sprinkles in MacOSX code and cocoa video driver 2011-07-21 16:13:34 +00:00
planetmaker b09c863e1c (svn r22677) -Doc: A few doxygen sprinkles in toolbar_gui.cpp 2011-07-21 15:51:48 +00:00
translators 16d39f9071 (svn r22676) -Update from WebTranslator v3.0:
czech - 1 changes by Harlequin
english_US - 1 changes by Rubidium
french - 2 changes by glx
german - 1 changes by planetmaker
spanish - 6 changes by Terkhen
2011-07-20 17:45:22 +00:00
planetmaker 3045c3fd2a (svn r22675) -Change: Add a menu entry for the sprite bounding box debuging feature in the help menu and enable bounding boxes only in conjunction with the newgrf developer tools 2011-07-20 16:19:48 +00:00
translators a70c37e4c9 (svn r22674) -Update from WebTranslator v3.0:
danish - 5 changes by NeoNmaN
2011-07-19 17:45:05 +00:00
planetmaker dfa45e79fe (svn r22673) -Add #4690: Provide random bits in var 0x10 for callback 0x3B in all cases (Hirundo) 2011-07-19 16:52:30 +00:00
translators a692db0704 (svn r22672) -Update from WebTranslator v3.0:
czech - 4 changes by Harlequin
german - 5 changes by planetmaker
2011-07-18 17:45:08 +00:00
translators b36f8bec24 (svn r22671) -Update from WebTranslator v3.0:
czech - 4 changes by Harlequin
korean - 5 changes by telk5093
polish - 7 changes by wojteks86
2011-07-17 17:45:15 +00:00
frosch 718e0090b2 (svn r22670) -Change: Do not spawn explosion effects when bulldozing in paused mode. They block the view. 2011-07-17 16:09:38 +00:00
alberth d55b380b69 (svn r22669) -Codechange: For non-windows, only test for file existence again if strtolower actually changed the name. 2011-07-16 18:43:22 +00:00
alberth 20c2b5fdde (svn r22668) -Codechange: FioFindFullPath tests already whether the file exists. 2011-07-16 18:34:04 +00:00
translators d209369c50 (svn r22667) -Update from WebTranslator v3.0:
belarusian - 6 changes by Wowanxm
2011-07-16 17:45:11 +00:00
translators 264fead679 (svn r22666) -Update from WebTranslator v3.0:
czech - 7 changes by micropro_cz
luxembourgish - 9 changes by Phreeze
2011-07-15 17:45:13 +00:00
translators b1d68bb3b1 (svn r22665) -Update from WebTranslator v3.0:
portuguese - 5 changes by JayCity
romanian - 5 changes by kkmic
2011-07-14 17:45:11 +00:00
translators add34b41bf (svn r22664) -Update from WebTranslator v3.0:
serbian - 5 changes by etran
2011-07-13 17:45:11 +00:00
translators e338449974 (svn r22663) -Update from WebTranslator v3.0:
croatian - 5 changes by VoyagerOne
dutch - 5 changes by habell
french - 5 changes by glx
italian - 6 changes by lorenzodv
russian - 6 changes by Lone_Wolf
vietnamese - 5 changes by nglekhoi
2011-07-12 17:45:23 +00:00
frosch 371a66e14d (svn r22662) -Fix (r22639)[FS#4683]: Ships can also travel on certain rail tiles. 2011-07-12 17:12:10 +00:00
frosch 7ec119a574 (svn r22661) -Fix (r22659): Silence a gcc warning. 2011-07-12 16:36:53 +00:00
translators 44b49269fc (svn r22660) -Update from WebTranslator v3.0:
english_US - 5 changes by Rubidium
finnish - 5 changes by jpx_
2011-07-11 17:45:18 +00:00
michi_cc d579af11e8 (svn r22659) -Add: [NewGRF] Support for the land slope check callback for stations. 2011-07-11 16:32:35 +00:00
michi_cc e5dd6f9227 (svn r22658) -Feature: [NewGRF] Custom error messages for object callback 0x157. 2011-07-11 16:32:30 +00:00
michi_cc 624aec0b19 (svn r22657) -Add: [NewGRF] More default error messages for the industry shape and location callbacks. 2011-07-11 16:32:25 +00:00
michi_cc 206ff68e65 (svn r22656) -Codechange: Deduplicate the custom error message of the industry shape and location callbacks. 2011-07-11 16:32:19 +00:00
michi_cc 1e855be492 (svn r22655) -Add: [NewGRF] Add water class to the 'land info of nearby tiles' vars. 2011-07-11 16:32:13 +00:00
frosch abf286e990 (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. 2011-07-10 14:44:41 +00:00
frosch 9afe1c1d20 (svn r22648) -Fix (r22629): Missing 'break'. (thanks michi_cc) 2011-07-10 13:25:52 +00:00
frosch 3639456cc4 (svn r22647) -Codechange: Enhance MP_WATER map accessors with assertions. (adf88) 2011-07-10 13:21:21 +00:00
frosch a7f7a97825 (svn r22646) -Codechange: Simplify MP_WATER map accessors, esp. for locks and depots. (based on patched by adf88 and michi_cc) 2011-07-10 13:04:04 +00:00
frosch d4dbe95274 (svn r22645) -Fix [FS#4678]: GetSection() does not return a LockPart. 2011-07-10 13:00:05 +00:00
frosch 570da01d3a (svn r22644) -Codechange: Use IsShipDepotTile() instead of single water- and depottests. (adf88) 2011-07-09 18:10:48 +00:00
michi_cc 8565703a4c (svn r22643) -Fix: Disallow building NewObjects on water tiles owned by another company. 2011-07-08 14:42:18 +00:00
frosch a6ce6c144b (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. 2011-07-07 21:52:08 +00:00
frosch 566a9612a0 (svn r22641) -Fix (r22639): Warning about uninitialised fields. 2011-07-07 20:35:48 +00:00
translators 84007b6f9a (svn r22640) -Update from WebTranslator v3.0:
brazilian_portuguese - 2 changes by Tucalipe
2011-07-07 17:45:07 +00:00
michi_cc 9218c56cde (svn r22639) -Feature: [NewGRF] Support for ship props 14/15 (ocean/canal speed fraction). 2011-07-07 14:16:22 +00:00
michi_cc 662a0a9cd3 (svn r22638) -Fix: Keep the previous owner of the upper and lower lock parts if they are built on existing water. 2011-07-07 14:16:16 +00:00
translators d1be388bc9 (svn r22637) -Update from WebTranslator v3.0:
polish - 1 changes by wojteks86
2011-07-05 17:45:08 +00:00
frosch 412cbe133d (svn r22636) -Fix: Airports should not expose the tile specific random bits of the north tile. Only airport tiles should access those. 2011-07-04 22:07:53 +00:00
frosch 8930337aae (svn r22635) -Fix: Correctly reseed random bits of industries and industry tiles. 2011-07-04 20:37:20 +00:00
frosch 8b18292a2e (svn r22634) -Codechange: Deduplicate some code. Note that zeroing 'count' is intentionally removed, it is only used together with 'scope'. 2011-07-04 20:31:57 +00:00
frosch d2b236802c (svn r22633) -Fix: Implement variables 25 and 7F for railtypes. 2011-07-04 20:25:17 +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 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 5ea8b07e05 (svn r22630) -Cleanup: Remove SwitchToNormalRefStack() and SwitchToErrorRefStack(). 2011-07-03 14:33:17 +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 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 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 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 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 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 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 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 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 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 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 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 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 56a41a8852 (svn r22616) -Codechange: Fix typo. 2011-07-02 11:31:20 +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 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 22378a2164 (svn r22613) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by Gavin
2011-07-01 17:45:10 +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 01e49d178b (svn r22611) -Update from WebTranslator v3.0:
basque - 10 changes by Thadah
2011-06-28 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 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 a0cd04130a (svn r22608) -Fix[FS#4663]: Use rotated heightmap sizes for reporting scaling problems. 2011-06-26 16:16:04 +00:00
translators c74fd63af3 (svn r22607) -Update from WebTranslator v3.0:
esperanto - 3 changes by Christopher
2011-06-23 17:45:06 +00:00
frosch d0294bbd66 (svn r22606) -Fix (r22518): 20 is not the successor of 19 in NewGRF context. 2011-06-23 08:25:15 +00:00
translators def77ce2f4 (svn r22605) -Update from WebTranslator v3.0:
simplified_chinese - 3 changes by Gavin
czech - 3 changes by marek995
2011-06-21 17:45:15 +00:00
translators 424dc0e735 (svn r22603) -Update from WebTranslator v3.0:
korean - 5 changes by telk5093
2011-06-19 17:45:07 +00:00
translators 186f53470b (svn r22596) -Update from WebTranslator v3.0:
esperanto - 21 changes by Christopher
portuguese - 1 changes by JayCity
2011-06-18 17:45:08 +00:00
yexo 87e59dce5a (svn r22595) -Fix [FS#4560] (r22593): build railstation gui was broken with newgrf stations 2011-06-17 20:32:25 +00:00
yexo bf994b46f1 (svn r22594) -Fix [FS#4644]: add active NewGRFs to the list of available ones when selecting the empty preset 2011-06-16 10:59:09 +00:00
yexo 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) 2011-06-16 09:46:24 +00:00
frosch 5f29da4ee0 (svn r22592) -Fix [FS#4645]: Reading of heightmaps with uncommon BMP formats failed due to uninitialised variables. (Parody) 2011-06-15 18:53:58 +00:00
terkhen 4d7a413eda (svn r22591) -Doc: Callback 0x18 (AI purchase selection) is implemented for stations. 2011-06-15 18:52:21 +00:00
translators d4fb4ebe01 (svn r22590) -Update from WebTranslator v3.0:
indonesian - 1 changes by adjayanto
welsh - 19 changes by welshdragon
2011-06-15 17:45:08 +00:00
frosch 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. 2011-06-14 19:19:13 +00:00
translators 52a3842fe3 (svn r22588) -Update from WebTranslator v3.0:
danish - 11 changes by majbom
korean - 3 changes by junho2813
2011-06-14 17:45:13 +00:00
translators f2496edfed (svn r22585) -Update from WebTranslator v3.0:
swedish - 2 changes by Ingerfara
2011-06-13 17:45:09 +00:00
yexo 0dc20c7d5f (svn r22584) -Add: [NoAI] several functions to AICompany to find out performance information (Morloth) 2011-06-13 15:23:20 +00:00
frosch 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). 2011-06-13 11:53:00 +00:00
michi_cc 56b7faed52 (svn r22582) -Fix: Don't increment STL iterators after they've been invalidated. 2011-06-13 10:46:00 +00:00
rubidium 52e40e7cbd (svn r22578) -Fix: another MSVC compile warning 2011-06-13 08:27:12 +00:00
rubidium dc74518b96 (svn r22577) -Fix: MSVC64 compile warning 2011-06-13 07:43:48 +00:00
terkhen b7b0637a10 (svn r22575) -Fix (r22574): Compilation error. 2011-06-13 07:01:36 +00:00
terkhen 7f5612a98f (svn r22574) -Fix (r22566): GetGRFID was using a wrong return type. 2011-06-13 06:28:43 +00:00
terkhen 729d786d5e (svn r22573) -Fix (r22567): Fix operator precedence. 2011-06-13 06:13:57 +00:00
michi_cc 050a212195 (svn r22572) -Fix: MSVC performance warning (assigning int to bool). 2011-06-12 23:42:42 +00:00
terkhen 8ddb3941f7 (svn r22571) -Add: [NewGRF] Show town persistent storage in the NewGRF debug GUI. 2011-06-12 20:53:16 +00:00
terkhen 46d1a06215 (svn r22570) -Codechange: Store the GrfID of the caller when opening a parent window in the NewGRF debug GUI. 2011-06-12 20:51:38 +00:00
terkhen a619ad3789 (svn r22569) -Feature: [NewGRF] Persistent storage for towns. 2011-06-12 20:50:03 +00:00
terkhen 7ffc8c0173 (svn r22568) -Change: Add a list of persistent storages to the Town class. 2011-06-12 20:49:07 +00:00
terkhen 00e5c1df18 (svn r22567) -Codechange: Store persistent storages inside a pool. 2011-06-12 20:47:45 +00:00
terkhen 9f55abf51a (svn r22566) -Codechange: Define and use OverrideManagerBase::GetGRFID function. 2011-06-12 20:42:23 +00:00
terkhen 281bed03f4 (svn r22565) -Codechange: Use helper functions for getting the persistent storage in the NewGRF debug GUI. 2011-06-12 20:41:17 +00:00
terkhen 0749c65d74 (svn r22564) -Codechange: Rename Get and Store persistent storage functions to GetValue and StoreValue. 2011-06-12 20:40:21 +00:00
terkhen dc6218aa49 (svn r22563) -Codechange: Use a function for storing values inside the persistent storage. 2011-06-12 20:38:46 +00:00
terkhen dd8a436cbb (svn r22562) -Codechange: Remove constness from TownGetVariable. 2011-06-12 20:37:26 +00:00
terkhen f1cde00372 (svn r22561) -Codechange: Remove constness from Object in ResolverObject. 2011-06-12 20:36:33 +00:00
terkhen 76cd19f846 (svn r22560) -Codechange: Remove constness from House in ResolverObject. 2011-06-12 20:35:37 +00:00
terkhen e8df5563db (svn r22559) -Codechange: Remove constness from Station in ResolverObject. 2011-06-12 20:34:37 +00:00
terkhen c98a8308cc (svn r22558) -Codechange: Remove constness from BaseStation in ResolverObject. 2011-06-12 20:34:03 +00:00
terkhen e127fca384 (svn r22557) -Codechange: Remove constness from AnimationBase callbacks. 2011-06-12 20:32:52 +00:00
terkhen d7ec492887 (svn r22556) -Codechange: Remove constness from the town pointer at industries. 2011-06-12 20:31:44 +00:00
translators f12e71e1be (svn r22555) -Update from WebTranslator v3.0:
dutch - 32 changes by Parody
korean - 2 changes by junho2813
norwegian_nynorsk - 27 changes by 2rB
2011-06-12 17:45:15 +00:00
frosch 3f003c0977 (svn r22553) -Fix (r22499): NewGRF parameter window was not set dirty, when changing row selection. 2011-06-11 21:12:28 +00:00
frosch d5e7537e14 (svn r22552) -Fix: Clear airport persistent storage on construction/removal of airports. 2011-06-11 20:47:31 +00:00
frosch b2275b4093 (svn r22551) -Fix: Remove BaseStorageArrays from _changed_storage_arrays on destruction. 2011-06-11 20:40:46 +00:00
translators 86f931a065 (svn r22550) -Update from WebTranslator v3.0:
spanish - 1 changes by Terkhen
2011-06-11 17:45:09 +00:00
translators 40345a91a0 (svn r22549) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by Gavin
dutch - 2 changes by Parody
norwegian_bokmal - 16 changes by kristoffer_hh
swedish - 7 changes by Ingerfara
2011-06-09 17:45:30 +00:00
planetmaker e5a88a1077 (svn r22548) -Codechange: Name also the magic number for the lumber mill's tree cutting action (FeyFre) 2011-06-09 16:35:09 +00:00
translators 692d3433fb (svn r22547) -Update from WebTranslator v3.0:
spanish - 1 changes by Terkhen
2011-06-08 17:45:07 +00:00
translators e2da240cca (svn r22545) -Update from WebTranslator v3.0:
dutch - 37 changes by Parody
brazilian_portuguese - 11 changes by Tucalipe
2011-06-06 17:45:12 +00:00
translators af38f80f80 (svn r22544) -Update from WebTranslator v3.0:
romanian - 5 changes by tonny
vietnamese - 3 changes by myquartz
2011-06-05 17:45:10 +00:00
terkhen 05f2a0f391 (svn r22543) -Feature: [NewGRF] Support for station variable 0x69. 2011-06-04 21:24:23 +00:00
terkhen 8e00fa39b2 (svn r22542) -Add: Store cargo acceptance stats for stations. 2011-06-04 21:21:00 +00:00
terkhen 9f68c20d10 (svn r22541) -Document: GoodsEntry struct. 2011-06-04 21:19:00 +00:00
terkhen 5bb79b1f46 (svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus. 2011-06-04 21:17:07 +00:00
translators 05b125c42c (svn r22539) -Update from WebTranslator v3.0:
portuguese - 2 changes by JayCity
2011-06-04 17:45:07 +00:00
rubidium 015231a478 (svn r22538) -Fix [FS#4619]: possible crash when opening the airport build window for the first time 2011-06-04 14:48:21 +00:00
rubidium 58e3652bd0 (svn r22537) -Change [FS#3494]: replace the half small airport structure on the intercontinental airport with some grass 2011-06-04 14:24:34 +00:00
rubidium e95840b6a8 (svn r22536) -Fix [FS#4632]: documentation omission regarding admin protocol 2011-06-04 13:38:54 +00:00
planetmaker 40cdaca849 (svn r22535) -Cleanup: Remove uneeded constants, update and unify some comments relating to sprite numbers 2011-06-03 20:41:30 +00:00
yexo cf11a1e98e (svn r22534) -Fix [FS#4631] (r21250): doing rescan_ai in a game with running AIs caused a crash 2011-06-03 19:18:39 +00:00
translators b1812c9b02 (svn r22533) -Update from WebTranslator v3.0:
catalan - 2 changes by arnau
czech - 3 changes by rala
2011-06-03 17:45:11 +00:00
michi_cc c9af6126f8 (svn r22532) -Fix: Do not create an implicit order if the current order is the first order in the order list and we visit the station of the last entry of the order list. 2011-06-02 22:41:05 +00:00
translators dbc5fdeb04 (svn r22531) -Update from WebTranslator v3.0:
simplified_chinese - 5 changes by Gavin
2011-06-02 17:45:06 +00:00
translators d94a84d5c9 (svn r22530) -Update from WebTranslator v3.0:
frisian - 6 changes by Fopper
polish - 5 changes by nouwak
2011-06-01 17:45:09 +00:00
translators b3d496a186 (svn r22526) -Update from WebTranslator v3.0:
serbian - 4 changes by etran
2011-05-31 17:45:09 +00:00
translators 756c5416fd (svn r22525) -Update from WebTranslator v3.0:
belarusian - 3 changes by KorneySan
croatian - 3 changes by VoyagerOne
dutch - 3 changes by Yexo
finnish - 1 changes by jpx_
italian - 3 changes by lorenzodv
russian - 1 changes by KorneySan
2011-05-30 17:45:22 +00:00
frosch 615e435677 (svn r22522) -Fix (r22489): (size_t)(uint32)(-1) != (size_t)-1 2011-05-29 18:35:31 +00:00
rubidium 36526d6b05 (svn r22521) -Fix: tiny typo in translation 2011-05-29 17:57:53 +00:00
translators 5b8ee9c982 (svn r22519) -Update from WebTranslator v3.0:
dutch - 1 changes by Rubidium
english_US - 3 changes by Rubidium
french - 3 changes by glx
german - 3 changes by frosch
spanish - 4 changes by Terkhen
2011-05-29 17:45:19 +00:00
frosch a241a4ce97 (svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers. 2011-05-29 16:56:22 +00:00
frosch 5b449145f7 (svn r22517) -Fix (r22472): If a NewGRF sprite ran out of bytes at a very specific point, data might be freed twice. 2011-05-29 16:54:40 +00:00
frosch 8f921c8747 (svn r22516) -Codechange: Replace some magic numbers with the appropiate enum values. (Eddi) 2011-05-29 08:56:05 +00:00
translators c904e7ede5 (svn r22515) -Update from WebTranslator v3.0:
catalan - 2 changes by arnau
finnish - 2 changes by jpx_
norwegian_bokmal - 9 changes by kristoffer_hh
russian - 2 changes by Lone_Wolf
slovenian - 1 changes by ntadej
2011-05-28 17:45:18 +00:00
alberth 9bc3d8861f (svn r22514) -Feature: Save heightmap in scenario editor. 2011-05-28 13:56:35 +00:00
alberth c6f3ded6d5 (svn r22513) -Add: Allow for saving a heightmap from the file dialogue window. 2011-05-28 13:55:59 +00:00
alberth f1cae9960f (svn r22512) -Add: Save heightmap. 2011-05-28 13:55:34 +00:00
alberth 1838225192 (svn r22511) -Add: Function to make heightmap file paths. 2011-05-28 13:55:05 +00:00
alberth 84f7fc32fa (svn r22510) -Codechange: Extract filepath creation to its own function. 2011-05-28 13:54:42 +00:00
alberth be048e05f2 (svn r22509) -Add: Save heightmap. 2011-05-28 13:54:18 +00:00
alberth 64745b4d0d (svn r22508) -Codechange: Lift default screenshot filename out of MakeScreenshotName. 2011-05-28 13:53:52 +00:00
alberth c8cbc8ef97 (svn r22507) -Doc: Document SwitchMode. 2011-05-28 09:56:14 +00:00
frosch 460d24fd83 (svn r22506) -Feature [FS#4625]: Make the transparency options for industries also affect the effect vehicles created by industries. 2011-05-28 09:46:37 +00:00
frosch 71822b6f1b (svn r22505) -Add: Separate EffectVehicleTypes for broken aircraft and smoke at copper ore mine, to make them distinguishable from each other and from smoke due to disasters. (only affects newly spawned effects) 2011-05-28 09:45:12 +00:00
frosch 7c21083227 (svn r22504) -Codechange: Add EV_END and use it to check the lengths of _effect_init_procs and _effect_tick_procs. 2011-05-28 09:43:53 +00:00
frosch 1b34d22620 (svn r22503) -Doc: EffectVehicleType. 2011-05-28 09:43:22 +00:00
glx 986d5e950d (svn r22502) -Fix (r22501): WIN32 compilation 2011-05-28 03:23:34 +00:00
alberth 6e3ef9fa1a (svn r22501) -Codechange: Move FileExists to a better place. 2011-05-27 21:42:51 +00:00
alberth f5637b7975 (svn r22500) -Doc: Fix and add fios doxygen documentation. 2011-05-27 21:20:07 +00:00
yexo ffdfa5a213 (svn r22499) -Fix: don't lower the arrow buttons in the newgrf/AI parameter windows if they're clicked when disabled 2011-05-27 18:02:55 +00:00
translators 56902191e4 (svn r22498) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by Gavin
2011-05-27 17:45:06 +00:00
planetmaker 8828acd722 (svn r22497) -Codechange: Simplify button handling in airport build GUI 2011-05-27 16:26:10 +00:00
yexo 00e65d1a4d (svn r22496) -Fix: callback result for airport layout name was incorrectly used 2011-05-27 16:06:23 +00:00
planetmaker 9a744793b0 (svn r22495) -Fix: The layout selectors of the airport build GUI did not latch properly 2011-05-27 15:40:32 +00:00
yexo 4ac6f2a994 (svn r22494) -Fix: airport preview sprite can depend on the layout, so update the cached SpriteID when the layout changes 2011-05-27 15:31:54 +00:00
translators a222703d4c (svn r22493) -Update from WebTranslator v3.0:
brazilian_portuguese - 1 changes by Tucalipe
2011-05-26 17:45:07 +00:00
frosch 87515d0873 (svn r22492) -Fix [FS#4624] (r21642, r22328): Only try to insert implicit orders for ground vehicles. Aircraft may reach unscheduled terminals when skippnig orders etc. 2011-05-25 20:10:02 +00:00
terkhen cee94be7db (svn r22491) -Fix [FS#4623]: [Windows] Generate crashlogs correctly in binaries created with MinGW-w64. (JGR) 2011-05-25 16:40:30 +00:00
terkhen 1f3853249d (svn r22490) -Fix [FS#4623]: [Squirrel] Fix compilation under MinGW-w64. (JGR) 2011-05-25 16:35:23 +00:00
rubidium 197fcab295 (svn r22489) -Fix [FS#4623]: don't cast pointers to unsigned long or vice versa 2011-05-22 21:40:26 +00:00
alberth 63923068a2 (svn r22488) -Doc: Add Doxygen comments to screenshot code. 2011-05-22 20:18:38 +00:00
smatz 92cabe0c9f (svn r22487) -Fix (r15216)[FS#4622]: engine IDs for coal and mail wagons were swapped 2011-05-22 19:18:28 +00:00
translators cfdfda0098 (svn r22486) -Update from WebTranslator v3.0:
dutch - 11 changes by Parody
2011-05-22 17:45:06 +00:00
frosch 1f79304125 (svn r22485) -Fix: EnsureVisibleCaption() did not update viewport positions of windows with viewports but without caption. (only triggerable since r22484) 2011-05-21 22:23:13 +00:00
frosch 351c7ab097 (svn r22484) -Fix: The caption of centered windows could be moved out of the main window and thus become inaccessible when resizing the main window. 2011-05-21 22:22:02 +00:00
translators da216d9c2a (svn r22483) -Update from WebTranslator v3.0:
dutch - 2 changes by Parody
2011-05-21 17:45:06 +00:00
frosch 474b4799e8 (svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks. 2011-05-21 11:26:37 +00:00
smatz 2447efdefd (svn r22481) -Fix: compilation with recent GCC 2011-05-21 08:40:50 +00:00
translators 9b54356d3c (svn r22480) -Update from WebTranslator v3.0:
hungarian - 5 changes by IPG
spanish - 1 changes by Terkhen
2011-05-20 17:45:09 +00:00
frosch ebb4f0513a (svn r22479) -Codechange/Fix: Months != quarters. (xi) 2011-05-19 21:03:23 +00:00
translators 1e90bc0d30 (svn r22478) -Update from WebTranslator v3.0:
croatian - 1 changes by VoyagerOne
estonian - 7 changes by notAbot
italian - 1 changes by lorenzodv
2011-05-19 17:45:12 +00:00
frosch fae2477143 (svn r22476) -Codechange: Deduplicate code for reading sprite layout sprites. 2011-05-18 18:31:23 +00:00
translators 27e30521de (svn r22475) -Update from WebTranslator v3.0:
english_US - 1 changes by Rubidium
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
portuguese - 6 changes by ABCRic, JayCity
slovenian - 5 changes by Necrolyte
spanish - 1 changes by Terkhen
vietnamese - 4 changes by nglekhoi
2011-05-18 17:45:29 +00:00
planetmaker 29ac44af7c (svn r22474) -Change: Reflect r22473 also in how it reads in the order list 2011-05-18 12:21:55 +00:00
planetmaker 43c8cd1d5e (svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added 2011-05-18 12:19:58 +00:00
frosch bc6b348e7a (svn r22472) -Fix: When a NewGRF assigned station properties 09 and/or 0A multiple times, the previously allocated sprite layouts were not freed. 2011-05-17 20:11:19 +00:00
translators 64cf720234 (svn r22471) -Update from WebTranslator v3.0:
brazilian_portuguese - 2 changes by Tucalipe
2011-05-17 17:45:07 +00:00
translators 9869f92e6a (svn r22470) -Update from WebTranslator v3.0:
luxembourgish - 8 changes by Phreeze
romanian - 2 changes by kkmic
2011-05-16 17:45:11 +00:00
translators 4867556a0c (svn r22466) -Update from WebTranslator v3.0:
catalan - 2 changes by arnau
dutch - 2 changes by habell
2011-05-15 17:45:09 +00:00
frosch b319fb31d5 (svn r22465) -Fix [FS#4613]: When determining the executable path failed, the working directory was used instead, circumventing the not-home-directory check. 2011-05-15 17:18:46 +00:00
terkhen 003dee6e38 (svn r22464) -Fix [FS#4587]: [Windows] Prevent a crash when launching OpenTTD with -d from a MSYS console. Added a note to known-bugs about this issue. 2011-05-15 14:51:06 +00:00
frosch 4c63d8e82f (svn r22463) -Fix [FS#4615]: Update the fios GUI immediatelly after scanning a new directory, so queued events reach the window when already updated. 2011-05-15 12:30:14 +00:00
alberth 990ec6f0a9 (svn r22460) -Doc: Semantic documentation fixes, and doxygen additions (partly by planetmaker). 2011-05-14 18:38:54 +00:00
alberth 28092366ec (svn r22459) -Doc: Typo fixes and doxygen markup improvements. 2011-05-14 18:35:40 +00:00
translators aa4c7e021c (svn r22458) -Update from WebTranslator v3.0:
lithuanian - 10 changes by Fretta
swedish - 1 changes by Ledel
2011-05-14 17:45:11 +00:00
frosch e55f849a29 (svn r22457) -Codechange: Make the NewGRFSpriteLayout a direct member of TileLayoutSpriteGroup instead of allocating it separately. 2011-05-14 17:33:26 +00:00
frosch 7415b9cca2 (svn r22456) -Codechange: Derive NewGRFSpriteLayout from DrawTileSprites for spritelayouts allocated on the heap, and make use of constructors and destructors. 2011-05-14 17:25:45 +00:00
frosch 3183cb7907 (svn r22455) -Fix (r22286): x != y 2011-05-14 16:01:40 +00:00
frosch 20e86fd5ea (svn r22454) -Codechange: Deduplicate GetCustomStationGroundRelocation() into GetCustomStationRelocation() and only call it if actually needed. 2011-05-14 13:12:47 +00:00
frosch fdd2f8447e (svn r22453) -Feature(ette): Implement variable 18 for custom station foundations. 2011-05-14 12:38:10 +00:00
frosch 930d0c9702 (svn r22452) -Fix (r18708): Zero register 0x100 as specified before resolving custom station foundations. 2011-05-14 12:36:31 +00:00
alberth a63b22991d (svn r22451) -Codechange: Test for bridges and tunnels during the first pass only while terraforming (HackaLittleBit) 2011-05-14 09:26:16 +00:00
rubidium 772fd8f6b5 (svn r22450) -Fix [FS#4610]: Don't "log" the NewGRFs in the screenshot when in the menu 2011-05-13 20:07:57 +00:00
translators 70eae3a7a3 (svn r22446) -Update from WebTranslator v3.0:
english_US - 2 changes by Rubidium
finnish - 2 changes by jpx_
serbian - 2 changes by etran
2011-05-13 17:45:13 +00:00
translators 05f95f3cb8 (svn r22445) -Update from WebTranslator v3.0:
belarusian - 2 changes by KorneySan
croatian - 2 changes by VoyagerOne
french - 2 changes by glx
german - 6 changes by planetmaker
italian - 2 changes by lorenzodv
russian - 2 changes by KorneySan
spanish - 6 changes by Terkhen
2011-05-12 17:45:27 +00:00
frosch 2cec96388c (svn r22444) -Add: When GRFs are disabled via Action E or due to GRM failure, also display an error in the GUI. 2011-05-11 20:23:37 +00:00
frosch 67b9eda8c6 (svn r22443) -Codechange: Deduplicate code for deactivating GRFs. 2011-05-11 20:22:04 +00:00
frosch b6c4832b1e (svn r22442) -Fix: Do not popup fatal NewGRF error messages in the intro screen. The GRFs are not going to be activated there anyway and the GRF settings GUI will not display the errors either. 2011-05-11 20:20:21 +00:00
translators c435fa0f65 (svn r22441) -Update from WebTranslator v3.0:
german - 1 changes by planetmaker
2011-05-11 17:45:08 +00:00