Rubidium
e04d43f396
Remove: now unused stredup
1 year ago
Rubidium
2ec4ea2b99
Codechange: use the string temporaries for game script strings
1 year ago
Rubidium
3e488465f8
Codechange: allow string temporaries in a StringParameter
1 year ago
Rubidium
78f5d58dc6
Codechange: use std::string without const as return
...
Otherwise some compilers, e.g. MSVC, do not pick up that these are temporaries
and as such it will pass the temporaries to `const std::string &` instead of
the wanted `std::string &&`
1 year ago
Rubidium
b2edf82b69
Cleanup: remove unneeded CopyOutDParam version with StringID
1 year ago
Rubidium
4654b2b0aa
Codechange: separate integer and string usage in StringParameters
1 year ago
Rubidium
8b7c34d7d4
Codechange: use string parameter backps for the text effects
1 year ago
Rubidium
7ed90a859f
Codechange: function to check whether string parameters have changed since the backup
1 year ago
Rubidium
05ef3f0998
Cleanup: remove old backup/restore of string parameters
1 year ago
Rubidium
6313b8a4cb
Codechange: move errors over to the new StringParameterBackup type
1 year ago
Rubidium
0943402bab
Codechange: move news over to the new StringParameterBackup type
1 year ago
Rubidium
f4a3032985
Codechange: move tooltip and query window over to the new StringParameterBackup type
1 year ago
Rubidium
2687704afc
Codechange: introduce new type and functions for StringParameter backups
1 year ago
translators
26f3efb419
Update: Translations from eints
...
english (au): 2 changes by krysclarke
italian: 14 changes by Rivarossi
russian: 2 changes by Ln-Wolf
finnish: 2 changes by hpiirai
tamil: 8 changes by merni-ns
1 year ago
Patric Stout
4c9c164ddc
Fix d5a72193: [CI] GOG and Steam also depend on the source itself ( #11095 )
1 year ago
PeterN
115f6cf8ea
Fix #4575 : Use Latin 'l' in English translation of zloty. ( #11090 )
...
This avoids many truetype fonts being unusable due to this single character not being available.
1 year ago
translators
10dd3119b1
Update: Translations from eints
...
welsh: 163 changes by Ansbaradigeidfran
1 year ago
merni-ns
161cc04b8a
Fix #11087 : Disable base graphics/sound dropdown outside main menu
1 year ago
merni-ns
4ae9ebf582
Change: Tooltip for base graphic/sound dropdown
1 year ago
Patric Stout
d5a72193e7
Change: [CI] upload releases to new CDN ( #11093 )
1 year ago
Kuhnovic
6169e7f4bc
Feature: Orientation of rail and road depots can be changed ( #9642 )
1 year ago
PeterN
c3fbe7bea8
Cleanup: Use FS enum instead of magic numbers. ( #11088 )
1 year ago
translators
082c47a4f9
Update: Translations from eints
...
dutch: 1 change by Afoklala
1 year ago
Rubidium
d5c75bd655
Codechange: use std::string instead of a temporary buffer for iconv calls
1 year ago
Rubidium
0ea3e338ab
Codechange: replace buffer+strecpy with std::string
1 year ago
Rubidium
3f18a8863a
Codechange: use std::getline to read strings from stdin
1 year ago
Rubidium
f333372dd1
Codechange: let IConsoleCmdExec accept std::string
1 year ago
Rubidium
fd380127f0
Codechange: use SignalObjectAndWait since we do not support older than Windows XP anymore
1 year ago
Rubidium
69d5b9d326
Cleanup: unused NO_THREADS #ifdefs
1 year ago
translators
55979b612e
Update: Translations from eints
...
welsh: 28 changes by Ansbaradigeidfran
portuguese: 1 change by azulcosta
polish: 1 change by pAter-exe
1 year ago
Richard Wheeler
3b2934c479
Change: Make terraforming point selection sprite visible at >2x zoom out ( #11017 )
1 year ago
Johannes E. Krause
5b0cfc7ea5
Add: show fallback sprites with debuglevel sprite=4
1 year ago
Jonathan G Rennison
55c07eed59
Change: Add separate setting for server sent commands per frame limit ( #11023 )
...
Set a higher default value for this setting.
Use the higher of this and existing commands per frame limit
setting for server-originating commands, e.g. GS.
This is to support the GSAsyncMode class.
This also avoids undue throttling when more than one
script is in operation (e.g. AIs).
1 year ago
PeterN
8465559488
Codechange: Pass face index as font os_handle for FreeType fonts. ( #11073 )
...
This allows fallback font detection to test the specific face within the
font rather instead of only the first.
1 year ago
Rubidium
794b642b9a
Codechange: use std::string/std::vector over stredup/strecpy/CallocT/free
1 year ago
Rubidium
700241410b
Remove: support for not having getifaddrs
1 year ago
Rubidium
7ad487eeee
Cleanup: remove now unused GetInt32/64 functions
1 year ago
Rubidium
75a22a1c83
Codechange: move from GetIntXY to GetNextParameter<XYY>
1 year ago
Rubidium
e7937efb01
Codechange: add clearer named function to get the next (string) parameter
1 year ago
translators
ee34fae09a
Update: Translations from eints
...
korean: 3 changes by telk5093
danish: 3 changes by bscargo
1 year ago
Niels Martin Hansen
103d88ee33
Fix: Layouter not taking stripped formatting codes into account when mapping visual coordinates to/from original string
1 year ago
Niels Martin Hansen
b52e526017
Fix: FallbackParagraphLayouter wasn't reverse-mapping glyphs to character indexes right
1 year ago
translators
5db4473ae8
Update: Translations from eints
...
vietnamese: 1 change by KhoiCanDev
finnish: 3 changes by hpiirai
french: 5 changes by Naeso
1 year ago
PeterN
d140acf34e
Fix: Setting tree lines drawn incorrectly for RTL languages. ( #11070 )
1 year ago
Peter Nelson
fac317b139
Cleanup: Remove {ORANGE} from settings page strings.
1 year ago
Peter Nelson
40a9b080aa
Fix: Ensure settings page label is orange.
1 year ago
Loïc Guilloux
55e3dd9409
Cleanup 6298b96: Left-over function declaration ( #11072 )
1 year ago
Jonathan G Rennison
4f6d75f97d
Fix #11016 : Defer deletion of client and server game socket handlers
...
This fixes various use after free scenarios in error handling paths
1 year ago
Jonathan G Rennison
19ae88fb63
Fix: Error logging in game and admin server HandlePacket
...
Don't invent a packet type in the log message if we can't/don't
read a packet type at all.
Fix packet type not being logged when appropriate.
1 year ago
PeterN
43ddf19df3
Change: Allow text shadow on WWT_EMPTY/WWT_TEXT to extend horizontally. ( #11065 )
...
This alleviates text shadows of truetype fonts being cropped in some
window layouts.
1 year ago