4 for (j = 0; j < indent; j++) {
7 + void print_move (move_s moves[], int m, FILE *stream);
8 print_move (&moves[0], i, output);
9 fprintf (output, "\n");
14 rank (target) < 1 || rank (target) > 8 ||
15 file (target) < 1 || file (target) > 8)
17 - sprintf (str, "*** FAILE INTERNAL ERROR ***");
18 + sprintf (str, "xxxx");
25 // first scene is SCENE_INIT.
26 pGlobalInfos->SetCurrentScene(GAME_SCENE_INIT);
29 + pGlobalInfos->ReleaseKeys();
32 while( pGlobalInfos->IsGameRunning() )
34 --- src/scene_main_game.cpp
35 +++ src/scene_main_game.cpp
38 if (pGlobalInfos->OnLeftMouseButtonDown())
40 - if (chessboard->clickOnChessBoard(mouseX,mouseY,&sqX,&sqY));
41 + if (chessboard->clickOnChessBoard(mouseX,mouseY,&sqX,&sqY))
43 // if a piece was already selected, this means the player want to move this piece
44 if (SquareXSelected>-1 && SquareZSelected>-1)