I dont get it... I am using this very simple stuff below:

Code:
#include <acknex.h>
#include <default.c>
////////////////////////////////////////////////////////////////////
#define xmax 1024
#define ymax 768
#define fscreen 1
 
BMAP* nneglogo = "images\\nnegamingLOGO.bmp";
BMAP* dhlogo = "images\\dementia_hillsLOGO.bmp";
BMAP* dhmenustart = "images\\dhmenustart.bmp";
BMAP* dhmenustartover = "images\\dhmenustart_over.bmp";
BMAP* mcursor = "images\\brokenarrow.pcx";
ENTITY* skycube;

PANEL* splash1 = {
	pos_x=0;
	pos_y=0;
	layer=1;
	bmap = nneglogo;
	flags = VISIBLE;	
}

PANEL* mainmenu = {
	pos_x=0;
	pos_y=350;
	layer=2;
	button(0,0,dhmenustart,dhmenustart,dhmenustartover,startworld,NULL,NULL);
	flags = OVERLAY;
}

function startworld(){
	level_load("");
	skycube = ent_createlayer("images\\Sky_2+6.tga", SKY | CUBE | VISIBLE, 0);
	vec_set(skycube.blue,vector(128,128,128));
	toggle(mainmenu,VISIBLE);
	toggle(splash1,VISIBLE);
		
}


function main()
{
	video_set(xmax,ymax,32,fscreen);
	screen_color.blue=150;
	wait(2);
	wait(-10);
	splash1.bmap=dhlogo;
	wait(-1);
	toggle(mainmenu,VISIBLE);
	
	
	mouse_map= mcursor;
	mouse_mode = 2;
	//delay the inevitable
	while(key_pressed(key_for_str("q"))  == 0) {
		mouse_pos.x = mouse_cursor.x;
      mouse_pos.y = mouse_cursor.y;
		wait(1);
	}
	sys_exit("p00!");
}


EVERYTHING in it works great except it sez bad file format for ANY skyecube TGA i try to use.


See more code and crap @ www.neuroticnetworks.com