Add CityMania savegame data (a bit broken for now)

This commit is contained in:
dP
2020-07-06 16:47:03 +03:00
parent eed1731bd8
commit 889b833af1
7 changed files with 595 additions and 3 deletions
+2 -1
View File
@@ -9,6 +9,7 @@
#include "../stdafx.h"
#include "../newgrf_storage.h"
#include "../citymania/cm_saveload.hpp"
#include "saveload.h"
#include "../safeguards.h"
@@ -46,5 +47,5 @@ static void Save_PSAC()
/** Chunk handler for persistent storages. */
extern const ChunkHandler _persistent_storage_chunk_handlers[] = {
{ 'PSAC', Save_PSAC, Load_PSAC, nullptr, nullptr, CH_ARRAY | CH_LAST},
{ 'PSAC', citymania::Save_PSAC, citymania::Load_PSAC, nullptr, nullptr, CH_ARRAY | CH_LAST},
};