Kyle Benesch
Kyle Benesch
Duplicate of #83
You're using an old version. The latest versions moved to a C API which hasn't been ported to C++ yet. This version is likely missing the `TCODLIB_API` attribute for the...
It wouldn't be hard to add support for this. You want to load a PNG file from memory?
The alpha versions have important bugfixes not in `1.15.1`. Since they're minor version alphas they don't break the existing API, only the API that've been added in the alphas or...
Unfortunately I've stopped adding C++ implementations into libtcod. It's been too much of a hassle to port C++ implementations to a C API compared to the other way around. The...
So far I've recently added alpha values to consoles, but the renderers don't support them yet. Once it does have support you should be able to mimic that screenshot with...
In the long term `TCODConsole` will be replaced by smart pointers to `TCOD_Console`, but for now the C++ API isn't there yet. Until then use `TCODConsole::get_data()` to get a `TCOD_Console*`...
Libtcod supports alpha rather than key colors. You can set the alpha of the tile background directly. I think most of the C++ drawing and printing functions other than blit...
Here's an incremental update of the above. I've tested this version: ```c++ #include #include int main(int argc, char* argv[]) { // Setup the SDL Window const int window_width = 1080;...
`cache_console` keeps track of which glyphs/colors have been drawn on the target texture. It reduces the number of SDL render calls which improves the performance of `TCOD_sdl2_render_texture` especially when using...