Commit Graph

  • 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
  • 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
  • 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
  • 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
  • ed83c4b0da Change: replace per-AI "start_date" with a global "competitors_interval" (#10653) Patric Stout 2023-04-16 20:14:22 +02: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
  • 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
  • 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
  • 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
  • bb988f940e Fix #10638: Incorrect water infra total when building canal over object Jonathan G Rennison 2023-04-12 00:18:32 +01:00
  • d04aae8428 Update: Translations from eints danish: 18 changes by bscargo translators 2023-04-13 18:40:16 +00:00
  • ff55bfb787 Fix #10343: Don't extend town-disallowed roadtypes. (#10347) PeterN 2023-04-12 22:30:03 +01:00
  • 5f99c8c4aa Fix: Extra viewport cannot be scrolled with right-click-close. (#10644) PeterN 2023-04-12 20:14:48 +01:00
  • 97cfd40649 Fix #10630: Don't allow shifting service date earlier than 0 (#10643) Tyler Trahan 2023-04-12 14:52:37 -04:00
  • a0d8545f6c Update: Translations from eints french: 15 changes by glx22 translators 2023-04-12 18:42:18 +00:00
  • 06b78a7299 Fix: Don't double-pad existing size when adding widget padding. Peter Nelson 2023-04-11 18:45:42 +01:00
  • d93f96a442 Fix: Account for extra dropdown list padding. Peter Nelson 2023-04-11 18:30:49 +01:00
  • e17420777a Fix #10637: Incorrect water infra total when building multi-tile object Jonathan G Rennison 2023-04-12 00:13:39 +01:00
  • 3b2eb11fe8 Codechange: Use cached name for all station/industry/town name formatting. (#10634) PeterN 2023-04-11 21:50:22 +01:00
  • d7f0c5d6d8 Update: Translations from eints russian: 3 changes by Ln-Wolf finnish: 7 changes by hpiirai polish: 17 changes by pAter-exe translators 2023-04-11 18:42:26 +00:00
  • 7f987c8d3a Doc: 13.1 changelog (#10629) Tyler Trahan 2023-04-10 15:39:24 -04:00
  • 9e69556e2f Update: Translations from eints english (au): 13 changes by krysclarke english (us): 15 changes by 2TallTyler russian: 12 changes by Ln-Wolf translators 2023-04-10 18:39:57 +00:00
  • ce046f6d17 Fix: Abort loading savegame if road vehicle is on invalid road type. (#10622) PeterN 2023-04-10 19:23:18 +01:00
  • 090913c655 Update: Backport language changes Charles Pigott 2023-04-10 17:15:45 +01:00
  • 15a32faece Fix 8361cf5a73: Missing bounds check for house specs. (#10625) PeterN 2023-04-10 16:00:34 +01:00
  • 353a6d4bfe Fix: Update top toolbar tooltips for added features. (#10616) Alberth289346 2023-04-09 13:52:04 +02:00
  • 808dfc0672 Fix: Check ID for name is within bounds. Peter Nelson 2023-04-06 20:30:01 +01:00
  • 67bd6ab0ad Fix: Check station ID is within bounds when copying layouts. Peter Nelson 2023-04-06 20:29:59 +01:00
  • 4c756159fd Fix: Check sprite group mapping ID is within bounds of feature. Peter Nelson 2023-04-06 20:29:58 +01:00
  • d510e0baa8 Codechange: Check NewGRF feature is defined before processing any sprite group mapping. Peter Nelson 2023-04-06 20:29:57 +01:00
  • 4a1361b044 Fix: Clicking on editbox clear button didn't take account of padding. (#10583) PeterN 2023-03-31 16:07:15 +01:00
  • ce24709576 Add: Some additional debugging information when chunk sizes are incorrect Charles Pigott 2023-04-10 10:32:28 +01:00
  • 8aea13a85b Codechange: Use fmt for SlErrorCorruptFmt Charles Pigott 2023-04-10 14:32:37 +01:00
  • 246ba6f00a Fix 8361cf5a73: Missing bounds check for house specs. (#10625) PeterN 2023-04-10 16:00:34 +01:00
  • e2f1cd44dc Change: Increase max cargo age and let min cargo payment approach zero. (#10596) dP 2023-04-10 14:34:28 +04:00
  • 6215c0dd2d fix: adjust titlebar setting miguel.horta 2023-04-10 00:29:17 +01:00
  • 7197a928da fix: swap dock tiles miguel.horta 2023-04-10 00:11:52 +01:00
  • f190e58b54 fix: typo miguel.horta 2023-04-09 23:37:26 +01:00
  • 930b01de8a fix: dock cmd was not called miguel.horta 2023-04-09 23:17:00 +01:00
  • d0d86540e5 fix: dock not building miguel.horta 2023-04-09 22:58:31 +01:00
  • 770df65141 Update: [Dev] Improve .editorconfig with C++ formatting rules based on OpenTTD code style (#10104) Artin Alavi 2023-04-09 14:39:41 -06:00
  • 58e629ca84 Update: Translations from eints korean: 8 changes by telk5093 russian: 7 changes by Ln-Wolf finnish: 8 changes by hpiirai translators 2023-04-09 18:39:31 +00:00
  • 078e27bd84 Fix #10619: Crash loading linkgraph for older savegames. (#10620) PeterN 2023-04-09 19:28:55 +01:00
  • c6ff7dad68 Add: compile time "unit tests" for GetPartialZ consistent Rubidium 2023-02-25 23:58:46 +01:00
  • 41ef7c88af Codechange: make a numer of Slope related functions constexpr Rubidium 2023-02-25 23:58:46 +01:00
  • 9d2a0f3d0b Change: make GetPartialZ consistent, meaning Z of adjacent slopes continue Rubidium 2023-02-25 23:58:46 +01:00
  • 1fcd69096c Fix: do not update a RV's Z-position when stationary while turning Rubidium 2023-03-13 22:09:14 +01:00
  • e8af8daa68 Codechange: pass "ground vehicle" to GetTileSlopeZ since for tunnel/bridges there are two states Rubidium 2023-03-12 18:14:44 +01:00
  • 1321e48465 Fix: Update top toolbar tooltips for added features. (#10616) Alberth289346 2023-04-09 13:52:04 +02:00
  • 97bdf99239 Codechange: Add a property to graph windows for whether to draw dates (#10608) Tyler Trahan 2023-04-08 15:10:17 -04:00
  • 39c6b3def1 Update: Translations from eints english (au): 2 changes by krysclarke russian: 2 changes by Ln-Wolf translators 2023-04-08 18:46:15 +00:00
  • 0de5eb53fa Codechange: Use constants for service interval max/min/default values (#10611) Tyler Trahan 2023-04-08 14:04:30 -04:00
  • 1691640603 Fix: Specify units for value of share trading age setting (#10612) Tyler Trahan 2023-04-08 13:51:52 -04:00
  • f1144de509 Feature: Separate rail/road and sea/air velocity units, and add knots. (#10594) PeterN 2023-04-08 17:26:13 +01:00
  • 3a48d6e60f Fix 991a797: [Script] Allow STRINGN consumption to be different than expected glx22 2023-04-02 00:47:36 +02:00
  • 43cea852a6 Fix 41b414b: Validate RAW_STRING parameter values in game_script mode Jonathan G Rennison 2023-03-22 16:46:40 +00:00
  • 47e12a8790 Codechange: Check that CompanyMask fits into 16 bits during compilation. Peter Nelson 2023-04-07 10:21:22 +01:00
  • 5199881a8d Codechange: Use correct type for linkgraph company mask. Peter Nelson 2023-04-07 10:12:29 +01:00
  • 65e0b0dcb7 Codechange: Be consistent with how company masks are set to all. Peter Nelson 2023-04-05 07:49:41 +01:00
  • 08977828cc Fix: Check ID for name is within bounds. Peter Nelson 2023-04-06 20:30:01 +01:00
  • cd6c04a663 Fix: Check station ID is within bounds when copying layouts. Peter Nelson 2023-04-06 20:29:59 +01:00
  • 8361cf5a73 Fix: Check sprite group mapping ID is within bounds of feature. Peter Nelson 2023-04-06 20:29:58 +01:00
  • 96f4eb3681 Codechange: Check NewGRF feature is defined before processing any sprite group mapping. Peter Nelson 2023-04-06 20:29:57 +01:00
  • 04215afe3f Codechange: Replace roadstop spec limit magic number with constant. Peter Nelson 2023-04-06 20:29:52 +01:00
  • 9246789fd3 Update: Translations from eints spanish (mexican): 2 changes by GNosii vietnamese: 2 changes by KhoiCanDev czech: 1 change by jachymozo romanian: 10 changes by bnegrut danish: 3 changes by bscargo translators 2023-04-07 18:39:12 +00:00
  • e4c511d403 Fix #10578: Allow to select any version of AI/GS from GUI (#10604) Loïc Guilloux 2023-04-07 19:33:07 +02:00
  • 82c70ed3b8 Change: Expose ObjectSpec vector to simplify iteration. Peter Nelson 2023-01-15 00:04:53 +00:00
  • 1f46f080f0 Codechange: Store objectspecs in std::vector instead of flat array. Peter Nelson 2022-11-06 19:21:03 +00:00
  • 93197f58b7 Codechange: Bind objectspecs to classes once all finalised. Peter Nelson 2023-01-16 23:31:31 +00:00
  • 02961fd7af Codechange: Use std::vector for NewGRF class lists. Peter Nelson 2023-01-08 15:36:57 +00:00