#pragma once #include #include #include #include #include #include "fumotris.h" #include "gametime.h" #ifdef _WIN32 #include "win.h" #endif enum PlatformError { PLTF_E_INITFAIL, }; struct Error { int e; }; bool PlatformInit(); bool PlatformGetRefreshRate(u16f *out); bool PlatformReadInput(struct InputBuffer *buf); bool PlatformWait(struct Time relative);