Saveload: Add special proc op for whether to save chunk

This commit is contained in:
Jonathan G Rennison
2023-03-21 18:57:50 +00:00
parent b4f32e44d9
commit a57a909deb
2 changed files with 6 additions and 0 deletions

View File

@@ -85,10 +85,12 @@ void SlUnreachablePlaceholder();
enum ChunkSaveLoadSpecialOp {
CSLSO_PRE_LOAD,
CSLSO_PRE_LOADCHECK,
CSLSO_SHOULD_SAVE_CHUNK,
};
enum ChunkSaveLoadSpecialOpResult {
CSLSOR_NONE,
CSLSOR_LOAD_CHUNK_CONSUMED,
CSLSOR_DONT_SAVE_CHUNK,
};
typedef ChunkSaveLoadSpecialOpResult ChunkSaveLoadSpecialProc(uint32, ChunkSaveLoadSpecialOp);