Hi all,
Anyone knows how to use the these structs/methods? The idea is to create foreground objects (without going for removing strucs or validating areas).
I've tried the code bellow (only showing the related code) and nothing related appears on the screen
Code: Select all
struct sp1_cs *foreground_object;
struct sp1_update foreground_update;
extern unsigned char tilel_gfx[];
sp1_InitCharStruct(foreground_object, SP1_DRAW_LOAD1NR, SP1_TYPE_1BYTE, tilel_gfx, 0);
foreground_update = *sp1_GetUpdateStruct(15, 15); //row 15, col 15
sp1_InsertCharStruct(&foreground_update, foreground_object);
António