Commit Graph

37620 Commits (1b146b3bff4b1977daa6a5b34961b46265988fc4)

Author SHA1 Message Date
Jonathan G Rennison 1b146b3bff Fix crash when removing/upgrading airport with hangar window open
See: https://github.com/OpenTTD/OpenTTD/issues/8809
4 years ago
Jonathan G Rennison 9bf6d1407f Add screenshot type: whole map at current zoom level 4 years ago
Jonathan G Rennison d6e2b32132 Merge branch 'master' into jgrpp
# Conflicts:
#	src/screenshot.h
4 years ago
Jonathan G Rennison dc7ffb5dc6 Add unset hotkey for industry chains window 4 years ago
Jonathan G Rennison 1c51b7253f Allow following vehicles at all non-map zoom levels 4 years ago
translators f536fd55d8 Update: Translations from eints
swedish: 1 change by kustridaren
spanish (mexican): 4 changes by absay
estonian: 80 changes by siimsoni
arabic (egypt): 13 changes by AviationGamerX
ukrainian: 1 change by StepanIvasyn
dutch: 1 change by Afoklala
portuguese (brazilian): 15 changes by Greavez
4 years ago
Patric Stout 06a3c0cb26 Fix dddf885f: use IConsoleError to produce console errors 4 years ago
Patric Stout 8c6b5e52fd Add: allow making heightmap screenshot via console 4 years ago
Patric Stout ac5e77ea3b Feature: allow custom width/height of screenshot via console
Reworked how the screenshot command works while keeping it backwards
compatible. It can now more freely understand arguments, and has
the ability to make SC_DEFAULTZOOM screenshots.
4 years ago
translators 879eb9c348 Update: Translations from eints
estonian: 22 changes by siimsoni
korean: 1 change by telk5093
serbian: 41 changes by nkrs
german: 1 change by Wuzzy2
romanian: 14 changes by ALEX11BR
russian: 5 changes by Ln-Wolf
finnish: 5 changes by hpiirai
ukrainian: 2 changes by StepanIvasyn
lithuanian: 105 changes by devbotas
spanish: 3 changes by MontyMontana
french: 5 changes by MalaGaM
portuguese (brazilian): 13 changes by Greavez
4 years ago
Jonathan G Rennison 70f3993a55 CMake: Fix host strgen/settingsgen importing 4 years ago
Jonathan G Rennison 5a364d3e8c Merge branch 'master' into jgrpp
# Conflicts:
#	src/blitter/32bpp_optimized.cpp
#	src/lang/serbian.txt
4 years ago
Jonathan G Rennison d566a152bb Skip GfxDetermineMainColours contents in dedicated compiles
Fixes linker error
4 years ago
Patric Stout 0243ae4654
Fix #8799: NGameAllowedSorter() is not imposing strict weak ordering relation (#8801)
In other words, it should only (!) return true if A comes for B.
This promise was broken for the situation where two values are
identical. It would return true in these cases too. This is of
course not possible: if two values are identical, neither come
before the other. As such, the sorter was not imposing strict
weak ordering relations.

libstdc++ handled this scenario just fine, but libc++ crashes
badly on this, as it allowed comparing of [begin, end] instead
of [begin, end).
libc++ considered this not a bug (and by specs, they are correct;
just this way of crashing is of course a bit harsh):
https://bugs.llvm.org/show_bug.cgi?id=47903
4 years ago
Jonathan G Rennison 5724f6e3db
Merge pull request #219 from telk5093/jgrpp
Update: Korean translation
4 years ago
Lastorder f3b850623c
Fix #220 build fail due to missing var
Removed from merge commit dfecdf3afb
4 years ago
TELK 6f4d45f61f Update: Korean - GUI setting for shading trees on slopes 4 years ago
TELK 3b135935c7 Change: Improve Korean translation 4 years ago
Jonathan G Rennison 7e62af94ee Remove OVEERIDE macro 4 years ago
Jonathan G Rennison 865cf79915 Fix missing override keywords 4 years ago
Jonathan G Rennison 3e1589eeae Fix name collision in template replacement enum definition 4 years ago
Jonathan G Rennison 13b34b9917 Fix code style in Town::UpdateLabel 4 years ago
Jonathan G Rennison 3e017ddaa9 Remove unused dirty block size constants 4 years ago
Jonathan G Rennison 32dcc0d484 Linkgraph: Fix unused expression result warning 4 years ago
Jonathan G Rennison 9ca1c04330 Build: Fix use of xmmintrin.h on non-x86 MSVC builds 4 years ago
Jonathan G Rennison 59741b9f3c CMake: Fix HOST_BINARY_DIR cross compiling 4 years ago
Michael Lutz 937d60f239
Fix #8774: Black screenshots when using 40bpp-blitter. (#8791)
This affected all screenshot types that render to an off-screen
buffer and don't copy the actual screen contents.
4 years ago
translators 95462493ef Update: Translations from eints
english (us): 4 changes by 2TallTyler
italian: 4 changes by troccoli
serbian: 251 changes by nkrs
german: 6 changes by ebla71, 2 changes by Wuzzy2
romanian: 3 changes by ALEX11BR
russian: 11 changes by Ln-Wolf
ukrainian: 2 changes by StepanIvasyn
lithuanian: 15 changes by devbotas
spanish: 2 changes by perezdidac
4 years ago
Jonathan G Rennison 2df9c97884 Revert "Change: Zero out the gameloop timers when the game is paused"
This reverts commit 64686b53ff.
4 years ago
Jonathan G Rennison f81c71e15b OpenGL: Temporarily reduce OpenGL driver priorities 4 years ago
Jonathan G Rennison 84a7ab180e Merge branch 'master' into jgrpp
# Conflicts:
#	src/company_cmd.cpp
#	src/lang/greek.txt
#	src/table/settings.ini
4 years ago
Jonathan G Rennison fdfd9753d6 Fix tree shading with 40bpp blitter 4 years ago
Jonathan G Rennison f4e29071be Merge tag '1.11.0-beta2' into jgrpp
# Conflicts:
#	.github/workflows/ci-build.yml
#	.github/workflows/release.yml
#	CMakeLists.txt
#	src/blitter/32bpp_optimized.cpp
#	src/debug.cpp
#	src/gfx.cpp
#	src/gfx_func.h
#	src/lang/czech.txt
#	src/lang/english.txt
#	src/lang/italian.txt
#	src/lang/swedish.txt
#	src/lang/ukrainian.txt
#	src/network/network_server.cpp
#	src/os/windows/crashlog_win.cpp
#	src/os/windows/win32.cpp
#	src/pathfinder/follow_track.hpp
#	src/screenshot.cpp
#	src/settings_type.h
#	src/spritecache.cpp
#	src/vehicle_gui.cpp
#	src/video/sdl2_v.cpp
#	src/video/video_driver.cpp
#	src/video/video_driver.hpp
#	src/video/win32_v.cpp
4 years ago
Michael Lutz c656633bea Fix #8775: [Win32] Don't create the main window when alt-tabbing back into fullscreen. 4 years ago
Michael Lutz b7a44983b4 Fix: [Win32] Original window size was lost when tabbing in and out of fullscreen. 4 years ago
Patric Stout 74aa934441 Codechange: validate that "max" value of settings fit in their storage
This is an easy mistake to make, so protect us against making such
mistakes, by validating it doesn't happen.
4 years ago
Patric Stout d7a70c67ba Fix: old snow_line_height had a higher maximum value than could be stored
So any old game made with this setting was overflowing anyway;
not really a lot we can do about that now.
4 years ago
Patric Stout a0c298a539 Fix: three max-values for settings could exceed their storage size 4 years ago
Patric Stout abac4b1758
Fix c4df0f95: bootstrap was only showing a black screen (#8788)
The bootstrap has the _switch_mode to SM_MENU, and never leaves
this mode. Neither is it considered a modal window (while in some
sense it really is). So .. we need to add another "draw anyway"
exception, to make sure bootstrap is being drawn.
4 years ago
Limyx826 47e899cf75 Add: Malaysia Ringgit as Currency
Cause why not

*Update the formating
4 years ago
Charles Pigott 64686b53ff Change: Zero out the gameloop timers when the game is paused 4 years ago
Charles Pigott ef5cea0e06 Change: De-limit framerate window's framerate 4 years ago
Owen Rudge 838fd61f29 Fix: [OSX] Hide dock when entering fullscreen 4 years ago
Jonathan G Rennison 44d786d8ce MinGW: Fix define fallback for missing SHGFP_TYPE_CURRENT 4 years ago
Jonathan G Rennison a7ed477185 Log savegame compression format used at debug level sl 3 4 years ago
translators 02e7bc7e0a Update: Translations from eints
swedish: 4 changes by kustridaren
norwegian (bokmal): 3 changes by buzzCraft
spanish (mexican): 12 changes by absay
korean: 4 changes by telk5093
greek: 85 changes by sntovas
german: 4 changes by MagnumSociety
catalan: 5 changes by J0anJosep
tamil: 16 changes by Ramesh78dev
dutch: 4 changes by rcpaul
polish: 5 changes by pAter-exe
4 years ago
Jonathan G Rennison edeced8fce Zstd: Enable zstd for autosaves
See also: https://github.com/OpenTTD/OpenTTD/pull/8773
4 years ago
Jonathan G Rennison c2ae7580e0 Zstd: Use zstd for network joins if supported at both ends
See also: https://github.com/OpenTTD/OpenTTD/pull/8773
4 years ago
Jonathan G Rennison 922e8554de Zstd: Fix infinite loop when input exhausted 4 years ago
Jonathan G Rennison ee7f5ad44f Zstd: Indentation fixes 4 years ago