Commit Graph

17358 Commits (c46581e91f0e2c8f489494bb9cdc1752db79d8e5)

Author SHA1 Message Date
Michael Lutz 994664dec5 Fix #7644: [OSX] Try to use system colour space to avoid video output performance degradation. 5 years ago
Niels Martin Hansen d35254139a Fix #7479: Don't close construction windows when changing client name 5 years ago
Johannes E. Krause 1978b9122b Fix #7737, afbf6a5: missing return 5 years ago
glx22 2ed88d6898
Fix: inconsistent description for 32bpp-sse4-anim blitter (#7740) 5 years ago
Owen Rudge 165eae0e80 Fix: Avoid using stat to retrieve file modification times on Windows (#7731) 5 years ago
translators f81cb0a90d Update: Translations from eints
korean: 1 change by telk5093
5 years ago
translators b30994168d Update: Translations from eints
korean: 34 changes by telk5093
5 years ago
Juriy Petrochenkov 7bdde8b41d Fix: Use natural sort when sorting the file list. 5 years ago
Max Maton e4414471dd Add: Allow GameScript to demolish without a company
This allows GameScripts to shrink towns as well as grow them.
5 years ago
Andy 9014633866 Fix: change Quartz driver colorSpace handling to address certain macOS performance issues (#7644) 5 years ago
Niels Martin Hansen 0549a81c30 Fix b3fd7879: Ignore command flags when verifying script commands
Multiplayer games has the server add some flags to the cmd value during the handling.
These flags should not be included in the verification, mask them out. Without this
masking out, scripts tend to die when executing their first command in multiplayer.
5 years ago
glx22 b3fd787959 Fix #7188: check the validity of command callback for scripts (#7701) 5 years ago
Daniel Lee 2d9eb1c417 Fix #7626: Allow building drive-through stops over one-way/blocked roads owned by towns (instead of crashing). 5 years ago
translators 058dadf315 Update: Translations from eints
french: 4 changes by glx
5 years ago
JMcKiern fbbbc6e193 Fix #7692: Added industry tile to GetOrderCmdFromTile() (#7709)
Sending order command to an industry tile now checks if a neutral_station is available and sends the order to that station
5 years ago
translators c4850475c3 Update: Translations from eints
slovenian: 4 changes by matej1245
5 years ago
Niels Martin Hansen d649011dfc Fix #7702: Scaling for highscore screen 5 years ago
glx22 cf86c39be5
Fix b870596f153c17d9aa915ca67b8f6414d73cb31f: forgotten squirrel_export run (#7715) 5 years ago
uvealonso ead772324e Fix #7704: [OSX] Handle malformed UTF8 strings 5 years ago
Niels Martin Hansen a933afabfd Add: [Win32] Select MIDI device by port name 5 years ago
Nikolas Nyby 28e11623bd Codechange: math functions - use cpp-style casts 5 years ago
translators 14bca19163 Update: Translations from eints
italian: 4 changes by lorenzodv
5 years ago
translators c7c1d1cb0c Update: Translations from eints
spanish: 1 change by lpenap
5 years ago
translators dabccf70b4 Update: Translations from eints
dutch: 2 changes by JanWillem
russian: 7 changes by Lone_Wolf
5 years ago
Niels Martin Hansen 5feb06e3f3 Add: Scale oil refinery edge distance up by map size
Also scales oil rig distance up, since they use the same algorithm.
5 years ago
Gabda b870596f15 Add #6887: Option to show zone inside local authority boundary of towns
Can be found at town information > local authority window
Layout for button is same as Graph Keys
Turn on/off for every town individually
5 years ago
Juriy Petrochenkov d986f01d07 Codechange: Reduced indentation in SaveLoadWindow::OnClick 5 years ago
Juriy Petrochenkov f0aea2d246 Fix: RemoveAirport function now returns with 'Aircraft in the way' error message as it should be. 5 years ago
translators 27d676e17a Update: Translations from eints
danish: 2 changes by njn
5 years ago
nikolas 10fe568f08 Fix: typo in ScriptList::Valuate param error (#7687) 5 years ago
nikolas 7a70900227 Fix: Typo in running costs help text 5 years ago
translators 9fd91f9b69 Update: Translations from eints
english (us): 2 changes by njn
5 years ago
nikolas 9d6fb257c3 Cleanup: Remove duplicate thread.h include (#7683) 5 years ago
TELK bcc73bd40d Add: 'getsysdate' console command (#7658)
Add `getsysdate` console command to display system's local time, which is might be useful to check current time in script logging.
5 years ago
Johannes E. Krause afbf6a5918 Feature: Allow showing Newspaper and Ticker messages in parallel 5 years ago
glx 8cccb158e9 Fix #7672: more than 32 resolutions may be available 5 years ago
TTrebron 425cd3e4ca Fix #7655: Decrease buttons in cheat window do not work properly 5 years ago
stormcone 2e686ad5d5 Fix #7667: Buying an engine after buying wagons doesn't give a complete train. 5 years ago
stormcone 2817cd41f1 Fix #7250: Viewport kdtree not being updated for waypoints when sign moved.
Code based on the patch by JGRennison.
JGRennison/OpenTTD-patches@ac84f34062
5 years ago
TELK 196d586849 Feature: Town name filtering (#7621) 5 years ago
Jonathan G Rennison d71a7c21da Fix #7593: Crash in ScriptOrder::GetOrderDistance in VT_AIR mode
Null pointer dereference occurred when either origin_tile or dest_tile
were waypoint tiles.
5 years ago
Alberth 5981ed248a Codechange: Remove unused FioTarFirstDir and FioTarAddLink functions 5 years ago
Niels Martin Hansen 331eba544a Fix: Narrowing cast in one storybook command
CompanyID is 8 bit wide, so this incorrect cast would make it impossible to create story page elements for pages past 255.
5 years ago
translators 88950d8f23 Update: Translations from eints
swedish: 49 changes by daishan
spanish: 80 changes by lpenap
5 years ago
translators 24cec63a3d Update: Translations from eints
welsh: 13 changes by kazzie
spanish: 35 changes by lpenap
5 years ago
dP 36e4bd4023 Fix: Make GSGoal.QuestionClient work correctly at least for clients with ID < 2**16 5 years ago
translators a52bbb72a8 Update: Translations from eints
welsh: 4 changes by kazzie
5 years ago
Niels Martin Hansen 1e723934a1 Fix 27384486e4: Error in GM Reset sysex data 5 years ago
pnda a35b43ce93 Fix #6666: Mismatched parentheses in RTL languages 5 years ago
unknown 6f28a0c051 Fix #5685: Check for free wagons in ScriptVehicleList 5 years ago
Niels Martin Hansen 81614f2378 Fix #7633: Allow zero-cost track conversion to succeed 5 years ago
glx 603f625fda Fix f53817987: unsafe mix of type 'TileIndex' and type 'bool' 5 years ago
Niels Martin Hansen a0c78c73e3 Fix: Correctly reset playback between songs in win32_m driver 5 years ago
Niels Martin Hansen 27b7c5a5fd Fix: Correctly reset playback between songs in DMusic driver 5 years ago
Niels Martin Hansen a4cf1c8aec Fix: Don't keep mutex locked while parsing MIDI data 5 years ago
Niels Martin Hansen 9839ce006c Fix: Time values should be DWORD everywhere in win32_m 5 years ago
Niels Martin Hansen f8633fc63b Codechange: Fix comment indentation 5 years ago
Niels Martin Hansen 27384486e4 Codechange: Use common source for well-known SysEx messages in Windows music drivers 5 years ago
Niels Martin Hansen 9d8a83bf8d Codechange: Add some const in preparation 5 years ago
Niels Martin Hansen c74df8581d Codechange: Use std::mutex instead of CRITICAL_SECTION in win32_m 5 years ago
translators 2e23c5ec15 Update: Translations from eints
korean: 1 change by telk5093
5 years ago
peter1138 0db31ae27f Change: Avoid caching end of ship path, to allow penalties to apply. 5 years ago
peter1138 31db4f8d5e Add: Penalty for occupied docking points. 5 years ago
peter1138 ec2656ab7e Codechange: Restrict docking points of docks. 5 years ago
peter1138 f538179878 Feature: Multi-tile docks and docking points. 5 years ago
translators f1c3915341 Update: Translations from eints
norwegian (bokmal): 25 changes by Leifbk
5 years ago
translators ac610c50a9 Update: Translations from eints
italian: 38 changes by lorenzodv
5 years ago
translators b878891289 Update: Translations from eints
english (us): 38 changes by njn
5 years ago
translators 7ad9971cf0 Update: Translations from eints
croatian: 3 changes by VoyagerOne
5 years ago
translators 7f7aba9389 Update: Translations from eints
hungarian: 3 changes by Brumi
5 years ago
translators 00000ef8fa Update: Translations from eints
korean: 3 changes by telk5093
5 years ago
translators 0518ed01b6 Update: Translations from eints
czech: 48 changes by djst
russian: 3 changes by Lone_Wolf
5 years ago
translators 45511080b1 Update: Translations from eints
finnish: 3 changes by hpiirai
dutch: 3 changes by JanWillem
bulgarian: 54 changes by zhelyo
french: 3 changes by glx
5 years ago
iigmir 5b09323a58 Add: Currency: NTD, CNY, HKD 5 years ago
stormcone 6396ec05fe Fix #7609: In the sprite aligner window the 'Reset relative' button crashes the game.
The 'offs_start_map' is a 'SmallMap', so its own 'Erase' function should be called instead of the underlying vector's 'erase' function.
And fix a "typo". :)
5 years ago
glx22 846fc8fe09
Fix: vcpkg used to patch lzma.h to define LZMA_API_STATIC for static builds (#7614) 5 years ago
translators ef74af6766 Update: Translations from eints
finnish: 32 changes by hpiirai
spanish (mexican): 16 changes by Absay
5 years ago
translators aee3e4e496 Update: Translations from eints
hungarian: 7 changes by Brumi
5 years ago
Michael Lutz b73622a01c Fix #7600: Don't read uninitialised memory when parsing GS language files. 5 years ago
translators c1d26d8884 Update: Translations from eints
croatian: 7 changes by VoyagerOne
5 years ago
Jonathan G Rennison b9eb9a4af9 Fix #7594: Max speed rendered incorrectly in road vehicle purchase window when using original acceleration model (#7597)
An incorrect DParam index was used.
5 years ago
translators 24493548da Update: Translations from eints
french: 7 changes by glx
korean: 8 changes by telk5093
5 years ago
glx 09004f3697 Codechange: catch script exceptions by reference 5 years ago
glx a82e7ec281 Fix #7590: handle script exceptions during scanning 5 years ago
glx aac4255d43 Fix #7590: decrement allocated_size in ScriptAllocator::Free() 5 years ago
Michael Lutz de73c8f91c Codechange: [Win32] Remove a FreeType work-around from Uniscribe if not using FreeType. 5 years ago
Michael Lutz eeccfa2570 Add: [Win32] Support for loading fonts from a file for the GDI font renderer. 5 years ago
Michael Lutz d2ed426077 Codechange: [Win32] Pass a native GDI font description around when we have one, instead of repeatedly guessing the font. 5 years ago
Michael Lutz 2675762ae9 Add: [Win32] GDI engine for font glyph rendering as a replacement for including FreeType.
Building with FreeType is still possible and will take precedence over the GDI renderer, but
the project files don't include FreeType anymore by default. Combining GDI rendering with ICU
text layout is untested.
5 years ago
Michael Lutz a8b6e9f23c Codechange: Refactor the Freetype font cache into a generic part that does not depend on Freetype and into one that does.
This makes it easier to add other TrueType font rendering engines.
5 years ago
translators f8fb9fda6b Update: Translations from eints
russian: 7 changes by Lone_Wolf
5 years ago
PeterN 2d0352d67f
Fix e8d397e4ee: Avoid using RemapCoords2 during savegame conversion. (#7588) 5 years ago
translators 38bb6b7d1b Update: Translations from eints
dutch: 7 changes by JanWillem
5 years ago
Niels Martin Hansen e7f6f07599 Add: Show memory allocations by GS and AI in framerate window 5 years ago
Niels Martin Hansen 140a96b3a0 Change: Limit memory allocations for each Squirrel instance
This can avoid out-of-memory situations due to single scripts using up the entire address space.
Instead, scripts that go above the maximum are killed.
The maximum is default 1 GB per script, but can be configured by a setting.
5 years ago
Niels Martin Hansen c9fe6e7b8f Fix #7371: Avoid dependency on foundations of town tile during saveload 5 years ago
Michael Lutz 0344e7a0a1 Fix #7463: Promote scroll mode setting to basic category. 5 years ago
PeterN 83c1678f9e
Fix #7577: Check if linkgraph station index is valid before dereferencing. (#7583) 5 years ago
PeterN f4921d2c3e
Fix #7576: Crash when destroying rail/tram crossing. (#7579) 5 years ago
stormcone 24c59283ec Fix #7224: Drag and drop vehicle group creation does not work correctly.
When drag and drop a vehicle into an empty slot in the vehicle group window it tries to create the new group as the subgroup of the first group (GroupID = 0). This is failing if the dragged vehicle's type is different than the first group's vehicle type.
5 years ago