@hackage tcod-haskell0.3.0.0
Bindings to libtcod roguelike engine
Categories
License
BSD-3-Clause
Maintainer
ncrashed@gmail.com
Links
Versions
Installation
Dependencies (7)
- base >=4.7 && <5
- bytestring >=0.10 && <0.11
- containers >=0.5 && <0.7
- inline-c >=0.5 && <0.8
- repa >=3.4 && <3.5
- sdl2 >=2.2 && <2.6 Show all…
Dependents (1)
@hackage/acme-everything
Package Flags
examples
(off by default)
build engine examples
use-pkg-config
(on by default)
Use pkg-config to check for library dependences
tcod-haskell
These are midlevel bindings for libtcod.
Compile
Needed system libraries:
autoconfmakegccgcc-c++alsa-lib-develaudiofile-develmesa-libGL-develmesa-libGLU-develmesa-libEGL-develmesa-libGLES-devellibXext-devellibX11-devellibXi-devellibXrandr-devellibXrender-develdbus-devellibXScrnSaver-devellibusb-develpulseaudio-libs-devellibXinerama-devellibXcursor-develsystemd-develSDL2-devel
Steps:
- Install
stackorcabal+GHCfrom https://www.haskell.org/downloads - Install
libtcodin your system (version>= 1.8.2). - Run
stack install --flags tcod-haskell:examplesorcabal sandbox new && cabal install --flags=examples - Run example
tcod-haskell-sample01in root folder of repo (or copyterminal.pngto execution directory).
Nix pipeline
Steps:
- Install Nix
- Run
nix-build - For interactive shell
nis-shell - Run example in shell
cabal new-run --flag examples tcod-haskell-sample01
Roadmap
Binded headers:
- bresenham.h
- bsp.h
- color_types.h
- color.h
- console_types.h
- console.h
- fov_types.h
- fov.h
- heightmap.h
- image.h
- lex.h - not binding as useless.
- libtcod_int.h - not binding as useless.
- libtcod_portability.h - not binding as useless.
- libtcod_utility.h - not binding as useless.
- libtcod_version.h
- libtcod.h - not binding as useless.
- list.h
- mersenne_types.h
- mersenne.h
- mouse_types.h
- mouse.h
- namegen.h
- noise_defaults.h
- noise.h
- path.h
- parser.h - not binding as useless.
- sys.h
- tree.h
- textfield.h - TODO
- wrappers.h - not binding as useless.
- zip.h - TODO
- gui/*.h - TODO