Fumofumotris/source/io/platforms/platform.h

23 lines
399 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);
2024-04-23 20:33:32 +00:00
bool PlatformReadInput(struct InputBuffer *in, struct InputString *str);
2024-04-19 06:38:45 +00:00
2024-04-19 20:23:11 +00:00
bool PlatformStopInput();
2024-04-22 22:13:13 +00:00
bool PlatformWait(Time duration);