1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00
Commit Graph

19 Commits

Author SHA1 Message Date
LRFLEW
4101fb65a9 Refactor Compression and Streams, and Add IStream Direct Interface 2025-07-04 18:55:17 +02:00
ζeh Matt
027f7c4096 Don't have garbage in padding for save header 2025-05-23 18:08:25 +03:00
ζeh Matt
68f6ea8d15 Use sfl::small_vector for Chunks, only observed a maximum of 16 so far 2025-04-21 03:16:45 +03:00
Michael Steenbeek
be9f27e4f9 Mass rename constants (#23656) 2025-01-19 15:59:45 +00:00
ζeh Matt
33782c723d Allow save/load for std::span, simplify ReadWriteArray 2025-01-06 19:55:36 +02:00
Aaron van Geffen
fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01:00
Matt
a064431c57 Remove reserve call on std::string which prevents SSO (#23360)
As the title suggests, most compilers have small string optimization which means up to a certain length there will be no allocation, that varies between compilers/STL implementation, by calling reserve we take that chance away in all cases

The problem is not the call to reserve but the fact that we don't know the string size beforehand.
2024-12-10 12:51:04 +01:00
Aaron van Geffen
4e27bac292 Move Compression from Util into its own compilation unit 2024-10-29 11:16:26 +01:00
Aaron van Geffen
80b63a5ae7 Add line breaks after template declarations (#23086)
* Add line breaks after template declarations

* Additional clang-format patches
2024-10-29 16:54:01 +01:00
Michael Steenbeek
0ec76e09d4 Remove unused IStream::ReadString() function and fix includes 2024-10-15 17:39:54 +02:00
mrmbernardi
ffe142a8a7 Clean OrcaStream includes (#22165) 2024-06-14 23:12:47 +10:00
Michał Janiszewski
7b12667ddb Reduce <algorithm> include (#21947) 2024-05-01 13:47:27 +02:00
James103
1d8dc111f1 Replace 2023 with 2024 in copyright headers (#21139)
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
James103
73738bbdc8 Replace 2022 with 2023 in copyright headers
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
73
b9e677945d Replace 20XX with 2022 (#18158)
* Replace 2020 with 2022

Replace all 2020 headers with 2022

* replace other years with 2022

add missing years
2022-10-01 08:42:14 +01:00
ζeh Matt
63a2e9d716 Refactor uses of old BannerIndex 2021-12-01 14:41:59 +02:00
ζeh Matt
f704358cb3 Add TIdentifier specialization for OrcaStream 2021-12-01 14:41:59 +02:00
Michael Steenbeek
233b1e99b4 Fix Windows compilation of OrcaStream 2021-10-03 22:41:55 +02:00
Duncan
e01c9a3afa Stream changes from NSF (#15446)
* Bring over NSF changes to stream classes

* Add orca stream to project files

* Bring over util changes as well.

* Add const to util and fix util ungzip

* Add const and apply review comments

* Apply review comments
2021-09-30 13:02:54 +01:00