22 lines
640 B
C
22 lines
640 B
C
/*
|
|
* 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.
|
|
*/
|
|
#ifndef _BITMAP_H
|
|
#define _BITMAP_H
|
|
|
|
#include "pstypes.h"
|
|
|
|
#ifdef __cplusplus
|
|
#include "palette.h"
|
|
#include "compiler-array.h"
|
|
|
|
void build_colormap_good(palette_array_t &palette, array<color_t, 256> &colormap, array<unsigned, 256> &freq);
|
|
void decode_data(ubyte *data, uint_fast32_t num_pixels, array<color_t, 256> &colormap, array<unsigned, 256> &count);
|
|
|
|
#endif
|
|
|
|
#endif
|