@ -1559,6 +1559,7 @@ void API::FinishReadCreatures()
d->creaturesInited = false;
//FinishReadNameTables();
}
void API::FinishReadNotes()
{
if(d->p_notes)
@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from pydfhack import *
class DFAPI(API):
@ -1,8 +1,9 @@
from distutils.core import setup, Extension
e = Extension("pydfhack",
sources=["UnionBase.cpp", "pydfhack.cpp", "DF_API.cpp"],
include_dirs=["..\\"],
include_dirs=["..\\include"],
library_dirs=["..\\..\\output"],
libraries=["libdfhack"])
@ -1 +1,2 @@
import pydfhack