1#ifndef IMAGE_FILE_REGISTRY_H
2#define IMAGE_FILE_REGISTRY_H
8#define CHANNELS_PER_PIXEL 4
HGeneric HImage
Definition HandleDefs.h:11
const struct ImageFile * IR_GetImageFile(HImage img)
Definition ImageFileRegstry.c:81
u8 * IR_GetImageData(HImage img)
Definition ImageFileRegstry.c:55
bool IR_LoadImageSync(HImage hImage, VECTOR(struct ImageLoadError) outErrors)
Definition ImageFileRegstry.c:92
bool IR_IsImageLoaded(HImage hImage)
Definition ImageFileRegstry.c:45
HImage IR_RegisterImagePath(const char *path)
void IR_DestroyImageRegistry()
Definition ImageFileRegstry.c:156
void IR_InitImageRegistry(const char *jsonPath)
Definition ImageFileRegstry.c:120
HImage IR_LookupHandleByPath(const char *path)
Definition ImageFileRegstry.c:33
uint8_t u8
Definition IntTypes.h:6
#define VECTOR(a)
Definition WfGame.h:8
Definition ImageFileRegstry.h:11
u8 * pData
Definition ImageFileRegstry.h:14
bool bLoaded
Definition ImageFileRegstry.h:13
int height
Definition ImageFileRegstry.h:15
int width
Definition ImageFileRegstry.h:15
char * path
Definition ImageFileRegstry.h:12
Definition ImageFileRegstry.h:19
char * message
Definition ImageFileRegstry.h:20