Commit Graph

27627 Commits (9dd9b8ec7415243b098da0a7c04a79bccc75788e)
 

Author SHA1 Message Date
Owen Rudge 1a3d1bca59 Remove: OS/2 port 1 year ago
Rubidium d4c2043294 Codechange: remove a number of unneeded c_str() calls 1 year ago
translators aae8f40b9f Update: Translations from eints
english (au): 2 changes by krysclarke
korean: 2 changes by telk5093
russian: 2 changes by Ln-Wolf
french: 2 changes by ottdfevr
portuguese: 2 changes by azulcosta
portuguese (brazilian): 2 changes by ericandradex
polish: 2 changes by pAter-exe
1 year ago
Owen Rudge 5a7098cb41 Change: [Actions] Use notarytool for notarization instead of gon 1 year ago
Loïc Guilloux 1cd49bf5e5
Fix ca1e34c: [Script] Wrong value printed for {RAW_STRING} (#11011) 1 year ago
Jonathan G Rennison 864d3c9c16
Fix: CMD_CHANGE_SETTING did not reject SF_NO_NETWORK_SYNC settings (#11009) 1 year ago
PeterN f51f117b00
Change: Add window description flag to disallow interactive window closing. (#11008)
This replaces/simplifies testing for a closebox to allow closing a window with right-click, and testing for specific window classes when closing all windows by hotkey.

This allows right-click closing of dropdowns and the high-score window.
1 year ago
Rubidium 7c37dcb8e3 Fix: do not use {STRING} when {STRING1} or {STRING2} is needed 1 year ago
Rubidium 0a5e58451b Codechange: pass string parameters by reference 1 year ago
Rubidium 43f91bc50c Cleanup: unused GetDataPointer function 1 year ago
Rubidium e332810231 Codechange: pass zero length arguments for {STRING}, instead of the remaining arguments 1 year ago
Rubidium 82851a9bef Codechange: do not mess with global string params to get pointer to first element 1 year ago
Rubidium aba0d27a28 Codechange: use StringParameters for remapping the NewGRF string control codes 1 year ago
Rubidium 1146904d45 Fix: when a string consumes more parameters than allowed, nullptr is attempted to be formatted 1 year ago
translators f1ec2f274c Update: Translations from eints
vietnamese: 6 changes by KhoiCanDev
korean: 4 changes by telk5093
german: 33 changes by SecretIdetity
romanian: 69 changes by kneekoo
russian: 2 changes by Ln-Wolf
finnish: 4 changes by hpiirai
turkish: 4 changes by BeratSJ
danish: 1 change by bscargo
dutch: 6 changes by Afoklala
french: 4 changes by ottdfevr
portuguese (brazilian): 6 changes by pasantoro
polish: 6 changes by pAter-exe
1 year ago
Andrii f26de0d2f9
Fix #10982: No help text for gamelog command (#10984) 1 year ago
PeterN ebc451b071
Fix #10987: Double-close of dropdown stopped land-info tool working as default. (#11000)
Clicking and releasing on the query toolbar icon is meant to select the land-info tool.

This did not work as during closing a window, OnFocusLost() is called, which then closes the window again. These two calls toggled the land-info tool one and off in the same action.

Resolve by not calling Window::Close in OnFocusLost() if the window is already closing.
1 year ago
Rubidium 613ad80581 Codechange: remove need for GetDParamX 1 year ago
Rubidium 82b434b589 Codechange: rename function to better describe what it is doing 1 year ago
Rubidium f86500df92 Codechange: remove need for SetDParamX 1 year ago
Rubidium 6c6f365d2f Codechange: remove offset parameter for copying DParams in and out 1 year ago
Rubidium d42ef3a0ef Codechange: inject the query window caption into the widget 1 year ago
Patric Stout 6869f387ba
Fix 07add7a9: [Win32] use full monitor resolution for fullscreen (#10985)
On Windows in fullscreen you cannot reach the top with
the cursor for the halve of the height of your toolbar.

Additionally, on Win10 in fullscreen you can see the actual toolbar.
1 year ago
PeterN 2097719f26
Fix: Don't restore backed up vehicle name if it's no longer unique. (#10979) 1 year ago
Rubidium 6d597879d0 Codechange: let ReadLine return a string instead of passing a buffer 1 year ago
Rubidium 81f957b9f8 Codechange: use std::string to find the executable's working directory 1 year ago
merni-ns 1be668c2e4
Fix #10975: Clear a non-head engine's name (#10976) 1 year ago
Rubidium 66a984afd7 Codechange: rename function to better describe its functionality 1 year ago
Rubidium 48dcb79145 Cleanup: remove seprintf and vsnprintf 1 year ago
Rubidium 13cdf5fffa Codechange: use std::filesystem::path for the language file's path 1 year ago
Rubidium 97dd84d1e0 Codechange: move saveload string fixing code to saveload 1 year ago
Rubidium 3f35787458 Codechange: replace stredup + StrMakeValidInPlace with std::string + StrMakeValid 1 year ago
Rubidium e762855201 Cleanup: remove str_strip_colours; StrMakeValid also removes the colours
Essentially str_strip_colours followed by StrMakeValid makes the calling of
str_strip_colours useless, as StrMakeValid would have removed them too.
1 year ago
mrmbernardi 35ef6c1723
Feature: [GS] Goal destination can be updated (#10817) 1 year ago
Rubidium 9408ab4799 Codechange: only one '\0' is required 1 year ago
Rubidium 2ae7367024 Codechange: replace StrMakeValidInPlace with StrValid 1 year ago
Rubidium 4ca23a19b6 Cleanup: char-pointer variant of strtolower 1 year ago
PeterN b49bd86a46
Fix dec7ff6b0c: Dropdowns couldn't be closed by pressing the parent button. (#10954)
Since dropdowns self-close, the detection of re-clicking a dropdown
button no longer worked, as the dropdown is already closed.

Instead set (and then test) a flag on the parent widget to indicate that
the dropdown closed. This method avoids looping windows on every click.
1 year ago
Rubidium b2a8d8aea4 Codechange: use std::string for Windows' ISO code mangling 1 year ago
Rubidium a541b8217d Codechange: use fmt::format to build Squirrel error message 1 year ago
Rubidium 5e9a1eb790 Codechange: use fmt::format to construct error message 1 year ago
Rubidium 4de9b8a988 Codechange: use fmt::format to create desync dump savegames 1 year ago
Rubidium d5c0d3beb7 Codechange: unify the formatting of the game's caption 1 year ago
PeterN 9fa1984ef0
Codechange: IniGroup::GetItem() can now be const. (#10966) 1 year ago
PeterN f249715db3
Fix #10964: Missing FontConfig format for language. (#10965) 1 year ago
PeterN eda3defcb5
Codechange: Pass language for font detection as std::string. (#10964) 1 year ago
PeterN 7a0b6b7ddf
Codechange: Remove Freetype bits on Win32/OSX. (#10960)
These platforms have their own specific font rendering.
1 year ago
translators 316a434933 Update: Translations from eints
english (au): 6 changes by krysclarke
russian: 4 changes by Ln-Wolf
danish: 5 changes by bscargo
portuguese: 7 changes by azulcosta
1 year ago
Rubidium 617cacd542 Fix #10961, 52a7c69: incorrect order of parameters to gamelog revision constructor 1 year ago
Rubidium a47de4b2ab Cleanup: remove DRAW_STRING_BUFFER constant 1 year ago