Commit Graph

49001 Commits (58c02030c28c6419179647841539ea19bd4f22ad)
 

Author SHA1 Message Date
Jonathan G Rennison a1d6354caf Fix: Out of bounds tile access in ErrmsgWindow::OnInitialPosition
This fixes part A of #7619, but not part B.

Vehicle::x_pos and Vehicle::y_pos are not required to be within the map bounds.

See also: GetTileHeightBelowAircraft()
5 years ago
Jonathan G Rennison b07a1f8426 Fix possible incorrect tile index in FindNearestHangar
See also: https://github.com/OpenTTD/OpenTTD/issues/7619
5 years ago
glx da2504a0de Fix e3511ecac: don't use bash specific syntax 5 years ago
Jonathan G Rennison bbd487a2a7 Revert "Avoid unnecessary calls to SettingsDisableElrail in AfterLoadGame"
This reverts commit 5008a09fe9.

This seems to cause regressions with some older savegames/GRF configurations.
5 years ago
Andy cfc4568ddc Doc: revised README to be more helpful to casual GitHub visitors 5 years ago
translators b8abd54181 Update: Translations from eints
czech: 5 changes by djst
5 years ago
glx 196247ae71 Codechange: [AzurePipeline] move docs and source to developer files section 5 years ago
glx e3511ecacd Codechange: [AzurePipeline] add developer files section in manifest 5 years ago
glx 9fc6329066 Cleanup: Remove unused strings 5 years ago
glx fa657c8360 Fix #7631: 16 out cargo support for industry directory 5 years ago
Jonathan G Rennison cbdd9f84d8 Merge branch 'master' into jgrpp
# Conflicts:
#	src/console_gui.cpp
#	src/lang/korean.txt
#	src/video/sdl2_v.cpp
#	src/video/sdl2_v.h
#	src/window.cpp
#	src/window_gui.h
5 years ago
Jonathan G Rennison ea587bc112 Revert "Configure: Bump minimum sdl2 version to 2.0.5"
This reverts commit 93dffed00a.

This is no longer necessary given f13b1845.
5 years ago
translators 4eab70f84e Update: Translations from eints
polish: 115 changes by azabost
vietnamese: 5 changes by nglekhoi
5 years ago
S. D. Cloudt 13cc8a0cee Cleanup: Removed SVN headers 5 years ago
Jonathan G Rennison a15ace0f5b Fix #7783, Fix #7816: [SDL2] Fix input handling in edit context
In particular this fixes handling of the shift key
5 years ago
Jonathan G Rennison 1dba06656d Codechange: Add utility function for whether the focused window is a console 5 years ago
Jonathan G Rennison 81f159434d Codechange: Add EditBoxGainedFocus method to VideoDriver base class 5 years ago
Jonathan G Rennison 46f7c6a641 Change: [SDL2] Add an "unprintable" flag to struct VkMapping
SDL_Keysym::sym is not suitable for checking whether the character
is printable or not
5 years ago
Jonathan G Rennison d41378c00a Fix: [SDL2] Page down key not handled
SDLK_PAGEUP and SDLK_PAGEDOWN are not sequential
They must have separate entries in _vk_mapping
5 years ago
Jonathan G Rennison 3db399d7d9 Fix: [SDL2] Detection of backtick scancode
SDL_Keysym::scancode is a SDL_SCANCODE_* constant, not a raw scan code
5 years ago
Samu 3d362f2513 Fix #7697: Add a Missing AddProducedCargo proc for HQ
On TileLoop_Object, HQs are able to produce and move passengers and mail to stations, but querying the HQ tiles for cargo supplied was returning nothing. This makes it so that they return +1 to both passengers and mail.
5 years ago
Jonathan G Rennison e568100407 Fix SlError exception handling in threaded load mode 5 years ago
Jonathan G Rennison 785eed2958 Fix loading of savegames which use LZO compression 5 years ago
Jonathan G Rennison b26e173b86 Fix out of bounds tile access in ErrmsgWindow::OnInitialPosition
See: https://github.com/OpenTTD/OpenTTD/issues/7619
5 years ago
Jonathan G Rennison 7174d8e9a0 Version: Committing version data for tag: jgrpp-0.32.2 5 years ago
Jonathan G Rennison ca3c72438e Merge branch 'master' into jgrpp
# Conflicts:
#	Makefile.bundle.in
#	src/os/macosx/string_osx.cpp
#	src/station_cmd.cpp
5 years ago
Jonathan G Rennison 91ca46c774 Fix -Wdeprecated-copy and -Wclass-memaccess warnings on GCC 9 5 years ago
Jonathan G Rennison e81697c363 cpp-btree: Fix -Wdeprecated-copy warnings on GCC 9 5 years ago
Jonathan G Rennison 0a027a279d Configure: Add workaround for stack misalignment bug on MacOS 10.15
See: https://forums.developer.apple.com/thread/121887
See: https://trac.ffmpeg.org/ticket/8073
See: https://github.com/jedisct1/libsodium/issues/848
5 years ago
Jonathan G Rennison 7046327b67 Configure: Add configure switch to control use of sigaltstack 5 years ago
Jonathan G Rennison a7404a88bd OSX: Remove use of sigaltstack 5 years ago
Jonathan G Rennison 2ccd3fb5c7 Configure: Add log messages for when debug features disabled 5 years ago
Charles Pigott 85b517cd93 Fix #7606: Game crash when trying to clean up a crashed script
Also fix another possible memory leak

(cherry picked from commit cdf9ff6f5f505517600dc487bc49d9e3cca90d9a)
5 years ago
Jonathan G Rennison daf7cf1913 Fix: SDL2: Detection of backtick scancode
SDL_Keysym::scancode is a SDL_SCANCODE_* constant, not a raw scan code
5 years ago
Jonathan G Rennison 86953e1bef Change: SDL2: Add an "unprintable" flag to struct VkMapping
SDL_Keysym::sym is not suitable for checking whether the character
is printable or not
5 years ago
Jonathan G Rennison ab54beb3af Fix: SDL2: Page down key: SDLK_PAGEUP and SDLK_PAGEDOWN are not sequential
They must have separate entries in _vk_mapping
5 years ago
Jonathan G Rennison 47629d6ed9 Windows: Attempt to log stack overflow and heap corruption exceptions 5 years ago
Jonathan G Rennison beeab28e78 Fix 66b32df7: Use after free in GRFFileScanner::AddFile 5 years ago
Jonathan G Rennison 2be619ea88 Fix #7820: Heap use after free when removing oil rig 5 years ago
Jonathan G Rennison fe4fa46da3 Fix heap use after free when removing oil rig 5 years ago
Jonathan G Rennison e7170463f0 Tidy up dead code in DeleteOilRig 5 years ago
translators 460f73cd2d Update: Translations from eints
tamil: 22 changes by aswn
5 years ago
Charles Pigott 6929429f0f
Fix ccb4c37: Use of possibly uninitialised pointer (#7818) 5 years ago
Charles Pigott 729caa135b Fix: Remove duplicate entry from changelog 5 years ago
Charles Pigott 3775381c10 Fix: [Pipelines] Account for versions being more than one digit when generating changelog output 5 years ago
SamuXarick ccb4c3797f Fix #5405: Aircraft could route to depots outside their range (#7104) 5 years ago
Nikolas Nyby 4884dcacba Fix #7784: up/down/home/end key behavior in SDL2
Closes #7784.
5 years ago
Michael Lutz d5a9bd404a Codechange: [OSX] Use std::unique_ptr with a custom deleter to simply memory management of Core Foundation types. 5 years ago
Jonathan G Rennison c84a454d70 Network: Use shorter UDP MTU where data can be split across multiple packets. 5 years ago
translators 58122983fb Update: Translations from eints
korean: 6 changes by telk5093
5 years ago