|
libmsx
C library for MSX
|
SM2 (Sprite Mode 2) internal APIs for BMEM / Resources. More...
#include "sm2.h"
Include dependency graph for sm2_bmem.h:Go to the source code of this file.
Functions | |
| size_t | sm2_load_cel_resource (const char *name, sm2_Cel cels[], size_t cels_max) |
MSX2 Load sprite cels. | |
SM2 (Sprite Mode 2) internal APIs for BMEM / Resources.
Definition in file sm2_bmem.h.
| size_t sm2_load_cel_resource | ( | const char * | name, |
| sm2_Cel | cels[], | ||
| size_t | cels_max ) |
MSX2 Load sprite cels.
| name | Name of resource that contains list of cel data. |
| cels | Array of cell objects to be initialized. |
| cels_max | Number of cels (capacity) of the array. |
ase2msx tool. Therefore, it is usually not necessary to call this. Call “<your_spritte_sheet_name>_init()” instead.