dsekai
World engine for retrocomputers.
Loading...
Searching...
No Matches
nullr.h File Reference

Platform-overridden typedefs and macros for loading assets. More...

Go to the source code of this file.

Macros

#define resource_compare_id(a, b)
 Compare two RESOURCE_ID instances for equivalency.
 
#define resource_assign_id(dest, source)
 Set the content of RESOURCE_ID dest to the same as source.
 

Typedefs

typedef uint32_t RESOURCE_ID
 String or numerical identifier specifying an asset on disk.
 
typedef MEMORY_HANDLE RESOURCE_BITMAP_HANDLE
 Resource handle for physical bitmap asset.
 
typedef MEMORY_HANDLE RESOURCE_JSON_HANDLE
 Resource handle for physical JSON asset.
 

Detailed Description

Platform-overridden typedefs and macros for loading assets.

Macro Definition Documentation

◆ resource_assign_id

#define resource_assign_id ( dest,
source )
Value:
dest = source

Set the content of RESOURCE_ID dest to the same as source.

◆ resource_compare_id

#define resource_compare_id ( a,
b )
Value:
(a == b)

Compare two RESOURCE_ID instances for equivalency.