|
Stardew Engine
|
#include "ImageFileRegstry.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include "cJSON.h"#include "FileHelpers.h"#include "Log.h"#include "stb/stb_image.h"
Macros | |
| #define | STB_IMAGE_IMPLEMENTATION |
Functions | |
| HImage | IR_LookupHandleByPath (const char *path) |
| bool | IR_IsImageLoaded (HImage hImage) |
| u8 * | IR_GetImageData (HImage img) |
| const struct ImageFile * | IR_GetImageFile (HImage hImage) |
| bool | IR_LoadImageSync (HImage hImage, VECTOR(struct ImageLoadError) outErrors) |
| void | IR_InitImageRegistry (const char *jsonPath) |
| void | IR_DestroyImageRegistry () |
| #define STB_IMAGE_IMPLEMENTATION |
| void IR_DestroyImageRegistry | ( | ) |
| void IR_InitImageRegistry | ( | const char * | jsonPath | ) |
| bool IR_IsImageLoaded | ( | HImage | hImage | ) |
| bool IR_LoadImageSync | ( | HImage | hImage, |
| VECTOR(struct ImageLoadError) | outErrors | ||
| ) |
| HImage IR_LookupHandleByPath | ( | const char * | path | ) |