2021-11-01 18:33:39 +00:00
|
|
|
/*
|
|
|
|
* This file is part of OpenTTD.
|
|
|
|
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
|
|
|
|
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** @file subsidy_sl.cpp Code handling saving and loading of subsidies */
|
|
|
|
|
2023-06-07 22:29:52 +00:00
|
|
|
#include "../stdafx.h"
|
|
|
|
#include "../subsidy_base.h"
|
2021-11-01 18:33:39 +00:00
|
|
|
|
|
|
|
#include "saveload.h"
|
|
|
|
|
2023-06-07 22:29:52 +00:00
|
|
|
#include "../safeguards.h"
|
2021-11-01 18:33:39 +00:00
|
|
|
|
2023-06-07 22:29:52 +00:00
|
|
|
static const ChunkHandler subsidy_chunk_handlers[] = {
|
2024-02-21 17:38:00 +00:00
|
|
|
MakeUpstreamChunkHandler<'SUBS', GeneralUpstreamChunkLoadInfo>(),
|
2021-11-01 18:33:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern const ChunkHandlerTable _subsidy_chunk_handlers(subsidy_chunk_handlers);
|