![]() |
dsekai
World engine for retrocomputers.
|
Platform-general function prototypes for loading assets. More...

Go to the source code of this file.
Macros | |
| #define | resource_debug_printf(lvl, fmt, rsrc, ...) |
| #define | resource_error_printf(fmt, rsrc, ...) |
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 |
Platform-general function prototypes for loading assets.