diff options
author | Frederick Yin <fkfd@fkfd.me> | 2022-06-01 13:23:02 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2022-06-01 13:23:02 +0800 |
commit | 81666e3ae565ccd6de49877a5436e1b3154c6f32 (patch) | |
tree | 820548c1d1542753a812a5cfe9f2357eb54cee6b /pieces.h | |
parent | 90bff8fb828c99d8b1ef00fe783dd50887c81f70 (diff) |
Move piece-map operations to piece.c
Diffstat (limited to 'pieces.h')
-rw-r--r-- | pieces.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -7,5 +7,9 @@ struct piece { }; struct piece* randpiece(); +void refillpieces(struct piece** hand, int nhand); +bool placeable(char** map, struct piece* pc, int row, int col, int mapH, int mapW); +void place(char** map, struct piece* pc, int row, int col); +void freepiece(struct piece* pc); #endif |