hedgewars/hwengine.pas
changeset 8345 9d9b498cfb03
parent 8327 a6f3452f5f94
child 8350 14b938faec69
equal deleted inserted replaced
8343:aa4ea3cade3c 8345:9d9b498cfb03
   274             ParseCommand('fullscr '+intToStr(LongInt(cFullScreen)), true);
   274             ParseCommand('fullscr '+intToStr(LongInt(cFullScreen)), true);
   275             WriteLnToConsole('window resize: ' + IntToStr(cScreenWidth) + ' x ' + IntToStr(cScreenHeight));
   275             WriteLnToConsole('window resize: ' + IntToStr(cScreenWidth) + ' x ' + IntToStr(cScreenHeight));
   276             ScriptOnScreenResize();
   276             ScriptOnScreenResize();
   277             InitCameraBorders();
   277             InitCameraBorders();
   278             InitTouchInterface();
   278             InitTouchInterface();
       
   279             SendIPC('W' + IntToStr(cScreenWidth) + 'x' + IntToStr(cScreenHeight));
   279         end;
   280         end;
   280 
   281 
   281         CurrTime:= SDL_GetTicks();
   282         CurrTime:= SDL_GetTicks();
   282         if PrevTime + longword(cTimerInterval) <= CurrTime then
   283         if PrevTime + longword(cTimerInterval) <= CurrTime then
   283         begin
   284         begin