blob: 1e710170234402ff724b8caf9adb6b485e2682ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include "board.h"
typedef struct {
char edges[5];
char center;
int shield;
} Tile;
static const char USED = '!';
void initialize_tileset(Tile* tileset);
int is_allowed_placement(Tile tile, int index, BoardUnit* board);
int place_tile(Tile tile, int index, BoardUnit* board, int force);
void rotate_tile(Tile* tile, int increment);
|