Commit Graph

11845 Commits (4557af2fce46b77b6406f44b9eb773716870dfb6)

Author SHA1 Message Date
michi_cc d25840978c (svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period. 13 years ago
translators 9ccf86eafb (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
13 years ago
translators 6068df5e30 (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
13 years ago
frosch fbc8de13fc (svn r22710) -Fix [FS#4704]: Allow AIAirport::GetNoiseLevelIncrease() also for expired airports. 13 years ago
alberth 288fdb3459 (svn r22709) -Doc: Doxyment fileio.cpp. 13 years ago
planetmaker 3e5d60ea2e (svn r22708) -Feature [FS#4701]: Display option to hide competitors' signs and station names (Zuu) 13 years ago
frosch e067db6821 (svn r22707) -Codechange: Simplify applying the difficulty settings to prices, and reduce computational errors. (Eddi) 13 years ago
frosch 5fbd3eba42 (svn r22706) -Cleanup: A loop is no loop, if it never iterates. 13 years ago
rubidium c691b4c49e (svn r22700) -Fix [FS#4680]: cost of changing bridge type is undercalculated when adding road types as well (based on patch by adf88) 13 years ago
rubidium a4379b814d (svn r22699) -Fix [FS#4681]: Cost of adding an extra road type to a bridge or tunnel was undercalculated (adf88) 13 years ago
frosch e9e68c3a50 (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. 13 years ago
rubidium 47836bb412 (svn r22697) -Fix [FS#4694-ish]: when building a house it could be built at the wrong place if multitile houses failed some tests 13 years ago
rubidium 838a7040f3 (svn r22696) -Fix: don't requery the servers when the server list window isn't opened 13 years ago
rubidium 7c9432f94d (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 13 years ago
planetmaker c495862ced (svn r22694) -Cleanup [FS#4579]: Remove unused but confusing widget 13 years ago
frosch 31ad03e4d2 (svn r22693) -Fix [FS#4691]: The override managers were not reset in some cases like creating a new scenario. 13 years ago
translators 4b31345a3e (svn r22691) -Update from WebTranslator v3.0:
greek - 14 changes by kyrm
romanian - 1 changes by kkmic
ukrainian - 6 changes by Madvin
13 years ago
frosch 41348b8fe9 (svn r22690) -Fix: [NewGRF] Aircrafts defined with IDs above the default aircrafts always defaulted to passenger cargo. 13 years ago
translators 1b97db59c4 (svn r22689) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
hungarian - 6 changes by IPG
russian - 1 changes by KorneySan
13 years ago
translators af73551ebb (svn r22688) -Update from WebTranslator v3.0:
greek - 4 changes by fumantsu, kyrm
vietnamese - 5 changes by nglekhoi
13 years ago
translators 2e752cad38 (svn r22687) -Update from WebTranslator v3.0:
catalan - 6 changes by arnau
13 years ago
translators 97c32f2a5b (svn r22683) -Update from WebTranslator v3.0:
italian - 1 changes by lorenzodv
13 years ago
frosch 2c1b3f9789 (svn r22682) -Fix: [NewGRF] Disallow accessing variable 1B due to desync reasons. 13 years ago
translators d0ab1a81d2 (svn r22681) -Update from WebTranslator v3.0:
greek - 2 changes by fumantsu
13 years ago
translators d99de8c9fb (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
13 years ago
planetmaker 37acacce05 (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,...) 13 years ago
planetmaker 52c09189b7 (svn r22678) -Doc: More doxygen sprinkles in MacOSX code and cocoa video driver 13 years ago
planetmaker 7a5f3a7e76 (svn r22677) -Doc: A few doxygen sprinkles in toolbar_gui.cpp 13 years ago
translators e4075966e6 (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
13 years ago
planetmaker cc68dac035 (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 13 years ago
translators 49e7846bfe (svn r22674) -Update from WebTranslator v3.0:
danish - 5 changes by NeoNmaN
13 years ago
planetmaker 0f5eff9187 (svn r22673) -Add #4690: Provide random bits in var 0x10 for callback 0x3B in all cases (Hirundo) 13 years ago
translators 4336df45b8 (svn r22672) -Update from WebTranslator v3.0:
czech - 4 changes by Harlequin
german - 5 changes by planetmaker
13 years ago
translators e0f6ea8d82 (svn r22671) -Update from WebTranslator v3.0:
czech - 4 changes by Harlequin
korean - 5 changes by telk5093
polish - 7 changes by wojteks86
13 years ago
frosch 53931bccc9 (svn r22670) -Change: Do not spawn explosion effects when bulldozing in paused mode. They block the view. 13 years ago
alberth ef58554bd2 (svn r22669) -Codechange: For non-windows, only test for file existence again if strtolower actually changed the name. 13 years ago
alberth 7a60662b15 (svn r22668) -Codechange: FioFindFullPath tests already whether the file exists. 13 years ago
translators 33a77d53f9 (svn r22667) -Update from WebTranslator v3.0:
belarusian - 6 changes by Wowanxm
13 years ago
translators fb86457173 (svn r22666) -Update from WebTranslator v3.0:
czech - 7 changes by micropro_cz
luxembourgish - 9 changes by Phreeze
13 years ago
translators 1ecc485ba7 (svn r22665) -Update from WebTranslator v3.0:
portuguese - 5 changes by JayCity
romanian - 5 changes by kkmic
13 years ago
translators 957545510d (svn r22664) -Update from WebTranslator v3.0:
serbian - 5 changes by etran
13 years ago
translators 0f99d7e664 (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
13 years ago
frosch 865831cc5d (svn r22662) -Fix (r22639)[FS#4683]: Ships can also travel on certain rail tiles. 13 years ago
frosch d7285e73de (svn r22661) -Fix (r22659): Silence a gcc warning. 13 years ago
translators 0dd2bac311 (svn r22660) -Update from WebTranslator v3.0:
english_US - 5 changes by Rubidium
finnish - 5 changes by jpx_
13 years ago
michi_cc 5a85a32413 (svn r22659) -Add: [NewGRF] Support for the land slope check callback for stations. 13 years ago
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
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
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 7cff7ce30e (svn r22578) -Fix: another MSVC compile warning 13 years ago
rubidium 196a394a3c (svn r22577) -Fix: MSVC64 compile warning 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
terkhen fbf8b6c5ed (svn r22573) -Fix (r22567): Fix operator precedence. 13 years ago
michi_cc 8b38847c1e (svn r22572) -Fix: MSVC performance warning (assigning int to bool). 13 years ago
terkhen e1a4acfdf6 (svn r22571) -Add: [NewGRF] Show town persistent storage in the NewGRF debug GUI. 13 years ago
terkhen e10a670c0c (svn r22570) -Codechange: Store the GrfID of the caller when opening a parent window in the NewGRF debug GUI. 13 years ago
terkhen e8a8b6dae5 (svn r22569) -Feature: [NewGRF] Persistent storage for towns. 13 years ago
terkhen 2eb8903dce (svn r22568) -Change: Add a list of persistent storages to the Town class. 13 years ago
terkhen 7e0daae1ec (svn r22567) -Codechange: Store persistent storages inside a pool. 13 years ago
terkhen db879d5bd1 (svn r22566) -Codechange: Define and use OverrideManagerBase::GetGRFID function. 13 years ago
terkhen 016f50bca0 (svn r22565) -Codechange: Use helper functions for getting the persistent storage in the NewGRF debug GUI. 13 years ago
terkhen 3d96adb03f (svn r22564) -Codechange: Rename Get and Store persistent storage functions to GetValue and StoreValue. 13 years ago
terkhen ac4f4447e0 (svn r22563) -Codechange: Use a function for storing values inside the persistent storage. 13 years ago
terkhen 713acf1ad3 (svn r22562) -Codechange: Remove constness from TownGetVariable. 13 years ago
terkhen 58e70e26f2 (svn r22561) -Codechange: Remove constness from Object in ResolverObject. 13 years ago
terkhen 92c429e3ee (svn r22560) -Codechange: Remove constness from House in ResolverObject. 13 years ago
terkhen 431fba8852 (svn r22559) -Codechange: Remove constness from Station in ResolverObject. 13 years ago
terkhen faa77c9bc4 (svn r22558) -Codechange: Remove constness from BaseStation in ResolverObject. 13 years ago
terkhen e392f26215 (svn r22557) -Codechange: Remove constness from AnimationBase callbacks. 13 years ago
terkhen 3914192556 (svn r22556) -Codechange: Remove constness from the town pointer at industries. 13 years ago
translators c7b522877f (svn r22555) -Update from WebTranslator v3.0:
dutch - 32 changes by Parody
korean - 2 changes by junho2813
norwegian_nynorsk - 27 changes by 2rB
13 years ago
frosch 4ea00f2390 (svn r22553) -Fix (r22499): NewGRF parameter window was not set dirty, when changing row selection. 13 years ago
frosch a0eb879310 (svn r22552) -Fix: Clear airport persistent storage on construction/removal of airports. 13 years ago
frosch e8a381659c (svn r22551) -Fix: Remove BaseStorageArrays from _changed_storage_arrays on destruction. 13 years ago
translators b306a3e4a9 (svn r22550) -Update from WebTranslator v3.0:
spanish - 1 changes by Terkhen
13 years ago
translators 65d6a5456f (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
13 years ago
planetmaker 122c4622f5 (svn r22548) -Codechange: Name also the magic number for the lumber mill's tree cutting action (FeyFre) 13 years ago
translators d390a57768 (svn r22547) -Update from WebTranslator v3.0:
spanish - 1 changes by Terkhen
13 years ago
translators 247414ec94 (svn r22545) -Update from WebTranslator v3.0:
dutch - 37 changes by Parody
brazilian_portuguese - 11 changes by Tucalipe
13 years ago
translators b224f4bdbc (svn r22544) -Update from WebTranslator v3.0:
romanian - 5 changes by tonny
vietnamese - 3 changes by myquartz
13 years ago
terkhen 387ff1ddf5 (svn r22543) -Feature: [NewGRF] Support for station variable 0x69. 13 years ago
terkhen 43de2fa2e8 (svn r22542) -Add: Store cargo acceptance stats for stations. 13 years ago
terkhen f8400b86b2 (svn r22541) -Document: GoodsEntry struct. 13 years ago
terkhen 55695277c8 (svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus. 13 years ago
translators 69a6e17837 (svn r22539) -Update from WebTranslator v3.0:
portuguese - 2 changes by JayCity
13 years ago
rubidium 92a83a394f (svn r22538) -Fix [FS#4619]: possible crash when opening the airport build window for the first time 13 years ago
rubidium 6d37d67d80 (svn r22537) -Change [FS#3494]: replace the half small airport structure on the intercontinental airport with some grass 13 years ago
rubidium 82251f0e4c (svn r22536) -Fix [FS#4632]: documentation omission regarding admin protocol 13 years ago
planetmaker a82acadba1 (svn r22535) -Cleanup: Remove uneeded constants, update and unify some comments relating to sprite numbers 13 years ago