equal
deleted
inserted
replaced
262 SDL_QUITEV: |
262 SDL_QUITEV: |
263 isTerminated:= true |
263 isTerminated:= true |
264 end; //end case event.type_ of |
264 end; //end case event.type_ of |
265 end; //end while SDL_PollEvent(@event) <> 0 do |
265 end; //end while SDL_PollEvent(@event) <> 0 do |
266 |
266 |
|
267 if (CursorMovementX <> 0) or (CursorMovementY <> 0) then |
|
268 handlePositionUpdate(CursorMovementX * cameraKeyboardSpeed, CursorMovementY * cameraKeyboardSpeed); |
|
269 |
267 if (cScreenResizeDelay <> 0) and (cScreenResizeDelay < RealTicks) and |
270 if (cScreenResizeDelay <> 0) and (cScreenResizeDelay < RealTicks) and |
268 ((cNewScreenWidth <> cScreenWidth) or (cNewScreenHeight <> cScreenHeight)) then |
271 ((cNewScreenWidth <> cScreenWidth) or (cNewScreenHeight <> cScreenHeight)) then |
269 begin |
272 begin |
270 cScreenResizeDelay:= 0; |
273 cScreenResizeDelay:= 0; |
271 cScreenWidth:= cNewScreenWidth; |
274 cScreenWidth:= cNewScreenWidth; |