Skip to content

Commit 9793f97

Browse files
4B796C65@gmail.com4B796C65@gmail.com
authored andcommitted
After a lot of debugging libtcod is now updated to 1.5.1, included new fonts and dmg's
1 parent 1fe5e15 commit 9793f97

File tree

77 files changed

+416
-437
lines changed

Some content is hidden

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

77 files changed

+416
-437
lines changed

Frameworks/README-SDL.txt

Lines changed: 0 additions & 13 deletions
This file was deleted.

Frameworks/SDL-1.2.14.dmg

888 KB
Binary file not shown.

Frameworks/SDL.framework.tar

-1.26 MB
Binary file not shown.

Frameworks/SDL_image-1.2.12.dmg

271 KB
Binary file not shown.

Frameworks/SDL_image.framework.tar

-632 KB
Binary file not shown.

Frameworks/libpng (universal).dmg

4.36 MB
Binary file not shown.

Frameworks/libpng14.framework.tar

-1.37 MB
Binary file not shown.

MANIFEST.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ include tdl/VERSION
77
include tdl/lib/*.txt
88
include tdl/linux*/*.so
99
include tdl/win32/*.dll
10-
include tdl/*.dylib
1110
include tdl/lib/darwin/*
11+
include fonts/*.png
12+
include fonts/*.txt
1213
include Frameworks/*.framework.tar
14+
include Frameworks/*.dmg
1315
include examples/*.py
1416
include documentation/*.html
1517
include ez_setup.py

README.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ Mac users will need to install the files found in the Frameworks directory
77
* Python 2.6+ or 3.x
88
* 32 bit Windows, 32/64 bit Linux, or Mac OS/X (32 bit architecture)
99

10+
Additonal Mac requirements (included in Frameworks directory):
11+
* SDL Framework: http://www.libsdl.org/release/SDL-1.2.14.dmg
12+
* libpng Framework: http://ethan.tira-thompson.org/Mac_OS_X_Ports_files/libpng%20%28universal%29.dmg
13+
Mount the .dmg's and copy the framework to /Libraries/Frameworks (you might need to run finder as root. If so, in terminal "paste sudo /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder")
14+
1015
=== About ===
1116
TDL is a port of the C library libtcod in an attempt to make it more "Pythonic"
1217
You can find more about libtcod at: http://doryen.eptalys.net/libtcod/

examples/eventget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def print_line_append(string):
2121

2222
while 1:
2323
for event in tdl.event.get():
24-
if event.type == tdl.QUIT:
24+
if event.type == 'QUIT':
2525
raise SystemExit()
2626
elif event.type == 'KEYDOWN':
2727
print_line_append('KEYDOWN event - key=%.2i char=%s keyname=%s alt=%i ctrl=%i shift=%i' % (event.key, repr(event.char), repr(event.keyname), event.alt, event.ctrl, event.shift))

0 commit comments

Comments
 (0)