#include "maps\header.ini"

int time;

main()
{
/*  iff(1) { PlayAVI("avi\\sunmoon.avi");return; }
  Load("maps\\mainmenu.map"); */
  iff(1)
  {
    time=GetTime();
    PlayAVI( "avi\\logo.avi" );
    MenuCreate(115,0,320,240);
    return;
  }
  if(GetKey() || MenuVid() || (GetTime()-time)>10000)
    { time=GetTime();NextMap("maps\\mainmenu.map",eff_fade); }//go to mainmenu
  if(nextmap!="")
    if((GetTime()-startnextmap)>700)
    {
      Load(nextmap);return;
    }
}
