#pragma once #include "raylib.h" #include "Planet.hpp" #include // Right-column UI panels: the tile detail panel (subtiles grid), the hover/ // selection info box, and the world-statistics panel. // Tile detail panel: tile info header + the selected cell's subgrid drawn as a // flat, hoverable grid of subtiles (neighbor-owned subtiles dimmed). hoveredSub // is the grid index under the cursor (-1 if none). void drawDetailPanel(const Planet& p, const std::shared_ptr& sg, int macro, double macroElev, double macroAge, Rectangle panel, Rectangle grid, int hoveredSub); // Top-right quadrant: info for the hovered cell (or the selected one if none). void drawHoverPanel(const Planet& p, Rectangle r, int hovered, int selected); // World statistics panel (shown in the subareas quadrant when no tile selected). void drawStats(const Planet& p, Rectangle r, double elapsedMy, bool drifting, bool live = false, double liveHours = 0.0);