dxx-rebirth/d2x-rebirth/libmve/decoders.h
2023-01-07 22:17:31 +00:00

22 lines
705 B
C++

/*
* This file is part of the DXX-Rebirth project <https://www.dxx-rebirth.com/>.
* It is copyright by its individual contributors, as recorded in the
* project's Git history. See COPYING.txt at the top level for license
* terms and a link to the Git history.
*/
/*
*
* INTERNAL header - not to be included outside of libmve
*
*/
#pragma once
#include <cstdint>
#include <span>
extern int g_width, g_height;
extern unsigned char *g_vBackBuf1, *g_vBackBuf2;
void decodeFrame8(unsigned char *pFrame, std::span<const uint8_t> pMap, const unsigned char *pData, int dataRemain);
void decodeFrame16(unsigned char *pFrame, std::span<const uint8_t> pMap, const unsigned char *pData, int dataRemain);