hedgewars/hwengine.pas
changeset 10273 99032c5be7ba
parent 10266 a90a55ec5b98
child 10302 ea0b0e2efd95
equal deleted inserted replaced
10272:31ee88c9b4d0 10273:99032c5be7ba
   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             updateViewLimits();
   279             SendIPC('W' + IntToStr(cScreenWidth) + 'x' + IntToStr(cScreenHeight));
   280             SendIPC('W' + IntToStr(cScreenWidth) + 'x' + IntToStr(cScreenHeight));
   280         end;
   281         end;
   281 
   282 
   282         CurrTime:= SDL_GetTicks();
   283         CurrTime:= SDL_GetTicks();
   283         if PrevTime + longword(cTimerInterval) <= CurrTime then
   284         if PrevTime + longword(cTimerInterval) <= CurrTime then