Saveload: Use table format for NewGRF/ID mapping chunks

This commit is contained in:
Jonathan G Rennison
2024-02-21 18:57:19 +00:00
parent b3bd1bb5ad
commit 0e262620d2
7 changed files with 38 additions and 25 deletions

View File

@@ -35,8 +35,8 @@ static void Load_ATID()
}
static const ChunkHandler airport_chunk_handlers[] = {
{ 'ATID', Save_ATID, Load_ATID, nullptr, nullptr, CH_ARRAY },
{ 'APID', Save_APID, Load_APID, nullptr, nullptr, CH_ARRAY },
{ 'ATID', Save_ATID, Load_ATID, nullptr, nullptr, CH_TABLE },
{ 'APID', Save_APID, Load_APID, nullptr, nullptr, CH_TABLE },
};
extern const ChunkHandlerTable _airport_chunk_handlers(airport_chunk_handlers);