Commit Graph

  • 0f9f1f4280 Use btree map for _town_test_ratings Jonathan G Rennison 2023-08-19 16:46:39 +01:00
  • 2bc943d31a Avoid std::set in script version checks Jonathan G Rennison 2023-08-19 16:36:32 +01:00
  • 1979fa9db1 Use btree set for _changed_storage_arrays Jonathan G Rennison 2023-08-19 16:20:11 +01:00
  • 53ef4536d9 Departures: Use btree map for scheduled dispatch maps Jonathan G Rennison 2023-08-19 15:35:39 +01:00
  • 66b5c615b7 Use btree map for GRF ID overrides Jonathan G Rennison 2023-08-19 15:35:04 +01:00
  • e912cfc19d Ring buffer: Use as backing for std::queue uses Jonathan G Rennison 2023-08-19 15:28:45 +01:00
  • 2296b92ea2 Use btree map for StationCargoAmountMap Jonathan G Rennison 2023-08-19 14:24:06 +01:00
  • 23ad010d70 Replace remaining uses of std::deque with ring buffers Jonathan G Rennison 2023-08-19 14:01:06 +01:00
  • b59a8dc21c Ring buffer: Don't apply const when dereferencing iterators Jonathan G Rennison 2023-08-19 13:54:52 +01:00
  • 0c634edef5 Ring buffer: Add erase Jonathan G Rennison 2023-08-19 13:47:14 +01:00
  • 877e301c5a Ring buffer: Add multi-value insert Jonathan G Rennison 2023-08-19 12:59:05 +01:00
  • bdfdb9808a Ring buffer: Add iterator conversions Jonathan G Rennison 2023-08-19 12:25:15 +01:00
  • 8d2911fe29 Ring buffer: Add swap function, make move (swap) assignment noexcept Jonathan G Rennison 2023-08-19 12:16:33 +01:00
  • ab128143fb Ring buffer: Make iterator default constructor public Jonathan G Rennison 2023-08-19 12:09:09 +01:00
  • 8d3a90425c Test: Add tests for ring buffer functionality Jonathan G Rennison 2023-08-19 11:44:58 +01:00
  • 3f2b06fcbe Ring buffer: Fix various insert/emplace cases Jonathan G Rennison 2023-08-19 11:41:29 +01:00
  • 6b8994c947 Ring buffer: Fix iterator operator + and - Jonathan G Rennison 2023-08-19 11:41:11 +01:00
  • 21adf399c0 Ring buffer: Add a std::initializer_list constructor Jonathan G Rennison 2023-08-19 11:32:49 +01:00
  • 73d7052732 Add: unit test functionality using catch2 Rubidium 2023-04-10 19:02:31 +02:00
  • f92a96dad2 Add: catch2 v2.13.10 Rubidium 2023-04-10 22:30:32 +02:00
  • 5a28405ced Merge branch 'master' into jgrpp Jonathan G Rennison 2023-08-19 01:13:00 +01:00
  • ef168b7d46 Fix: Road stops should not draw a ground sprite of 0 Jonathan G Rennison 2023-08-19 00:18:25 +01:00
  • cd10ddf9ae Remove: last remnants of SunOS (#11210) Patric Stout 2023-08-19 00:52:58 +02:00
  • 53af20910b Fix: [MSVC] generate static libraries / executables correctly with vcpkg -static target (#11208) Patric Stout 2023-08-19 00:43:32 +02:00
  • aee13946ff Fix: Inaccurate waiting cargo total in station window when using cargodist Jonathan G Rennison 2023-08-18 23:24:11 +01:00
  • c7712bbd20 Debug: Shpw station GoodsEntry info in station debug window Jonathan G Rennison 2023-08-18 23:13:30 +01:00
  • 66b324a4c0 Fix: [MacOS] screen looks blue-ish when using newer SDKs (#11207) Patric Stout 2023-08-18 13:22:00 +02:00
  • c890f96d07 Fix: no fast forward in network was ensured only from GUI side (#11206) Loïc Guilloux 2023-08-17 21:14:39 +02:00
  • 175f6c979c Use ring buffer for network TCP packet send queue Jonathan G Rennison 2023-08-18 21:05:06 +01:00
  • cf655f624b Remove unused include Jonathan G Rennison 2023-08-18 21:04:32 +01:00
  • 7502fbd44b Use ring buffers for tile/landscape candidate queues Jonathan G Rennison 2023-08-18 18:48:12 +01:00
  • 69683eecb8 Use ring buffer for console buffer Jonathan G Rennison 2023-08-18 18:45:30 +01:00
  • a403a0c8e3 Use ring buffer for script log line data Jonathan G Rennison 2023-08-18 18:39:54 +01:00
  • 7fb815aad8 Use ring buffer in TCPConnecter::OnResolved Jonathan G Rennison 2023-08-18 18:39:38 +01:00
  • 8c1a3c26af Use ring buffers for network _chatmsg_list and _command_queue Jonathan G Rennison 2023-08-18 18:33:22 +01:00
  • e958bdde9f Use ring buffers for train lookahead items and curves Jonathan G Rennison 2023-08-18 18:21:53 +01:00
  • ebd375c247 Container: Add a self-resizing ring buffer container Jonathan G Rennison 2023-08-18 18:20:26 +01:00
  • 7f5c0aab60 Update: Translations from eints dutch: 2 changes by Afoklala translators 2023-08-18 18:38:21 +00:00
  • 87911bdf47 Use bitmath builtins for FindLastBit Jonathan G Rennison 2023-08-18 13:38:39 +01:00
  • c49651ae7b VarAction2: Use reserve and shrink_to_fit for DSG adjusts vector Jonathan G Rennison 2023-08-17 21:20:17 +01:00
  • 129691dcc7 Music: Defer probing for music driver until a music set is loaded Jonathan G Rennison 2023-08-17 20:21:22 +01:00
  • 8681f29155 Linux: Try to enable transparent huge pages for map allocation Jonathan G Rennison 2023-08-17 18:52:29 +01:00
  • 41fed27d0a Animated tile: Prefetch next item in map Jonathan G Rennison 2023-08-17 15:45:03 +01:00
  • 5ac333c2cc Fix: [MacOS] screen looks blue-ish when using newer SDKs (#11207) Patric Stout 2023-08-18 13:22:00 +02:00
  • 2bf3c02fbf Fix: no fast forward in network was ensured only from GUI side (#11206) Loïc Guilloux 2023-08-17 21:14:39 +02:00
  • e8c49d3543 Update: Translations from eints swedish: 1 change by joeax910 translators 2023-08-17 18:38:20 +00:00
  • 2212191b6c Saveload: Fix missing cast warnings for ship/RV path cache load Jonathan G Rennison 2023-08-17 15:17:54 +01:00
  • 9cf39b7a25 Prefetch next tile in tile loop iteration Jonathan G Rennison 2023-08-17 14:40:39 +01:00
  • cc57ac0eff Add pre-check to auxiliary tile loop flooding test Jonathan G Rennison 2023-08-17 14:40:07 +01:00
  • 5a062bd5b2 Workflow: Add zstd to github release workflow Jonathan G Rennison 2023-08-17 14:18:36 +01:00
  • 6fa3620222 CMake: Change -ffile-prefix-map to be enabled by an option Jonathan G Rennison 2023-08-17 13:59:48 +01:00
  • 9061fef59c Fix #11203: [ICU] Glyph to char mapping with multiple runs (#11204) Jonathan G Rennison 2023-08-16 20:17:02 +01:00
  • db1a9f00c0 Update: Translations from eints dutch: 1 change by Bouke translators 2023-08-16 18:38:51 +00:00
  • 8dc953c590 Fix: ICU layout: Glyph to char mapping with multiple runs Jonathan G Rennison 2023-08-16 19:04:34 +01:00
  • 6ccf3774b6 Fix missing tooltip texts Jonathan G Rennison 2023-08-16 18:55:44 +01:00
  • fac21f3429 Fix missing/incorrect command error texts Jonathan G Rennison 2023-08-16 18:55:29 +01:00
  • 1e1ad66e90 CMake: Use -ffile-prefix-map to trim build directory from debug output Jonathan G Rennison 2023-08-16 16:05:12 +01:00
  • 92e632454e Change ship path cache to be optional and use a ring buffer Jonathan G Rennison 2023-08-16 15:20:24 +01:00
  • 2ae4e5bdc1 Change road vehicle path cache to be optional and use ring buffers Jonathan G Rennison 2023-08-16 13:03:37 +01:00
  • 662f76bfc4 Docs: mention Windows 11 in directory_structure.md (#11200) romw314 2023-08-15 22:21:13 +02:00
  • 07730584d7 Codechange: make explicit when a TileIndex is cast to its basetype (#11190) Patric Stout 2023-08-15 18:12:05 +02:00
  • 5d3f7939e2 Fix d42a78f: Show correct road speed in construction dropdowns (#11196) arikover 2023-08-15 10:34:36 +02:00
  • 1183476182 Allow custom signal styles to disable aspect-limited mode Jonathan G Rennison 2023-08-14 23:40:37 +01:00
  • 7ef55bdfb0 Cleanup: [CMake] don't add strgen.h twice (#11199) Loïc Guilloux 2023-08-14 23:29:03 +02:00
  • e652cd6434 Update: Translations from eints swedish: 1 change by Brickblock1 english (us): 2 changes by 2TallTyler translators 2023-08-14 18:38:20 +00:00
  • 6ccbd7cce2 Saveload: Remove test pass from ScriptInstance::Save Jonathan G Rennison 2023-08-14 18:51:58 +01:00
  • e3021de408 Saveload: Add helper to conditionally save template functor Jonathan G Rennison 2023-08-14 18:51:00 +01:00
  • f378167951 Saveload: Change SlSaveToVector to be templated, add SlSaveToTempBuffer Jonathan G Rennison 2023-08-14 17:49:54 +01:00
  • d0c6b7136d Saveload: Improve performance of script data save/load Jonathan G Rennison 2023-08-14 17:28:49 +01:00
  • 2b8171093a Change Colour constructors to be constexpr Jonathan G Rennison 2023-08-14 17:07:42 +01:00
  • 95f3cf2a8e Make VideoDriver::GetAnimBuffer a non-virtual/inlinable function Jonathan G Rennison 2023-08-14 16:53:21 +01:00
  • 6fff633e81 Fix enum definitions for RoadTypeExtraFlags Jonathan G Rennison 2023-08-14 16:06:51 +01:00
  • 2f692a794f Blitter: Use 32 bit memset where available Jonathan G Rennison 2023-08-14 13:33:33 +01:00
  • 79509b76a6 Crashlog: Unix: Decode REG_ERR for SIGSEGV Jonathan G Rennison 2023-08-14 11:23:48 +01:00
  • cb0c8d5e38 Crashlog: Unix: Decode common si_code values for SIGSEGV Jonathan G Rennison 2023-08-14 11:07:11 +01:00
  • e676eb1202 Crashlog: Unix: Include REG_ERR in x86 register dump Jonathan G Rennison 2023-08-14 10:45:06 +01:00
  • 1ec2ed937f Unix: Fix CMake detection and setup of sigaltstack Jonathan G Rennison 2023-08-13 23:29:34 +01:00
  • 61dfd74e44 Codechange: Use correct type for max timetable start years constant (#11197) Tyler Trahan 2023-08-13 15:03:45 -04:00
  • 0726835735 Update: Translations from eints english (au): 2 changes by krysclarke french: 1 change by Lishouuu portuguese (brazilian): 2 changes by pasantoro translators 2023-08-13 18:38:43 +00:00
  • 9dc2fbe4fa Fix 0238a2b5: crash when news message is displayed (#11195) Patric Stout 2023-08-13 12:16:36 +02:00
  • 40195e689d Change: improve wording of help (host instead of IP) and update man page Rubidium 2023-07-25 22:27:23 +02:00
  • a8e4d35bde Fix: crash when not passing parameter for -n Rubidium 2023-07-25 22:11:21 +02:00
  • 56e0d0c7ef Update: Translations from eints korean: 3 changes by telk5093 russian: 2 changes by Ln-Wolf portuguese: 3 changes by azulcosta translators 2023-08-12 18:38:26 +00:00
  • 9624017fc2 Codechange: be more type-specific about types in NPFs queue (#11192) Patric Stout 2023-08-12 20:18:22 +02:00
  • 299570b2c1 Codechange: make TimerGameCalendar Date and Year types strongly typed (#10761) Patric Stout 2023-08-12 20:14:21 +02:00
  • 0238a2b567 Codechange: use std::variant instead of using bitflags in the value (#11191) Patric Stout 2023-08-12 18:05:00 +02:00
  • a9ed590ca7 Codechange: use TimerGameCalendar::Date for variables in linkgraph that are dates (#11187) Patric Stout 2023-08-12 16:02:38 +02:00
  • b7acf9e50e Codechange: use TimerGameCalendar::Year and friends when working with years (#11188) Patric Stout 2023-08-12 16:02:31 +02:00
  • 01f55eb734 Codechange: introduce week/quarter triggers for TimerGameCalendar (#11189) Patric Stout 2023-08-12 16:02:11 +02:00
  • 02be6ab6ba Fix #11179, a979d9c: Don't start more competitors than allowed (#11185) Loïc Guilloux 2023-08-11 22:30:01 +02:00
  • 644d2632f8 Move command log functions to their own header, fix missing include Jonathan G Rennison 2023-08-11 20:00:13 +01:00
  • 8ea01c0bfb Fix #11180: Use TileVirtXY for aircraft crash tile (#11184) Tyler Trahan 2023-08-11 10:05:16 -04:00
  • c7b51a8c3a Codechange: Use proper date types in various places (#11177) Tyler Trahan 2023-08-11 09:32:42 -04:00
  • c9c9cfa4fd Codechange: simplify the type of loaded_at_xy / next_station (#11182) Patric Stout 2023-08-11 14:55:55 +02:00
  • 5fba47b0f7 Codechange: make no assumptions on how the internals of TileIndex work (#11183) Patric Stout 2023-08-11 14:53:51 +02:00
  • 6190f48df0 Codechange: Add a DateToYear function instead of dividing each time (#11173) Tyler Trahan 2023-08-11 08:19:54 -04:00
  • 4928ccf916 Fix #10478: Clarify airport noise control setting texts (#11169) Tyler Trahan 2023-08-11 08:19:26 -04:00
  • e4fd99a33a Codechange: Use DateAtStartOfYear() instead of multiplying by DAYS_IN_LEAP_YEAR (#11174) Tyler Trahan 2023-08-11 08:18:59 -04:00
  • 93069066f9 Codechange: Use auto type when sorting dates (#11175) Tyler Trahan 2023-08-11 08:18:32 -04:00
  • 6f057cbe6a Codechange: Use proper date type in ClickChangeDateCheat (#11176) Tyler Trahan 2023-08-11 07:52:59 -04:00