Commit Graph

27621 Commits (ff050ea1d9e097f37bba7967ee90662ec86a30a6)
 

Author SHA1 Message Date
translators 7d6aff3a34 Update: Translations from eints
french: 16 changes by ottdfevr
1 year ago
Rubidium d68b5c9162 Codechange: replace buffer + strecpy with std::string for getting clipboard contents 1 year ago
Rubidium 35f7f7e8dc Codechange: use std::string for executing the console aliases 1 year ago
Peter Nelson 2e62682f73 Codechange: Close dropdowns by class instead of id. 1 year ago
Peter Nelson 2511649938 Codechange: Use window parent association for dropdowns.
This replaces the separate window class and number properties, and
allows the window system to close dropdowns automatically.
1 year ago
Peter Nelson dec7ff6b0c Fix: Make dropdowns self-close when losing focus. 1 year ago
PeterN a5a3a07005
Fix: GRF Parameters not displayed due to scope issue. (#10911)
Move params so it is still in scope when the text is actually drawn.
1 year ago
Rubidium 513ede7669 Codechange: use C++ strings/paths to resolve links in tars 1 year ago
Rubidium 0ab7bc7a2b Codechange: use fmt::format to create type prefixed driver names 1 year ago
Rubidium 37a3fc4df3 Codechange: replace strstr with more appropriate function 1 year ago
Rubidium 53f83c31b0 Codechange: use std::string to return the debug level information 1 year ago
Rubidium 10e12154f5 Fix: false positive warning in fmt library (backport ef55d4f of upstream fmt) 1 year ago
Rubidium 802d6cb509 Fix: memory leak when parsing (strgen) commands by moving to C++ containers 1 year ago
Rubidium 4f94655cc2 Codechange: use vector/unorder_map over custom implementation 1 year ago
Rubidium 234a143ee5 Codechange: use std::string for LangString over C-style strings 1 year ago
Rubidium f372373e6f Codechange: use std::string/vector for language cases over manual management 1 year ago
Rubidium 6eb51666bc Codechange: use C++ file APIs for writing language files 1 year ago
Rubidium fa0d865edd Change: set macOS deployment target to 10.15 1 year ago
PeterN 0b663f709d
Codechange: Sprite mapping for objects doesn't involve cargo types. (#10905)
Objects have a default sprite group and an optional purchase list sprite
group. There is no need to pretend that these are cargo IDs.
1 year ago
Jonathan G Rennison cdb3a6288b Codechange: Remove unused CapacitiesMap typedef from struct Vehicle 1 year ago
Patric Stout 9eda419f9b
Fix 646a7e62: recalc_time was not scaled properly (#10901)
This caused "runtime" to underflow or, if you are lucky, hit an
assert in ScaleToMonthly when it hits zero. But mostly underflow.
1 year ago
translators b5b004e518 Update: Translations from eints
ukrainian: 117 changes by alextov
1 year ago
Rubidium f29606fd14 Codechange: use std::string to cache engine/group/vehicle names 1 year ago
Rubidium d9f8a4c380 Codechange: use std::string GetString variant 1 year ago
Rubidium 324c43eeb2 Codechange: let FiosGetDiskFreeSpace only return disk space and split FiosGetCurrentPath off 1 year ago
Rubidium f2e704b9a7 Codechange: use std::string for FiosIsRoot 1 year ago
Rubidium 13789d1703 Codechange: use std::string for FiosIsValidFile 1 year ago
PeterN 1ff0dc11d8
Fix: Land info window maximum width was not scaled. (#10894) 1 year ago
Patric Stout 0302e6f168
Codechange: initialize all values of ICURun on construction (#10892) 1 year ago
translators c8b70e4877 Update: Translations from eints
ukrainian: 53 changes by alextov
portuguese (brazilian): 1 change by ericandradex
1 year ago
translators e1203c3a48 Update: Translations from eints
esperanto: 51 changes by legoscia
1 year ago
PeterN d086f288cd
Codechange: Remove duplicated includes. (#10888)
These are now included by stdafx.h so don't need to be included again.
1 year ago
PeterN 702194cfef
Change: Cargo flow legend only shows defined cargo. (#10872)
This removes the large mostly-empty grid of cargo buttons when not using a complex industry set.
1 year ago
translators c9c6721a47 Update: Translations from eints
esperanto: 44 changes by legoscia
1 year ago
Peter Nelson bae1897826 Change: Include font style in font name for Freetype. 1 year ago
Peter Nelson 9976293c1e Codechange: Return fontcache font name as std::string. 1 year ago
translators 90fdf17e39 Update: Translations from eints
esperanto: 28 changes by legoscia
1 year ago
Loïc Guilloux c880157518
Fix: Check max member count in squirrel classes (#10883)
Manual cherry-pick from 23a0620658
1 year ago
PeterN 8ea9c1a133
Fix #10880: Crash in object window due to incorrect parameter order. (#10881) 1 year ago
PeterN 876871157f
Fix: Ask FontConfig for the face index when opening fonts. (#10878)
This allows selection of the correct face in truetype fonts containing
multiple faces.
1 year ago
PeterN 101e4e54a1
Fix d9a04ba446: Ensure MD5Hash is initialized. (#10876)
Not all instances need to be initialized as often they are copied or
written to, but doing all ensures no surprises.

Move the ^= operator to MD5Hash while we're at it.
1 year ago
Jonathan G Rennison ba11467c02 Fix: Rail waypoint selection window not closed
When rail toolbar or rail waypoint build windows closed
1 year ago
PeterN 584faaf064
Change: Reorganise industry accept/produce arrays. (#10853)
Use a array of struct for each cargo instead of an array for each statistic.
This makes iterating for acceptance and production much simpler.
pct_transported is now calculated when needed.
1 year ago
Loïc Guilloux db3b086a52
Fix #10867, 8b93e45: Squirrel compile error exception type changed (#10869) 1 year ago
Rubidium b133328737 Codechange: use std::string over strecat to create the RV capacity string 1 year ago
Rubidium 4fdde00e25 Codechange: use std::string to create the GRF parameter list 1 year ago
Rubidium fbab94eabb Codechange: use std::string to create error message about external files 1 year ago
Rubidium 30b9e02dd9 Codechange: replace crashlog filenames with std::string in Crashlog 1 year ago
Rubidium 19304bd3d5 Codechange: replace seprintf with fmt::format for filling the crash log data 1 year ago
Rubidium f4b0ac2bd4 Codechange: use std::string for formatting settings 1 year ago