///////////////////////////////
#include <acknex.h>
#include <default.c>
#include <mtlFX.c>
#include <mtlView.c>
///////////////////////////////
function main()
{
shadow_stencil = 2;
stencil_blur(1);
fps_max = 50;
video_window(NULL,NULL,0,"My New Game");
level_load("test1.WMB");
wait(4);
}
action cube()
{
while(1)
{
my.pan += time_step;
wait(1);
}
}
action cube_normal()
{
my.material = mtl_specBump;
while(1)
{
my.pan += time_step;
wait(1);
}
}
action cube_glass()
{
my.material = mtl_bumpGlass;
mtl_setup(50,50,50,50);
while(1)
{
my.pan += time_step;
wait(1);
}
}
action light()
{
my.lightrange = 100; // don't illuminate the environment
my.red = 150;
my.green = 150;
my.blue = 150;
}