src/game.h

changeset 23
824c9522ce66
parent 19
6a26114297a1
child 26
e0a76ee1bb2b
     1.1 --- a/src/game.h	Mon Mar 31 14:08:00 2014 +0200
     1.2 +++ b/src/game.h	Mon Mar 31 15:03:25 2014 +0200
     1.3 @@ -37,25 +37,8 @@
     1.4  extern "C" {
     1.5  #endif
     1.6  
     1.7 -typedef struct MoveList MoveList;
     1.8 -typedef struct MoveListRoot MoveListRoot;
     1.9 -
    1.10 -struct MoveListRoot {
    1.11 -    MoveList* first;
    1.12 -    MoveList* last;
    1.13 -};
    1.14 -
    1.15 -struct MoveList {
    1.16 -    Move move;
    1.17 -    MoveList* next;
    1.18 -};
    1.19 -
    1.20 -
    1.21  void game_start(Settings *settings, int opponent);
    1.22  
    1.23 -void freemovelist(MoveListRoot* list);
    1.24 -void addmove(MoveListRoot *movelist, Move *move);
    1.25 -
    1.26  #ifdef	__cplusplus
    1.27  }
    1.28  #endif

mercurial