Commit Graph

  • 55d981aec3 Add: Helper to update widget vertical size. Peter Nelson 2023-04-19 13:23:46 +01:00
  • 6830e5f5f7 Cleanup: Don't use a magic number when closing processing industries (#10710) Tyler Trahan 2023-04-24 15:58:48 -04:00
  • 37392935dd Fix #10707: Incorrect type of days_in_transit in CargoPacket constructor (#10715) Jonathan G Rennison 2023-04-24 19:55:16 +01:00
  • 27e9a79988 Update: Translations from eints finnish: 2 changes by hpiirai portuguese: 1 change by azulcosta translators 2023-04-24 18:40:29 +00:00
  • 1c76e0904d Codechange: revive STR_TINY_BLACK_COMMA from its coma (#10714) Patric Stout 2023-04-24 20:33:39 +02:00
  • 7d6307a5ce Fix days_in_transit type in CargoPacket constructor Jonathan G Rennison 2023-04-24 18:53:45 +01:00
  • 2f495c015a Fix 7c6bf97: Don't change date and shift dates in the wrong order (#10711) Tyler Trahan 2023-04-24 13:33:03 -04:00
  • 31ad990831 Codechange: move tick-counter into TimerGameTick (#10712) Patric Stout 2023-04-24 18:55:40 +02:00
  • 7aa2b9ab0a Codechange: move all date-related variables inside the timer (#10706) Patric Stout 2023-04-24 17:56:01 +02:00
  • f5f6306af3 Codechange: use string/fmt instead of printf for ShowInfo(F) Rubidium 2023-04-18 19:41:29 +02:00
  • 8f24901843 Codechange: replace printf with PRINTF macros by fmt::format for scripts Rubidium 2023-04-19 22:08:00 +02:00
  • 484883e6e1 Cleanup: remove (unused) Squirrel code that used a hack to work around printf safety Rubidium 2023-04-19 20:19:00 +02:00
  • 5733142b0d Codechange: use string/fmt instead of printf for Squirrel's Raise_Error Rubidium 2023-04-19 20:11:01 +02:00
  • 8b93e45e22 Codechange: use string/fmt instead of printf for squirrel's PRINTFUNC Rubidium 2023-04-19 07:04:43 +02:00
  • 075671bcfc Codechange: Rename DECLARE_ENUM_AS_BIT_SET parameter to enum_type. Peter Nelson 2023-04-24 08:08:11 +01:00
  • 9f26e74e1e Codechange: Rename item_t to Item. Peter Nelson 2023-04-23 13:56:25 +01:00
  • c3cea45ebc Codechange: Rename height_t/amplitude_t to Height/Amplitude. Peter Nelson 2023-04-23 13:05:24 +01:00
  • 3f811246b1 Codechange: Rename control_point_t to ControlPoint. Peter Nelson 2023-04-23 12:58:05 +01:00
  • 7c6bf977e0 Cleanup: Fix and add comments to date cheat callback (#10699) Tyler Trahan 2023-04-23 15:20:56 -04:00
  • e9f6bbada2 Update: Translations from eints english (au): 1 change by krysclarke english (us): 1 change by 2TallTyler galician: 36 changes by pvillaverde korean: 14 changes by telk5093 italian: 1 change by Rivarossi russian: 1 change by Ln-Wolf turkish: 2 changes by densxd translators 2023-04-23 18:41:11 +00:00
  • 9910240f0e Cleanup: Remove obsolete (Make)EnumPropsT. (#10697) PeterN 2023-04-23 17:46:14 +01:00
  • 94b5b956c7 Merge PR #510 into jgrpp Jonathan G Rennison 2023-04-23 15:59:01 +01:00
  • 370a8d77a4 Codechange: Use simple assignment to assign specs. Peter Nelson 2023-04-20 19:20:35 +01:00
  • 087654501b Codechange: Initialise specs with std::fill/std::copy instead of memset/memcpy. Peter Nelson 2023-01-08 01:36:07 +00:00
  • d0c71f2a9e Codechange: Use reserve/emplace when initializing object definitions. Peter Nelson 2023-04-18 13:03:08 +01:00
  • bb3520d68f Update Galician Translations pvillaverde 2023-04-23 16:42:37 +02:00
  • a967cc4de2 Fix: Violation of strict weak ordering in engine value/running cost sorter Jonathan G Rennison 2023-04-23 11:59:58 +01:00
  • 684c7bbc93 Fix: Violation of strict weak ordering in TownRatingSorter Jonathan G Rennison 2023-04-22 23:15:03 +01:00
  • dde4761e9d Fix: Violation of strict weak ordering in engine value/running cost sorter Jonathan G Rennison 2023-04-23 11:59:58 +01:00
  • 7a836ee50f Add SCOPE_INFO_FMT for CheckCaches Jonathan G Rennison 2023-04-23 11:41:38 +01:00
  • 341c0a9524 Fix violation of strict weak ordering in TownRatingSorter Jonathan G Rennison 2023-04-22 23:03:16 +01:00
  • 1350e23e29 CheckCaches: Improve VehicleCargoList/StationCargoList cache checks Jonathan G Rennison 2023-04-22 22:50:18 +01:00
  • 08e43a0814 Simplify CCLOG macros in CheckCaches Jonathan G Rennison 2023-04-22 22:43:10 +01:00
  • e437b8edae Update: Translations from eints english (au): 1 change by krysclarke english (us): 1 change by 2TallTyler vietnamese: 4 changes by KhoiCanDev italian: 1 change by Rivarossi russian: 1 change by Ln-Wolf turkish: 1 change by EndChapter portuguese: 1 change by azulcosta translators 2023-04-22 18:39:34 +00:00
  • f45509848a Fix #10289: Don't silently fail when setting timetable start dates (#10690) Tyler Trahan 2023-04-21 18:36:06 -04:00
  • 018f0f63a6 Change: Centre company face in scaled widget. (#10688) PeterN 2023-04-21 19:54:04 +01:00
  • 6b077ce25c Update: Translations from eints english (us): 5 changes by 2TallTyler vietnamese: 1 change by KhoiCanDev russian: 1 change by Ln-Wolf turkish: 33 changes by densxd dutch: 5 changes by Afoklala translators 2023-04-21 18:42:16 +00:00
  • ef60a93816 Fix #8302: Improve "Maintenance intervals are in percents" helptext (#10686) Tyler Trahan 2023-04-21 14:00:41 -04:00
  • 394192dde8 Codechange: Refactor timetable GUI (#10613) Tyler Trahan 2023-04-21 11:31:26 -04:00
  • 7b539fa7c9 Fix: fmt's {:#04X} yields '0X00', not '0x0000' Rubidium 2023-04-20 17:00:46 +02:00
  • 27b4b5d0a0 Codechange: Make GRF temporary engine data a vector. (#10685) PeterN 2023-04-20 20:38:48 +01:00
  • b56be83937 Update: Translations from eints italian: 20 changes by Rivarossi french: 5 changes by ZarTek-Creole translators 2023-04-20 18:42:29 +00:00
  • d5f9e04a55 Change: Failure to load a savegame is critical. (#10682) PeterN 2023-04-20 17:04:07 +01:00
  • 36f5fe19fe Fix #10665: CheckEngines should ignore wagons when determining available vehicles at the start date. (#10673) aeonofdiscord 2023-04-19 10:41:12 +01:00
  • 7088f5b7c7 Codechange: use string/fmt instead of printf for grfmsg Rubidium 2023-04-18 21:24:42 +02:00
  • dfe52da1ea Codechange: use string/fmt instead of print for strgen warnings/errors/fatals Rubidium 2023-04-18 20:24:21 +02:00
  • 89959bf178 Change: extend callback 161 (engine name) with bit 0x22 for context 'Autoreplace - Vehicles in use' (#10666) Andy 2023-04-16 23:02:32 +01:00
  • 67101ccdc9 Codechange: Optimise FormatNumber by removing seprintf calls (#10659) Charles Pigott 2023-04-16 23:04:24 +01:00
  • de5b114a83 Fix #10660: Sprite Font scale affected by viewport zoom level limits. (#10668) Jonathan G Rennison 2023-04-17 21:09:25 +01:00
  • 7da25820ea Merge branch 'master' into jgrpp Jonathan G Rennison 2023-04-17 20:51:54 +01:00
  • e862a67d2b Add console command to list settings and show current and default values Jonathan G Rennison 2023-04-17 20:41:57 +01:00
  • 1fd17148e1 Update: Translations from eints english (au): 1 change by krysclarke german: 1 change by SecretIdetity russian: 1 change by Ln-Wolf finnish: 5 changes by hpiirai slovak: 15 changes by legitalk portuguese: 1 change by azulcosta translators 2023-04-17 18:40:58 +00:00
  • f8b5661d28 Change: Allow GS access to ScriptGroup functions SamuXarick 2023-01-23 23:10:46 +00:00
  • f225f36c3d Change: Allow GS access to ScriptGameSettings.IsDisabledVehicleType SamuXarick 2023-01-23 21:08:19 +00:00
  • fd26a44c9e Change: Allow GS access to more ScriptCompany functions SamuXarick 2023-01-23 20:13:28 +00:00
  • 8b1960a41c Change: Allow GS access to more ScriptOrder functions Andy 2023-01-21 11:48:51 +00:00
  • db573c8742 Fix #10660: Sprite Font scale affected by viewport zoom level limits. (#10668) PeterN 2023-04-16 23:14:03 +01:00
  • e20a6f8ebb Codechange: Optimise FormatNumber by removing seprintf calls (#10659) Charles Pigott 2023-04-16 23:04:24 +01:00
  • 15c3bc456f Change: extend callback 161 (engine name) with bit 0x22 for context 'Autoreplace - Vehicles in use' (#10666) Andy 2023-04-16 23:02:32 +01:00
  • d949cfab24 Codechange: Use std:: features for NewGRF town names (#10631) PeterN 2023-04-16 21:24:54 +01:00
  • e7687da4cc Departure boards: Change long vehicle names to traditional if group also shown Jonathan G Rennison 2023-04-16 20:13:33 +01:00
  • 4491e45f3c Update: change {STRING} to {ZEROFILL_NUM} for STR_FORMAT_DATE_TINY/ISO Rubidium 2023-04-16 19:50:20 +02:00
  • 29b09523d1 Codechange: Use {ZEROFILL_NUM} instead of custom seprintf + {RAW_STRING} Rubidium 2023-04-16 19:36:43 +02:00
  • e97bf271dc Codechange: Make SpriteType, CargoSortType, SourceType and ScriptType enum classes. (#10663) PeterN 2023-04-16 20:00:55 +01:00
  • 4f9aa70c11 Departure boards: Fix vehicle type icon in right-to-left languages Jonathan G Rennison 2023-04-16 19:42:53 +01:00
  • 32c8e7feb8 Update: Translations from eints english (au): 4 changes by krysclarke vietnamese: 31 changes by KhoiCanDev russian: 4 changes by Ln-Wolf portuguese: 4 changes by azulcosta translators 2023-04-16 18:40:39 +00:00
  • b7e12189cf Departure boards: Adjust scaling and increase padding between columns Jonathan G Rennison 2023-04-16 19:34:04 +01:00
  • ed83c4b0da Change: replace per-AI "start_date" with a global "competitors_interval" (#10653) Patric Stout 2023-04-16 20:14:22 +02:00
  • 404fb8bae2 Departure boards: Do not include hidden columns in minimum window width Jonathan G Rennison 2023-04-16 18:27:12 +01:00
  • 508f503039 Fix station cargo graph window Jonathan G Rennison 2023-04-16 18:02:23 +01:00
  • 43a7e54067 Add: unit test functionality using catch2 Rubidium 2023-04-10 19:02:31 +02:00
  • 88ead3f102 Add: catch2 v2.13.10 Rubidium 2023-04-10 22:30:32 +02:00
  • 9b56505fec Codechange: split building into a library and executable Rubidium 2023-04-10 18:00:53 +02:00
  • 9e89eb5726 Codechange: move main function(s) to separate files Rubidium 2023-04-10 17:33:18 +02:00
  • 7b0797d1cd Codechange: Use unique ptrs for NewGRF specs. Peter Nelson 2023-04-15 21:30:37 +01:00
  • ef6b307465 Change: Use std::vector for NewGRF spec tables. Peter Nelson 2023-01-08 02:12:33 +00:00
  • 15e6fc4eeb Codechange: Use iterator when mapping sprite groups. Peter Nelson 2023-04-09 22:32:01 +01:00
  • bc44158f9a Change: Allow overbuilding station and waypoint tiles (#10618) Tyler Trahan 2023-04-16 03:05:04 -04:00
  • 64b4c095ee Version: Committing version data for tag: jgrpp-0.53.0 Jonathan G Rennison 2023-04-16 00:25:01 +01:00
  • 27b40da06a Update: Translations from eints catalan: 14 changes by J0anJosep portuguese: 20 changes by azulcosta portuguese (brazilian): 15 changes by ericandradex translators 2023-04-15 18:39:48 +00:00
  • 6fc28d649e Cleanup: Unused alloca definitions and includes Charles Pigott 2023-04-11 08:40:50 +01:00
  • b282664242 Codechange: Replace all usages of alloca/AllocaM with more modern/less discouraged alternatives Charles Pigott 2021-05-01 21:06:17 +01:00
  • b19f42ecd9 Codechange: Replace some p1/p2 parameter names with better names (#10658) rubidium42 2023-04-15 15:11:41 +02:00
  • 387d5eb74f Codechange: validate the developer didn't schedule two timers on the same trigger/priority Patric Stout 2023-04-13 19:26:17 +02:00
  • 3ebc7ad16e Codechange: migrate all game-time-related timers to the new framework Patric Stout 2023-04-13 13:56:00 +02:00
  • 1ba4dcc924 Codechange: migrate all Window-related timers to the new framework Patric Stout 2023-04-13 17:18:27 +02:00
  • 5e1bcee39b Codechange: introduce a framework for all our timers Patric Stout 2023-04-13 17:16:48 +02:00
  • 730687080a Fix: Update some network documentation to match the new command system (#10657) rubidium42 2023-04-15 11:10:09 +02:00
  • f803ec9162 Simplify implementation of TownGenerateCargo Jonathan G Rennison 2023-04-15 00:11:52 +01:00
  • 646a7e625b Change: Use seconds for Linkgraph update settings (#10610) Tyler Trahan 2023-04-14 16:49:12 -04:00
  • 0e915c830c Update: Translations from eints dutch: 15 changes by Afoklala translators 2023-04-14 18:39:51 +00:00
  • 8e04cba0c3 Change: Make tick length 27 milliseconds (#10607) Tyler Trahan 2023-04-14 09:50:19 -04:00
  • 3b72241280 Bump OpenTTD content server vanilla compatibility version to 13.0 Jonathan G Rennison 2023-04-13 23:03:38 +01:00
  • 64925aedf8 Add town variable for town tile X and Y coordinates Jonathan G Rennison 2023-04-13 21:19:53 +01:00
  • e5af5907ec Change: Make all dropdown lists extend width if necessary. Peter Nelson 2023-04-11 20:07:50 +01:00
  • 5bc9d00735 Cleanup: Let GetStringBoundingBox deal with buffer. Peter Nelson 2023-04-12 12:21:07 +01:00
  • 701092003d Fix: DropDownListColourItem didn't provide width nor scale vertical padding. Peter Nelson 2023-04-12 12:20:07 +01:00
  • ce9480ee20 Truncate house variable 47 TileX part if too large Jonathan G Rennison 2023-04-13 20:56:28 +01:00
  • 9fd01d57cc Rename town zone extended variable identifiers Jonathan G Rennison 2023-04-13 20:53:11 +01:00
  • ac0c8c8cdd Debug: Show local GRF IDs for engines, stations, houses, objects and road stops Jonathan G Rennison 2023-04-13 20:48:59 +01:00