hedgewars/hwengine.pas
changeset 7235 baa69bd025d9
parent 7198 5debd5fe526e
child 7286 068adc6948e3
equal deleted inserted replaced
7231:f484455dd055 7235:baa69bd025d9
   413     InitSound();
   413     InitSound();
   414 
   414 
   415     isDeveloperMode:= false;
   415     isDeveloperMode:= false;
   416     TryDo(InitStepsFlags = cifAllInited, 'Some parameters not set (flags = ' + inttostr(InitStepsFlags) + ')', true);
   416     TryDo(InitStepsFlags = cifAllInited, 'Some parameters not set (flags = ' + inttostr(InitStepsFlags) + ')', true);
   417     ParseCommand('rotmask', true);
   417     ParseCommand('rotmask', true);
   418 
   418     
       
   419 {$IFDEF USE_VIDEO_RECORDING}
   419     if GameType = gmtRecord then
   420     if GameType = gmtRecord then
   420         RecorderMainLoop()
   421         RecorderMainLoop()
   421     else
   422     else
       
   423 {$ENDIF}
   422         MainLoop();
   424         MainLoop();
   423 
   425 
   424     // clean up all the memory allocated
   426     // clean up all the memory allocated
   425     freeEverything(true);
   427     freeEverything(true);
   426 end;
   428 end;