diff --git a/include/devil1tex.h b/include/devil1tex.h index 52a61b8..9013b2b 100644 --- a/include/devil1tex.h +++ b/include/devil1tex.h @@ -60,7 +60,7 @@ typedef struct { unsigned int); // input: pointer to struct, order, file data, file size -bool (* const gettextures) (struct Texture*, + bool (* const gettextures) (struct Texture*, unsigned int, const char*, const unsigned int); diff --git a/src/devil1geo.c b/src/devil1geo.c index 4284ba2..25f5d88 100644 --- a/src/devil1geo.c +++ b/src/devil1geo.c @@ -31,8 +31,8 @@ static void printgheader(struct Header *gh) { printf("unknown number B %x\n", gh -> unknownNumberB); printf("unknown number C %x\n", gh -> unknownNumberC); printf("unknown number D %x\n", gh -> unknownNumberD); - printf("padding %x\n", gh -> padding); - printf("unknown offset %lx\n", gh -> unknownOffset); + printf("padding %x\n", gh -> padding); + printf("unknown offset %lx\n", gh -> unknownOffset); } } @@ -40,11 +40,11 @@ static void printmeshheader(struct MeshHeader *mh) { if (mh == NULL) { return; } - printf("number of batches %x\n", mh -> numBatch); + printf("number of batches %x\n", mh -> numBatch); printf("number of vertices %x\n", mh -> numVertex); - printf("unknown %x\n", mh -> u); - printf("batch offset %lx\n", mh -> offsetBatches); - printf("flags %lx\n\n", mh -> flags); + printf("unknown %x\n", mh -> u); + printf("batch offset %lx\n", mh -> offsetBatches); + printf("flags %lx\n\n", mh -> flags); } static void printmeshbatch(struct Batch *b) {