Commit Graph

48879 Commits (7949de2c0507e4621068a62902884ff2df2bfc6d)
 

Author SHA1 Message Date
Niels Martin Hansen 9900af38f5
Fix #7847: Use ViewportSign coordinates for sign Kdtree coordinates (#7849)
Ensure the same coordinates are used for station/town/player signs regardless of how the landscape changes below it after the coordinates were first determined.

By keeping track of whether each ViewportSign is valid for Kdtree use (and only ever registering the viewport sign when the object is valid) a lot of code can be simplified and become more robust at the same time.
5 years ago
translators f91c701ffe Update: Translations from eints
hungarian: 1 change by Brumi
5 years ago
stormcone 40ebf3c765 Fix: Do not refer to a function in the documentation that was removed years ago (#7844)
The 'DoDrawString' was removed with this commit: f11300d
5 years ago
glx22 d865916a07 Fix #7836: Check coherency of NewGRF parameter min/max (#7840) 5 years ago
Jonathan G Rennison 9094df9ccc Version: Committing version data for tag: jgrpp-0.32.3 5 years ago
Jonathan G Rennison b8ab9debed Merge branch 'master' into jgrpp 5 years ago
translators ef8455f549 Update: Translations from eints
vietnamese: 73 changes by myquartz
5 years ago
Jonathan G Rennison 114fe3d3ec
Merge pull request #117 from telk5093/jgrpp
ko-KR: Apply commit 2b0c1a5
5 years ago
frosch 61dba850af Revert #7837, 7e22f243e: OpenTTD tries to replicate the original game mechanics.
Making numbers look nice and correlate is no goal, and in this case they actually did not correlate.
5 years ago
TELK afd0fa093f ko-KR: Apply commit 2b0c1a5 5 years ago
Jonathan G Rennison 2b0c1a5930 Separate allow stations under bridges into settings for: rail, road, docks 5 years ago
Jonathan G Rennison acc946f505 Always allow buoys under bridges 5 years ago
translators c7b703d426 Update: Translations from eints
vietnamese: 36 changes by myquartz
5 years ago
Jonathan G Rennison 252a690ac4 Fix use of station GRF disallowed bridge pillar flags. 5 years ago
Yourself 7e22f243ed Fix: typo in town growth rates (#7837) 5 years ago
Jonathan G Rennison 8b9c9e93f8 Win32: Load AddVectoredExceptionHandler function at run time
See: #116
5 years ago
translators d242b1824c Update: Translations from eints
vietnamese: 19 changes by myquartz
russian: 5 changes by Lone_Wolf
korean: 5 changes by telk5093, 1 change by kevinhigh
5 years ago
Jonathan G Rennison b132272fb1 Fix give money number parsing when input value is greater than INT32_MAX
See: https://github.com/OpenTTD/OpenTTD/issues/7750
5 years ago
Jonathan G Rennison ab3a373c73 Merge branch 'master' into jgrpp 5 years ago
Jonathan G Rennison 150a78c715 TBTR: Fix various scaling and alignment issues in template window 5 years ago
translators 70f8c729d4 Update: Translations from eints
french: 7 changes by glx
5 years ago
Jonathan G Rennison 6d30809fc7 Tracerestrict: Add support for signalled tunnel/bridges to PBS entry signal conditional 5 years ago
glx22 e3dc65978d Fix e3511ecac: Don't use bash specific syntax (again) (#7835) 5 years ago
Charles Pigott 60cbddbb5f Fix #7606: Game crash when trying to clean up a crashed script
Also fix another possible memory leak
5 years ago
Charles Pigott cf354f6668 Codechange: new instead of malloc 5 years ago
glx22 ddffe32f15 Fix #7646: Incomplete cleanup for non-threaded world generation failure (#7805) 5 years ago
glx22 0bdbd509be Fix #7673: [Script] Allow removal of custom town text (#7834) 5 years ago
translators b533c66f42 Update: Translations from eints
finnish: 5 changes by hpiirai
galician: 183 changes by Michi
polish: 5 changes by azabost
dutch: 6 changes by JanWillem
spanish (mexican): 5 changes by Absay
5 years ago
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