Commit Graph

  • e2827d0e9c Update: Translations from eints galician: 41 changes by pvillaverde esperanto: 95 changes by legoscia portuguese (brazilian): 18 changes by ericandradex translators 2023-05-22 18:40:22 +00:00
  • a19a43a4f7 Codechange: use fmt::format and time conversions over "custom" implementation Rubidium 2023-05-20 16:14:12 +02:00
  • eb635b85bb Fix: work around GCC compiler bug #105120 in fmt Rubidium 2023-05-20 12:00:31 +02:00
  • 187fa3f214 Codechange: update to fmt 10.0.0 and add formatting support for chrono and std types Rubidium 2023-05-20 11:50:13 +02:00
  • 6f2f38b3ed Codechange: fmt (and std::format) do explicitly not support enums out-of-the-box Rubidium 2023-05-20 11:46:46 +02:00
  • bc45c3f66c Change: Remember waypoint filter string. (#10857) PeterN 2023-05-22 08:03:20 +01:00
  • 63d9bb93b8 Codechange: migrate from C-style GetString to C++-style GetString Rubidium 2023-05-19 14:35:53 +02:00
  • 1a179cb297 Codechange: use GetString + StrMakeValid to pass string without colours/font sizes to Debug Rubidium 2023-05-19 14:35:10 +02:00
  • 00695c29de Codechange: simplify news string drawing by using StrMakeValid to replaces newlines with spaces Rubidium 2023-05-19 14:22:50 +02:00
  • 9610705f46 Update: Translations from eints esperanto: 52 changes by legoscia translators 2023-05-21 18:40:42 +00:00
  • 60540f7df6 Change: Allow dedicated server to use threaded saves. (#10787) axet 2023-05-21 20:53:21 +03:00
  • 2efd88d513 Cleanup: version of strgen/settingsgen was always $Revision$, so remove it Rubidium 2023-05-21 08:33:04 +02:00
  • 2dbd974d4c Codechange: prevent using (f)printf/(f)puts over fmt::print Rubidium 2023-05-21 08:32:13 +02:00
  • 411379f587 Codechange: replace puts with fmt::print Rubidium 2023-05-21 08:21:40 +02:00
  • 275ebf4509 Codechange: replace fprintf(<FILE*> with fmt::print(<FILE*> Rubidium 2023-05-21 08:13:28 +02:00
  • c518293135 Codechange: replace printf with fmt::print Rubidium 2023-05-21 08:04:33 +02:00
  • d57046e7ec Change: Use "Via-Destination-Source" as default station cargodist display (#10851) Tyler Trahan 2023-05-21 08:57:14 -04:00
  • 0850193a38 Fix: survey result on crash only worked on Linux (#10855) Patric Stout 2023-05-21 12:57:32 +02:00
  • 98dffc3157 Update: Translations from eints catalan: 12 changes by J0anJosep esperanto: 678 changes by legoscia translators 2023-05-20 18:39:31 +00:00
  • 3323402aaa Codechange: rename smallvec_type to container_func and use only when needed Rubidium 2023-05-18 11:20:35 +02:00
  • 80d8c01814 Codechange: replace std::vector + duplicate preventing include with std::set Rubidium 2023-05-18 11:02:36 +02:00
  • 07860e67e2 Codechange: use fmt::format_to to format the help message Rubidium 2023-05-19 23:22:30 +02:00
  • 8d2a0a7da4 Fix #10846: [Squirrel] Ensure sqvector size does not overflow (#10848) Loïc Guilloux 2023-05-20 16:43:22 +02:00
  • 0cbbfd3eae Codechange: Use display list instead of exclude list for file window. (#10845) PeterN 2023-05-19 22:19:00 +01:00
  • cdb184f53b Update: Translations from eints catalan: 14 changes by J0anJosep dutch: 14 changes by Afoklala translators 2023-05-19 18:39:30 +00:00
  • 6b87fe6540 Codechange: Use std::array for GRF(File|Config) parameters. Peter Nelson 2023-05-18 19:56:24 +01:00
  • c23aae96a2 Codechange: Use std::array instead of C array for automatic deep-copies. Peter Nelson 2023-05-18 19:56:09 +01:00
  • acec34a0fe Cleanup: remove MD5SumToString in lieu of FormatArrayAsHex Rubidium 2023-05-18 22:41:42 +02:00
  • d9a04ba446 Codechange: make the MD5 hash/digest/checksum variables a std::array Rubidium 2023-05-18 22:38:56 +02:00
  • 7934418133 Codechange: Remove comment alignment from GRFConfig. Peter Nelson 2023-05-18 17:33:04 +01:00
  • f14479d27d Codechange: Use std::optional for GRF Parameter list. Peter Nelson 2023-05-18 12:19:51 +01:00
  • c51a7f629e Codechange: GRFParameterInfo no longer needs deep-copy constructor. Peter Nelson 2023-05-18 12:19:51 +01:00
  • fd26658558 Update: Translations from eints russian: 2 changes by Ln-Wolf translators 2023-05-18 18:41:14 +00:00
  • 91e140c722 Codechange: Use unique_ptr for fios company properties. Peter Nelson 2023-05-18 08:38:35 +01:00
  • bf8f24f9a8 Codechange: Use unique_ptr for text layout font mapping. Peter Nelson 2023-05-18 08:36:54 +01:00
  • c38df2d589 Codechange: Use std::map instead of custom SmallMap. Peter Nelson 2023-05-16 20:50:41 +01:00
  • 72018badff Codechange: Swap SocketList map key/value around. Peter Nelson 2023-05-16 23:53:33 +01:00
  • f454ec8d63 Fix: Don't rely on static initialization to set up sprite font caches. Peter Nelson 2023-05-17 14:54:14 +01:00
  • 418888ac23 Update: Translations from eints romanian: 11 changes by bnegrut turkish: 14 changes by densxd translators 2023-05-17 18:40:23 +00:00
  • 83f2ad500e Codechange: stdarg.h include not needed as cstdarg is included. Peter Nelson 2023-05-17 09:27:20 +01:00
  • 56085be9bd Codechange: Move includes for common STL headers to stdafx. Peter Nelson 2023-05-17 09:08:39 +01:00
  • a5cf362886 Update: Translations from eints english (au): 14 changes by krysclarke english (us): 14 changes by 2TallTyler vietnamese: 14 changes by KhoiCanDev korean: 19 changes by telk5093 italian: 14 changes by Rivarossi russian: 14 changes by Ln-Wolf finnish: 14 changes by hpiirai danish: 22 changes by bscargo portuguese: 14 changes by azulcosta polish: 14 changes by pAter-exe translators 2023-05-16 18:41:59 +00:00
  • e9c03f0dad Cleanup: remnants of C-style strings in saveload Rubidium 2023-05-10 07:19:54 +02:00
  • 52a7c69974 Codechange: rework Gamelog changes from union to classes Rubidium 2023-05-09 23:10:38 +02:00
  • 389b66bd16 Update: Translations from eints translators 2023-05-15 18:40:31 +00:00
  • 40f567d464 Fix #10811: Crash getting row from non-resizable widget. (#10833) PeterN 2023-05-15 18:57:50 +01:00
  • e4fd9d41d3 Codechange: Use std::any_of() (#10830) PeterN 2023-05-14 23:18:52 +01:00
  • 199e41c762 Codechange: use default dtor instead of empty (#10826) Patric Stout 2023-05-14 23:31:03 +02:00
  • 7634553d22 Feature: opt-in survey when exiting a game Patric Stout 2023-04-25 19:43:45 +02:00
  • 021c45c4f6 Add: [CMake] JSON library (nlohmann) Patric Stout 2023-05-02 20:45:04 +02:00
  • 62fda0f505 Codechange: remove manual allocation/free for SQ_instance Rubidium 2023-05-06 14:19:41 +02:00
  • f9b5bc7ee6 Cleanup: the need for SQAutoFreePointers has gone Rubidium 2023-05-06 10:24:31 +02:00
  • d9e93edc8b Codechange: replace 'const char *' script API parameters with std::string Rubidium 2023-05-06 10:07:54 +02:00
  • b1b578f988 Cleanup: stredup-ing string variant for calling scripts Rubidium 2023-05-06 09:47:54 +02:00
  • ab51175db2 Codechange: use std::string for script config Rubidium 2023-05-06 09:44:35 +02:00
  • bbcb55ebc9 Codechange: use std::string as script API return type Rubidium 2023-05-05 23:19:35 +02:00
  • b24a6bb8f3 Codechange: use std::string for script log calls Rubidium 2023-05-05 19:32:27 +02:00
  • 77177f7e8b Add: support for std::string parameters in the script API Rubidium 2023-05-05 19:31:06 +02:00
  • 98972a0748 Codechange: use C++ strings for constructing script file paths Rubidium 2023-05-06 13:22:16 +02:00
  • 20ff0bccd7 Codechange: use std::string to store script GUI's break string Rubidium 2023-05-06 12:49:28 +02:00
  • 48825e1a8e Codechange: rewrite script string-to-settings conversion to C++ Rubidium 2023-05-06 12:44:47 +02:00
  • 552d2f71a2 Codechange: use std::string for script library category Rubidium 2023-05-06 09:53:57 +02:00
  • e035705239 Codechange: introduce and use std::string variant of sq_throwerror Rubidium 2023-05-06 00:04:10 +02:00
  • 3453c03a17 Codechange: use fmt::format to create dummy scripts Rubidium 2023-05-06 08:15:22 +02:00
  • 9f2fc860ad Codechange: use std::optional<std::string> for changing the script over char * Rubidium 2023-05-05 21:59:50 +02:00
  • 0fd9eb0faa Codechange: use std::string for script info/library finding Rubidium 2023-05-05 09:53:34 +02:00
  • a30f7c83bd Codechange: use std::string for script names to load Rubidium 2023-05-04 23:16:09 +02:00
  • 9b0123ab66 Codechange: use std::string for script API versions Rubidium 2023-05-04 23:06:21 +02:00
  • 3d8d99ba11 Add: method to call script functions with std::string Rubidium 2023-05-04 22:57:11 +02:00
  • 4a6fdc8293 Fix: multiplication result converted to larger type Rubidium 2023-05-14 21:13:24 +02:00
  • 4894da67da Codechange: Pass bridge type instead of display row to BuildBridge. (#10828) PeterN 2023-05-14 20:12:26 +01:00
  • a8daf91eea Update: Translations from eints vietnamese: 4 changes by KhoiCanDev hungarian: 74 changes by PstasDev turkish: 4 changes by densxd translators 2023-05-14 18:40:47 +00:00
  • 8493719cf4 Fix: padding miscalculated for the network-relay and bootstrap-question GUI (#10827) Patric Stout 2023-05-14 17:32:45 +02:00
  • 9eb0cca93a Fix #10823, Fix #10811: Order list has end marker row. (#10825) PeterN 2023-05-14 13:04:59 +01:00
  • 64930c343a Codechange: Pass reference instead of pointer to GUI*Lists. (#10822) PeterN 2023-05-14 09:17:44 +01:00
  • 23ce42ad91 Codechange: Use std::move for bridge list. (#10821) PeterN 2023-05-14 08:22:09 +01:00
  • 385b25df63 Fix #10819, Fix #10811: GetVehicleFromDepotWndPt used widget- instead of window-relative positions. (#10820) PeterN 2023-05-13 23:18:36 +01:00
  • 07473bfd2e Fix: Don't use a loop to test if classid is valid. (#10818) PeterN 2023-05-13 22:27:32 +01:00
  • 1fe7bbba8a Codechange: rework NewGRFProfiler to use ticks instead of calendar-days (#10815) Patric Stout 2023-05-13 23:17:11 +02:00
  • a372c59483 Codechange: replace C-style (stredup) chat completion with std::string_view Rubidium 2023-05-13 08:58:24 +02:00
  • e1b653137f Update: Translations from eints finnish: 4 changes by hpiirai translators 2023-05-13 18:41:08 +00:00
  • a92755de81 Codechange: Use iterator erase pattern. Peter Nelson 2023-05-12 20:51:54 +01:00
  • 4a64064c57 Codechange: Make NEW_STATION an actual item in join station list. Peter Nelson 2023-05-05 18:21:08 +01:00
  • d54660184a Fix: NewGRF Profile didn't stop if there were no events yet (#10816) Patric Stout 2023-05-13 18:23:23 +02:00
  • 531d1ae8bc Codechange: Use GetScrolled(Row/Item)FromWidget in more places. Peter Nelson 2023-05-03 11:17:52 +01:00
  • 941dbadf9e Codechange: Add and use GetScrolledItemFromWidget to get a list item. Peter Nelson 2023-05-12 12:58:31 +01:00
  • 86e5dfce3d Codechange: use std::string instead of strecat to build hotkey strings Rubidium 2023-05-12 20:56:09 +02:00
  • 72c7536325 Codechange: Use a dedicated variable for disaster vehicle action state. (#10798) Michael Lutz 2023-05-12 21:41:36 +02:00
  • 1a93618bd1 Fix: Road type is not available before its introduction date. Peter Nelson 2023-03-30 12:09:38 +01:00
  • 726d05b22b Fix: Don't list unavailable road types for game scripts. Peter Nelson 2023-03-30 12:08:58 +01:00
  • 5059e23ed5 Revert 8fa61533: "Fix 30ae072: when a road type is hidden, towns may not build them even when that flag is set" Peter Nelson 2023-03-30 09:34:26 +01:00
  • 3a03a12a9c Feature: Show the number of industries already built in the Fund New Industry window. Henry Wilson 2023-05-11 01:15:21 +01:00
  • a934a584a5 Update: Translations from eints italian: 4 changes by Rivarossi catalan: 4 changes by J0anJosep dutch: 9 changes by Afoklala translators 2023-05-12 18:39:51 +00:00
  • da7f431812 Cleanup: widget pos_x/y are already int. (#10809) PeterN 2023-05-12 18:02:51 +01:00
  • 7e3646cf46 Codechange: Remove redundant char buffer. (#10808) PeterN 2023-05-11 22:36:11 +01:00
  • ca31976da0 Update: Translations from eints english (au): 4 changes by krysclarke english (us): 4 changes by 2TallTyler russian: 4 changes by Ln-Wolf portuguese: 4 changes by azulcosta polish: 8 changes by pAter-exe translators 2023-05-11 18:42:00 +00:00
  • 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