Init
This commit is contained in:
28
include/puzzle.h
Normal file
28
include/puzzle.h
Normal file
@ -0,0 +1,28 @@
|
||||
#ifndef PUZZLE_H
|
||||
#define PUZZLE_H
|
||||
|
||||
enum colors
|
||||
{
|
||||
NONE = 0,
|
||||
EL = 1,
|
||||
T = 2,
|
||||
POLE = 3,
|
||||
SQUARE = 4,
|
||||
LZIG = 5,
|
||||
RZIG = 6,
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @struct puzzle
|
||||
* Represents a puzzle in the Tetris game.
|
||||
*/
|
||||
struct puzzle {
|
||||
int with; // The width of the puzzle
|
||||
int height; // The height of the puzzle
|
||||
unsigned char *data; // The data of the puzzle
|
||||
enum colors type; // The type of the puzzle
|
||||
};
|
||||
|
||||
|
||||
#endif
|
9
include/tkeyboard.h
Normal file
9
include/tkeyboard.h
Normal file
@ -0,0 +1,9 @@
|
||||
#ifndef TKEYBOARD_H
|
||||
#define TKEYBOARD_H
|
||||
|
||||
//#include <wayland-client-protocol.h>
|
||||
#include <wayland-client.h>
|
||||
|
||||
extern const struct wl_keyboard_listener keyboard_listener;
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user