Baughn / Dwarf-Fortress--libgraphics-

The graphics segment of Dwarf Fortress
http://www.bay12games.com/forum/index.php?topic=28841.
81 stars 13 forks source link

Libcaca input/output driver #31

Open samhocevar opened 14 years ago

samhocevar commented 14 years ago

The attached patch adds support for libcaca: http://zoy.org/~sam/patches/0002-First-go-at-a-libcaca-input-output-driver.patch

The patch causes libcaca to take precedence over ncurses if the CACA macro is defined. I am not familiar with SCons so I do not know how to autodetect the library. But libcaca uses standard pkg-config on Linux systems, so it should be pretty easy to do.

Everything could be improved a lot, but I first wanted to know whether there was interest in that feature.

I only tested it on Linux, but I believe this adds text mode support on Windows.

samhocevar commented 14 years ago

I put a screenshot at http://people.zoy.org/~sam/caca-df.png