# saveload Directory Reference

## Files
file | afterload.cpp [code]
| Code updating data after game load.

file | ai_sl.cpp [code]
| Handles the saveload part of the AIs.

file | animated_tile_sl.cpp [code]
| Code handling saving and loading of animated tiles.

file | autoreplace_sl.cpp [code]
| Code handling saving and loading of autoreplace rules.

file | cargopacket_sl.cpp [code]
| Code handling saving and loading of cargo packets.

file | cheat_sl.cpp [code]
| Code handling saving and loading of cheats.

file | company_sl.cpp [code]
| Code handling saving and loading of company data.

file | depot_sl.cpp [code]
| Code handling saving and loading of depots.

file | economy_sl.cpp [code]
| Code handling saving and loading of economy data.

file | engine_sl.cpp [code]
| Code handling saving and loading of engines.

file | gamelog_sl.cpp [code]
| Code handling saving and loading of gamelog data.

file | group_sl.cpp [code]
| Code handling saving and loading of economy data.

file | industry_sl.cpp [code]
| Code handling saving and loading of industries.

file | labelmaps_sl.cpp [code]
| Code handling saving and loading of rail type label mappings.

file | map_sl.cpp [code]
| Code handling saving and loading of map.

file | misc_sl.cpp [code]
| Saving and loading of things that didn't fit anywhere else.

file | newgrf_sl.cpp [code]
| Code handling saving and loading of newgrf config.

file | oldloader.cpp [code]
| Functions for handling of TTO/TTD/TTDP savegames.

file | oldloader.h [code]
| Declarations of strctures and function used in loader of old savegames.

file | oldloader_sl.cpp [code]
| Chunks and fix-ups for TTO/TTD/TTDP savegames.

file | order_sl.cpp [code]
| Code handling saving and loading of orders.

file | saveload.cpp [code]
| All actions handling saving and loading goes on in this file.

file | saveload.h [code]
| Functions/types related to saving and loading games.

file | saveload_internal.h [code]
| Declaration of functions used in more save/load files.

file | signs_sl.cpp [code]
| Code handling saving and loading of economy data.

file | station_sl.cpp [code]
| Code handling saving and loading of economy data.

file | strings_sl.cpp [code]
| Code handling saving and loading of strings.

file | subsidy_sl.cpp [code]
| Code handling saving and loading of subsidies.

file | town_sl.cpp [code]
| Code handling saving and loading of towns and houses.

file | vehicle_sl.cpp [code]
| Code handling saving and loading of vehicles.

file | waypoint_sl.cpp [code]
| Code handling saving and loading of waypoints.