Fumofumotris/source/io/platforms/platform.h
Julia 9db68c9754 ;lk'
kl;
2024-04-30 01:04:25 -05:00

23 lines
405 B
C

#pragma once
#include <iso646.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "fumotris.h"
#include "gametime.h"
#ifdef _WIN32
#include "win.h"
#endif
bool PlatformInit();
bool PlatformGetRefreshRate(u16f *out);
bool PlatformReadInput(struct InputRecordBuf *in, struct InputStringBuf *str);
bool PlatformStopInput();
bool PlatformWait(Time duration);