// This file is part of the 64k demo project. // It defines the platform abstraction layer for windowing and input. // Provides a consistent interface for GLFW-based operations. #pragma once #include // Forward declare GLFWwindow to avoid including the full header here. struct GLFWwindow; void platform_init_window(bool fullscreen, int* width_ptr, int* height_ptr); void platform_shutdown(); void platform_poll(); bool platform_should_close(); GLFWwindow* platform_get_window(); double platform_get_time(); // Add dimension getters int platform_get_width(); int platform_get_height(); float platform_get_aspect_ratio(); WGPUSurface platform_create_wgpu_surface(WGPUInstance instance);