New engine features

Top  Previous  Next

Unlimited terrain / vegetation level

 

A terrain / vegetation generation example (infinite_terrain.c) was added to the samples folder. The example uses 9 simultaneous views, creating an unlimited level that displays 60,000 entities per frame at a decent frame rate.

 

aum86_hot1

 

 

Export and import lights from WED

 

The export / import lights feature allows us to compile a level using different sets of lights or to split a level into several wmb entities that share the same set of lights.

 

aum86_hot2

 

aum86_hot3

 

 

sys_winversion

 

This variable gives the version of the Windows operating system that is installed on the PC.

 

STRING* os_str = "#30";

 

FONT* arial_font = "Arial#20";

 

TEXT* os_txt =

{

       pos_x = 300;

       pos_y = 200;

       font = arial_font;

       string(os_str);

       flags = SHOW;

}

 

function main()

{

       switch (sys_winversion)

       

               case 1:   

                       str_cpy(os_str, "Windows 98 SE detected");

                       break; 

               case 2:   

                       str_cpy(os_str, "Windows ME detected");

                       break; 

               case 3:    

                       str_cpy(os_str, "Windows 2000 detected");

                       break; 

               case 4:

                       str_cpy(os_str, "Windows 2003 detected");

                       break; 

               case 5:    

                       str_cpy(os_str, "Windows XP detected");

                       break; 

               case 6:    

                       str_cpy(os_str, "Windows Vista or above detected");

                       break; 

               default:   

                       str_cpy(os_str, "No supported Windows O.S. was detected");

       }

}

 

aum86_hot4