///////////////////////////////
#include <acknex.h>
#include <default.c>
///////////////////////////////
void main()
{
fps_max = 60;
video_mode = 6;
camera.stage = view_create(0);
set(camera.stage,PROCESS_TARGET);
level_load(NULL);
me = ent_create(CUBE_MDL,vector(128,0,0),NULL);
var videoSwitchCounter = 32;
var videoSwitchMode = 8;
while(1)
{
my.pan += 6*time_step;
draw_text(str_printf(NULL,"d3d_texbmaps: %.1f",(double)d3d_texbmaps),20,20,COLOR_WHITE);
videoSwitchCounter = maxv(videoSwitchCounter-time_step,0);
if(!videoSwitchCounter)
{
videoSwitchCounter = 16;
videoSwitchMode++;
if(videoSwitchMode > 12) videoSwitchMode = 8;
video_switch(videoSwitchMode,0,2);
}
wait(1);
}
}