Commit Graph

  • 567e235883 Merge branch 'master' into jgrpp Jonathan G Rennison 2024-02-26 17:15:09 +00:00
  • e939f59cbb Codechange: replace "byte" with "uint8_t" in settings (#12179) Patric Stout 2024-02-26 13:49:26 +01:00
  • c09fdb0444 Fix company infrastructure windows not being marked as a company window Jonathan G Rennison 2024-02-26 00:21:04 +00:00
  • 0d20a54dc5 Use pointer tags instead of dereferencing in RebuildVehicleTickCaches Jonathan G Rennison 2024-02-25 23:45:50 +00:00
  • bd04aff725 Use front/vehicle type filtered iteration in ScriptVehicleList Jonathan G Rennison 2024-02-25 23:22:27 +00:00
  • ac683bc278 ScriptList: Generalise FillList pool iteration Jonathan G Rennison 2024-02-25 23:16:31 +00:00
  • 746e3874c5 Fix VF_STOP_LOADING flag not always being cleared when leaving station Jonathan G Rennison 2024-02-25 22:55:35 +00:00
  • 7b1e3cfeb5 Update: Translations from eints english (au): 1 change by krysclarke swedish: 1 change by niklasva chinese (simplified): 6 changes by WenSimEHRP korean: 21 changes by telk5093 hungarian: 1 change by PstasDev italian: 1 change by Rivarossi belarusian: 7 changes by KorneySan russian: 7 changes by Ln-Wolf, 3 changes by KorneySan catalan: 9 changes by J0anJosep danish: 7 changes by bscargo french: 7 changes by ottdfevr portuguese: 1 change by jcteotonio hindi: 2 changes by michaelsmassey portuguese (brazilian): 115 changes by pasantoro polish: 1 change by pAter-exe translators 2024-02-25 18:35:26 +00:00
  • 93bf033107 Add whether the vehicle is non-front to the vehicle pool pointer tag Jonathan G Rennison 2024-02-25 14:49:31 +00:00
  • 05e237f8d1 Add wrapper to iterate vehicle pool with vehicle type filter Jonathan G Rennison 2024-02-25 13:38:49 +00:00
  • be4aea0dad Rationalise handling of train too heavy advice messages Jonathan G Rennison 2024-02-25 13:01:08 +00:00
  • 86be6d7e0b Codechange: Off-by-one in colour gradient initialisation. Peter Nelson 2023-12-28 16:06:35 +00:00
  • 912d7bd80e Codechange: Give ColourShade values names instead of numbers. Peter Nelson 2023-12-28 10:04:55 +00:00
  • ae3390fe48 Codechange: Add ColourShade enum. Peter Nelson 2023-12-28 10:02:49 +00:00
  • 0463d4c198 Codechange: Remove direct access to _colour_gradient. Peter Nelson 2023-12-24 22:51:55 +00:00
  • 56cf89d189 Change: Use bitmap for free unit ID generation. (#12165) Peter Nelson 2024-02-25 12:36:13 +00:00
  • 601071744e Fix timetabled waiting in depots Jonathan G Rennison 2024-02-25 11:50:55 +00:00
  • 8afef45d4e Fix d3c673e: Don't defer OnResize() after ReInit() (#12174) Peter Nelson 2024-02-25 08:35:57 +00:00
  • 528aae3f3b Saveload: Remove unused engine save/load desc Jonathan G Rennison 2024-02-25 02:52:54 +00:00
  • ee7a347287 Fix 07278a41: Narrowing conversion warning fix Jonathan G Rennison 2024-02-25 02:50:55 +00:00
  • 090656bd7f Adjust handling of year display in wallclock mode and company inauguration years Jonathan G Rennison 2024-02-24 23:35:20 +00:00
  • 1bfcbf823c Use tagged pointers in the vehicle pool on supported (64 bit) platforms Jonathan G Rennison 2024-02-24 22:58:31 +00:00
  • ddb3914074 Update: Translations from eints english (au): 6 changes by krysclarke swedish: 19 changes by sereneavatar estonian: 30 changes by RM87 chinese (simplified): 3 changes by Kevin-mao0721 hungarian: 60 changes by titanicbobo italian: 6 changes by Rivarossi russian: 3 changes by Ln-Wolf, 3 changes by KorneySan finnish: 6 changes by hpiirai ukrainian: 7 changes by StepanIvasyn latvian: 6 changes by lexuslatvia portuguese: 37 changes by azulcosta portuguese (brazilian): 19 changes by pasantoro polish: 6 changes by SzyZuu translators 2024-02-24 18:35:08 +00:00
  • 677ec70b0e Fix fd9e72a: Helptext for timekeeping unit setting erroneously refers to vehicle movement (#12172) Tyler Trahan 2024-02-24 11:09:16 -05:00
  • 07278a41e5 Fix narrowing conversion warnings in pool resize capacity calculation Jonathan G Rennison 2024-02-24 15:52:10 +00:00
  • 3891ab57f8 Workflow: Upgrade image and actions for linux-dedicated build Jonathan G Rennison 2024-02-24 15:37:30 +00:00
  • 3429c324f6 Workflow: Update actions in Linux distros release Jonathan G Rennison 2024-02-24 14:54:53 +00:00
  • 96df846138 Workflow: Remove linux-legacy release Jonathan G Rennison 2024-02-24 15:28:23 +00:00
  • 680085fc2d Version: Committing version data for tag: jgrpp-0.58.0 Jonathan G Rennison 2024-02-24 14:55:55 +00:00
  • 64be289942 Workaround: Replace use of std::filesystem in signature.cpp Jonathan G Rennison 2024-02-24 14:54:53 +00:00
  • c25d9f5c81 Fix: Make link graph node borders scale with GUI (#12167) Richard Wheeler 2024-02-24 00:04:34 +00:00
  • 222832f1d4 Fix #12166: Crash when opening tram road stop build window (#12168) Jonathan G Rennison 2024-02-23 20:02:59 +00:00
  • 0978bd18bf Fix crash when opening tram road stop build window Jonathan G Rennison 2024-02-23 18:43:08 +00:00
  • 7135330819 Update: Translations from eints vietnamese: 3 changes by KhoiCanDev chinese (simplified): 5 changes by WenSimEHRP hungarian: 63 changes by titanicbobo belarusian: 47 changes by KorneySan finnish: 2 changes by hpiirai ukrainian: 25 changes by StepanIvasyn danish: 38 changes by bscargo portuguese (brazilian): 158 changes by pasantoro translators 2024-02-23 18:35:31 +00:00
  • 0fbb32403c Add exponential behaviour to pool growth reallocation Jonathan G Rennison 2024-02-23 17:32:23 +00:00
  • b22fb43cea Fix #10490: Allow ships to exit depots if another is not moving at the exit point (#12161) SamuXarick 2024-02-23 13:08:16 +00:00
  • fcad801685 Fix #12127, 555a379: Truncation ellipses rendered shadows even for black font without shadows (#12132) frosch 2024-02-22 23:22:35 +01:00
  • 89b6773c93 Fix: Shadows of individual character glyphs could be drawn over other characters (#12115) frosch 2024-02-18 16:30:54 +01:00
  • d3bbb4fb1c Adjust ordering of date/tick setup in InitializeGame Jonathan G Rennison 2024-02-23 00:16:16 +00:00
  • b38321b9b4 Add setting to only spawn primary industries Jonathan G Rennison 2024-02-23 00:10:02 +00:00
  • c7e95d5b03 Close graph windows when changing timekeeping mode Jonathan G Rennison 2024-02-22 23:34:52 +00:00
  • 2b79e7cdf5 Fix b7630b0: Incorrect padding for text purchase list. (#12160) Peter Nelson 2024-02-22 22:23:29 +00:00
  • bb86023d50 Fix #12127, 555a379: Truncation ellipses rendered shadows even for black font without shadows (#12132) frosch 2024-02-22 23:22:35 +01:00
  • c511f93f24 Scheduled dispatch: Disable in wallclock mode if not using time in minutes Jonathan G Rennison 2024-02-22 21:53:54 +00:00
  • d8ecb9c016 Use absolute display units for the departure board Jonathan G Rennison 2024-02-22 20:43:49 +00:00
  • 91d83335c7 Add helper to get timetable absolute display unit size Jonathan G Rennison 2024-02-22 20:42:39 +00:00
  • 33cbfc3e76 Cache current ticks per calendar day Jonathan G Rennison 2024-02-22 20:39:17 +00:00
  • 45b6079899 Add string code for absolute timetable time Jonathan G Rennison 2024-02-22 20:29:11 +00:00
  • 6b12539e3f Implement StateTicksToCalendarDate for wallclock mode Jonathan G Rennison 2024-02-22 20:28:24 +00:00
  • 91b3e9c1ab Initial support for relative timetabling in wallclock mode Jonathan G Rennison 2024-02-22 20:16:01 +00:00
  • 7581ce0010 Fix changing time keeping units incorrectly updating state ticks offset Jonathan G Rennison 2024-02-22 19:59:32 +00:00
  • 4c117dd2d8 Revert #11993: new number format system does not and cannot work for CJK languages Rubidium 2024-02-22 18:08:33 +01:00
  • bbd34bb6db Increase information shown in getfulldate console command Jonathan G Rennison 2024-02-22 19:38:38 +00:00
  • bd955c4117 Fix calendar day length in wallclock mode Jonathan G Rennison 2024-02-22 19:23:11 +00:00
  • 8015d96a50 Update: Translations from eints english (au): 2 changes by krysclarke spanish (mexican): 149 changes by Can202 estonian: 11 changes by RM87 chinese (simplified): 18 changes by WenSimEHRP hungarian: 2 changes by PstasDev italian: 195 changes by Rivarossi serbian: 42 changes by nkrs german: 2 changes by Wuzzy2 belarusian: 537 changes by KorneySan russian: 25 changes by KorneySan ukrainian: 21 changes by StepanIvasyn turkish: 14 changes by jnmbk latvian: 2 changes by lexuslatvia dutch: 1 change by iamthedutchdude spanish: 15 changes by MontyMontana french: 2 changes by ottdfevr portuguese: 2 changes by jcteotonio, 2 changes by azulcosta portuguese (brazilian): 149 changes by pasantoro polish: 2 changes by pAter-exe translators 2024-02-22 18:36:05 +00:00
  • 5605650e26 Saveload: Don't apply state ticks offset on load if not stored in save Jonathan G Rennison 2024-02-22 00:02:50 +00:00
  • 58f2e0cdf0 Clamp link graph compression ticks when loading old saves Jonathan G Rennison 2024-02-22 00:02:23 +00:00
  • 57a4586f08 Set flood from edges setting to false when loading old saves before then Jonathan G Rennison 2024-02-21 23:24:16 +00:00
  • 593a81d421 Saveload: Rename IsSavegameVersionUntil to IsSavegameVersionBeforeOrAt Jonathan G Rennison 2024-02-21 23:26:11 +00:00
  • ea0fa2194a Add debug console command to unblock bay road stops with incorrect occupancy state Jonathan G Rennison 2024-02-21 23:04:41 +00:00
  • 16d77d9268 Fix deleting road vehicle in bay stop not unmarking as occupied Jonathan G Rennison 2024-02-21 22:25:56 +00:00
  • 53b06a3d04 Add event flag for removing invalid RVs during load Jonathan G Rennison 2024-02-21 22:01:34 +00:00
  • 675b31887a Saveload: Fix recalculation of _state_ticks Jonathan G Rennison 2024-02-21 21:08:31 +00:00
  • f52d56249d Saveload: Use table format for industry build data chunks Jonathan G Rennison 2024-02-21 19:07:11 +00:00
  • 0e262620d2 Saveload: Use table format for NewGRF/ID mapping chunks Jonathan G Rennison 2024-02-21 18:57:19 +00:00
  • b3bd1bb5ad Use upstream load for non-table script chunks Jonathan G Rennison 2024-02-21 17:56:57 +00:00
  • a92377fe98 Use upstream save/load for various unchanged chunks Jonathan G Rennison 2024-02-21 17:38:00 +00:00
  • b178be36f3 Saveload: Maintain map of chunk ID to (first byte) block mode Jonathan G Rennison 2024-02-21 20:20:12 +00:00
  • dadbad2bfc Saveload: Log changes in SlExecWithSlVersion Jonathan G Rennison 2024-02-21 19:40:48 +00:00
  • 6dec7a5b35 Saveload: Add PeekByte method to ReadBuffer Jonathan G Rennison 2024-02-21 19:19:49 +00:00
  • bd2358f6cc Saveload: Tidy up logging of chunk IDs Jonathan G Rennison 2024-02-21 18:22:27 +00:00
  • ba1fa3ad29 Saveload: Fix SlNullPointers with upstream chunks Jonathan G Rennison 2024-02-21 18:40:23 +00:00
  • b58ecb0cd8 Saveload: Remove unnecessary auto-length use for tracerestrict Jonathan G Rennison 2024-02-21 19:18:55 +00:00
  • 8e8d698b24 Fix comment spelling errors Jonathan G Rennison 2024-02-21 19:10:31 +00:00
  • 5d2e6e4efa Fix #12148, fca8166: Do not draw decimals when number of digits is 0 Rubidium 2024-02-21 18:36:21 +01:00
  • ca146c8ddd Fix #12145: Incorrect date handling in date cheat in wallclock time-keeping mode Jonathan G Rennison 2024-02-20 23:56:46 +00:00
  • 409c073eca Codefix: Off by one in TimerGameEconomy::ConvertDateToYMD wallclock mode Jonathan G Rennison 2024-02-20 20:01:33 +00:00
  • 7bab2c1cc3 Fix #12119: Remove red warning text when maximum loan is zero merni-ns 2024-02-20 23:16:34 +05:30
  • 158fbe19f8 Fix missing includes Jonathan G Rennison 2024-02-21 01:08:06 +00:00
  • 1f08ea54e5 Script: Fix narrowing conversion warning Jonathan G Rennison 2024-02-21 01:09:20 +00:00
  • aad6fadd7f Fix noreturn tag in window crash log Jonathan G Rennison 2024-02-21 01:05:23 +00:00
  • c2d581a928 Revert "Iconv: Ensure that OTTD2FS/FS2OTTD are thread-safe" Jonathan G Rennison 2024-02-21 00:53:18 +00:00
  • 4469925605 Add missing typename specifier Jonathan G Rennison 2024-02-21 00:48:41 +00:00
  • a7c7e3d618 Add missing includes for std::runtime_error Jonathan G Rennison 2024-02-21 00:36:03 +00:00
  • d310a04276 Fix #12133: [Script] Don't crash when emergency saving (#12138) Loïc Guilloux 2024-02-20 18:55:18 +01:00
  • 5098c77c38 Fix: [Script] Only show debug script window at the end of savegame loading (#12135) Loïc Guilloux 2024-02-20 17:08:26 +01:00
  • ff0d212705 Fix incorrect assert of LinkGraph LastCompression date Jonathan G Rennison 2024-02-20 23:21:56 +00:00
  • 69ae516353 Fix loading of depot unbunch bit from vanilla saves Jonathan G Rennison 2024-02-20 23:15:01 +00:00
  • c637d376d0 Fix cb588d8d: Ordering of command per tick limit and pause mode filtering (#12126) Jonathan G Rennison 2024-02-20 20:51:35 +00:00
  • ad9080338c Codefix: Correct coding style on fall through (#12140) merni-ns 2024-02-21 02:20:08 +05:30
  • 37e6f36b1f Fix off by one in wallclock mode ConvertDateToYMD Jonathan G Rennison 2024-02-20 20:08:51 +00:00
  • bff69e192b Update: Translations from eints english (us): 24 changes by 2TallTyler vietnamese: 13 changes by KhoiCanDev estonian: 7 changes by RM87 german: 16 changes by Wuzzy2 belarusian: 328 changes by KorneySan russian: 6 changes by KorneySan, 5 changes by Ln-Wolf ukrainian: 9 changes by StepanIvasyn catalan: 18 changes by J0anJosep danish: 61 changes by bscargo french: 8 changes by ottdfevr portuguese: 29 changes by jcteotonio, 12 changes by azulcosta portuguese (brazilian): 185 changes by pasantoro polish: 1 change by pAter-exe translators 2024-02-20 18:35:58 +00:00
  • 79388e4207 Include dates and tick counters in state checksum Jonathan G Rennison 2024-02-20 18:26:18 +00:00
  • 24cd52616c Add getter for calendar sub date fract Jonathan G Rennison 2024-02-20 18:18:54 +00:00
  • f32eef4f38 Allow changing time-keeping mode in-game Jonathan G Rennison 2024-02-20 18:11:03 +00:00
  • 471934e685 Add a helper to get the number of days in a given calendar month Jonathan G Rennison 2024-02-20 18:07:04 +00:00
  • 25d1238907 Fix #12133: [Script] Don't crash when emergency saving (#12138) Loïc Guilloux 2024-02-20 18:55:18 +01:00
  • 2d7ad9f717 Fix: [Script] Only show debug script window at the end of savegame loading (#12135) Loïc Guilloux 2024-02-20 17:08:26 +01:00
  • 6e10f01f59 Fix timetable durations when loading old saves Jonathan G Rennison 2024-02-20 00:33:57 +00:00
  • 0993622f09 Fix production cargo icon in industry window Jonathan G Rennison 2024-02-20 00:17:11 +00:00