diff options
author | Patric Stout <truebrain@openttd.org> | 2021-06-12 14:49:51 +0200 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-06-15 16:45:04 +0200 |
commit | 97b94bdc9ab4ceeb589c5022d5c238442faf0454 (patch) | |
tree | 7d22a32f5bf2ac2a56467b7ce5f190fff9c8d09a /src/station_kdtree.h | |
parent | f67af5cbe5cb754c3b64553b9cc03b5c18ca7e79 (diff) | |
download | openttd-97b94bdc9ab4ceeb589c5022d5c238442faf0454.tar.xz |
Change: prefix SL_ARR with the length of the array
This means that during loading we can validate that what is saved
is also that what is expected. Additionally, this makes all list
types similar to how they are stored on disk:
First a gamma to indicate length, followed by the data.
The size still depends on the type.
Diffstat (limited to 'src/station_kdtree.h')
0 files changed, 0 insertions, 0 deletions