dxx-rebirth/d2x-rebirth/libmve/decoders.h

22 lines
705 B
C
Raw Normal View History

2014-06-01 17:55:23 +00:00
/*
* This file is part of the DXX-Rebirth project <https://www.dxx-rebirth.com/>.
2014-06-01 17:55:23 +00:00
* 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.
*/
2006-03-20 17:12:09 +00:00
/*
*
* INTERNAL header - not to be included outside of libmve
*
*/
2014-10-10 02:44:15 +00:00
#pragma once
2023-01-07 22:17:31 +00:00
#include <cstdint>
#include <span>
2006-03-20 17:12:09 +00:00
extern int g_width, g_height;
2012-11-24 17:19:56 +00:00
extern unsigned char *g_vBackBuf1, *g_vBackBuf2;
2006-03-20 17:12:09 +00:00
2023-01-07 22:17:31 +00:00
void decodeFrame8(unsigned char *pFrame, std::span<const uint8_t> pMap, const unsigned char *pData, int dataRemain);
2023-01-07 22:17:31 +00:00
void decodeFrame16(unsigned char *pFrame, std::span<const uint8_t> pMap, const unsigned char *pData, int dataRemain);