taisei/src/replay/rw_common.h
Andrei Alexeyev eede63333a
replay: introduce REPLAY_STRUCT_VERSION_TS104000_REV1
* Use zstd instead of zlib compression
* Remove plr_focus field
* Add skip_frames field for demos
2023-06-17 21:53:24 +02:00

19 lines
635 B
C

/*
* This software is licensed under the terms of the MIT License.
* See COPYING for further information.
* ---
* Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>.
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@taisei-project.org>.
*/
#pragma once
#include "taisei.h"
#include "struct.h"
uint32_t replay_struct_stage_metadata_checksum(ReplayStage *stg, uint16_t version);
SDL_RWops *replay_wrap_stream_compress(uint16_t version, SDL_RWops *rw, bool autoclose);
SDL_RWops *replay_wrap_stream_decompress(uint16_t version, SDL_RWops *rw, bool autoclose);
extern uint8_t replay_magic_header[REPLAY_MAGIC_HEADER_SIZE];