OpenTTD/src/saveload
Patric Stout 4600d289b5 Codechange: ability to store structs and list of structs in savegames
The commits following this will use this new functionality.

Currently, a few places do this manually. This has as drawback that
the Save() and Load() code need to be in sync, and that any change
can result in (old) savegames no longer loading. In general, it is
annoying code to maintain.

By putting everything in a description table, and use that for
both Save() and Load(), it becomes easier to see what is going on,
and hopefully less likely for people to make mistakes.
2021-06-14 21:58:05 +02:00
..
CMakeLists.txt Add: introduce CMake for project management 2020-06-05 19:36:05 +02:00
afterload.cpp Fix 81062163: for (really) old games, station bus/truck station cache was not updated (#9366) 2021-06-13 13:48:40 +02:00
ai_sl.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 2021-06-13 12:45:45 +02:00
airport_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
animated_tile_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
autoreplace_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
cargomonitor_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
cargopacket_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
cheat_sl.cpp Codechange: rework CHTS-chunk save/load to be more like the others 2021-06-10 19:18:24 +02:00
company_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
depot_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
economy_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
engine_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
game_sl.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 2021-06-13 12:45:45 +02:00
gamelog_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
goal_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
group_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
industry_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
labelmaps_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
linkgraph_sl.cpp Codechange: rename SL_LST to SL_REFLIST to highlight the "reference" part 2021-06-10 19:18:24 +02:00
map_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
misc_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
newgrf_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
newgrf_sl.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
object_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
oldloader.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 2021-06-13 12:45:45 +02:00
oldloader.h Codechange: Don't use cpp_offsetof in the TTO/TTD savegame loader. 2021-02-13 20:08:53 +01:00
oldloader_sl.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 2021-06-13 12:45:45 +02:00
order_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
saveload.cpp Codechange: ability to store structs and list of structs in savegames 2021-06-14 21:58:05 +02:00
saveload.h Codechange: ability to store structs and list of structs in savegames 2021-06-14 21:58:05 +02:00
saveload_filter.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
saveload_internal.h Codechange: C++-ify lists for SaveLoad (#9323) 2021-05-31 22:26:44 +02:00
signs_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
station_sl.cpp Codechange: rename SL_LST to SL_REFLIST to highlight the "reference" part 2021-06-10 19:18:24 +02:00
storage_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
story_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
strings_sl.cpp Codechange: Remove FOR_ALL_CHUNK_HANDLERS 2021-06-06 19:35:06 +02:00
subsidy_sl.cpp Feature: Configurable subsidy duration 2021-06-10 23:26:16 +02:00
town_sl.cpp Codechange: rename SL_LST to SL_REFLIST to highlight the "reference" part 2021-06-10 19:18:24 +02:00
vehicle_sl.cpp Codechange: rename SL_LST to SL_REFLIST to highlight the "reference" part 2021-06-10 19:18:24 +02:00
waypoint_sl.cpp Codechange: convert printf DEBUG statements to fmt Debug statements 2021-06-13 12:45:45 +02:00