1.4.0 (2014-04-01) ------------------------------------------------------------------------ (None) 1.4.0-RC1 (2014-03-18) ------------------------------------------------------------------------ - 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) 1.4.0-beta5 (2014-02-25) ------------------------------------------------------------------------ - 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) 1.4.0-beta4 (2014-02-06) ------------------------------------------------------------------------ - 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) 1.4.0-beta3 (2014-01-21) ------------------------------------------------------------------------ - 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 over reserve after autorefit, but do reserve mail for aircraft (r26236) - Fix: Decimal and digit separators were swapped for Korean language (r26235) 1.4.0-beta2 (2014-01-07) ------------------------------------------------------------------------ - 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) 1.4.0-beta1 (2013-12-24) ------------------------------------------------------------------------ - Feature: [NewGRF] Vehicle variable 4D for determining the position within an articulated vehicle (r26157) - Feature: [NewGRF] Invalidate vehicle colour palette when leaving a station [FS#5669] (r26027) - Feature: [NoGo] New goal type that show a story page when clicked (r26012) - Feature: Optional filter parameter to the 'content state' console command, to limit the content list to only content where the name match the filter (r26000) - Feature: When calling the 'content select' console command without args, display all selected content (r25999) - Feature: XDG base directory support [FS#5385] (r25975) - Feature: [Script] ScriptTown::GetFundBuildingsDuration (r25969) - Feature: [Script] ScriptTown::TOWN_GROWTH_NONE to indicate no town growth via ScriptTown::SetGrowthRate and GetGrowthRate (r25968) - Feature: [NoGo] GSTown::TOWN_GROWTH_NORMAL to reset a town growth rate set previously via GSTown::SetGrowthRate (r25967) - Feature: [NewGRF Debugging] Inspecting other vehicles in a chain (r25946) - Feature: [NewGRF] Object property 0x18 to allow specifying the number of objects of that type being placed upon map creation (r25878) - Feature: [NewGRF] Object property 0x10, bit 13 indicating that object amount scales with water content of map border (e.g. used for lighthouses) (r25874) - Feature: Highlight active goto item in order list dropdown [FS#5784] (r25859) - Feature: [Admin] Send info on bankruptcy quarters also in ADMIN_PACKET_SERVER_COMPANY_INFO [FS#5756] (r25845) - Feature: Increase maximum number of object instances on the map from 64k to about 16M (r25844) - Feature: Increase the total number of object types from 256 to 64000 (r25835) - Feature: [NewGRF] Increase the object class limit from 32 to 255 (r25831) - Feature: Toggle button for wrapping lines in the textfile GUI [FS#5748] (r25816) - Feature: [NoGo] Game Scripts can now charge fees and give money to companies (r25788) - Feature: [Script] Allow AIs and GS to found towns. Allow GS to rename towns (r25785) - Feature: Add keywords to the openttd.desktop.in file (r25783) - Feature: Sticky and shade buttons for jukebox window [FS#5743] (r25776) - Feature: Additional layered main toolbar arrangements (r25772) - Feature: Allow implicit orders even if no explicit ones are given (r25735) - Feature: [OSX] Pinch gesture support for zooming [FS#4760] (r25666) - Feature: Split unit localisation choice into a choice per type of unit, and move it to the advanced settings (r25508) - Feature: Have tractive effort in imperial (lbf) and metric (kgf) units, have weights and volumes in imperial units (short tons, gallons) [FS#5482] (r25508) - Feature: Differentiate between total waiting cargo count and available (not reserved) cargo count in the station list and sort based on the cargo count, not the cargo value (r25405) - Feature: Timetable spreading of vehicles by Ctrl+Click when setting a start date (r25377) - Feature: Allow opening a goal list and story window specific to a company (r25372, r25369) - Feature: Show cargo by next hops and final destinations in the station GUI (r25365) - Feature: Consider cargo waiting at other stations for rating at the origin station (r25362) - Feature: Distribute cargo according to plan given by linkgraph (r25361) - Feature: [NoGo] GUI for viewing story pages (r25344) - Feature: Add industry list to scenario editor's map menu (r25335) - Feature: [NoGo] Allow more concurrent goals in a game (r25299) - Feature: [NoGo] Goals can now have a progress text and/or be marked as completed (r25296) - Feature: Allow saving window sizes as default sizes (r25295) - Feature: Add another button to window title bars to resize the window to its default size (r25294) - Feature: Save stickyness of windows when Ctrl+Clicking the sticky button (r25292) - Feature: When opening the object-build window, restore the object build-window to the previous state (r25284) - Feature: Show the approximate monthly supply to a station of the different cargoes (r25272) - Feature: [Win32] Driver param for the DirectMusic driver to specify the output port to use [FS#5552] (r25269) - Feature: Linkgraph overlay over main viewport (r25264) - Feature: Linkgraph overlay for smallmap (r25262) - Feature: Display imminent closure of an industry in its view window (r25238) - Feature: [NewGRF] Expose sprite base of foundation and shore sprites via Action D Game Variables (r25230) - Feature: [NewGRF] Variable 0x82 for canals and rivers (dike map) (r25229) - Feature: [Script] ScriptStation::HasRating [FS#5514] (r25150) - Feature: Add sorting on rating for the town directory window [FS#5288] (r25097) - Feature: Introduce dropdown for selecting the sort criterion in the town directory window (r25094) - Feature: Georgian Lari and Iranian Rial as currencies [FS#5212] (r25076) - Feature: Collapse subtypes in the refit GUI and only expand them after selecting the cargo type (r25044) - Feature: Only display subtypes in the refit GUI which are available for all selected vehicles. Also add a generic list item to refit while keeping the subtypes of individual vehicles [FS#3764] (r25043) - Feature: Show the amount of cargo that has already been reserved by full loading vehicles in the station (r25013) - Change: [NewGRF] Reset the temporary storage registers for every sprite resolving (r26173) - Change: Improve layout of build-airport GUI [FS#5832] (r26165) - Change: Make it slightly more clear what ports are coming from where in the debug output when listening (r25997) - Change: Preselect the current replacement in the right-side list of the autoreplace GUI, instead of selecting the first resp. previous item [FS#5734] (r25919) - Change: Unify behaviour when clicking on different items in the goto dropdown list when giving orders (r25894) - Change: Do not offer subsidies for auto-distributed cargo [FS#5766] (r25882) - Change: Allow to remove unowned objects unless they have the 'unremovable' flag (r25879) - Change: In scenario editor allow to build all objects which were available at any point in the past to support building scenarios with historic items (r25875) - Change: Display the cost to upgrade a bridge at the end of bridge that was clicked and not the other end, which could be outside of the screen in some cases (r25854) - Change: [NewGRF] Lower the limit of airport tile types, house types, industry tile types and object types per NewGRF from 256 to 255 to prevent usage of ID 0xFF in Action3, and thus allowing it to become an extended byte somewhen (r25841, r25839, r25837, r25834) - Change: Clarify the relevance of the permissible palettes (r25792) - Change: [NewGRF] Invalidate vehicle recolour palette during (un)loading [FS#5669] (r25648) - Change: If an editbox is configured to be cleared with ESC, but the editbox is already empty, unselect the editbox instead (r25647) - Change: Make the bridge and object picker not restore their previous size, but the previously saved size (r25543) - Change: Right align the infrastructure statistics [FS#5595] (r25515) - Change: Clarify the meaning of the server advertisement settings (r25252) - Fix: Unify the time a RV needs to travel through a curve [FS#5831] (r26169) - Fix: Certain hotkeys crashed the content GUI when the list was empty [FS#5834] (r26167) - Fix: Backup data of altered persistent storage arrays was freed twice [FS#5830] (r26161) - Fix: [Script] Various API functions did not check whether ScriptRoad::SetCurrentRoadType was called appropriately [FS#5825] (r26149) - Fix: [Script] API failed for vehicles with only implicit orders [FS#5824] (r26148) - Fix: Several fixes found by static code analysis (r26132, r26130-r26097, r26091-r26077, r26073-r26046) - Fix: Invalidate vehicle colour palette again when rearranging consist, reversing, etc (r26026) - Fix: [NoGo] Properly validate the range of the growth rate passed to GSTown::SetGrowthRate, instead of masking it to 16 bit (r25966) - Fix: [Admin] The frame of a command packet was not set for the packets that were sent via the admin interface (r25770) - Fix: [OSX] The new 10.7 fullscreen code can now also be compiled with older SDK versions [FS#4744] (r25657) - Fix: Under certain circumstances a track type change would make the end-of-line-is-red setting ineffective [FS#5216] (r25609) - Fix: Highlight the right entry in the sorting selector in station view window (r25426) - Fix: Suppress focusing editboxes which are not visible (r25413) - Fix: Add missing compatibility settings in afterload (r25390) - Fix: Allow changing GS settings in-game via the AI/GS config window [FS#5507] (r25104) - Fix: [NewGRF] Do not compare GRF local cargo subtype IDs from different GRFs (r25042) - Remove: Ordered refit with subtypes, since the cases where it worked were corner cases rather than the general case [FS#3764] (r25041)