Skip to content

Commit 37307df

Browse files
authored
Chinese theme; Fallback theme; New signs (#1523)
* Road signs theme for China; new Fallback theme; Moved RoadUI signs into Fallback theme * Fix bug with Fallback theme loading; Fallback theme loads white textures for all missing files * Update translations * Fix to yield sign of Chinese theme; was not square now it is * New feature for basing themes on other themes; Generic Chinese theme "patches" Mainland Chinese * Renamed RoadDefaults; Removed old vehicle restriction signs; README added * Restriction signs from junction restrictions now moved to Fallback theme and SVG sources added * Blue allow icons for other restrictions * Remove Junction restrictions old textures - Now in Fallback theme * Green allow signs for Fallback, China and China_Generic * Replaced some icons with Nounproject icons * Changed cargo train icon back to hopper; Added proposed icons for air and boat cargo * Changed TAXI text for Simplified Chinese * Generic China texture does not have speed limit signs and refers to parent China Mainland theme * Update strings (again)
1 parent 62943a3 commit 37307df

204 files changed

Lines changed: 9051 additions & 886 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

TLM/TLM/Lifecycle/TMPELifecycle.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,7 @@ internal void RegisterCustomManagers() {
172172
RegisteredManagers.Add(ExtVehicleManager.Instance);
173173

174174
// Texture managers
175-
RegisteredManagers.Add(UI.Textures.RoadSignThemes.Instance);
176-
RegisteredManagers.Add(UI.Textures.JunctionRestrictions.Instance);
175+
RegisteredManagers.Add(UI.Textures.RoadSignThemeManager.Instance);
177176
RegisteredManagers.Add(UI.Textures.RoadUI.Instance);
178177
RegisteredManagers.Add(UI.Textures.TrafficLightTextures.Instance);
179178

TLM/TLM/Manager/Impl/OptionsManager.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,6 @@ internal static void RebuildMenu(bool languageChanged = false) {
330330
}
331331

332332
if (languageChanged) {
333-
RoadUI.Instance.ReloadTexturesWithTranslation();
334333
TrafficLightTextures.Instance.ReloadTexturesWithTranslation();
335334
TMPELifecycle.Instance.TranslationDatabase.ReloadTutorialTranslations();
336335
TMPELifecycle.Instance.TranslationDatabase.ReloadGuideTranslations();
-22.2 KB
Binary file not shown.
-18.6 KB
Binary file not shown.
-95.3 KB
Binary file not shown.
-96.4 KB
Binary file not shown.
-81.5 KB
Binary file not shown.
-82.6 KB
Binary file not shown.
-56.6 KB
Binary file not shown.
-57.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)