OpenTTD Changelog

New in version 1.4.4

October 28th, 2014
  • Fix: Image widgets stored 32bit SpriteID in uint16 (r26971)
  • Fix: Owner of road depot road types were not properly changed upon bankruptcy [FS#6126] (r26955)
  • Fix: Compilation on HAIKU (r26922)
  • Fix: Crash when enabling 'Full animation' if multiplayer chat text is on screen [FS#6096] (r26919)
  • Fix: Height computation of game script text in town GUI did not consider margins [FS#6119] (r26859)
  • Fix: [Squirrel] Debian lintian issues (r26853)
  • Fix: Compilation of strgen on various platforms like Solaris (r26850)
  • Fix: Better display of refit information for articulated vehicles [FS#6113] (r26849, r26848)
  • Fix: Do not assign a next hop when returning cargo [FS#6110] (r26847)
  • Fix: The ok-button in the OSK for the signs list should just close the OSK [FS#6116] (r26827)

New in version 1.4.2 (August 17th, 2014)

  • Change: Use awk instead of trying to convince cpp to preprocess nfo files (r26708)
  • Fix: CMD_CLEAR_ORDER_BACKUP should not be suppressed by pause modes (r26716)
  • Fix: [NewGRF] Parameters to SCC_NEWGRF_PUSH_WORD and SCC_NEWGRF_UNPRINT were not skipped during drawing (r26713)
  • Fix: [OSX] Compilation fails with some lzo2 versions, if __LP64__ is defined to 0 instead of checking whether it is defined [FS#6069] (r26709)
  • Fix: Wrong breakdown sound was played for ships [FS#6015] (r26706)
  • Fix: Integer overflows in acceleration code causing either too low acceleration or too high acceleration [FS#6067] (r26702)
  • Fix: Discard incorrectly saved order backups when clients join [FS#6066] (r26700)
  • Fix: Do not crash when trying to show an error about vehicle in a NewGRF and the NewGRF was not loaded at all (r26699)
  • Fix: Slovak uses space as group separator in numbers [FS#6064] (r26695)
  • Fix: Tighten parameter bound checks on GSCargoMonitor functions, and return -1 on out-of-bound parameters (r26685)

New in version 1.4.1 (June 3rd, 2014)

  • Fix: First send packages about new company, then clients joining it to admin port [FS#6025] (r26616)

New in version 1.4.1 RC (May 9th, 2014)

  • Change: Remove demand calculation based on tiles (r26484)
  • Change: Use pkg-config for libpng as well (r26435, r26433, r26432)
  • Change: Use better distance metric for link graph [FS#5941] (r26411)
  • Fix: [Windows] Crash when the operating system performs the "paint" callback during window creation [FS#5994] (r26539, r26538)
  • Fix: OpenBSD compilation [FS#5992] (r26523)
  • Fix: prevent from ever reading huge (or negative) amounts of data in strgen (r26521)
  • Fix: Severity rating of dedicated server messages during world generation (r26518)
  • Fix: Buffer overruns in handling of symbolic links inside tars (r26514)
  • Fix: Incorrect usage of strecpy (r26505, r26485)
  • Fix: Reading console input on dedicated server relied on unspecified behaviour (r26496)
  • Fix: Allow single-vehicle consists to station-refit in a meaningful way (r26483)
  • Fix: Prevent comparing to NULL when strndup could not allocate memory (r26476)
  • Fix: Potentially undefined shifts in NewGRF code (r26475)
  • Fix: Make sure there is no uninitialised sprite data (r26473)
  • Fix: Draw text shadow for ellipses (r26467)
  • Fix: Add special handling for PALETTE_CRASH to work for non-8bpp-mapped sprites (r26463)
  • Fix: Avoid division by 0 when scaling flow values [FS#5970] (r26448)
  • Fix: Draw links to match _settings_game.vehicle.road_side [FS#5961] (r26445)
  • Fix: Load button for heightmap list was missing [FS#5953] (r26428)
  • Fix: Do not crash when supplying an invalid filename without extension to cmd parameter -q (r26423)
  • Fix: Some road constructions used the rail sound effect [FS#5946] (r26422)
  • Fix: Goal GUI failed to shade [FS#5948] (r26420)
  • Fix: Shares button state was not appropriately updated when switching setting or company [FS#5947] (r26416)

New in version 1.4.0 (April 3rd, 2014)

  • Feature: [Script] APIs to get cargo waiting from/via other station (r26396)
  • Fix: Do not explain "symmetric" cargodist mode when the setting does not allow it [FS#5939] (r26394)
  • Fix: Update distances between link graph nodes when station sign is moved (r26393)
  • Fix: No need to call OnFocus twice [FS#5933] (r26392)
  • Fix: Select a specific font size when freetype fails to select one automatically [FS#5885] (r26389)
  • Fix: Return correct values from ICU iterators in case of leading or trailing whitespace [FS#5924] (r26384)
  • Fix: All goal commands invalidated the goal list of company 0 [FS#5932] (r26382)
  • Feature: Warn the user about empty setting search results, and about missing setting search results due to filtering (r26322, r26321)
  • Feature: [NewGRF] Extend object variable 0x60 to also return the view [FS#5696] (r26316)
  • Feature: Allow map sizes up to 4096x4096 (r26319)
  • Feature: [NoGo] Allow GS to hide story page date (r26307)
  • Feature: [NoGo] More story APIs: RemovePageElement, GetCompany, GetDate, SetDate (r26306)
  • Feature: [NoGo] ScriptStoryPageElementList() - a list of all story page elements for a given page (r26305)
  • Feature: [NoGo] ScriptStoryPageList() - a list of all story pages (r26303)
  • Change: improve the performance of map generation (r26313, r26312, r26311, r26310, r26309, r26308)
  • Fix: Station sizes > 8 were always allowed [FS#5929] (r26375)
  • Fix: [NewGRF] Mixed up callback mask flags in station inspect window [FS#5928] (r26374)
  • Fix: Calling DoCommandP during the gameloop cleared pending persistent storage changes [FS#5831] (r26371)
  • Fix: [Windows] Use a separate event to indicate that the drawing thread has finished initialising, preventing potential deadlocks (r26367)
  • Fix: [Windows] Protect the whole video driver from concurrent access (r26366)
  • Fix: [Windows] Do not draw the cursor when its sprite is not ready and set _screen.dst_ptr immediately when the buffer changes [FS#5867] (r26365)
  • Fix: Writing out of the bounds of the rail type map [FS#5892] (r26364)
  • Fix: Reset the default window size icon size just like all the other cached icon sizes [FS#5906] (r26362)
  • Fix: ClientSizeChanged is only called via WndProcGdi which already has the mutex [FS#5922] (r26360)
  • Fix: Some order options do not combine with others, e.g. go via + full load [FS#5845] (r26357)
  • Fix: Protect all VideoDriver_SDL methods with the (now recursive) _draw_mutex (r26351)
  • Fix: Make sure link graph jobs can delete themselves after SLA_NULL [FS#5898] (r26347)
  • Fix: Call Layouter::ReduceLineCache from GenerateTownName in all cases to keep cache size in check [FS#5870] (r26346)
  • Fix: Rewrite SmallStack so that it does not use a pool and is re-entrant (r26343)
  • Fix: Reroute cargo when automatic distribution is switched off [FS#5902] (r26341)
  • Fix: Do not redraw the link graph overlay if it is empty [FS#5908] (r26338)
  • Fix: Some inconsistencies regarding link graph (job) IDs (r26331)
  • Fix: The case of rerouting cargo from one VehicleCargoList to another (r26330)
  • Fix: Take care of next_station when reassigning from MTA_DELIVER to MTA_TRANSFER [FS#5901] (r26327)
  • Fix: when autosaving the message about a save already happening could be shown, even though the code's intention was to not show it [FS#5871] (r26326)
  • Fix: Check whether NewGRF change vehicle capacity when they are not supposed to, and truncate cargo appropriately if they are allowed to [FS#5897] (r26317)
  • Fix: The giant-screenshot confirmation window only triggered for ridiculously big screenshots, not for ludicrously big ones [FS#5899] (r26314)
  • Change: [NewGRF] Make vehicle variable 61 return 'not available' instead of zero when using it in invalid callback contexts (r26294)
  • Feature: Display speed limit also for road bridges in the TileInfo window [FS#5849] (r26277)
  • Fix: [NoGo] Invalid DoCommand return callback for method returning bool (r26298)
  • Fix: Correctly identify opposite ends of bridges and tunnels when converting rails [FS#5866, FS#5888] (r26291)
  • Fix: Prevent infinite recursion also in RefreshLinks [FS#5878] (r26283)
  • Fix: [NoAI] Some RemoveRail methods required to set a valid railtype, though it was not used anyway. Remove the need to set one [FS#5853] (r26279)
  • Fix: Do not spawn link graph jobs for link graphs with only one node [FS#5874] (r26276)
  • Fix: [NewGRF] If NewGRF provided the same station name for different industry types, stations would end up with same name. So also consider the provided name, not only the industry type (r26275)

New in version 1.4.0 Beta 3 (January 23rd, 2014)

  • Feature: Several small performance improvements with the SSE blitters (r26260, r26259, r26256, r26255, r26254)
  • Feature: [NewGRF] Add StringCodes 9A 1B, 9A 1C and 9A 1D to display amounts of cargo (r26244)
  • Fix: Do not run into infinite recursion when getting next stopping station [FS#5865] (r26267, r26263)
  • Fix: Update smallmap overlay if player joins different company and make sure company masks are valid [FS#5860] (r26266)
  • Fix: Do not rebuild the link graph overlay cache twice in a row (r26265)
  • Fix: Custom currency was reset on game start (r26262)
  • Fix: Possible out of bounds reads with the sse blitters [FS#5854, FS#5855] (r26247)
  • Fix: Do not overreserve after autorefit, but do reserve mail for aircraft (r26236)
  • Fix: Decimal and digit separators were swapped for Korean language (r26235)

New in version 1.4.0 Beta 2 (January 9th, 2014)

  • Feature: Blitter autoselection is now based on full animation state, so a non-animated specialised blitter will generally be chosen when animation is turned off (r26217)
  • Feature: Specialised animated SSE4 blitter, and non-animated SSE4.1, SSSE3 and SSE2 blitters, improving the blitting significantly in many situations (r26214, r26213, r26212, r26211)
  • Feature: Specialised SSE 4.1 sprite sorter, improving the sorting performance significantly (r26205)
  • Fix: Validate everything from ini, obg, obs, obs, ... files [FS#5829] (r26206)
  • Fix: Allow refitting at station if cargo has already been reserved (r26187)
  • Fix: Visual effects did not work for articulated RV parts (r26180)

New in version 1.3.3 (December 7th, 2013)

  • Compared to the previous release candidate an important crashy bug was fixed. We recommend everyone to update to this version, especially server owners are encouraged to update in a timely manner.

New in version 1.3.1 RC1 (May 20th, 2013)

  • New features:
  • Translations of baseset descriptions via language files (r25209, r25205)
  • Faroese and Scottish Gaelic translations (r25198, r25176)
  • Plural form to be used by Scottish Gaelic (1,11; 2,12; 3..10, 13..19; other) (r25078)
  • Changes:
  • [strgen] Allow any number of colour codes in translations (r25193, r25192, r25191)
  • [Win32] MSVC 2010 comes with stdint.h (r25128)
  • Be slightly more lenient with trying to detect a subversion repository in case someone has a sparse tags checkout. In that case the .svn folder misses from the $ROOT_DIR because it is in the $ROOT_DIR/.. (i.e. tags) folder (r25107)
  • Fixed:
  • 'No station' error was given, even when there was a station that way occupied or not yours [FS#5546] (r25243)
  • Crash when AI is executing a command as it is bankrupted (removed from the game) [FS#5547] (r25236)
  • Give bridges owned by noone (from bankrupt companies) to the first company which replaces the bridge. Everyone could have removed/rebuild the bridge anyway [FS#5541] (r25231, r25227)
  • [NewGRF] Revise when vehicle running sound effects 04, 07 and 08 are played; in depot or tunnel, or when crashed or stopped: No sound. Braking: Effect 08 instead of 07 [FS#5538] (r25226)
  • [NewGRF] Play vehicle sound effect also for planes (r25225)
  • [NewGRF] cur_speed is only valid for the front engine, so make other engines in the consist use the speed of the front [FS#5534] (r25224)
  • [NewGRF] Make tick_counters work the same for vehicles (r25223, r25222)
  • [NewGRF] IsCompatibleTrainStationTile() is not a symmetric function. Clarify the parameters and fix the cases were they were swapped (r25221)
  • Consider map border as water with repsect to river/canal continuation (r25220)
  • [Script] Clarify on which tiles IsDesertTile and IsSnowTile work, i.e. the ones without infrastructure or buildings, and introduce GetTerrainType for the cases where IsDesertTile/IsSnowTile do not work [FS#5537] (r25213)
  • The level crossing sound is an ambient sound and not a new year sound (r25200)
  • Original train and road vehicle acceleration did no longer respect bridge speed limits [FS#5523] (r25167)
  • [Win32] Do not statically link to SHGetFolderPath as it may not exist, and improve its emulation [FS#5522] (r25155, r25153)
  • [Win32] Do not store invalid paths in the search path list (r25154)
  • Remove stray reservation from savegames affected by FS#5510 et al. upon loading [FS#5520] (r25152)
  • [Script] XXBase::Chance function did not work for large values (>65535) [FS#5517] (r25148)
  • Several typos/inconsistencies in English strings [FS#5496] (r25144, r25143)
  • When extra dynamite was disabled, towns would be allowed to clear bridges with trams (r25141)
  • Towns are build as OWNER_TOWN, so they also need to be removed as OWNER_TOWN otherwise parts might remain [FS#5519] (r25140)
  • Editboxes could become too small when resizing windows (r25121)
  • Game script language files did not work, when inside a tar [FS#5509] (r25117, r25114)
  • [NewGRF] Acceleration of NewGRF aircraft was too fast, while acceleration of default aircraft was way too slow (r25115)
  • Pass $LDFLAGS_BUILD to all endian_check compilations (r25108)