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-04-09 07:00:48 +00:00
|
|
|
#include "term.h"
|
2024-03-25 05:34:59 +00:00
|
|
|
|
2024-04-11 19:57:22 +00:00
|
|
|
typedef struct Windows *platform;
|
2024-03-25 05:34:59 +00:00
|
|
|
|
2024-04-11 19:57:22 +00:00
|
|
|
bool WindowsInit(platform win, struct Terminal *term);
|
2024-03-25 05:34:59 +00:00
|
|
|
|
2024-04-11 19:57:22 +00:00
|
|
|
bool WinBlockInput(platform win, struct InputBuffer *buf);
|
|
|
|
|
|
|
|
bool WinWait(platform win, struct timespec relative);
|