| 229 * @param gamestate the current game state |
229 * @param gamestate the current game state |
| 230 * @param move the move to apply |
230 * @param move the move to apply |
| 231 */ |
231 */ |
| 232 void apply_move(GameState *gamestate, Move *move); |
232 void apply_move(GameState *gamestate, Move *move); |
| 233 |
233 |
| |
234 /** |
| |
235 * Returns the remaining time on the clock for the specified |
| |
236 * half-move number. |
| |
237 * |
| |
238 * @param gameinfo the information about the game |
| |
239 * @param gamestate the current game state |
| |
240 * @param move_number the half-move that is now going to be played |
| |
241 * @return the remaining time - if time control is disabled, this function |
| |
242 * always returns zero |
| |
243 */ |
| |
244 uint16_t remaining_movetime2(GameInfo *gameinfo, GameState *gamestate, |
| |
245 unsigned move_number); |
| 234 |
246 |
| 235 /** |
247 /** |
| 236 * Returns the remaining time on the clock for the specified player. |
248 * Returns the remaining time on the clock for the specified player. |
| 237 * |
249 * |
| 238 * @param gameinfo the information about the game |
250 * @param gameinfo the information about the game |