Skip to content

Commit 0d80cac

Browse files
committed
Merge pull request #7 from HexDecimal/libtcod-cffi
merge cffi code
2 parents 6faf92d + bba09a3 commit 0d80cac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+21470
-934
lines changed

CHANGELOG.rst

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
===========
22
Changelog
33
===========
4+
1.3.0
5+
* Updated backend to use python-cffi instead of ctypes. This gives decent
6+
boost to speed in CPython and a drastic to boost in speed in PyPy.
7+
48
1.2.0
59
* The set_colors method now changes the default colors used by the draw_*
610
methods. You can use Python's Ellipsis to explicitly select default colors

README.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This module can also be manually installed by going into the "setup.py" director
1111

1212
python setup.py install
1313

14-
Already compiled libtcod libraries are included as part of the package data. They won't need to be compiled as part of the installation, but can be replaced with newer versions if necessary.
14+
This will require that your Python installation can compile binaries.
1515

1616
=======
1717
About
@@ -28,13 +28,14 @@ Online Documentation: http://pythonhosted.org/tdl/
2828

2929
Issue Tracker: https://github.com/HexDecimal/python-tdl/issues
3030

31-
python-tdl is a ctypes port of "libtcod". You can find more about libtcod at http://roguecentral.org/doryen/libtcod/
31+
python-tdl is a cffi port of "libtcod". You can find more about libtcod at http://roguecentral.org/doryen/libtcod/
3232

3333
==============
3434
Requirements
3535
==============
3636
* Python 2.6+ or 3.x
3737
* 32 bit Windows, 32/64 bit Linux, or Mac OS/X (64 bit architecture)
38+
* An up-to-date version of the Python module: cffi
3839

3940
=========
4041
License

0 commit comments

Comments
 (0)