Commit Graph

  • 7e74232e56 Change: [Actions] Use -fuse-ld=lld and Ninja for MinGW (#10785) Loïc Guilloux 2023-05-11 20:07:29 +02:00
  • 61516627ad Add: NewGRF string code "9A 21" to display force from textstack. (#10782) PeterN 2023-05-11 08:06:46 +01:00
  • 59811ec780 Codechange: Use find_if when finding things. Peter Nelson 2023-05-09 21:51:46 +01:00
  • e6740046ee Codechange: Use range-for iteration. Peter Nelson 2023-05-07 12:09:54 +01:00
  • cef3a2570d Codechange: Use standard iterator-erase-loop pattern. Peter Nelson 2023-05-07 12:08:55 +01:00
  • a8c0d16371 Cleanup: Use std::advance instead of for-loop. Peter Nelson 2023-05-09 21:23:34 +01:00
  • 68782f951b Cleanup: Vector supports random access. Peter Nelson 2023-05-09 21:22:36 +01:00
  • 6d1586dd49 Codechange: use std::string instead of char* for original editor strings Rubidium 2023-05-10 21:05:19 +02:00
  • 54221de0f5 Allow entering decimal day/minute timetable values Jonathan G Rennison 2023-05-10 20:06:19 +01:00
  • d9eb839af9 Use separate CharSetFilter types for signed and unsigned decimal Jonathan G Rennison 2023-05-10 19:56:26 +01:00
  • 7e1123c731 Update: Translations from eints portuguese (brazilian): 30 changes by ericandradex translators 2023-05-10 18:43:36 +00:00
  • 4c18a193e7 Simplify timetable long duration hours and minutes suffix string Jonathan G Rennison 2023-05-10 19:10:56 +01:00
  • 7941eb5187 Simplify timetable leftover ticks string Jonathan G Rennison 2023-05-10 18:55:29 +01:00
  • e7f7cd06bd Simplify timetable time/duration string management Jonathan G Rennison 2023-05-10 18:51:49 +01:00
  • 3c59b8e9ec Fix: disable "redundant move" warnings for GCC (#10803) Loïc Guilloux 2023-05-10 19:35:11 +02:00
  • 922d7aa773 Update: help out translators and do the COMMA -> DECIMAL for them (#10802) Patric Stout 2023-05-10 16:09:58 +02:00
  • 7e906c7c59 Change: Preserve orders and related settings where possible when moving engines around in a train. Michael Lutz 2023-05-09 22:27:45 +02:00
  • 07449be876 Codechange: A vehicle that is not a front engine can't be removed from a vehicle group, so just remove a pointless function call. Michael Lutz 2023-05-09 22:27:35 +02:00
  • 1ae7eb1594 Codechange: use std::map over SmallMap and std::string of stredup(char*) Rubidium 2023-05-05 16:48:53 +02:00
  • 12085d088c Cleanup: remove obsolete string_compare_type Rubidium 2023-05-05 10:43:58 +02:00
  • bc389a86c9 Codechange: use std::string as std::map key, instead of stredup string Rubidium 2023-05-05 11:01:01 +02:00
  • 72082aa7d3 Codechange: use std::string for getting a script's name Rubidium 2023-05-05 14:00:00 +02:00
  • f1fb6c95fe Add: case insensitive string comparator Rubidium 2023-05-05 13:58:59 +02:00
  • 6e3d3c0e7c Codechange: introduce std::string variant of sq_pushstring Rubidium 2023-05-04 23:48:56 +02:00
  • f5158c8b79 Feature: Add search filter and name text to build waypoint window. Peter Nelson 2023-05-08 01:04:27 +01:00
  • dc50ff807c Change: Remove incorrect minimal size. Peter Nelson 2023-05-08 08:48:05 +01:00
  • b54d7f15ac Change: Reduce size of waypoint matrix to 3 x 2. Peter Nelson 2023-05-08 08:48:35 +01:00
  • 0513a6ccb0 Change: Use separate names for default stations/roadstops. Peter Nelson 2023-05-08 09:09:34 +01:00
  • 93d49fa8b3 Fix: Make scrollwheel work on panel behind waypoint matrix. Peter Nelson 2023-05-08 09:36:35 +01:00
  • bf9caa425b Change: Units-system can convert from N to kN, don't preconvert. Peter Nelson 2023-05-08 23:10:14 +01:00
  • e2f583a34f Change: Standardise unit conversions and allow decimal places. Peter Nelson 2023-05-08 23:04:16 +01:00
  • 3c2f87ce1f Change: Perform unit convert with a double-precision constant. Peter Nelson 2023-05-08 23:00:24 +01:00
  • 644e310506 Fix: Incorrect y-position of monospace glyphs. (#10794) PeterN 2023-05-09 22:02:06 +01:00
  • febe394806 Codechange: replace C-style strings with C++-style strings in textfile (#10772) Patric Stout 2023-05-09 21:35:50 +02:00
  • 8e2319ad68 Scheduled dispatch: Add button to adjust departure slots Jonathan G Rennison 2023-05-09 20:16:36 +01:00
  • 90529ea48b Update: Translations from eints catalan: 30 changes by J0anJosep french: 25 changes by glx22 polish: 5 changes by pAter-exe translators 2023-05-09 18:44:36 +00:00
  • 6998fbf71d Fix: WWT_TEXT with SetTextStyle did not work. (#10797) PeterN 2023-05-09 18:23:37 +01:00
  • d68c4bbd2f Change: Use iterator when drawing industry cargo window. Peter Nelson 2023-05-09 12:50:37 +01:00
  • cccf4953f7 Fix: Incorrect padding on industry cargo window. Peter Nelson 2023-05-09 12:50:06 +01:00
  • 882f06bf14 Fix: Support more than 256 stations/waypoints/roadstops per class. (#10793) PeterN 2023-05-08 19:09:33 +01:00
  • a05ae2497f Codechange: simplify how GetCharPosition() works Patric Stout 2023-05-06 20:19:15 +02:00
  • 60399e17bd Codechange: C++-ify the Layouter and related functions Patric Stout 2023-05-06 19:53:02 +02:00
  • 61d1b330d1 Change: Add padding to build vehicle text filter (#10792) Tyler Trahan 2023-05-08 13:21:29 -04:00
  • aed36a609c Fix: [ICU] crash when trying to break a non-breaking run (#10791) Patric Stout 2023-05-08 18:09:47 +02:00
  • bc6a4b1d08 Fix: Set up default station/waypoint classes properly. (#10789) PeterN 2023-05-08 16:42:01 +01:00
  • c4e6d80ecf Cleanup: Remove unnecessary hangar check. J0anJosep 2023-05-07 10:23:33 +02:00
  • 68ff3fd062 Change: include fmt.h C++ headers in stdafx.h Rubidium 2023-05-07 21:54:36 +02:00
  • 192ed55462 Change: disable precompiled headers on Linux (GCC - Dedicated) target to ensure those still build Rubidium 2023-05-07 19:22:30 +02:00
  • 2955ff33d7 Change: use precompiled headers for stdafx.h and 3rdparty/fmt/format.h Rubidium 2023-04-21 20:10:31 +02:00
  • 878c5d8d85 Codechange: Use SetPosition() to clamp after changing count/capacity. Peter Nelson 2023-05-07 10:44:50 +01:00
  • 6202eae9d5 Codechange: Rely on Scrollbar::SetPosition to clamp. Peter Nelson 2023-05-07 09:55:21 +01:00
  • d2034d9c38 Codechange: Scrollbar methods now accept size_t. Peter Nelson 2023-05-07 16:10:56 +01:00
  • 8f92668e22 Scheduled dispatch: Add menu item to append schedules from another vehicle Jonathan G Rennison 2023-05-07 20:06:47 +01:00
  • d93a1a5804 Use OnTooltip instead of OnHover for some custom tooltips Jonathan G Rennison 2023-05-07 19:58:07 +01:00
  • 923d1b0846 Update: Translations from eints vietnamese: 5 changes by KhoiCanDev translators 2023-05-07 18:39:28 +00:00
  • b59f229723 TBTR: Remove unnecessary variable Jonathan G Rennison 2023-05-07 19:38:28 +01:00
  • c14085f425 Be more permissive about vehicles when converting tunnel/bridge railtype Jonathan G Rennison 2023-05-07 19:07:48 +01:00
  • 3375f25b70 Fix: Var68 for station and roadstop was broken (#10784) kiwitreekor 2023-05-08 03:04:34 +09:00
  • 62ecad1b63 Scheduled dispatch: Add menu item to duplicate current schedule Jonathan G Rennison 2023-05-07 14:02:37 +01:00
  • 6d483cc5cc Add toggle to show vehicle route overlay even when window is not focused Jonathan G Rennison 2023-05-07 11:48:17 +01:00
  • 98d809c33b Codechange: Don't use macros for DAYS_TILL and friends (#10746) Tyler Trahan 2023-05-07 05:25:24 -04:00
  • 8bf62dac81 Codechange: Clean up build industry window. (#10779) PeterN 2023-05-07 08:19:09 +01:00
  • a836edd5a7 Codechange: Scrollbar::UpdatePosition() will tell if the position changed. (#10777) PeterN 2023-05-06 20:45:32 +01:00
  • fb856e16c1 Codechange: replace some min/clamp constructs to ClampTo Rubidium 2023-04-29 10:19:43 +02:00
  • 19ec4e8beb Codechange: replace ClampToI32/U16 with ClampTo<int32_t/uint16_t> Rubidium 2023-04-29 09:25:51 +02:00
  • 969a3dc0f3 Codechange: introduce generic ClampTo function to clamp to the range of a type Rubidium 2023-04-29 08:54:24 +02:00
  • e33b2afd87 Codechange: pass (uint) money as Money for CmdGiveMoney Rubidium 2023-05-05 11:37:17 +02:00
  • 4a5a9f57c4 Fix: conversion to smaller type warnings Rubidium 2023-05-03 06:05:07 +02:00
  • 97b77f0251 Update: Translations from eints english (au): 5 changes by krysclarke english (us): 5 changes by 2TallTyler korean: 5 changes by telk5093 italian: 5 changes by Rivarossi russian: 5 changes by Ln-Wolf finnish: 5 changes by hpiirai turkish: 5 changes by densxd portuguese: 5 changes by azulcosta translators 2023-05-06 18:39:19 +00:00
  • 4c2244cc21 Viewport: Refactor handling of vehicle route overlays Jonathan G Rennison 2023-05-06 19:14:39 +01:00
  • b14c5aff1f Fix: [Win32] Text line breaking did not properly handle punctuation characters. (#10775) Michael Lutz 2023-05-06 18:15:40 +02:00
  • 0fc21b5686 Fix: Engine age is in months, not days (#10773) Tyler Trahan 2023-05-06 11:54:38 -04:00
  • 31f476220d Allow converting track by individual track pieces instead of whole tiles Jonathan G Rennison 2023-05-06 16:20:23 +01:00
  • 09e03fb6b2 Change TunnelBridgeIsFree across_only to a mode enum type Jonathan G Rennison 2023-05-06 15:48:27 +01:00
  • 31d1a323ef Fix #10771, 3901ef9: GRFConfig.filename is now a std::string (#10774) Loïc Guilloux 2023-05-06 16:58:47 +02:00
  • b67cf7f94a Change: Replace ScriptLog data array with std::deque. (#10770) PeterN 2023-05-06 15:54:58 +01:00
  • f94e43c940 Update map mode viewports when converting rail track type Jonathan G Rennison 2023-05-06 14:27:19 +01:00
  • c4571e86c8 Allow specifying any palette ID for tile highlight recolouring Jonathan G Rennison 2023-05-06 13:11:42 +01:00
  • 65cc6623dd Tracerestrict: Add button to duplicate instruction/block Jonathan G Rennison 2023-05-05 23:34:30 +01:00
  • 5dd54e2708 Update: Translations from eints japanese: 10 changes by fmang vietnamese: 14 changes by KhoiCanDev dutch: 14 changes by Afoklala polish: 1 change by pAter-exe translators 2023-05-05 18:42:16 +00:00
  • b089b561a5 Add departure board via order subtype to remove via for prior terminus Jonathan G Rennison 2023-05-05 17:21:44 +01:00
  • 284390cf6a Order window: Fix resizing of release slot and label button rows Jonathan G Rennison 2023-05-05 14:03:17 +01:00
  • bda754ec83 Fix: Make all settingsgen 'warnings' fatal. (#10766) PeterN 2023-05-05 09:22:03 +01:00
  • a7d3c79d79 Fix c6c3d0e6: restore string-based settings in network-private settings (#10765) Patric Stout 2023-05-05 09:08:57 +02:00
  • 877349c13d Codechange: use std::string for text file name resolution Rubidium 2023-05-05 00:04:52 +02:00
  • 0b72297d57 Feature: Increase number of stations/roadstops per NewGRF. Peter Nelson 2023-04-18 00:12:34 +01:00
  • bc7dfd7b46 Add: Station property 1C/1D to set name/classname. Peter Nelson 2023-04-18 00:07:57 +01:00
  • d6f35a9fd6 Change: Add placeholders for unimplemented NewGRF station properties. Peter Nelson 2023-05-01 12:02:11 +01:00
  • 7a86615007 Feature: Remove limit of objects per NewGRF. Peter Nelson 2023-04-17 22:35:58 +01:00
  • 912eb68981 Change: Extend entity override manager and station spec lists to support 16 bit IDs. Peter Nelson 2023-04-17 23:19:30 +01:00
  • e5c9a3e527 Change: Read Action 3 IDs as extended-bytes for all features. Peter Nelson 2023-04-30 10:00:43 +01:00
  • 10baecd81f Change: Make Action 3 debug messages more consistent. Peter Nelson 2023-04-30 09:59:24 +01:00
  • 045a99dd23 Codechange: Remove STR_TINY_RIGHT_ARROW glx22 2023-04-28 17:02:34 +02:00
  • 222e37d319 Codechange: Remove TINY_BLACK_STATION glx22 2023-04-28 16:42:58 +02:00
  • b2a36ff3cc Codechange: Remove STR_TINY_GROUP and STR_TINY_BLACK_VEHICLE glx22 2023-04-28 15:17:34 +02:00
  • 999057a4d8 Codechange: Remove STR_SHORT_DATE glx22 2023-04-28 14:40:07 +02:00
  • 49eb638563 Codechange: Remove STR_ORANGE_STRING1_WHITE and STR_ORANGE_STRING1_LTBLUE. glx22 2023-04-28 01:24:04 +02:00
  • 61407840c6 Codechange: Remove STR_BLACK_RAW_STRING. Peter Nelson 2023-04-25 18:01:58 +01:00
  • 0880616851 Codechange: Remove various STRING strings. Peter Nelson 2023-04-25 10:03:48 +01:00
  • 4767641c8c Codechange: Remove various INT strings. Peter Nelson 2023-04-25 09:59:52 +01:00