Codechange: Remove FOR_ALL_CHUNK_HANDLERS

Co-Authored-By: Patric Stout <truebrain@openttd.org>
This commit is contained in:
glx22
2021-05-02 22:41:34 +02:00
committed by Loïc Guilloux
parent 3559e55b91
commit c27afdf3f6
35 changed files with 272 additions and 198 deletions

View File

@@ -34,7 +34,9 @@ static void Load_ATID()
Load_NewGRFMapping(_airporttile_mngr);
}
extern const ChunkHandler _airport_chunk_handlers[] = {
static const ChunkHandler airport_chunk_handlers[] = {
{ 'ATID', Save_ATID, Load_ATID, nullptr, nullptr, CH_ARRAY },
{ 'APID', Save_APID, Load_APID, nullptr, nullptr, CH_ARRAY | CH_LAST },
{ 'APID', Save_APID, Load_APID, nullptr, nullptr, CH_ARRAY },
};
extern const ChunkHandlerTable _airport_chunk_handlers(airport_chunk_handlers);