maug
Quick and dirty C mini-augmentation library.
Loading...
Searching...
No Matches
RetroFlat Assets API

Functions and macros for handling graphical asset files. More...

Collaboration diagram for RetroFlat Assets API:

Macros

#define mfile_cmp_path(a, b)
 Compare two asset paths. Return 0 if they're the same.
 

Typedefs

typedef char retroflat_asset_path[MAUG_PATH_SZ_MAX+1]
 Path/name used to load an asset from disk.
 

Functions

MERROR_RETVAL mfile_assign_path (retroflat_asset_path tgt, const retroflat_asset_path src, uint8_t flags)
 

Detailed Description

Functions and macros for handling graphical asset files.

Todo
This is kind of a mess and needs better integration with the rest!

Macro Definition Documentation

◆ mfile_cmp_path

#define mfile_cmp_path ( a,
b )
Value:
strncmp( a, b, MAUG_PATH_SZ_MAX )
#define MAUG_PATH_SZ_MAX
Maximum size allocated for asset paths.
Definition mfile.h:35

Compare two asset paths. Return 0 if they're the same.