summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-07Fix 0125892: Don't crash when towns upgrade road tiles during expansion (#8651)Matt Kimber
2021-02-07Fix: [CMake] our allegro drivers use v4, so skip v5 if found (#8653)Patric Stout
On some distros allegro v5 is called allegro-5, but on some others it is not. So this should fix for all distros that allegro v5 is not being picked up, and only v4 is.
2021-02-06Fix #8029: [SDL2] disable draw-thread on wayland SDL video driver (#8648)Patric Stout
When the wayland SDL video driver is used, an EGL context is created in the main thread. It is not allowed to update this context from another thread, which is exactly what our draw-thread is trying. The other solution would be to move all of SDL into the draw-thread, but that would introduce a whole scala of different problems. The wayland SDL backend is significantly faster than the X11 SDL backend, but there is a performance hit nevertheless.
2021-02-05Codechange: [Actions] Document better why we build our own fluidsynth (#8646)Patric Stout
nielsmh nicely correct us in #8641, pointing out the old comment is not telling a complete truth. The result is the same, but it is better to not mislead future-us.
2021-02-05Fix: [CMake] os/windows/openttd.manifest is not a generated fileglx22
2021-02-05Add: [Actions] Automatically upload releases to Steam (#8644)Patric Stout
2021-02-05Feature: [Actions / CMake] support for generic linux builds (#8641)Patric Stout
These bundles can be opened on any "modern" Linux machine with a driver that SDL2 supports. Machines needs at least glibc 2.15, which was released 10 years ago. It is build with CentOS 7 as base, and only assumes the following libraries are available on the system: - libc - libdl - libgcc_s - libpthread - librt - libstdc++ All other libraries the game depends on are bundled together with the game, so users don't need any library installed to use this bundle. The downside of course is that this increases the binary size a bit: 30 MiB of libraries are in this bundle. RPATH is used to make ld-linux find the folder libraries are stored in; however, system libraries are always used before these, in the assumption libraries on the user system are more up-to-date. Using -DOPTION_PACKAGE_DEPENDENCIES=ON switches on packaging of libraries in the "lib" folder. This requires CMake 3.16 to be installed; otherwise it will fail.
2021-02-05Codechange: Apply coding style (#8640)SamuXarick
* Fix: Missing or needed spaces * Codechange: Remove space * Codechange: Remove space * Codechange: More missing spaces * Codechange: Missing spaces * Codechange: Remove space * Codechange: Remove space
2021-02-02Update: Translations from eintstranslators
german: 4 changes by Wuzzy2
2021-02-02Fix: [CMake] Language files should depend on english.txtglx22
2021-02-01Update: Translations from eintstranslators
estonian: 110 changes by siimsoni
2021-01-31Update: Translations from eintstranslators
estonian: 17 changes by siimsoni german: 410 changes by Wuzzy2
2021-01-31Fix: [Emscripten] Pin Dockerfile to emsdk:2.0.10 to prevent patch failure ↵embeddedt
(#8628)
2021-01-31Fix 2db88953: default Network Server List sorter put compatible servers in ↵Patric Stout
wrong order (#8626) If a server is compatible, it falls back to sorting by clients. This used to be in reverse, so full servers are on top. With the codechange commit, this was removed by accident, and as such empty servers were on top. This is silly.
2021-01-31Fix: don't walk out of the map when trying to build tunnels (#8600)Tyler Trahan
2021-01-30Codechange: [SDL2] Use MakeDirty() to force a redrawPatric Stout
The original code is "strictly correct", but just reads really weird, and we use MakeDirty() in several other places instead too.
2021-01-30Codechange: [SDL2] Rework how palette is updatedPatric Stout
It now follows more what the Win32 driver does, and has far less exceptions and special casing. MakePalette creates the Palette and prepares surface. UpdatePalette updates the Palette. CheckPaletteAnim checks if UpdatePalette needs to be called and marks the whole screen dirty so DrawSurfaceToScreen will do a full redraw.
2021-01-30Fix: [SDL2] Display why SDL_CreateWindow() failed in case it doesPatric Stout
All SDL_NNN errors print SDL_GetError, except for this one place.
2021-01-30Codechange: [SDL2] Split away CreateMainWindow from CreateMainSurfacePatric Stout
This makes the code a bit more readable, as both intentions are more clear, and there is less nesting in the main function.
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
There was no default resolution fallback, and the code was different from the win32 driver. It is now named the same and much more similar.
2021-01-30Codechange: [SDL2] remove include-protectionPatric Stout
This is already done by CMake: if SDL2 is not detected, this file is not included.
2021-01-30Update: Translations from eintstranslators
estonian: 353 changes by siimsoni
2021-01-29Update: Translations from eintstranslators
estonian: 85 changes by siimsoni korean: 30 changes by telk5093 portuguese: 24 changes by CheapWebdesign
2021-01-29Codechange: [Actions] we no longer need xdg-basedir (#8615)Patric Stout
This was already removed from the "ci-build", but not yet from "release".
2021-01-28Feature: [Actions] Create .zip for macOS buildOwen Rudge
2021-01-28Update: Translations from eintstranslators
estonian: 5 changes by siimsoni hungarian: 7 changes by andrejmoltok
2021-01-27Update: Translations from eintstranslators
estonian: 117 changes by siimsoni german: 5 changes by Wuzzy2 slovak: 23 changes by FuryPapaya
2021-01-26Update: Translations from eintstranslators
german: 11 changes by Wuzzy2
2021-01-25Update: Translations from eintstranslators
estonian: 7 changes by siimsoni
2021-01-23Update: Translations from eintstranslators
estonian: 12 changes by siimsoni finnish: 1 change by hpiirai
2021-01-22Change: Apply some consistency to singleplayer related commentsglx22
2021-01-22Fix: Use the same safety checks as 'stop_ai' for 'reload_ai'glx22
2021-01-22Fix: Never delete the last existing company in singleplayer modeglx22
2021-01-22Fix: Center text and image in vehicle statusbar verticallydP
2021-01-22Update: Translations from eintstranslators
estonian: 8 changes by siimsoni german: 89 changes by Wuzzy2 finnish: 2 changes by hpiirai dutch: 27 changes by Afoklala
2021-01-22Doc: Prepare for 1.11.0-beta1 releaseCharles Pigott
2021-01-22Doc: Forwardport changelog & doc changes from 1.10 branchCharles Pigott
2021-01-22Feature: Allow GameScripts to add additional text to Industry view windowdP
2021-01-22Feature: Add tile parameter for GSCompany.ChangeBankBalance to show text ↵Pavel Stupnikov
effect if needed (#8573)
2021-01-22Doc: add a png representation of the palette overlaid with indexes (decimal) ↵Andy
(#8547)
2021-01-21Update: Translations from eintstranslators
estonian: 15 changes by siimsoni russian: 23 changes by Ln-Wolf
2021-01-20Update: Translations from eintstranslators
german: 2 changes by Wuzzy2 russian: 13 changes by Ln-Wolf
2021-01-19Update: Translations from eintstranslators
german: 23 changes by Wuzzy2 russian: 70 changes by Ln-Wolf
2021-01-18Change: [NewGRF] industry special flag 19 now specifically targets only ↵frosch
passenger production, instead of the second cargo of any water-based industry. (#8590) This behavior is less surprising to NewGRF authors, and may even be intentional behavior for some industries.
2021-01-18Fix #8589, 653e7fa548: Motion counter is NewGRF-visible but not saved, ↵Michael Lutz
leading to desyncs. (#8591)