Bindings for using the excellent libtcod
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
libtcod-d is a set of bindings for using the excellent libtcod with the D programming language.
The DLL (libtcod.so on Linux, libtcod.dll on Windows) is dynamically loaded on start up, not linked at compile time. Programs built with this library will search for libtcod_debug.so, and if that can't be found, for libtcod.so on the executable's path (or dlls if on Windows).
ATTENTION: the x8664 version of the library doesnt't work with DMD; the sample application crashes immediately as some function calls simply don't work - the parameters are totally garbled. Please use LDC to compile applications on x8664 platforms.
To try the samples, run
dub run -c samples_d on 32bit platforms or
dub run --compiler ldc2 -c samples_d on 64bit platforms.
The bindings are a strict port of the C API, so refer to libtcod documentation for more details. If I can get motivated, an object wrapper that would be similar to the C++ API may be forthcoming, so watch this space.
For comments and complaints, use the issue system on GitHub.
- Registered by Joachim de Groot
- ~master released 3 years ago
- BSD 3-clause
- Copyright © 2012, Bernard Helyer
- derelict-util, derelict-sdl2
1.6.7-1 2020-Apr-27 1.5.1-2 2018-Apr-12 1.5.1-1 2017-Nov-15 ~master 2020-Apr-27 ~high_level_api 2018-Jan-28
- Download Stats:
0 downloads today
0 downloads this week
0 downloads this month
94 downloads total
- Short URL: