libtcod
Loading...
Searching...
No Matches
console_rexpaint.h File Reference

REXPaint support. More...

#include <string>
#include <vector>
#include "config.h"
#include "console_types.h"
#include "list.h"

Go to the source code of this file.

Functions

TCOD_ConsoleTCOD_console_from_xp (const char *filename)
 Return a new console loaded from a REXPaint .xp file.
bool TCOD_console_load_xp (TCOD_Console *con, const char *filename)
 Update a console from a REXPaint .xp file.
bool TCOD_console_save_xp (const TCOD_Console *con, const char *filename, int compress_level)
 Save a console as a REXPaint .xp file.
TCOD_list_t TCOD_console_list_from_xp (const char *filename)
 Return a list of consoles from a REXPaint file.
bool TCOD_console_list_save_xp (TCOD_list_t console_list, const char *filename, int compress_level)
 Save a list of consoles to a REXPaint file.
int TCOD_load_xp_from_memory (int n_data, const unsigned char *data, int n_out, TCOD_Console **out)
 Load an array of consoles from a REXPaint file in memory.
int TCOD_save_xp_to_memory (int n_consoles, const TCOD_Console *const *consoles, int n_out, unsigned char *out, int compression_level)
 Save an array of consoles to a REXPaint file in memory.
int TCOD_load_xp (const char *path, int n, TCOD_Console **out)
 Load an array of consoles from a REXPaint file.
TCOD_Error TCOD_save_xp (int n, const TCOD_Console *const *consoles, const char *path, int compress_level)
 Save an array of consoles to a REXPaint file.

Detailed Description

REXPaint support.