Fumofumotris/source/io/input.h

17 lines
298 B
C
Raw Normal View History

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>
#include "ctrl.h"
#include "fumotris.h"
2024-03-26 20:11:58 +00:00
struct InputBuffer {
struct InputRecord records[IO_BUF_SIZE];
size_t count;
pthread_mutex_t mutex;
};
2024-03-25 05:34:59 +00:00
void StartInput(Ctrl *ctrl);