Function tcod::save_xp

Function Documentation

inline void tcod::save_xp(const std::vector<const TCOD_Console*> &consoles, const std::filesystem::path &path, int compress_level = 9)

Save an array of consoles to a REXPaint file.

New in version 1.18.

Parameters
  • consoles – A vector of consoles to save.

  • path – The path to write the REXPaint file to.

  • compress_level – A compression level for the zlib library.