0

Experimental code to provide a C implementation of chunk_render

Please see the TODO comments in iterate.c

None of the lighting, spawning, night, or cave modes work with this
version.
This commit is contained in:
Andrew Chin
2011-03-06 00:30:40 -05:00
parent be26dc702b
commit 66a9306a29
3 changed files with 376 additions and 195 deletions

View File

@@ -36,6 +36,7 @@ if py2exe != None:
#
setup_kwargs['ext_modules'].append(Extension('_composite', ['_composite.c'], include_dirs=['.'], extra_link_args=["/MANIFEST"] if platform.system() == "Windows" else []))
setup_kwargs['ext_modules'].append(Extension('_iterate', ['iterate.c'], include_dirs=['.'], extra_link_args=["/MANIFEST"] if platform.system() == "Windows" else []))
# tell build_ext to build the extension in-place
# (NOT in build/)
setup_kwargs['options']['build_ext'] = {'inplace' : 1}