OpenTTD/src/saveload
Peter Nelson d5671030b1 Codechange: Add NewGRFSpecsBase class to hold class/index information.
Standardises how the class index is stored in the spec, instead of relying ot the Spec structs having the same members.

This allows retrieving class_index and index without searching or using pointer arithmetic.

'cls_id' is renamed to 'class_index' to make it clearer that it is an index rather than the multichar label of the class.
2024-05-11 02:12:41 +01:00
..
compat Remove: NPF and pathfinder change settings 2024-05-10 10:38:44 +02:00
CMakeLists.txt Change: [Script] Store randomizers in savegame (#12063) 2024-02-12 01:22:57 +01:00
afterload.cpp Remove: NPF and pathfinder change settings 2024-05-10 10:38:44 +02:00
ai_sl.cpp Change: Store running AI config inside Company (#12003) 2024-02-09 22:55:49 +01:00
airport_sl.cpp Codechange: Use a common sub-class for NewGRFMapping chunks 2021-07-06 22:29:08 +02:00
animated_tile_sl.cpp Codechange: rename smallvec_type to container_func and use only when needed 2023-05-20 16:53:10 +02:00
autoreplace_sl.cpp Cleanup: Remove now unneeded ChunkHandler members 2021-07-06 22:29:08 +02:00
cargomonitor_sl.cpp Codechange: Use map.emplace() instead of map.insert(std::pair). 2024-04-20 10:25:20 +01:00
cargopacket_sl.cpp Codechange: Use iterators and/or range-for on cargo related loops. 2023-10-19 17:03:25 +01:00
cheat_sl.cpp Feature: Cheat to fix station ratings at 100% (#11346) 2023-10-21 08:35:52 -04:00
company_sl.cpp Codechange: introduce allow list infrastructure for companies 2024-05-07 00:03:15 +02:00
depot_sl.cpp Cleanup: Remove now unneeded ChunkHandler members 2021-07-06 22:29:08 +02:00
economy_sl.cpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
engine_sl.cpp Codechange: coding style fixes 2024-01-04 16:23:54 +01:00
game_sl.cpp Change: Store running AI config inside Company (#12003) 2024-02-09 22:55:49 +01:00
gamelog_sl.cpp Codechange: Construct string_view with first+last. (#12568) 2024-04-24 21:29:33 +01:00
goal_sl.cpp Codechange: use std::string instead of stredup/free for goals 2023-05-01 16:23:24 +02:00
group_sl.cpp Change: Use per-company group numbers. (#12297) 2024-05-07 19:01:28 +00:00
industry_sl.cpp Codechange: Add constants for original input/output cargo counts. (#12548) 2024-04-20 20:50:48 +01:00
labelmaps_sl.cpp Codechange: Rename *Railtype* to *RailType* for consistency. (#11287) 2023-09-11 08:55:12 +00:00
league_sl.cpp Fix #10469, 5e14a20: [Script] League Table rating element is a int64 everywhere else 2023-02-26 22:25:13 +01:00
linkgraph_sl.cpp Codechange: replace x.size() == 0 with x.empty() 2023-10-20 23:05:43 +02:00
map_sl.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
misc_sl.cpp Codechange: Add a priority field to TimerGameTick::TPeriod 2024-04-25 20:08:24 +02:00
newgrf_sl.cpp Fix #10771, 3901ef9: GRFConfig.filename is now a std::string (#10774) 2023-05-06 14:58:47 +00:00
newgrf_sl.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
object_sl.cpp Codechange: Use a common sub-class for NewGRFMapping chunks 2021-07-06 22:29:08 +02:00
oldloader.cpp Codechange: Replace SaveLoad var length arrays with switch block and sizeof. (#12570) 2024-04-24 21:33:29 +01:00
oldloader.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
oldloader_sl.cpp Codechange: Add a priority field to TimerGameTick::TPeriod 2024-04-25 20:08:24 +02:00
order_sl.cpp Codechange: move knowledge about 'packed' orders to the saveload code 2024-04-20 11:58:07 +02:00
randomizer_sl.cpp Change: [Script] Store randomizers in savegame (#12063) 2024-02-12 01:22:57 +01:00
saveload.cpp Codechange: support storing std::string vectors/deques in the savegame 2024-05-07 00:03:15 +02:00
saveload.h Change: Use per-company group numbers. (#12297) 2024-05-07 19:01:28 +00:00
saveload_error.hpp Codechange: Replace old non-standard attributes with C++17/20 standard attributes. 2024-02-02 22:29:28 +01:00
saveload_filter.h Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
saveload_internal.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
settings_sl.cpp Fix #12147: reset all saved settings to their default before loading a game (#12210) 2024-03-02 16:05:43 +01:00
signs_sl.cpp Codechange: Use ChunkHandlers sub-classes 2021-07-06 22:29:08 +02:00
station_sl.cpp Codechange: Add NewGRFSpecsBase class to hold class/index information. 2024-05-11 02:12:41 +01:00
storage_sl.cpp Codechange: Use ChunkHandlers sub-classes 2021-07-06 22:29:08 +02:00
story_sl.cpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
strings_sl.cpp Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
subsidy_sl.cpp Codechange: Use ChunkHandlers sub-classes 2021-07-06 22:29:08 +02:00
town_sl.cpp Cleanup: Remove TileMatrix that hasn't been used for 4+ years. (#12621) 2024-05-04 09:41:58 +01:00
vehicle_sl.cpp Cleanup: Remove old SaveLoad workarounds for MS VS 2017. (#12355) 2024-03-23 00:12:35 +00:00
water_regions_sl.cpp Change: simplified water region evaluation, removed savegame data (#11750) 2024-01-21 20:56:50 +00:00
waypoint_sl.cpp Codechange: coding style fixes 2024-01-04 16:23:54 +01:00