void main(){
fps_max = 60;
level_load("");
wait(3);
ent_create(CUBE_MDL, vector(200, 50, 0), NULL);
ent_create(CUBE_MDL, vector(200, 0, 0), NULL);
ent_create(CUBE_MDL, vector(200, -50, 0), NULL);
while(1){
fps_max = 60;
if(mouse_right){
fps_max = 30;
}
if(mouse_left){
fps_max = 512;
}
DEBUG_VAR(fps_max, 10);
camera.pan -= mickey.x * time_step; // try without time_step too
wait(1);
}
}