Kyle Benesch
Kyle Benesch
I was hesitant to mark this as ready since it felt like there was probably more I could do. The key repeat changes affected movement but I'm not sure how...
Here are some test builds I have so far. There's an Ubuntu build too, but it's slightly too big to attach. [windows-2019.zip](https://github.com/flags/Reactor-3/files/6488601/windows-2019.zip) [macos-10.15.tar.gz](https://github.com/flags/Reactor-3/files/6488599/macos-10.15.tar.gz)
The reason you're having such a hard time backporting this to the old API is because it's impossible with the old API. While the new contexts have an unofficial way...
If I had to guess. GCC is enforcing visibility rules for `TCOD_ctx` and hiding it from external programs. I can add a public function to return the context this way....
`int TCOD_sys_accumulate_console(const TCOD_Console* console)` also has the `context->c_accumulate_` behavior for the internal context.
Sorry for that. I think you can replace the context specific functions with older API functions like this: ```cpp bool renderer_accumulate_context(TCOD_Console* console) { int window_width; int window_height; SDL_GL_GetDrawableSize(TCOD_sys_get_sdl_window(), &window_width, &window_height);...
Contexts don't like to given the root console. You can make a console with the same size as the root console, blit to it then pass the pointer to the...
That said. `TCOD_sys_accumulate_console` does accept NULL as the root console.
`TCOD_Console` will eventually replace `TCODConsole` completely. It will be easier to use `TCOD_Console` in the next release of libtcod. The `get_data()` method of `TCODConsole` always returns `TCOD_Console*`. There's an unreleased...
Since you're using MinGW you probably only need to know about [setenv](https://man7.org/linux/man-pages/man3/setenv.3.html). ```c setenv("TCOD_VSYNC", "1", 0); // Before calling TCODConsole::initRoot. ```