Commit Graph

  • 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
  • 0a17b7b11b Version: Committing version data for tag: jgrpp-0.53.3 Jonathan G Rennison 2023-05-20 00:52:14 +01:00
  • 7cad92988f Avoid unnecessary scroll bar resets in refit window Jonathan G Rennison 2023-05-20 00:11:37 +01: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
  • d3eb7242ea Fix removal of order backups when upgrading airports Jonathan G Rennison 2023-05-19 01:51:51 +01: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
  • 4ca0b43975 Fix train z pos after reversing at wrong-way signalled bridge wormhole Jonathan G Rennison 2023-05-18 01:18:50 +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
  • 29495b4e3d Tracerestrict: Fix default state of copy/share button planes Jonathan G Rennison 2023-05-16 23:13:55 +01:00
  • 731f2fb46e Tracerestrict: Add button to share program onto other signals Jonathan G Rennison 2023-05-16 21:10:54 +01:00
  • 9f89f1fb42 Tracerestrict: Do not change copy button selection plane when active Jonathan G Rennison 2023-05-16 19:53:24 +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
  • cd0cc13724 Suppress calls to AdjustGUIZoom during startup phase Jonathan G Rennison 2023-05-15 20:16:10 +01:00
  • 389b66bd16 Update: Translations from eints translators 2023-05-15 18:40:31 +00:00
  • 9e1066049f Reduce strength of station rating source station penalty on truncation Jonathan G Rennison 2023-05-15 19:38:02 +01: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
  • 90abfff45c Fix adjacent level crossings left barred after removing middle of crossing Jonathan G Rennison 2023-05-14 22:31:29 +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
  • f06160b882 Script: Remove command delay for non-network GS when game paused due to GS Jonathan G Rennison 2023-05-14 18:40:24 +01:00
  • 7bc6c4b59c Script: Boost gamescript op limit when game is paused due to game script Jonathan G Rennison 2023-05-14 18:04:42 +01:00
  • 1b6d1086d0 Script: Add ScriptInstance field for script type Jonathan G Rennison 2023-05-14 17:54:42 +01: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
  • 4ed0c23644 Add text to warning dialog when overwriting a non-extended version save Jonathan G Rennison 2023-05-14 12:47:17 +01:00
  • b26d91770f Allow using ShowQuery with std::string texts Jonathan G Rennison 2023-05-14 12:46:07 +01:00
  • b8f2d96250 Fix showing overwriting different save file warning when file name changed Jonathan G Rennison 2023-05-14 10:52:50 +01:00
  • 3573571229 Allow changing tree placement algorithm setting in game Jonathan G Rennison 2023-05-14 09:58:44 +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
  • 1bee438aff Re-add vertical spacer in slots window right panel Jonathan G Rennison 2023-05-13 17:07:33 +01:00
  • d5c651dc0b Fix width of left panel in slots window when using UI scaling Jonathan G Rennison 2023-05-13 12:24:31 +01:00
  • a6ba3de7e9 Fix slots window not being horizontally resizable Jonathan G Rennison 2023-05-13 12:18:23 +01:00
  • c4fc71339a Update orders window when renaming/removing dispatch schedule Jonathan G Rennison 2023-05-13 11:54:48 +01:00
  • 2abdd27d02 Fix crash when selecting conditional orders in order window Jonathan G Rennison 2023-05-13 11:33:41 +01: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
  • 1d29116df9 Version: Committing version data for tag: jgrpp-0.53.2 Jonathan G Rennison 2023-05-11 23:32:09 +01:00
  • e74e08bf47 Fix manual tree planting in artic climate in perfect tree placement mode Jonathan G Rennison 2023-05-11 22:49:17 +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