The tcod-haskell package

[ Tags: bsd3, game, library ] [ Propose Tags ]

Haskell bindings for popular library for making roguelike games


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.2.0.0
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), bytestring (==0.10.*), containers (==0.5.*), inline-c (==0.5.*), repa (==3.4.*), sdl2 (==2.2.*), tcod-haskell, vector (==0.12.*) [details]
License BSD3
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 Tue Aug 15 23:50:14 UTC 2017 by NCrashed
Distributions NixOS:0.2.0.0
Executables tcod-haskell-sample03, tcod-haskell-sample02, tcod-haskell-sample01
Downloads 311 total (12 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2017-08-16 [all 3 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
examples

build engine examples

DisabledAutomatic
use-pkg-config

Use pkg-config to check for library dependences

DisabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for tcod-haskell-0.2.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. Install libtcod in your system (version >= 1.6.3).
  3. Run stack install --flags tcod-haskell:examples or cabal sandbox new && cabal install --flags=examples
  4. Run example tcod-haskell-sample01 in root folder of repo (or copy terminal.png to execution directory).

Roadmap

Binded headers:

  • [x] bresenham.h
  • [x] bsp.h
  • [x] color_types.h
  • [x] color.h
  • [x] console_types.h
  • [x] console.h
  • [x] fov_types.h
  • [x] fov.h
  • [x] heightmap.h
  • [x] 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.
  • [x] libtcod_version.h
  • [ ] libtcod.h - not binding as useless.
  • [x] list.h
  • [x] mersenne_types.h
  • [x] mersenne.h
  • [x] mouse_types.h
  • [x] mouse.h
  • [x] namegen.h
  • [x] noise_defaults.h
  • [x] noise.h
  • [x] path.h
  • [ ] parser.h - not binding as useless.
  • [x] sys.h
  • [x] tree.h
  • [ ] textfield.h - TODO
  • [ ] wrappers.h - not binding as useless.
  • [ ] zip.h - TODO
  • [ ] gui/*.h - TODO