comparison: src/chess/rules.h
src/chess/rules.h
- changeset 30
- a285ee393860
- parent 29
- c6a1ad6cf749
- child 32
- 8a0b85303ee8
equal
deleted
inserted
replaced
85 struct MoveList { |
85 struct MoveList { |
86 Move move; |
86 Move move; |
87 MoveList* next; |
87 MoveList* next; |
88 }; |
88 }; |
89 |
89 |
|
90 |
|
91 typedef struct { |
|
92 uint8_t servercolor; |
|
93 _Bool timecontrol; |
|
94 uint16_t time; |
|
95 uint16_t addtime; |
|
96 } GameInfo; |
|
97 |
90 typedef struct { |
98 typedef struct { |
91 Board board; |
99 Board board; |
92 uint8_t mycolor; |
100 uint8_t mycolor; |
93 MoveList* movelist; |
101 MoveList* movelist; |
94 MoveList* lastmove; |
102 MoveList* lastmove; |