Merge branch 'feature/getheaderfns' of scuti/lib3ddevil1 into feature/pythonbinding

This commit is contained in:
suhrke
2018-04-23 18:44:58 -07:00
committed by Gitea
7 changed files with 45 additions and 12 deletions

View File

@@ -65,6 +65,10 @@ class Devil1TEX_FN(ctypes.Structure):
("printbatchdesc", ctypes.CFUNCTYPE(
None,
ctypes.POINTER(TextureBatchDescriptor))),
("getheader", ctypes.CFUNCTYPE(
ctypes.c_bool,
ctypes.POINTER(ctypes.POINTER(TexturePack)),
ctypes.c_char_p)),
("getbatchdesc", ctypes.CFUNCTYPE(
ctypes.c_bool,
ctypes.POINTER(TextureBatchDescriptor),
@@ -179,6 +183,10 @@ class Devil1GEO_FN(ctypes.Structure):
("printcoordinate", ctypes.CFUNCTYPE(
None,
ctypes.POINTER(Coordinate))),
("getheader", ctypes.CFUNCTYPE(
None,
ctypes.POINTER(ctypes.POINTER(Header)),
ctypes.c_char_p)),
("getmeshheader", ctypes.CFUNCTYPE(
ctypes.c_bool,
ctypes.POINTER(MeshHeader),