ent_createlayer(STRING* filename,var flags,var layer) takes only a file if I want to make a sky. In my project I preload and "pre-cubenize" some skycubes in connection with some shaders:

Code:
BMAP* fx_cube_shiny;
BMAP* fx_cube_ocean;
BMAP* fx_cube_sky_northpole;

void shader_startup ()
{
fx_cube_shiny = bmap_create(FX_CUBE_SHINY);
bmap_to_cubemap(fx_cube_shiny);

fx_cube_ocean = bmap_create(FX_CUBE_WATER);
bmap_to_cubemap(fx_cube_ocean);

fx_cube_sky_northpole = bmap_create(FX_CUBE_SKY_NORTHPOLE);
bmap_to_cubemap(fx_cube_sky_northpole);
}



I just want to take one of these cubes to make a sky from it while passing the BMAP* ... can you please make an additional create-function for skies only which takes a BMAP* ?