1
0
Fork 0

Commit Graph

  • 7c45665745 Codechange: use std::array.fill over memset Rubidium 2025-05-06 22:25:36 +0200
  • 245dfc052b Fix #14241, 6e10584: Invalid string parameters in subsidies list window glx22 2025-05-09 15:07:21 +0200
  • bb4ed634c2 Fix #13854: 40bpp-anim blitter recolouring failed for 32bpp pixels without mask channel. frosch 2025-05-09 13:54:55 +0200
  • a277cb2b4c Change: [NewGRF] Increase the textstack for all callbacks to 16 registers. frosch 2025-05-06 17:31:51 +0200
  • c6fa5022cb Add: [NewGRF] All callbacks returning D0xx strings, have now the option to return any string id via register 0x100. frosch 2025-05-06 17:28:51 +0200
  • 84bc78fd8f Add: [NewGRF] Special value 0x7FFE for VarAction2 results specifying 'return calculated result'. frosch 2025-04-28 21:44:20 +0200
  • 9d32087236 Add: [NewGRF] Special value 0x7FFF for Action2 references specifying explicit 'callback/sprite-resolving failed'. frosch 2025-04-28 21:18:55 +0200
  • b1cdf5024f Update: Translations from eints translators 2025-05-09 04:46:47 +0000
  • 3d8dad2cc6 Codechange: Optimize FlowRiver SamuXarick 2025-01-03 18:55:00 +0000
  • 7ddbd1643e Codechange: Implementation of std::hash for StrongType::Typedef SamuXarick 2025-01-05 14:36:29 +0000
  • 8853d6d9cf Codechange: Add, remove or convert castings in AI/GS GUI files SamuXarick 2025-02-26 15:36:31 +0000
  • 163b658404 Codechange: Add missing "this->" in AI/GS GUI files SamuXarick 2025-02-25 23:30:48 +0000
  • ae1f469aac
    Fix #14234, 16b4e73: Skip PLURAL data if parameter is invalid. (#14236) Peter Nelson 2025-05-08 09:06:56 +0100
  • 1d18b4a80b Codechange: remove core/mem_func.hpp glx22 2025-05-08 00:46:56 +0200
  • aba5e1258e Codechange: use assignment over MemCpyT glx22 2025-05-08 00:44:37 +0200
  • 6356311fbc Codechange: use std::copy_n over MemCpyT glx22 2025-05-08 00:35:49 +0200
  • a013f81120 Codechange: use std::array's fill over memset glx22 2025-05-08 00:22:36 +0200
  • 82244779eb Codechange: use C++ initialisation over MemSetT glx22 2025-05-08 00:21:58 +0200
  • 6680169251 Update: Translations from eints translators 2025-05-08 04:46:44 +0000
  • a2bbcd381b Codechange: remove core/mem_func.hpp glx22 2025-05-08 00:46:56 +0200
  • 739de8876a Codechange: use assignment over MemCpyT glx22 2025-05-08 00:44:37 +0200
  • 9ddcc4b6fb Codechange: use std::copy_n over MemCpyT glx22 2025-05-08 00:35:49 +0200
  • fc24aa1ef5
    Fix #14234, 16b4e73: Skip PLURAL data if parameter is invalid. Peter Nelson 2025-05-07 23:50:17 +0100
  • 1b9cf91b0a Codechange: use std::array's fill over memset glx22 2025-05-08 00:22:36 +0200
  • d1073a2274 Codechange: use C++ initialisation over MemSetT glx22 2025-05-08 00:21:58 +0200
  • 2feba80fd7 Codechange: Codestyle fixes for elrail code. Peter Nelson 2025-05-07 07:49:05 +0100
  • 4a8dd494ee Codechange: Don't abbreviate TileLocationGroup type name. Peter Nelson 2025-05-07 07:24:06 +0100
  • b71ed58c9e
    Change: Move OpenTTD version to intro viewport. Peter Nelson 2025-05-07 18:36:16 +0100
  • d00196cd65 Change: Rearrange buttons in the intro screen, remove unnecessary ones. frosch 2025-05-06 19:22:57 +0200
  • 4111ce2698 Add: WWT_IMGTEXTBTN, WWT_PUSHIMGTEXTBTN frosch 2025-05-06 16:01:42 +0200
  • 214f365c4a
    Codechange: Codestyle fixes for elrail code. Peter Nelson 2025-05-07 07:49:05 +0100
  • d1b816d58c
    Codechange: Don't abbreviate TileLocationGroup type name. Peter Nelson 2025-05-07 07:24:06 +0100
  • a7019b859c Codechange: Use DiagDirections when checking for flat buildable tiles. Peter Nelson 2025-05-06 21:01:10 +0100
  • aa9e5b38cd Codechange: Use DiagDirections when drawing level crossings. Peter Nelson 2025-05-06 20:38:09 +0100
  • 1ac9f24f38 Codechange: Use (Diag)Directions when drawing catenary. Peter Nelson 2025-05-06 20:37:49 +0100
  • 87544eff0c Codechange: Use DiagDirections to collect rail fence data. Peter Nelson 2025-05-06 20:36:42 +0100
  • 1cbc4da054 Codechange: Use Directions for water flooding data. Peter Nelson 2025-05-06 20:21:06 +0100
  • 968bb8961e Codechange: Add Directions and DiagDirections EnumBitSets. Peter Nelson 2025-05-06 20:20:29 +0100
  • e0dbbbb032 Codechange: Add Reset() and missing &=/|= operators for BaseBitSet. Peter Nelson 2025-05-06 20:07:45 +0100
  • c4d033967b
    Codechange: Remove some unnecessary includes from network files. (#14226) Peter Nelson 2025-05-07 16:46:14 +0100
  • ac1e652ef6 Change: Rearrange buttons in the intro screen, remove unnecessary ones. frosch 2025-05-06 19:22:57 +0200
  • 99a68fcc61 Add: WWT_IMGTEXTBTN, WWT_PUSHIMGTEXTBTN frosch 2025-05-06 16:01:42 +0200
  • 08a2606bd0
    Codechange: Use DiagDirections when checking for flat buildable tiles. Peter Nelson 2025-05-06 21:01:10 +0100
  • 1b3d1c037c
    Codechange: Use DiagDirections when drawing level crossings. Peter Nelson 2025-05-06 20:38:09 +0100
  • b3924e5096
    Codechange: Use (Diag)Directions when drawing catenary. Peter Nelson 2025-05-06 20:37:49 +0100
  • cea0851851
    Codechange: Use DiagDirections to collect rail fence data. Peter Nelson 2025-05-06 20:36:42 +0100
  • ab2ff9f34b
    Codechange: Use Directions for water flooding data. Peter Nelson 2025-05-06 20:21:06 +0100
  • 7f9e4762b5 Change: [NewGRF] Increase the textstack for all callbacks to 16 registers. frosch 2025-05-06 17:31:51 +0200
  • 094c009b6f
    Codechange: Add Directions and DiagDirections EnumBitSets. Peter Nelson 2025-05-06 20:20:29 +0100
  • e1cfd7ee59
    Codechange: Add Reset() and missing &=/|= operators for BaseBitSet. Peter Nelson 2025-05-06 20:07:45 +0100
  • 1ab22c8db2 Add: [NewGRF] All callbacks returning D0xx strings, have now the option to return any string id via register 0x100. frosch 2025-05-06 17:28:51 +0200
  • 22fedca77e Codechange: Integrate ResolverObject::ResetState() into DoResolve(), no need to call it manually. frosch 2025-05-06 16:49:29 +0200
  • f8c928ed98 Codechange: Make temporary storage a member of ResolverObject. frosch 2025-05-05 21:35:47 +0200
  • eb9bbb2456 Codechange: Remove direct access to temporary storage from TextRefStack. frosch 2025-05-05 21:35:11 +0200
  • 6faa667644 Codechange: Remove global GetRegister(), instead return 100+ registers directly from GetXxxCallback(). frosch 2025-05-05 21:33:18 +0200
  • f59cf73b88 Codechange: Access temporary storage through ResolverObject during sprite layout preprocessing. frosch 2025-05-05 21:59:56 +0200
  • 85be7a4d92 Codechange: Access temporary storage through ResolverObject during Resolve. frosch 2025-05-05 21:28:51 +0200
  • 99d7a775ad Codechange: Make GetRegister return a signed integer, matching the underlying TemporaryStorageArray. frosch 2025-05-05 19:39:39 +0200
  • 74030a63e6 Codechange: Move SpriteLayoutProcessor's operations closer to the ResolverObject. frosch 2025-05-05 21:11:44 +0200
  • 0ffdc86a2c Codechange: use std::ranges::equal over memcmp Rubidium 2025-05-06 19:44:42 +0200
  • 89deb3876f Codechange: use fstream to compare file equality Rubidium 2025-05-06 19:19:07 +0200
  • 9d0a543f92 Codechange: Integrate ResolverObject::ResetState() into DoResolve(), no need to call it manually. frosch 2025-05-06 16:49:29 +0200
  • 45b6f18966 Codechange: Make temporary storage a member of ResolverObject. frosch 2025-05-05 21:35:47 +0200
  • 524bbf5201 Codechange: Remove direct access to temporary storage from TextRefStack. frosch 2025-05-05 21:35:11 +0200
  • 963c30988d Codechange: Remove global GetRegister(), instead return 100+ registers directly from GetXxxCallback(). frosch 2025-05-05 21:33:18 +0200
  • 815297697a Codechange: Access temporary storage through ResolverObject during sprite layout preprocessing. frosch 2025-05-05 21:59:56 +0200
  • cd7ac64f9d
    Codefix: Fix compilation with DEBUG_DUMP_COMMANDS. (#14228) frosch 2025-05-06 21:11:30 +0200
  • 4208f248d0 Add: [NewGRF] Special value 0x7FFE for VarAction2 results specifying 'return calculated result'. frosch 2025-04-28 21:44:20 +0200
  • 9b2ee5bf5d Add: [NewGRF] Special value 0x7FFF for Action2 references specifying explicit 'callback/sprite-resolving failed'. frosch 2025-04-28 21:18:55 +0200
  • 592cc49b62 Codechange: Turn _grow_town_result into a local variable in GrowTownAtRoad. frosch 2025-05-05 13:13:14 +0200
  • 5af877d12d Codechange: Do not assign _grow_town_result in GrowTownInTile, instead return the new value. frosch 2025-05-05 13:11:31 +0200
  • 22af391064 Codechange: Move _grow_town_result out of GrowTownWithExtraHouse, GrowTownWithRoad, GrowTownWithBridge and GrowTownWithTunnel. frosch 2025-05-05 12:48:42 +0200
  • 91130cbc83 Codechange: use std::ranges::equal over memcmp Rubidium 2025-05-06 19:44:42 +0200
  • 0c01f791d9 Codefix: Fix compilation with DEBUG_DUMP_COMMANDS. frosch 2025-05-06 20:25:31 +0200
  • 73ba2b261f Codechange: use fstream to compare file equality Rubidium 2025-05-06 19:19:07 +0200
  • 63a9bc5841
    Merge 64e2941813 into d70aeb72a7 dP 2025-05-06 18:03:45 +0000
  • d70aeb72a7 Codechange: C++ initialise LanguageHeaderPack Rubidium 2025-05-06 18:33:22 +0200
  • 8f1e94c546 Codechange: use C++ initialisation over MemSetT Rubidium 2025-05-06 18:22:26 +0200
  • cc51b29234 Codechange: use std::fill_n/copy_n over MemSetT/MemCpyT Rubidium 2025-05-06 18:13:57 +0200
  • 0d922c9d62 Codechange: use std::array's fill over memset Rubidium 2025-05-06 18:13:15 +0200
  • 4c1cd4fe4c Codefix: remove unused mem_func includes Rubidium 2025-05-06 18:01:57 +0200
  • 7246a55b5a Codechange: C++ initialise LanguageHeaderPack Rubidium 2025-05-06 18:33:22 +0200
  • 9735fbbaa1 Codechange: Use LRUCache for layouted LineCache. Peter Nelson 2025-05-04 09:40:00 +0100
  • 8c4f8af66e Codechange: Move std::unique_ptr out of LRUCache implementation. Peter Nelson 2025-05-04 10:06:14 +0100
  • e254655264
    Codechange: Remove some unnecessary includes from network files. Peter Nelson 2025-05-06 18:05:55 +0100
  • a4fe46600f Codechange: Access temporary storage through ResolverObject during Resolve. frosch 2025-05-05 21:28:51 +0200
  • 2c07b20a40 Codechange: Make GetRegister return a signed integer, matching the underlying TemporaryStorageArray. frosch 2025-05-05 19:39:39 +0200
  • 12774b30fa Codechange: Move SpriteLayoutProcessor's operations closer to the ResolverObject. frosch 2025-05-05 21:11:44 +0200
  • 8bbfbd0347 Codechange: Move spritelayout preprocessing to a separate class, which owns the heap allocations involved. frosch 2025-05-05 18:36:44 +0200
  • d9c43e7fda Codechange: Make TileLayoutSpriteGroup::ProcessRegisters return a DrawTileSpriteSpan on the stack, instead of a reference to a global. frosch 2025-05-05 18:51:26 +0200
  • 51a7edd941 Codechange: Remove _input_events_this_tick. frosch 2025-05-04 19:27:31 +0200
  • 42f9312f71 Codechange: Make station variable cache a member of StationScopeResolver. frosch 2025-05-04 19:22:37 +0200
  • b20b6da937 Codechange: The compiler ensures static variables are initialised only once, no need to track that manually. frosch 2025-05-04 19:05:43 +0200
  • 75a775e59d Codechange: Make GetCurrentLocale return a std::string instead of a reference to a static buffer. For win32 this is even a fix, because the static buffer was only updated once. Later calls discarded the determined locale. frosch 2025-05-04 19:04:15 +0200
  • 0d5b3ebd7f Codechange: Declare all IntervalTimers const, which can be const. frosch 2025-04-27 17:09:01 +0200
  • 61cec33be2 Codechange: Add 'const' to static variables, which are only initialised once. frosch 2025-04-27 16:35:43 +0200
  • 1900125c98 Codechange: Use string_view for FileExists. frosch 2025-05-04 19:01:17 +0200
  • d0b0b466ab Codechange: use C++ initialisation over MemSetT Rubidium 2025-05-06 18:22:26 +0200
  • d571491405
    Codechange: Replace `std::bitset<CONTENT_TYPE_END>` with `ContentTypes`. (#14223) Peter Nelson 2025-05-06 17:20:01 +0100
  • 2a2955f325 Codechange: use std::fill_n/copy_n over MemSetT/MemCpyT Rubidium 2025-05-06 18:13:57 +0200