Commit Graph

  • 90adac8f09 Change: [Actions] stop using 'run-vcpkg' action for Release glx22 2021-02-21 14:59:48 +01:00
  • 58640824d1 Change: [Actions] stop using 'run-cmake' action for Release glx22 2021-02-21 14:40:26 +01:00
  • 2fd2950eb5 Change: [Actions] stop using 'run-vcpkg' action for CI glx22 2021-02-21 01:03:39 +01:00
  • 30ae019095 Change: [Actions] stop using 'run-cmake' action for CI glx22 2021-02-20 22:40:20 +01:00
  • 8476f12432 Change: Improve graph period markings (#8732) Tyler Trahan 2021-02-24 03:18:15 -05:00
  • 79c2b81ffd Fix: vehicle-cursor size-limit did not account for the interface zoom level. frosch 2021-02-23 22:56:01 +01:00
  • 46e13313e4 Fix #8731: Always use a 32bpp blitter if font anti-aliasing is enabled. Michael Lutz 2021-02-23 20:54:50 +01:00
  • c93c9c099e Update: Translations from eints estonian: 7 changes by siimsoni polish: 2 changes by yazalo translators 2021-02-23 18:59:47 +00:00
  • cc465efa67 Change: [Win32] Use more modern way of getting free disk space Niels Martin Hansen 2021-02-21 21:05:43 +01:00
  • b427ddce88 Codechange: Switch to explicit wide strings Niels Martin Hansen 2021-02-21 20:48:21 +01:00
  • beeb9e0a1b Remove: [Win32] Last pretenses of being able to build for Windows 95 Niels Martin Hansen 2021-02-21 20:04:24 +01:00
  • 4bc69fec62 Doc: Remove #5661 from known-bugs, fixed in 1.10 Niels Martin Hansen 2021-02-22 16:42:14 +01:00
  • b67245d71e Fix: [CMake] CMake may use || at the end of custom commands glx22 2021-02-22 19:02:48 +01:00
  • ec9d1a6b8f Fix: [CMake] CMAKE_SOURCE_DIR may contain regex commands glx22 2021-02-22 19:01:21 +01:00
  • 06ca147a82 Fix 8706c36f: Change RELEASE code, too. Michael Lutz 2021-02-22 22:48:51 +01:00
  • 7af1fd3ffb Add: [OSX] OpenGL video driver. Michael Lutz 2021-02-11 00:11:02 +01:00
  • b4a3bc1ffe Codechange: [OpenGL] Separate context state setup from general init. Michael Lutz 2021-02-21 22:17:11 +01:00
  • 7f55f0a264 Codechange: [OSX] Add support for (un)locking the video buffer. Michael Lutz 2021-02-11 00:10:27 +01:00
  • 2f25e9bdf8 Codechange: [OSX] Separate video driver into a base and a Quartz implementation. Michael Lutz 2021-02-07 20:50:41 +01:00
  • 421b599541 Codechange: [SDL2] Split driver in base-part and default backend Michael Lutz 2021-02-11 21:03:18 +01:00
  • a303940372 Feature: [SDL2] OpenGL support Patric Stout 2021-01-17 15:46:38 +01:00
  • a77b202767 Codechange: [SDL] Move dirty_rect to class scope. Michael Lutz 2021-02-21 19:16:18 +01:00
  • e75858ce5e Codechange: [SDL2] Allow several places to hook into the SDL driver Patric Stout 2021-02-11 10:08:04 +01:00
  • 101e394475 Codechange: [SDL2] Move functions and variables to class-scope Patric Stout 2021-02-11 10:00:40 +01:00
  • 0d58bc9384 Codechange: [SDL2] Move SDLSurface code to its own function Patric Stout 2021-02-11 09:34:10 +01:00
  • 6098811b49 Codechange: [SDL2] Split Start() in a few more functions Patric Stout 2021-01-16 15:26:37 +01:00
  • 86c309ea75 Codechange: [OpenGL] Let OpenGL clear the pixel buffer if possible. Michael Lutz 2021-01-17 00:42:14 +01:00
  • 94d8acb7d0 Add: A 32 bpp blitter that uses the animation buffer from the video backend to speed up palette animation. Michael Lutz 2021-01-16 16:43:44 +01:00
  • ae7c63cc35 Codechange: [OpenGL] Use persistently mapped pixel buffers when supported. Michael Lutz 2021-01-16 16:43:43 +01:00
  • 200be7d20c Add: [OpenGL] Support for a separate animation buffer that stores the palette values of the screen in addition to the colour buffer. Michael Lutz 2021-01-16 16:43:42 +01:00
  • 01ef44fa4f Codechange: Allow blitter factories to decide at runtime if the blitter is usable. Michael Lutz 2021-01-16 16:43:40 +01:00
  • d62e302768 Change: [Win32] Prioritize the OpenGL video driver over the GDI one. Michael Lutz 2021-01-16 16:43:39 +01:00
  • 6bcc4884c2 Add: [OpenGL] Accelerated mouse cursor drawing. Michael Lutz 2021-01-16 16:43:38 +01:00
  • d4dbb3f46e Fix: Don't trash video buffer alpha in SSE3/4 blitters. Michael Lutz 2021-01-16 16:43:37 +01:00
  • bcd15b4dd2 Codechange: [OpenGL] Initialize backing store to opaque alpha to allow blending effects. Michael Lutz 2021-01-16 16:43:35 +01:00
  • 1e1a9f3999 Add: A simple, templated cache map that uses a least recently used eviction strategy. Michael Lutz 2021-01-16 16:43:34 +01:00
  • 3e49aff35c Codechange: Allow video drivers to handle the cursor themselves. Michael Lutz 2021-01-16 16:43:33 +01:00
  • 6776229047 Codechange: Make the simple Malloc sprite allocator globally usable. Michael Lutz 2021-01-16 16:43:31 +01:00
  • 70aa3b4011 Codechange: Give sprite encoders a hint which colour components of a sprite are filled with useful information. Michael Lutz 2021-01-16 16:43:30 +01:00
  • e7e5316340 Add: Allow sprite encoders (blitters) to specify an alignment for sprite width and height. Michael Lutz 2021-01-16 16:43:29 +01:00
  • 02e8741457 Codechange: Allow for using a sprite encoder that is not the currently active blitter when loading a sprite. Michael Lutz 2021-01-16 16:43:27 +01:00
  • f94b2e73e1 Codechange: [Win32] Use an OpenGL core context instead of a compatibility one. Michael Lutz 2021-01-16 16:43:26 +01:00
  • e8fc050b6e Add: [OpenGL] Support for 8bpp blitters. Michael Lutz 2021-01-16 16:43:25 +01:00
  • 320072c8dc Codechange: [OpenGL] Explicitly assign which framebuffer target receives the colour values. Michael Lutz 2021-01-16 16:43:24 +01:00
  • 821f30f735 Codechange: [OpenGL] Use GLSL version 1.50 if available. Michael Lutz 2021-01-16 16:43:22 +01:00
  • 90fd8f8cda Codechange: [OpenGL] Use generic vertex attributes in the shader program. Michael Lutz 2021-01-16 16:43:21 +01:00
  • acf59f6b68 Codechange: [OpenGL] Use shaders to display the video buffer on screen. Michael Lutz 2021-01-16 16:43:20 +01:00
  • b181859629 Change: [Win32] Disable VSync for OpenGL by default. Michael Lutz 2021-01-16 16:43:18 +01:00
  • 9a069faa01 Codechange: [Win32] Try to get an OpenGL 3.2+ context if possible. Michael Lutz 2021-01-16 16:43:17 +01:00
  • a990c497b5 Codechange: [OpenGL] Use a pixel buffer object to store the video buffer. Michael Lutz 2021-01-16 16:43:16 +01:00
  • 5af0cfd902 Codechange: [OpenGL] Use a vertex array object to store the vertex state for the video buffer. Michael Lutz 2021-01-16 16:43:14 +01:00
  • acf2ce35f7 Codechange: [OpenGL] Use a vertex buffer object to store the vertex data for the video buffer. Michael Lutz 2021-01-16 16:43:13 +01:00
  • 8706c36fc0 Codechange: [Win32] Move remaing global _wnd variables into the video driver. Michael Lutz 2021-01-16 16:43:12 +01:00
  • d6b6775888 Change: Lock the video buffer when drawing inside the game loop to properly account for threaded drawing. Michael Lutz 2021-01-16 16:43:11 +01:00
  • 73ed748deb Codechange: [Win32] Move the global video buffer pointer into the driver class. Michael Lutz 2021-01-16 16:43:09 +01:00
  • 5ad545dcc1 Codechange: [OpenGL] Only update the dirty parts of the video buffer texture. Michael Lutz 2021-02-21 00:35:35 +01:00
  • 3a77ade6b2 Codechange: [OpenGL] Enable driver debug messages if supported. Michael Lutz 2021-01-16 16:43:07 +01:00
  • d7b96a424f Codechange: [OpenGL] Use new-style extension testing introduced with OpenGL 3.0. Michael Lutz 2021-01-16 16:43:05 +01:00
  • ef478ade64 Add: [Win32] Video driver that uses OpenGL to transfer the video buffer to the screen. Michael Lutz 2021-01-16 16:43:04 +01:00
  • af4d32357c Codechange: [Win32] Move common initialization and finalization to the video driver base class. Michael Lutz 2021-01-16 16:43:03 +01:00
  • 78b8fc3e4f Codechange: [Win32] Move GDI-specific variables and related functions into the GDI video driver class. Michael Lutz 2021-01-16 16:43:02 +01:00
  • 8b90d4abe0 Codechange: [Win32] Move GDI specific drawing code into the GDI video driver class. Michael Lutz 2021-01-16 16:58:48 +01:00
  • 59e0d9618b Codechange: [Win32] Split the video driver into a base class and a GDI backend class. Michael Lutz 2021-01-16 16:42:59 +01:00
  • 78d96dad2a Fix #6319: [Win32] don't use clipping; draw whole screen every frame (#8726) Patric Stout 2021-02-22 21:17:55 +01:00
  • c136dd2b32 Update: Translations from eints english (us): 78 changes by 2TallTyler polish: 1 change by yazalo translators 2021-02-22 19:01:17 +00:00
  • 6af49b7885 Fix #8724: Got wrong DepotID/StationID for airports, causing crash Charles Pigott 2021-02-22 13:50:32 +00:00
  • 80fb1c74f0 Change: Make pathfinder account for maximum order speed, if set Charles Pigott 2021-02-21 23:58:01 +00:00
  • b749d6f1cb Fix: Allow building with Allegro and without SDL on Linux milek7 2021-02-21 22:53:35 +01:00
  • e74069e4c2 Update: Translations from eints estonian: 19 changes by siimsoni french: 3 changes by glx22 translators 2021-02-21 19:00:19 +00:00
  • 8157af6d68 Fix #8276: Crash when a NewGRF object's size was not set Charles Pigott 2021-02-21 17:33:26 +00:00
  • 3af407340e Fix #8349: Close depot vehicle list windows when closing the depot window Charles Pigott 2021-02-21 16:46:02 +00:00
  • 88959f5595 Codechange: [OSX] remove final bits of old debugging code (#8714) Patric Stout 2021-02-21 15:58:26 +01:00
  • 1d6a0c7b52 Fix: [YAPF] Road pathfinder did not account for length of tunnel/bridge in path cost Charles Pigott 2021-02-21 00:07:29 +00:00
  • c461999b2b Fix #8594: [NRT] Road pathfinder did not account for roadtype speed limits Charles Pigott 2021-02-13 22:18:12 +00:00
  • e1b1608dc6 Fix ec1dd0bf: missing override causing compiler warnings (#8708) Patric Stout 2021-02-20 22:14:26 +01:00
  • d16dc22fdf Codechange: Use C++-ism for zeroing. Michael Lutz 2021-02-20 20:55:51 +01:00
  • 5ca979b1e2 Fix: [OSX] Don't wait on the event loop for drawing. Michael Lutz 2021-02-20 19:26:29 +01:00
  • f3c192c63d Codechange: [OSX] Only keep a total dirty rect for drawing. Michael Lutz 2021-02-20 19:01:45 +01:00
  • 61275df7da Update: Translations from eints estonian: 62 changes by siimsoni korean: 1 change by telk5093 russian: 2 changes by Ln-Wolf finnish: 2 changes by hpiirai translators 2021-02-20 19:00:44 +00:00
  • d9b4413bc9 Codechange: rename sound ids to make more sense. (#8701) frosch 2021-02-20 19:01:04 +01:00
  • cb95b1d2e7 Codechange: Apply coding style SamuXarick 2021-02-19 15:06:00 +00:00
  • 058f13bdf9 Remove: [SDL] SDL 1.3 never happened, so remove all the special code for it Patric Stout 2021-02-20 12:36:16 +01:00
  • 0e76d965f1 Codechange: deduplicate tick-handlers of all video drivers Patric Stout 2021-02-20 11:54:33 +01:00
  • 7996fadb91 Change: [Win32] Remove force_full_redraw and display_hz settings Patric Stout 2021-02-20 11:30:09 +01:00
  • 23d6f4eac9 Codechange: [Win32] simplify when/where GdiFlush() is called Patric Stout 2021-02-20 11:22:06 +01:00
  • ec1dd0bf61 Codechange: be consistent in what CheckPaletteAnim() does and when it is called Patric Stout 2021-02-20 11:15:15 +01:00
  • 790fa7102e Codechange: be consistent in naming the paint function Paint() Patric Stout 2021-02-20 11:08:20 +01:00
  • 761efbb457 Codechange: use (Un)LockVideoBuffer() to manage video buffer Patric Stout 2021-02-20 10:49:27 +01:00
  • 661eb39ecc Codechange: move all input-handling of video-drivers into InputLoop Patric Stout 2021-02-19 11:01:49 +01:00
  • 38b4ae1c0e Codechange: [Win32] make fast-forward check the same as with other drivers Patric Stout 2021-02-19 10:45:25 +01:00
  • d21442941c Fix: [Cygwin] Fix missing uint definition Joe Stringer 2021-02-15 18:05:26 -08:00
  • 08821f82b6 Fix: [Win32] run InteractiveRandom() once every tick, not once every message Patric Stout 2021-02-20 10:30:50 +01:00
  • 19fdbac287 Fix: [Win32] now we are drawing on a tick, no longer use WM_PAINT Patric Stout 2021-02-20 10:27:52 +01:00
  • 5fc983a1bb Update: Translations from eints german: 1 change by Wuzzy2 russian: 11 changes by Ln-Wolf catalan: 2 changes by J0anJosep spanish: 14 changes by perezdidac translators 2021-02-19 19:01:10 +00:00
  • b124c49ea4 Fix: [Actions] Also run CI against libsdl1.2 for every pull request Patric Stout 2021-02-19 19:34:40 +01:00
  • 8bf8c0f251 Fix d437445c: also use std::chrono for the GRFFileScanner modal window Patric Stout 2021-02-19 19:31:45 +01:00
  • cb8e1706b2 Fix: [Actions] if SDL2 is installed, it is always picked over SDL1 Patric Stout 2021-02-19 11:05:37 +01:00
  • d3df4674f9 Fix: [Actions] build our allegro driver too in our CI Patric Stout 2021-02-19 11:05:00 +01:00
  • 932abe6d5c Fix fa170b9: [SDL2] forgot to use GetGameInterval where needed Patric Stout 2021-02-19 11:03:15 +01:00
  • 15a0ac2735 Fix cd4f0f95: [Allegro] driver failed to build because of missing include Patric Stout 2021-02-19 11:01:09 +01:00