No description
Find a file
2020-12-17 22:43:04 +02:00
data updated txt files and readme 2019-01-20 02:52:03 +02:00
docs renamed version 2019-05-27 11:27:47 +03:00
libtcod Fix nimble warning: "Package 'libtcod_nim' has an incorrect structure." 2020-12-15 19:19:30 +01:00
samples15 proc renderName: forced gcsafe pragma for Nim v1.2+ 2020-06-21 16:39:55 +03:00
samples17 samples17 and samples112 now support both sdl2 and sdl2_nim packages (by uncommenting imports) 2020-06-21 21:18:17 +03:00
samples112 samples17 and samples112 now support both sdl2 and sdl2_nim packages (by uncommenting imports) 2020-06-21 21:18:17 +03:00
LIBTCOD-CHANGELOG.md added LIBTCOD-CHANGELOG.md 2019-05-27 00:24:23 +03:00
LIBTCOD-CREDITS.txt updated libtcod text files 2019-05-27 00:23:28 +03:00
LIBTCOD-LICENSE.txt updated libtcod text files 2019-05-27 00:23:28 +03:00
libtcod.cfg list, color, console, mouse, image, sys, mersenne 2012-11-23 09:35:52 +02:00
libtcod.nim Fix nimble warning: "Package 'libtcod_nim' has an incorrect structure." 2020-12-15 19:19:30 +01:00
libtcod.nimble Fix nimble warning: "Package 'libtcod_nim' has an incorrect structure." 2020-12-15 19:19:30 +01:00
LICENSE updated license file 2019-02-03 22:12:39 +02:00
README.md updated readme for v1.112.1 2020-12-17 22:43:04 +02:00
terminal.png list, color, console, mouse, image, sys, mersenne 2012-11-23 09:35:52 +02:00

libtcod_nim v1.112.0

libtcod_nim is a wrapper of the libtcod library for the Nim language.

Libtcod, a.k.a. “The Doryen Library”, is a free, fast, portable and uncomplicated API for roguelike developers providing an advanced true color console, input, and lots of other utilities frequently used in roguelikes.

You need to have dynamic library of libtcod installed:

  • libtcod 1.5.1:
    • libtcod.so.1.5.1 on Linux
    • libtcod-mingw.dll or libtcod-mingw-debug.dll on Windows.
  • libtcod 1.7.0 or 1.12.2:
    • libtcod.so (or libtcod.so.1.0.12 for libtcod 1.12.2) on Linux;
    • libtcod.dll on Windows.

Also you may need SDL, SDL2, OpenGL or GLSL dynamic libraries installed, depending on used renderer.

Compilation

  • The default complilation option is libtcod 1.12.2 (src112 directory).

To use legacy versions use the following keys in your compile command:

  • --define:tcod15 for libtcod 1.5.1.

  • --define:tcod17 for libtcod 1.7.0.


CHANGELOG:

v1.112.1

  • changes and fixes for Nim v1.1+
  • fixed nimble warnings

v1.112.0

  • changed versioning system to reflect the latest supported libtcod version
  • added libtcod 1.12.2 wrapper
  • added optional module libtcod/cp437
  • changed compile keys for legacy branches
  • various bugfixes

v0.99

  • added libtcod 1.7.0 wrapper
  • bugfixes for both 1.5.1 and 1.7.0 wrappers

v0.98.1

  • adaptation for Nim v0.18.1 and newer (strings can't be nil anymore)

v0.98

  • adaptation for new versions of Nim
  • more type-related fixes

v0.97

  • adaptation for Nim 0.10.2
  • fixed data types for correct work on 64-bit systems
  • WideCString fix

v0.96

  • fixed unicode output procedures
  • fixed some errata
  • adaptation for Nimrod 0.9.2

v0.95

  • total rewrite of parser module
  • added parser_get_list_<type>_property(parser, name): seq[<type>] functions
  • completed PList removal
  • tons of fixes

v0.90

  • most features implemented
  • ported samples
  • started PList removal
  • added floatArrayToPtr template for noise procedures