i think thats allready in the wellknown todo-list

layers... waruwaru uses palib. thats the palib code for
backgrounds:
PA_LoadSimpleBg(0,3,BG4_Tiles,BG4_Map,BG_256X256,0,1); // Load BG4 in bg 3 (layer 3??)
PA_LoadSimpleBg(0,2,BG3_Tiles,BG3_Map,BG_256X256,0,1); // Load BG3 in bg 2 (layer 2??)
PA_LoadSimpleBg(0,1,BG2_Tiles,BG2_Map,BG_256X256,0,1); // Load BG2 in bg 1 (layer 1??)
PA_LoadSimpleBg(0,0,BG1_Tiles,BG1_Map,BG_256X256,0,1); // Load BG1 in bg 0 (layer 0??)
max is 4 for each screen.
theres a other way to load a bg:
PA_LoadPAGfxLargeBg(0, //screen
3, //background number (0-3) (layer?)
Large); // Name
limited to 4.
both uses
tiles.
heres a other way, without tiles(8bit), but i dont know where to set the layers there:
PA_Init8bitBg(0,3); // 0=screen 3=priority(#0-3)
PA_LoadNormalBgPal(0,(void*)bmp_Pal);
PA_Load8bitBitmap(0,background_Bitmap);
and now with beautiful 16bit:
PA_Init16bitBg(0, 3);
PA_Load16bitBitmap(0,background_Bitmap);
looks easy...