2014-06-01 17:55:23 +00:00
|
|
|
/*
|
|
|
|
* This file is part of the DXX-Rebirth project <http://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.
|
|
|
|
*/
|
2015-12-05 22:57:23 +00:00
|
|
|
#pragma once
|
2006-03-20 16:43:15 +00:00
|
|
|
|
2013-09-24 01:59:09 +00:00
|
|
|
#include "pstypes.h"
|
|
|
|
|
2012-11-11 22:12:51 +00:00
|
|
|
#ifdef __cplusplus
|
2013-01-06 21:03:57 +00:00
|
|
|
#include "palette.h"
|
2014-11-30 22:09:21 +00:00
|
|
|
#include "compiler-array.h"
|
2012-11-11 22:12:51 +00:00
|
|
|
|
2015-12-13 18:00:49 +00:00
|
|
|
namespace dcx {
|
2018-03-08 04:21:18 +00:00
|
|
|
void build_colormap_good(const palette_array_t &palette, array<color_t, 256> &colormap);
|
2018-03-08 04:21:18 +00:00
|
|
|
void decode_data(ubyte *data, uint_fast32_t num_pixels, array<color_t, 256> &colormap, array<bool, 256> &used);
|
2015-12-05 22:57:23 +00:00
|
|
|
}
|
2012-11-11 22:12:51 +00:00
|
|
|
|
2006-03-20 16:43:15 +00:00
|
|
|
#endif
|