tcod-haskell: Bindings to libtcod roguelike engine

[ bsd3, game, library ] [ Propose Tags ]

Haskell bindings for popular library for making roguelike games


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
examples

build engine examples

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.2.0.0, 0.3.0.0
Dependencies base (>=4.7 && <5), bytestring (>=0.10 && <0.11), containers (>=0.5 && <0.6), inline-c (>=0.5 && <0.6), repa (>=3.4 && <3.5), sdl2 (>=2.2 && <2.3), tcod-haskell, vector (>=0.12 && <0.13) [details]
License BSD-3-Clause
Copyright 2017 Anton Gushcha
Author Anton Gushcha
Maintainer ncrashed@gmail.com
Category Game
Home page https://github.com/ncrashed/tcod-haskell#readme
Source repo head: git clone https://github.com/ncrashed/tcod-haskell
Uploaded by NCrashed at 2017-08-12T01:42:57Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables tcod-haskell-sample03, tcod-haskell-sample02, tcod-haskell-sample01
Downloads 1693 total (7 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2017-08-12 [all 2 reports]

Readme for tcod-haskell-0.1.0.0

[back to package description]

tcod-haskell

These are midlevel bindings for libtcod.

Compile

Needed system libraries:

  • autoconf
  • make
  • gcc
  • gcc-c++
  • alsa-lib-devel
  • audiofile-devel
  • mesa-libGL-devel
  • mesa-libGLU-devel
  • mesa-libEGL-devel
  • mesa-libGLES-devel
  • libXext-devel
  • libX11-devel
  • libXi-devel
  • libXrandr-devel
  • libXrender-devel
  • dbus-devel
  • libXScrnSaver-devel
  • libusb-devel
  • pulseaudio-libs-devel
  • libXinerama-devel
  • libXcursor-devel
  • systemd-devel
  • SDL2-devel

Steps:

  1. Install stack or cabal+GHC from https://www.haskell.org/downloads
  2. Run stack install --flags tcod-haskell:examples or cabal sandbox new && cabal install --flags=examples
  3. Copy libtcod/build/autotools/.libs/libtcod.so.0.0.0 somewhere, where shared libraries can be found by executables (e.x. /usr/local/lib/libtcod.so.0 and run ldconfig). Or install package with libtcod of version 1.6.3 for your system.
  4. Run example tcod-haskell-sample01 in root folder of repo (or copy terminal.png to execution directory).

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