src/chess/rules.h

changeset 30
a285ee393860
parent 29
c6a1ad6cf749
child 32
8a0b85303ee8
     1.1 --- a/src/chess/rules.h	Mon Apr 07 14:08:57 2014 +0200
     1.2 +++ b/src/chess/rules.h	Mon Apr 07 17:39:46 2014 +0200
     1.3 @@ -87,6 +87,14 @@
     1.4      MoveList* next;
     1.5  };
     1.6  
     1.7 +    
     1.8 +typedef struct {
     1.9 +    uint8_t servercolor;
    1.10 +    _Bool timecontrol;
    1.11 +    uint16_t time;
    1.12 +    uint16_t addtime;
    1.13 +} GameInfo;
    1.14 +
    1.15  typedef struct {
    1.16      Board board;
    1.17      uint8_t mycolor;

mercurial