initial files
This commit is contained in:
15
src/piece.h
Normal file
15
src/piece.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef PIECE_H
|
||||
#define PIECE_H
|
||||
|
||||
#include "chessdefs.h"
|
||||
#include "board.h"
|
||||
|
||||
typedef struct piece {
|
||||
short piece;
|
||||
short color;
|
||||
SQUARE square;
|
||||
short castle;
|
||||
float value;
|
||||
} PIECE, PLAYER_PIECES[16];
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user