Jonathan G Rennison
|
7dd8729a33
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/cachecheck.cpp
# src/network/network.cpp
# src/openttd.cpp
# src/pathfinder/follow_track.hpp
# src/saveload/saveload.cpp
# src/textfile_gui.cpp
|
2024-08-17 15:31:57 +01:00 |
|
Peter Nelson
|
f629d3c921
|
Codechange: Use vectors instead of CallocT/free for cache checks. (#12619)
Vectors are reused for each vehicle chain to save on reallocations.
|
2024-05-04 09:42:20 +01:00 |
|
Peter Nelson
|
3b75d8bbf8
|
Fix: Use modern comparisons instead of memcmp in cache check.
This uses C++20 default operator<=> to provide comparisons of some objects.
This works properly with caches that containers.
|
2024-04-18 22:13:55 +01:00 |
|
Peter Nelson
|
21d11ee361
|
Codechange: Move cache check function to own file.
|
2024-04-18 22:13:55 +01:00 |
|