Fumofumotris/source/io/platforms/platform.h

23 lines
382 B
C
Raw Normal View History

2024-04-16 22:14:53 +00:00
#pragma once
2024-04-19 06:38:45 +00:00
#include <iso646.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "fumotris.h"
#include "gametime.h"
2024-04-16 22:14:53 +00:00
#ifdef _WIN32
2024-04-19 06:38:45 +00:00
#include "win.h"
#endif
bool PlatformInit();
bool PlatformGetRefreshRate(u16f *out);
bool PlatformReadInput(struct InputBuffer *buf);
2024-04-19 20:23:11 +00:00
bool PlatformStopInput();
2024-04-19 06:38:45 +00:00
bool PlatformWait(struct Time relative);