3 |
* Authors: Antoine Fraboulet <antoine.fraboulet@free.fr> |
* Authors: Antoine Fraboulet <antoine.fraboulet@free.fr> |
4 |
* Olivier Teuliere <ipkiss@via.ecp.fr> |
* Olivier Teuliere <ipkiss@via.ecp.fr> |
5 |
* |
* |
|
* $Id$ |
|
|
* |
|
6 |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
7 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
8 |
* the Free Software Foundation; either version 2 of the License, or |
* the Free Software Foundation; either version 2 of the License, or |
375 |
help_training(); |
help_training(); |
376 |
else |
else |
377 |
{ |
{ |
|
int res; |
|
378 |
char *coord = next_token_alphanum(NULL, delim); |
char *coord = next_token_alphanum(NULL, delim); |
379 |
if (coord == NULL) |
if (coord == NULL) |
380 |
{ |
{ |
382 |
break; |
break; |
383 |
} |
} |
384 |
#if 0 |
#if 0 |
385 |
|
int res; |
386 |
if ((res = iGame.play(0, std::string(coord), std::string(token))) != 0) |
if ((res = iGame.play(0, std::string(coord), std::string(token))) != 0) |
387 |
{ |
{ |
388 |
fprintf(stderr, "Mot incorrect ou mal placé (%i)\n", |
fprintf(stderr, "Mot incorrect ou mal placé (%i)\n", |