summaryrefslogtreecommitdiff
path: root/src/video/sdl2_v.cpp
AgeCommit message (Expand)Author
2021-02-24Codechange: [Video] move InteractiveRandom() to the VideoDriverPatric Stout
2021-02-24Codechange: [Video] make the prototype of PollEvent() the same for all driversPatric Stout
2021-02-22Codechange: [SDL2] Split driver in base-part and default backendMichael Lutz
2021-02-22Codechange: [SDL] Move dirty_rect to class scope.Michael Lutz
2021-02-22Codechange: [SDL2] Allow several places to hook into the SDL driverPatric Stout
2021-02-22Codechange: [SDL2] Move functions and variables to class-scopePatric Stout
2021-02-22Codechange: [SDL2] Move SDLSurface code to its own functionPatric Stout
2021-02-22Codechange: [SDL2] Split Start() in a few more functionsPatric Stout
2021-02-20Codechange: Use C++-ism for zeroing.Michael Lutz
2021-02-20Codechange: deduplicate tick-handlers of all video driversPatric Stout
2021-02-20Codechange: be consistent in what CheckPaletteAnim() does and when it is calledPatric Stout
2021-02-20Codechange: be consistent in naming the paint function Paint()Patric Stout
2021-02-20Codechange: use (Un)LockVideoBuffer() to manage video bufferPatric Stout
2021-02-20Codechange: move all input-handling of video-drivers into InputLoopPatric Stout
2021-02-19Fix fa170b9: [SDL2] forgot to use GetGameInterval where neededPatric Stout
2021-02-19Fix: during switching of game-mode, drawing could show closed windows that sh...Patric Stout
2021-02-19Feature: configurable refresh-rate and change default to 60fpsPatric Stout
2021-02-19Change: sleep till the next tick in the main loopPatric Stout
2021-02-19Change: allow video-drivers to miss deadlines slightlyPatric Stout
2021-02-19Add: draw the screen at a steady pace, also during fast-forwardPatric Stout
2021-02-19Codechange: track _realtime_tick more accuratePatric Stout
2021-02-19Codechange: switch all video drivers to std::chrono for keeping timePatric Stout
2021-02-17Fix: [SDL2] simplify what to redraw to prevent tearing (#8685)Patric Stout
2021-02-17Fix 52317bb7: [SDL2] ensure we don't try to blit out of bounds (#8684)Patric Stout
2021-02-14Fix: VkMapping declarations violated C++ ODR rule.milek7
2021-02-11Change: [SDL2] Remove unneeded delay of redrawing the screenPatric Stout
2021-02-11Codechange: [SDL2] Don't use globals if we can do with localsPatric Stout
2021-02-11Codechange: [SDL2] Name paint function Paint(), like other drivers doPatric Stout
2021-02-11Fix 30e69c51: palette was not marked dirty when creating a newPatric Stout
2021-02-06Fix #8029: [SDL2] disable draw-thread on wayland SDL video driver (#8648)Patric Stout
2021-02-05Codechange: Apply coding style (#8640)SamuXarick
2021-01-30Codechange: [SDL2] Use MakeDirty() to force a redrawPatric Stout
2021-01-30Codechange: [SDL2] Rework how palette is updatedPatric Stout
2021-01-30Fix: [SDL2] Display why SDL_CreateWindow() failed in case it doesPatric Stout
2021-01-30Codechange: [SDL2] Split away CreateMainWindow from CreateMainSurfacePatric Stout
2021-01-30Codechange: [SDL2] reworked the different surfaces to make it more readablePatric Stout
2021-01-30Codechange: [SDL2] Only prepare "caption" if you are going to us itPatric Stout
2021-01-30Codechange: [SDL2] Minor code cleanup to remove silly variablePatric Stout
2021-01-30Codechange: [SDL2] Only set _cur_palette, never _local_palettePatric Stout
2021-01-30Codechange: [SDL2] Move FindStartupDisplay to its own functionPatric Stout
2021-01-30Codechange: [SDL2] reworked FindResolutions to be more like the restPatric Stout
2021-01-30Codechange: [SDL2] remove include-protectionPatric Stout
2021-01-17Codechange: [SDL2/Win32] Be consistent how 0bpp blitters are not allowedPatric Stout
2021-01-16Fix 0e62a398c7f: Only center the window, when it is smaller than the screen. ...frosch
2021-01-14Add: [SDL2] video driver parameter to put OpenTTD on a particular display on ...frosch
2021-01-14Feature: Choose a sensible window size on a fresh OTTD config file. (#8536)Michael Lutz
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-12-27Codechange: Use std::string in FIO search path handling.Michael Lutz
2020-12-15Add: [Emscripten] use "relative mouse mode" with SDL2Patric Stout
2020-12-15Add: support for emscripten (play-OpenTTD-in-the-browser)Patric Stout