![]() |
dsekai
World engine for retrocomputers.
|
Simple abstract unified resource loading layer designed for various obsolete systems. More...
Files | |
file | resource.h |
Platform-general function prototypes for loading assets. | |
file | resinc.h |
Determines which resource-loading system to use at compile. | |
Functions | |
RESOURCE_HANDLE | resource_get_handle (const RESOURCE_ID id) SECTION_SETUP |
MEMORY_PTR | resource_lock_handle (RESOURCE_HANDLE handle) SECTION_SETUP |
Lock the given handle so that it cannot be relocated in memory by the operating system. | |
MEMORY_PTR | resource_unlock_handle (RESOURCE_HANDLE handle) SECTION_SETUP |
Unlock the given handle so that it may be relocated/recovered by the operating system. | |
int32_t | resource_sz_handle (RESOURCE_HANDLE handle) SECTION_SETUP |
void | resource_free_handle (RESOURCE_HANDLE) SECTION_SETUP |
uint8_t | resource_id_from_name (RESOURCE_ID *id, RESOURCE_NAME name, const char *ext) SECTION_SETUP |
Simple abstract unified resource loading layer designed for various obsolete systems.