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>
|
|
|
|
|
2024-04-30 21:41:31 +00:00
|
|
|
#include "fumocommon.h"
|
2024-04-19 06:38:45 +00:00
|
|
|
|
2024-04-16 22:14:53 +00:00
|
|
|
#ifdef _WIN32
|
2024-04-19 06:38:45 +00:00
|
|
|
#include "win.h"
|
|
|
|
#endif
|
|
|
|
|
2024-04-30 21:41:31 +00:00
|
|
|
|
2024-04-19 06:38:45 +00:00
|
|
|
bool PlatformInit();
|
|
|
|
|
|
|
|
bool PlatformGetRefreshRate(u16f *out);
|
|
|
|
|
2024-05-02 22:17:37 +00:00
|
|
|
bool PlatformReadInput(struct RecordBuffer *recs, struct StringBuffer *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);
|