mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2025-05-31 14:11:42 +05:30
Added getheader() functions for tex and geo component
This commit is contained in:
@@ -85,6 +85,9 @@ typedef struct {
|
||||
// input: pointer to struct
|
||||
void (* const printcoordinate)(struct Coordinate*, unsigned int);
|
||||
|
||||
// input: pointer to struct, file data
|
||||
bool (* const getheader) (struct Header*, const char*);
|
||||
|
||||
// input: pointer of pointer to struct, order, file data
|
||||
// ** = 'pass by reference' of a pointer to struct
|
||||
bool (* const getmeshheader) (struct MeshHeader**,
|
||||
@@ -96,11 +99,11 @@ typedef struct {
|
||||
unsigned int offset,
|
||||
const char * const);
|
||||
|
||||
// input: pointer to struct, order, file data
|
||||
// input: pointer to struct, order, file data, file size
|
||||
bool (* const getmesh) (struct Mesh*,
|
||||
unsigned int i,
|
||||
const char*,
|
||||
unsigned int filesize);
|
||||
unsigned int);
|
||||
} fn_devil1geo;
|
||||
extern fn_devil1geo const DEVIL1GEO;
|
||||
|
||||
|
@@ -45,6 +45,9 @@ typedef struct {
|
||||
// input: pointer to struct
|
||||
void (* const printbatchdesc)(struct TextureBatchDescriptor*);
|
||||
|
||||
// input: pointer to struct, file data
|
||||
bool (* const getheader) (struct TexturePack*, const char*);
|
||||
|
||||
// input: pointer of pointer to struct, order, file data, file size
|
||||
// ** = 'pass by reference' of a pointer to struct
|
||||
bool (* const getbatchdesc) (struct TextureBatchDescriptor**,
|
||||
|
Reference in New Issue
Block a user