Kyle Benesch

Results 254 comments of Kyle Benesch

> What about calling it "unix-terminal" and just documenting what you are aiming to support? I doubt anyone would expect it to handle older terminals, and if you find some...

I've never used terminfo before so I haven't experienced how bad it is. I've used Curses before and I know that doesn't have the best API.

Ideally C++ should have range and structured binding support, so that you can iterate over a line like this: ```cpp for (auto&& [x, y] : tcod::bresenham({start_x, start_y}, {end_x, end_y})) {...

I think I'll always prefer `std::array` over `std::tuple` or `std::pair`. `std::pair` in particular has implementation issues which can mess up compiler optimizations when used (not sure if this is still...

I've made significant changes to the BresenhamLine class. It no longer uses the C functions and can even iterate over a Bresenham line in reverse. It supports clipping the endpoints....

I quick look at the [Wikipedia article on Bresenham](https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm) explains how the integer version of Bresenham is implemented. It's really just a fancy way of handling a division operation without...

Tested using a modified frost sample. Updates are on the develop branch. * Libtcod successfully compiles to WASM using the `wasm32-emscripten` triplet on Vcpkg. * Samples compile, but have to...

`TCODConsole::initRoot` is deprecated. You might want to use `tcod::new_context` instead. See the [getting started](https://libtcod.readthedocs.io/en/latest/guides/getting-started.html) section. >error: undefined symbol: _ZN6EngineC1Ev Libtcod doesn't actually have an `Engine` symbol (closest is `TCOD_ctx.engine`.) So...

I've been in the middle of a rewrite of the pathfinder for a long time now. I haven't been happy with what I've done so far, and my plans have...

Thinking back on this I should have just made the C++ templates more accessible and not worried about what was available in C. It was really easy to set up...