mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2025-05-31 14:11:42 +05:30
Added revised functions for handling texture files
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#define DEVIL1TEX_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <stdbool.h>
|
||||
#pragma pack(push, 1)
|
||||
// disable struct padding
|
||||
// to easily impose struct on plain data.
|
||||
@@ -56,4 +56,19 @@ void locatetextures(unsigned int*,
|
||||
struct TexturePack*,
|
||||
struct TextureBatchDescriptor**);
|
||||
|
||||
bool gettexdescriptor(struct TextureBatchDescriptor**,
|
||||
unsigned int,
|
||||
const char *,
|
||||
unsigned int);
|
||||
|
||||
bool gettexbatch(struct TextureBatch**,
|
||||
unsigned int,
|
||||
const char*,
|
||||
unsigned int);
|
||||
|
||||
bool unpacktexbatch(struct Texture*,
|
||||
unsigned int,
|
||||
const char*,
|
||||
const unsigned int);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user