Refactor weather system to consolidate weather data handling; remove redundant weather API endpoint and related components, ensuring a single weather reading represents the entire world. Update UI to toggle weather effects and enhance rendering logic for improved visual consistency. Adjust documentation to reflect changes in weather data structure and API responses.

This commit is contained in:
Leonid Pershin
2026-08-17 10:40:52 +03:00
parent c80c9f14e2
commit 062ab497db
22 changed files with 273 additions and 815 deletions
+8
View File
@@ -120,6 +120,14 @@
<button type="button" class="speed-button" data-scale="4">x4</button>
</div>
</div>
<button
id="weather-toggle"
type="button"
class="icon-button"
title="Hide weather effects"
aria-label="Weather effects"
aria-pressed="true"
>🌦</button>
<button id="game-theme-toggle" type="button" class="icon-button" title="Switch theme" aria-label="Switch theme">
</button>