mirror of
https://github.com/aap/librw.git
synced 2026-04-19 13:03:09 +01:00
hardcoded gl3 shaders; extended Image; bmp writer
This commit is contained in:
@@ -183,13 +183,18 @@ struct Image
|
||||
void setPixels(uint8 *pixels);
|
||||
void setPalette(uint8 *palette);
|
||||
bool32 hasAlpha(void);
|
||||
void unindex(void);
|
||||
void removeMask(void);
|
||||
Image *extractMask(void);
|
||||
|
||||
static void setSearchPath(const char*);
|
||||
static void printSearchPath(void);
|
||||
static char *getFilename(const char*);
|
||||
};
|
||||
|
||||
Image *readTGA(const char *filename);
|
||||
void writeTGA(Image *image, const char *filename);
|
||||
void writeBMP(Image *image, const char *filename);
|
||||
|
||||
// used to emulate d3d and xbox textures
|
||||
struct RasterLevels
|
||||
|
||||
Reference in New Issue
Block a user