2024-03-25 05:34:59 +00:00
|
|
|
#pragma once
|
|
|
|
#include <iso646.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
2024-04-11 19:57:22 +00:00
|
|
|
#include <time.h>
|
2024-03-25 05:34:59 +00:00
|
|
|
|
2024-04-11 19:57:22 +00:00
|
|
|
#include "fumotris.h"
|
2024-03-25 05:34:59 +00:00
|
|
|
|
2024-04-15 19:29:51 +00:00
|
|
|
bool PlatformInit();
|
2024-03-25 05:34:59 +00:00
|
|
|
|
2024-04-15 19:29:51 +00:00
|
|
|
bool PlatformGetRefreshRate(u16f *out);
|
2024-03-25 05:34:59 +00:00
|
|
|
|
2024-04-16 22:14:53 +00:00
|
|
|
bool PlatformReadInput(struct InputBuffer *buf);
|
2024-04-11 19:57:22 +00:00
|
|
|
|
2024-04-15 19:29:51 +00:00
|
|
|
bool PlatformWait(struct timespec relative);
|