Peter Nelson and Peter Nelson
3f7934604c
Fix #15116 : install fallback cargo translation table for old cargo sets ( #15150 )
...
Old combined cargo/industry sets may set up cargo types with labels and expect them to be usable without a translation table.
Install a fallback table if the NewGRF does not install one to give them a better chance of working.
2026-01-24 19:32:36 +00:00
Cyprian Klimaszewski and GitHub
99f04f27de
Doc: Update information for receiving a copy of GPL. ( #14869 )
2025-12-07 11:25:08 +00:00
Peter Nelson and GitHub
d48463d2be
Fix #14763 : Crash if NewGRF currency separator is not valid. ( #14764 )
...
Ensure separator is a valid string.
2025-11-09 08:21:55 +00:00
Rubidium and rubidium42
7c0f69a8fe
Codefix: typos in comments and strings
2025-08-31 10:30:37 +02:00
Peter Nelson and GitHub
13759e9f23
Fix: Display GRFID in correct hex format. ( #14478 )
2025-07-25 08:41:48 +01:00
Rubidium and rubidium42
49ef3eee13
Codechange: replace char* with std::string_view
2025-04-27 20:08:02 +02:00
frosch and frosch
1cfad1474a
Codechange: Rename _cur to _cur_gps.
2025-04-11 22:11:28 +02:00
Peter Nelson and GitHub
786893a844
Fix: NewGRF Global variables 0D, 0E and 1E refer to wrong GRFFile. ( #13986 )
...
These variables used GrfProcessingState, which is only valid while loading GRFs, after which they always point to the last loaded GRFFile.
2025-04-11 19:53:05 +02:00
frosch and frosch
20805ba84b
Codechange: Use EncodeUtf8 and DecodeUtf8 directly, when dealing with a single character.
2025-04-03 18:43:41 +02:00
frosch and GitHub
25005cff16
Codefix: std::string_view::data() is not necessarily null terminated. ( #13891 )
2025-03-25 20:32:19 +01:00
frosch and frosch
488cda728d
Codechange: Use std::string and std::string_view instead of C strings.
2025-03-24 23:10:13 +01:00
Peter Nelson and Peter Nelson
828e808444
Codechange: Split NewGRF loader into separate Action handlers.
2025-03-23 16:59:36 +00:00