Subversion Repositories Games.Descent

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * This file is part of the DXX-Rebirth project <https://www.dxx-rebirth.com/>.
  3.  * It is copyright by its individual contributors, as recorded in the
  4.  * project's Git history.  See COPYING.txt at the top level for license
  5.  * terms and a link to the Git history.
  6.  */
  7. #pragma once
  8.  
  9. #include "pstypes.h"
  10.  
  11. #ifdef __cplusplus
  12. #include "palette.h"
  13. #include <array>
  14. #include <bitset>
  15.  
  16. namespace dcx {
  17. void build_colormap_good(const palette_array_t &palette, std::array<color_palette_index, 256> &colormap);
  18. void decode_data(color_palette_index *data, uint_fast32_t num_pixels, std::array<color_palette_index, 256> &colormap, std::bitset<256> &used);
  19. }
  20.  
  21. #endif
  22.