Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-01-31 | Fix: don't walk out of the map when trying to build tunnels (#8600) | Tyler Trahan | |
2021-01-30 | Codechange: [SDL2] Use MakeDirty() to force a redraw | Patric Stout | |
The original code is "strictly correct", but just reads really weird, and we use MakeDirty() in several other places instead too. | |||
2021-01-30 | Codechange: [SDL2] Rework how palette is updated | Patric 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-30 | Fix: [SDL2] Display why SDL_CreateWindow() failed in case it does | Patric Stout | |
All SDL_NNN errors print SDL_GetError, except for this one place. | |||
2021-01-30 | Codechange: [SDL2] Split away CreateMainWindow from CreateMainSurface | Patric 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-30 | Codechange: [SDL2] reworked the different surfaces to make it more readable | Patric Stout | |
2021-01-30 | Codechange: [SDL2] Only prepare "caption" if you are going to us it | Patric Stout | |
2021-01-30 | Codechange: [SDL2] Minor code cleanup to remove silly variable | Patric Stout | |
2021-01-30 | Codechange: [SDL2] Only set _cur_palette, never _local_palette | Patric Stout | |
2021-01-30 | Codechange: [SDL2] Move FindStartupDisplay to its own function | Patric Stout | |
2021-01-30 | Codechange: [SDL2] reworked FindResolutions to be more like the rest | Patric 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-30 | Codechange: [SDL2] remove include-protection | Patric Stout | |
This is already done by CMake: if SDL2 is not detected, this file is not included. | |||
2021-01-30 | Update: Translations from eints | translators | |
estonian: 353 changes by siimsoni | |||
2021-01-29 | Update: Translations from eints | translators | |
estonian: 85 changes by siimsoni korean: 30 changes by telk5093 portuguese: 24 changes by CheapWebdesign | |||
2021-01-28 | Update: Translations from eints | translators | |
estonian: 5 changes by siimsoni hungarian: 7 changes by andrejmoltok | |||
2021-01-27 | Update: Translations from eints | translators | |
estonian: 117 changes by siimsoni german: 5 changes by Wuzzy2 slovak: 23 changes by FuryPapaya | |||
2021-01-26 | Update: Translations from eints | translators | |
german: 11 changes by Wuzzy2 | |||
2021-01-25 | Update: Translations from eints | translators | |
estonian: 7 changes by siimsoni | |||
2021-01-23 | Update: Translations from eints | translators | |
estonian: 12 changes by siimsoni finnish: 1 change by hpiirai | |||
2021-01-22 | Change: Apply some consistency to singleplayer related comments | glx22 | |
2021-01-22 | Fix: Use the same safety checks as 'stop_ai' for 'reload_ai' | glx22 | |
2021-01-22 | Fix: Never delete the last existing company in singleplayer mode | glx22 | |
2021-01-22 | Fix: Center text and image in vehicle statusbar vertically | dP | |
2021-01-22 | Update: Translations from eints | translators | |
estonian: 8 changes by siimsoni german: 89 changes by Wuzzy2 finnish: 2 changes by hpiirai dutch: 27 changes by Afoklala | |||
2021-01-22 | Feature: Allow GameScripts to add additional text to Industry view window | dP | |
2021-01-22 | Feature: Add tile parameter for GSCompany.ChangeBankBalance to show text ↵ | Pavel Stupnikov | |
effect if needed (#8573) | |||
2021-01-21 | Update: Translations from eints | translators | |
estonian: 15 changes by siimsoni russian: 23 changes by Ln-Wolf | |||
2021-01-20 | Update: Translations from eints | translators | |
german: 2 changes by Wuzzy2 russian: 13 changes by Ln-Wolf | |||
2021-01-19 | Update: Translations from eints | translators | |
german: 23 changes by Wuzzy2 russian: 70 changes by Ln-Wolf | |||
2021-01-18 | Change: [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-18 | Fix #8589, 653e7fa548: Motion counter is NewGRF-visible but not saved, ↵ | Michael Lutz | |
leading to desyncs. (#8591) | |||
2021-01-18 | Feature: Add support for rdtsc for ARM-based Windows (MSVC) | Owen Rudge | |
2021-01-17 | Codechange: [SDL2/Win32] Be consistent how 0bpp blitters are not allowed | Patric Stout | |
Sometimes it returned an usererror(), sometimes Start() failed. Now it always fails on Start(), so nothing else has to check again what blitter is used. AfterBlitterChange() can never change to a 0bpp, so it is sufficient to guard this with an assert(). | |||
2021-01-17 | Codechange: [Win32] Use _local_palette for most operations | Patric Stout | |
Other drivers do this too, and this makes the world a bit more the same. | |||
2021-01-17 | Codechange: [Win32] use CSleep() instead of Sleep() like everywhere else | Patric Stout | |
Functional it is identical. Just helps future-us when searching for sleeps. | |||
2021-01-17 | Codechange: [Win32] Use return-early in RegisterWndClass() | Patric Stout | |
2021-01-17 | Codechange: [Win32] Remove Windows 95 specific mouse tracking work-around. | Michael Lutz | |
2021-01-17 | Fix eeb88e8: Trains reversed while paused do not correctly update sprite ↵ | Matt Kimber | |
bounds (#8540) | |||
2021-01-17 | Update: Translations from eints | translators | |
catalan: 11 changes by J0anJosep | |||
2021-01-16 | Fix 0e62a398c7f: Only center the window, when it is smaller than the screen. ↵ | frosch | |
(#8581) | |||
2021-01-16 | Update: Translations from eints | translators | |
norwegian (bokmal): 65 changes by fnutt french: 1 change by glx22 | |||
2021-01-14 | Add: [SDL2] video driver parameter to put OpenTTD on a particular display on ↵ | frosch | |
start. By default use the display where the mouse cursor is. (#8572) | |||
2021-01-14 | Feature: Choose a sensible window size on a fresh OTTD config file. (#8536) | Michael Lutz | |
2021-01-14 | Update: Translations from eints | translators | |
norwegian (bokmal): 10 changes by buzzCraft spanish (mexican): 7 changes by absay korean: 1 change by telk5093 indonesian: 30 changes by dimaspaf14 finnish: 1 change by hpiirai catalan: 2 changes by gerardnll portuguese (brazilian): 4 changes by AKANexus polish: 1 change by yazalo | |||
2021-01-14 | Fix #7670: prevent useless pathfinder run for blocked vehicles | glx22 | |
2021-01-13 | Add: Console command to dump debugging information (#8548) | Jonathan G Rennison | |
2021-01-13 | Update: Translations from eints | translators | |
korean: 14 changes by telk5093 finnish: 1 change by hpiirai spanish: 41 changes by MontyMontana polish: 5 changes by yazalo | |||
2021-01-13 | Fix #8560: Planes were landing at the wrong height at airports with lowered ↵ | Charles Pigott | |
hangar tiles | |||
2021-01-13 | Feature: Show rainforest under vegetation on small map | SamuXarick | |
2021-01-13 | Change: darken the background of all graph to increase contrast (#8557) | Patric Stout | |
Now lines like Mauve, Dark Green and Purple are much more visible without hurting the other colours. |